Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
phpunit-cli-parser
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian PHP Team
PEAR
phpunit-cli-parser
Commits
1f532f79
Commit
1f532f79
authored
1 year ago
by
David Prévot
Browse files
Options
Downloads
Plain Diff
New upstream version 3.0.1
parents
085c0565
00a74d55
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog.md
+7
-0
7 additions, 0 deletions
ChangeLog.md
src/Parser.php
+1
-1
1 addition, 1 deletion
src/Parser.php
with
8 additions
and
1 deletion
ChangeLog.md
+
7
−
0
View file @
1f532f79
...
...
@@ -2,6 +2,12 @@
All notable changes are documented in this file using the
[
Keep a CHANGELOG
](
https://keepachangelog.com/
)
principles.
## [3.0.1] - 2024-03-02
### Changed
*
Do not use implicitly nullable parameters
## [3.0.0] - 2024-02-02
### Removed
...
...
@@ -24,6 +30,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
*
Initial release
[
3.0.1
]:
https://github.com/sebastianbergmann/cli-parser/compare/3.0.0...3.0.1
[
3.0.0
]:
https://github.com/sebastianbergmann/cli-parser/compare/2.0...3.0.0
[
2.0.0
]:
https://github.com/sebastianbergmann/cli-parser/compare/1.0.1...2.0.0
[
1.0.1
]:
https://github.com/sebastianbergmann/cli-parser/compare/1.0.0...1.0.1
...
...
This diff is collapsed.
Click to expand it.
src/Parser.php
+
1
−
1
View file @
1f532f79
...
...
@@ -44,7 +44,7 @@ final class Parser
* @throws RequiredOptionArgumentMissingException
* @throws UnknownOptionException
*/
public
function
parse
(
array
$argv
,
string
$shortOptions
,
array
$longOptions
=
null
):
array
public
function
parse
(
array
$argv
,
string
$shortOptions
,
?
array
$longOptions
=
null
):
array
{
if
(
empty
(
$argv
))
{
return
[[],
[]];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment