Skip to content

Commit 903f9b4

Browse files
committed
updated dependencies
1 parent efe9947 commit 903f9b4

5 files changed

Lines changed: 23 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ Your code has to take care if an argument is passed or not anyways. Using the av
168168
* add *hasFlags* to easy up validation if long or short flag is set (e.g. '-v|--verbose')
169169
* cover Parser with unit tests
170170
* added php 7 to testing environment
171-
* enhanced phpunit compatibility by using "~4.0||~5.0"
171+
* enhanced phpunit compatibility by using "~4.8.0||~5.2.0"
172+
* moved to psr-4 autoloading
172173
* [1.3.0](https://github.com/bazzline/php_component_cli_argument/tree/1.3.0) - released at 01.12.2015
173174
* added support for single argument like "a" or "-"
174175
* [1.2.0](https://github.com/bazzline/php_component_cli_argument/tree/1.2.0) - released at 28.11.2015

composer.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
{
22
"name": "net_bazzline/php_component_cli_arguments",
33
"description": "free as in freedom php cli command thin wrapper to easy up usage and validation of command line arguments",
4-
"keywords": ["getopt", "argument", "flag", "trigger", "php", "cli", "shell", "lgpl", "free as in freedom"],
4+
"keywords": [
5+
"php",
6+
"psr",
7+
"psr-4",
8+
"getopt",
9+
"argument",
10+
"flag",
11+
"trigger",
12+
"cli",
13+
"shell",
14+
"lgpl",
15+
"free as in freedom"
16+
],
517
"type": "library",
618
"minimum-stability": "dev",
719
"require": {
820
"php": ">=5.3.3"
921
},
1022
"require-dev": {
11-
"phpunit/phpunit": "~4.0||~5.0"
23+
"phpunit/phpunit": "~4.8.0||~5.2.0"
1224
},
1325
"license": "LGPLv3",
1426
"authors": [
@@ -20,9 +32,13 @@
2032
}
2133
],
2234
"autoload": {
23-
"psr-0": {
24-
"Net\\Bazzline\\Component\\Cli\\Arguments": "source/",
25-
"Test\\Net\\Bazzline\\Component\\Cli\\Arguments": "test/"
35+
"psr-4": {
36+
"Net\\Bazzline\\Component\\Cli\\Arguments\\": "source/"
37+
}
38+
},
39+
"autoload-dev": {
40+
"psr-4": {
41+
"Test\\Net\\Bazzline\\Component\\Cli\\Arguments\\": "test/"
2642
}
2743
}
2844
}

source/Net/Bazzline/Component/Cli/Arguments/Arguments.php renamed to source/Arguments.php

File renamed without changes.

source/Net/Bazzline/Component/Cli/Arguments/Parser.php renamed to source/Parser.php

File renamed without changes.

test/Test/Net/Bazzline/Component/Cli/Arguments/ArgumentsTest.php renamed to test/ArgumentsTest.php

File renamed without changes.

0 commit comments

Comments
 (0)