Skip to content

Commit d44e62f

Browse files
committed
Drop PHP 7.2 support to be able to upgrade PHPUnit
1 parent ada6a50 commit d44e62f

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
php-version: ['7.2', '7.3', '7.4']
15+
php-version: ['7.3', '7.4']
1616
dependencies: ['']
1717
include:
18-
- { php-version: '7.2', dependencies: '--prefer-lowest --prefer-stable' }
18+
- { php-version: '7.3', dependencies: '--prefer-lowest --prefer-stable' }
1919

2020
name: PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}
2121

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
## Unreleased
88
- Replace `Symplify\CodingStandard\Sniffs\Naming\[AbstractClassNameSniff, ClassNameSuffixByParentSniff, InterfaceNameSniff and TraitNameSniff]` with equivalent versions backported to this repository.
9+
- Drop PHP 7.2 support.
910

1011
## 2.1.0 - 2020-11-25
1112
- Add various dangerous function calls to list of forbidden functions.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2",
13+
"php": "^7.3",
1414
"friendsofphp/php-cs-fixer": "^2.16.3",
1515
"slevomat/coding-standard": "^6.4.1",
1616
"symplify/auto-bind-parameter": "<8.1.21",
@@ -30,7 +30,7 @@
3030
"phpstan/extension-installer": "^1.0",
3131
"phpstan/phpstan": "^0.12.0",
3232
"phpstan/phpstan-phpunit": "^0.12.0",
33-
"phpunit/phpunit": "^7.1 || ^8.0"
33+
"phpunit/phpunit": "^9.4.3"
3434
},
3535
"config": {
3636
"sort-packages": true,

phpunit.xml.dist

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<phpunit
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="./vendor/squizlabs/php_codesniffer/tests/bootstrap.php"
5-
colors="true"
1+
<?xml version="1.0"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
bootstrap="./vendor/squizlabs/php_codesniffer/tests/bootstrap.php"
5+
colors="true"
66
>
77
<testsuites>
88
<testsuite name="unit">
99
<directory>./tests/</directory>
1010
</testsuite>
1111
</testsuites>
1212

13-
<filter>
14-
<whitelist>
13+
<coverage>
14+
<include>
1515
<directory suffix=".php">./src</directory>
16-
</whitelist>
17-
</filter>
16+
</include>
17+
</coverage>
1818

1919
<php>
2020
<!-- E_ALL = 30719 -->

0 commit comments

Comments
 (0)