Skip to content

Commit

Permalink
Merge pull request #160 from sascha-egerer/add-typo3-13_1-support
Browse files Browse the repository at this point in the history
Update dependencies and make php-parse a dev dependency
  • Loading branch information
sascha-egerer committed May 6, 2024
2 parents b56a301 + cc153de commit a7549f5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ jobs:
- typo3-version: "^12.4"
php-version: "8.3"
composer-flags: " --prefer-lowest"
- typo3-version: "^13.0"
- typo3-version: "^13.1"
php-version: "8.2"
composer-flags: ""
- typo3-version: "^13.0"
- typo3-version: "^13.1"
php-version: "8.2"
composer-flags: " --prefer-lowest"
- typo3-version: "^13.0"
- typo3-version: "^13.1"
php-version: "8.3"
composer-flags: ""
- typo3-version: "^13.0"
- typo3-version: "^13.1"
php-version: "8.3"
composer-flags: " --prefer-lowest"

Expand Down
2 changes: 0 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
passthru="true"
checkreturn="true"
>
<arg line="--runtime-set php_version 70400"/>
</exec>
</target>

Expand All @@ -49,7 +48,6 @@
checkreturn="true"
level="error"
>
<arg line="--runtime-set php_version 70400"/>
</exec>
</target>

Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.10.9",
"nikic/php-parser": "^4.15.1",
"typo3/cms-core": "^11.5 || ^12.4 || ^13.0",
"typo3/cms-extbase": "^11.5 || ^12.4 || ^13.0",
"bnf/phpstan-psr-container": "^1.0",
Expand All @@ -22,14 +21,14 @@
"ext-simplexml": "*"
},
"require-dev": {
"consistence-community/coding-standard": "^3.11.1",
"slevomat/coding-standard": "^7.2.1",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phing/phing": "^2.17.4",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^9.6.16",
"symfony/polyfill-php80": "^1.28.0",
"nikic/php-parser": "^v4.19.1",
"consistence-community/coding-standard": "^3.10",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phing/phing": "^2.17",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^9.6",
"symfony/polyfill-php80": "^1.29",
"phpstan/phpstan-phpunit": "^1.3"
},
"autoload": {
Expand Down
9 changes: 9 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<arg name="encoding" value="utf-8"/>
<arg name="tab-width" value="4"/>
<arg value="sp"/>
<config name="php_version" value="70400"/>

<file>src</file>
<file>tests</file>

Expand All @@ -17,6 +19,13 @@
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="Squiz.Commenting.FunctionComment.ParamNameNoMatch"/>
<exclude name="Squiz.PHP.Heredoc.NotAllowed"/>

<!-- These exclude configs can be dropped once PHP 7.4 support is dropped -->
<exclude name="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment"/>
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedExtends"/>
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedImplements"/>
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedUse"/>
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.IncorrectWhitespaceBetweenOpenTagAndDeclare"/>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
Expand Down

0 comments on commit a7549f5

Please sign in to comment.