Skip to content

Commit a7549f5

Browse files
Merge pull request #160 from sascha-egerer/add-typo3-13_1-support
Update dependencies and make php-parse a dev dependency
2 parents b56a301 + cc153de commit a7549f5

File tree

4 files changed

+21
-15
lines changed

4 files changed

+21
-15
lines changed

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ jobs:
6060
- typo3-version: "^12.4"
6161
php-version: "8.3"
6262
composer-flags: " --prefer-lowest"
63-
- typo3-version: "^13.0"
63+
- typo3-version: "^13.1"
6464
php-version: "8.2"
6565
composer-flags: ""
66-
- typo3-version: "^13.0"
66+
- typo3-version: "^13.1"
6767
php-version: "8.2"
6868
composer-flags: " --prefer-lowest"
69-
- typo3-version: "^13.0"
69+
- typo3-version: "^13.1"
7070
php-version: "8.3"
7171
composer-flags: ""
72-
- typo3-version: "^13.0"
72+
- typo3-version: "^13.1"
7373
php-version: "8.3"
7474
composer-flags: " --prefer-lowest"
7575

build.xml

-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
passthru="true"
3838
checkreturn="true"
3939
>
40-
<arg line="--runtime-set php_version 70400"/>
4140
</exec>
4241
</target>
4342

@@ -49,7 +48,6 @@
4948
checkreturn="true"
5049
level="error"
5150
>
52-
<arg line="--runtime-set php_version 70400"/>
5351
</exec>
5452
</target>
5553

composer.json

+8-9
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"require": {
1414
"php": "^7.4 || ^8.0",
1515
"phpstan/phpstan": "^1.10.9",
16-
"nikic/php-parser": "^4.15.1",
1716
"typo3/cms-core": "^11.5 || ^12.4 || ^13.0",
1817
"typo3/cms-extbase": "^11.5 || ^12.4 || ^13.0",
1918
"bnf/phpstan-psr-container": "^1.0",
@@ -22,14 +21,14 @@
2221
"ext-simplexml": "*"
2322
},
2423
"require-dev": {
25-
"consistence-community/coding-standard": "^3.11.1",
26-
"slevomat/coding-standard": "^7.2.1",
27-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
28-
"php-parallel-lint/php-parallel-lint": "^1.3.2",
29-
"phing/phing": "^2.17.4",
30-
"phpstan/phpstan-strict-rules": "^1.5.1",
31-
"phpunit/phpunit": "^9.6.16",
32-
"symfony/polyfill-php80": "^1.28.0",
24+
"nikic/php-parser": "^v4.19.1",
25+
"consistence-community/coding-standard": "^3.10",
26+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
27+
"php-parallel-lint/php-parallel-lint": "^1.4",
28+
"phing/phing": "^2.17",
29+
"phpstan/phpstan-strict-rules": "^1.5",
30+
"phpunit/phpunit": "^9.6",
31+
"symfony/polyfill-php80": "^1.29",
3332
"phpstan/phpstan-phpunit": "^1.3"
3433
},
3534
"autoload": {

phpcs.xml

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<arg name="encoding" value="utf-8"/>
66
<arg name="tab-width" value="4"/>
77
<arg value="sp"/>
8+
<config name="php_version" value="70400"/>
9+
810
<file>src</file>
911
<file>tests</file>
1012

@@ -17,6 +19,13 @@
1719
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
1820
<exclude name="Squiz.Commenting.FunctionComment.ParamNameNoMatch"/>
1921
<exclude name="Squiz.PHP.Heredoc.NotAllowed"/>
22+
23+
<!-- These exclude configs can be dropped once PHP 7.4 support is dropped -->
24+
<exclude name="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment"/>
25+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedExtends"/>
26+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedImplements"/>
27+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedUse"/>
28+
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.IncorrectWhitespaceBetweenOpenTagAndDeclare"/>
2029
</rule>
2130
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
2231
<properties>

0 commit comments

Comments
 (0)