Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Commit 9a7ea3b

Browse files
committed
Update package settings
1 parent 9ba32e8 commit 9a7ea3b

File tree

13 files changed

+41
-63
lines changed

13 files changed

+41
-63
lines changed

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
vendor
1+
.idea
2+
.php_cs.cache
3+
.phpunit.result.cache
24
build
3-
docs
45
composer.lock
5-
.idea
6-
.php_cs.cache
6+
docs
7+
vendor

.php_cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
$header = <<<EOF
4-
League.Uri (http://uri.thephpleague.com)
4+
League Uri Query String Parser (https://uri.thephpleague.com)
55
6-
@author Ignace Nyamagana Butera <[email protected]>
7-
@license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
@version 1.0.0
9-
@link https://uri.thephpleague.com/query-parser
6+
(c) Ignace Nyamagana Butera <[email protected]>
107
118
For the full copyright and license information, please view the LICENSE
129
file that was distributed with this source code.
@@ -34,8 +31,9 @@ return PhpCsFixer\Config::create()
3431
'no_empty_phpdoc' => true,
3532
'no_empty_comment' => true,
3633
'no_leading_import_slash' => true,
37-
'no_superfluous_phpdoc_tags' => true,
3834
'no_trailing_comma_in_singleline_array' => true,
35+
'no_trailing_whitespace' => true,
36+
'no_whitespace_in_blank_line' => true,
3937
'no_superfluous_phpdoc_tags' => true,
4038
'no_unused_imports' => true,
4139
'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'alpha'],
@@ -58,4 +56,4 @@ return PhpCsFixer\Config::create()
5856
'whitespace_after_comma_in_array' => true,
5957
])
6058
->setFinder($finder)
61-
;
59+
;

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,20 @@ matrix:
3030
- IGNORE_PLATFORMS=true
3131
- RUN_PHPSTAN=true
3232
- VALIDATE_CODING_STYLE=false
33+
- php: 7.4snapshot
34+
env:
35+
- COLLECT_COVERAGE=false
36+
- VALIDATE_CODING_STYLE=false
37+
- RUN_PHPSTAN=false
38+
- IGNORE_PLATFORMS=true
3339
- php: nightly
3440
env:
3541
- COLLECT_COVERAGE=false
3642
- IGNORE_PLATFORMS=true
3743
- RUN_PHPSTAN=true
3844
- VALIDATE_CODING_STYLE=false
3945
allow_failures:
46+
- php: 7.4snapshot
4047
- php: nightly
4148
fast_finish: true
4249

benchmark/build.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

benchmark/extract.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

benchmark/parse.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^2.3",
27-
"phpunit/phpunit": "^7.0",
28-
"phpstan/phpstan": "^0.10.1",
29-
"phpstan/phpstan-strict-rules": "^0.10.0",
30-
"phpstan/phpstan-phpunit": "^0.10.0"
27+
"phpunit/phpunit": "^7.0 | ^8.0",
28+
"phpstan/phpstan": "^0.11.1",
29+
"phpstan/phpstan-strict-rules": "^0.11.0",
30+
"phpstan/phpstan-phpunit": "^0.11.0"
3131
},
3232
"suggest": {
3333
"league/uri-components": "Manipulate URI components using modern API",
@@ -53,10 +53,9 @@
5353
],
5454
"phpunit": "phpunit --coverage-text",
5555
"test": [
56-
"@phpunit",
5756
"@phpcs",
58-
"@phpstan-src",
59-
"@phpstan-tests"
57+
"@phpstan",
58+
"@phpunit"
6059
]
6160
},
6261
"extra": {

src/Exception/InvalidQueryPair.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

src/Exception/InvalidUriComponent.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

src/Exception/MalformedUriComponent.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php
22

33
/**
4-
* League.Uri (http://uri.thephpleague.com)
4+
* League Uri Query String Parser (https://uri.thephpleague.com)
55
*
6-
* @author Ignace Nyamagana Butera <[email protected]>
7-
* @license https://github.com/thephpleague/uri-query-parser/blob/master/LICENSE (MIT License)
8-
* @version 1.0.0
9-
* @link https://uri.thephpleague.com/query-parser
6+
* (c) Ignace Nyamagana Butera <[email protected]>
107
*
118
* For the full copyright and license information, please view the LICENSE
129
* file that was distributed with this source code.

0 commit comments

Comments
 (0)