Skip to content

Commit c29fcfa

Browse files
author
Stephan Wentz
committed
fix: Update to doctrine/coding-standard 12.x
BREAKING CHANGE: This adds new rules
1 parent 6d4254d commit c29fcfa

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
}
1919
},
2020
"require": {
21-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
22-
"doctrine/coding-standard": "^11.0",
21+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0||^1.0",
22+
"doctrine/coding-standard": "^12.0",
2323
"slevomat/coding-standard": "^8.4",
2424
"squizlabs/php_codesniffer": "^3.7"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^9.5"
27+
"phpunit/phpunit": "^10.1"
2828
},
2929
"scripts": {
3030
"tests": [

phpunit.xml.dist

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
3-
<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="tests/bootstrap.php">
4-
<coverage>
5-
<include>
6-
<directory suffix=".php">Brainbits/Sniffs</directory>
7-
</include>
8-
</coverage>
9-
<testsuites>
10-
<testsuite name="bb">
11-
<directory>tests/Brainbits/Sniffs</directory>
12-
</testsuite>
13-
</testsuites>
14-
</phpunit>
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
4+
<coverage/>
5+
<testsuites>
6+
<testsuite name="bb">
7+
<directory>tests/Brainbits/Sniffs</directory>
8+
</testsuite>
9+
</testsuites>
10+
<source>
11+
<include>
12+
<directory suffix=".php">Brainbits/Sniffs</directory>
13+
</include>
14+
</source>
15+
</phpunit>

0 commit comments

Comments
 (0)