Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and make php-parse a dev dependency #160

Merged
merged 5 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading