Skip to content

Commit

Permalink
Relax PHP version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
iquito committed Nov 17, 2020
1 parent 8db13c9 commit 9ecc4cb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 26 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
}
],
"require": {
"php": "^7.4",
"php": ">=7.4",
"ext-mbstring": "*",
"squirrelphp/debug": "^0.5"
},
"require-dev": {
"ext-intl": "*",
"bamarni/composer-bin-plugin": "^1.3",
"captainhook/plugin-composer": "^5.0",
"phpunit/phpunit": "^9.0",
"doctrine/annotations": "^1.5",
"twig/twig": "^3.0",
"symfony/form": "^4.2|^5.0",
Expand Down Expand Up @@ -56,7 +57,7 @@
"psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
"phpunit": "vendor/bin/phpunit --colors=always",
"phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
"codecoverage": "vendor/bin/phpunit --coverage-html tests/_reports",
"coverage": "vendor/bin/phpunit --coverage-html tests/_reports",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests",
"phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests",
"binupdate": "@composer bin all update --ansi",
Expand Down
30 changes: 11 additions & 19 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Unit Tests">
<directory>tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit Tests">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
5 changes: 0 additions & 5 deletions vendor-bin/phpunit/composer.json

This file was deleted.

0 comments on commit 9ecc4cb

Please sign in to comment.