WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 7c7f530

Browse files
committed
Relax version constraint for PHP
1 parent c13b66c commit 7c7f530

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^7.2",
22+
"php": ">=7.2",
2323
"symfony/validator": "^4.0|^5.0",
2424
"doctrine/annotations": "^1.6"
2525
},
2626
"require-dev": {
2727
"bamarni/composer-bin-plugin": "^1.3",
2828
"captainhook/plugin-composer": "^5.0",
29+
"phpunit/phpunit": "^8.0|^9.0",
2930
"mockery/mockery": "^1.0"
3031
},
3132
"config": {
32-
"sort-packages": false
33+
"sort-packages": false,
34+
"platform": {
35+
"php": "7.2.5"
36+
}
3337
},
3438
"autoload": {
3539
"psr-4": {
@@ -46,12 +50,12 @@
4650
"phpstan": "vendor/bin/phpstan analyse",
4751
"phpstan_base": "vendor/bin/phpstan analyse --generate-baseline",
4852
"phpstan_clear": "vendor/bin/phpstan clear-result-cache",
49-
"psalm": "vendor/bin/psalm --show-info=false --diff",
53+
"psalm": "vendor/bin/psalm --show-info=false",
5054
"psalm_full": "vendor/bin/psalm --show-info=false",
5155
"psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
5256
"phpunit": "vendor/bin/phpunit --colors=always",
5357
"phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
54-
"codecoverage": "vendor/bin/phpunit --coverage-html tests/_reports",
58+
"coverage": "vendor/bin/phpunit --coverage-html tests/_reports",
5559
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests",
5660
"phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests",
5761
"binupdate": "@composer bin all update --ansi",

psalm-baseline.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9">
2+
<files psalm-version="3.18.2@19aa905f7c3c7350569999a93c40ae91ae4e1626">
33
<file src="examples/Address.php">
4-
<MissingConstructor occurrences="1">
4+
<MissingConstructor occurrences="3">
5+
<code>$city</code>
6+
<code>$phoneNumber</code>
57
<code>$street</code>
68
</MissingConstructor>
79
</file>
810
<file src="examples/Order.php">
9-
<MissingConstructor occurrences="1">
11+
<MissingConstructor occurrences="3">
12+
<code>$invoiceAddress</code>
13+
<code>$phoneNumberOnlyAddress</code>
1014
<code>$shippingAddress</code>
1115
</MissingConstructor>
1216
</file>

vendor-bin/phpunit/composer.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)