Skip to content

Commit 9949190

Browse files
committed
Drop support for PHP 7 and TYPO3 10
Remove old versions and update dev dependencies
1 parent 6785a0f commit 9949190

15 files changed

+21
-44
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,6 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- typo3-version: "^10.4"
16-
php-version: "7.2"
17-
composer-flags: ""
18-
- typo3-version: "^10.4"
19-
php-version: "7.2"
20-
composer-flags: " --prefer-lowest"
21-
- typo3-version: "^10.4"
22-
php-version: "7.3"
23-
composer-flags: ""
24-
- typo3-version: "^10.4"
25-
php-version: "7.3"
26-
composer-flags: " --prefer-lowest"
27-
- typo3-version: "^10.4"
28-
php-version: "7.4"
29-
composer-flags: ""
30-
- typo3-version: "^10.4"
31-
php-version: "7.4"
32-
composer-flags: " --prefer-lowest"
33-
- typo3-version: "^11.5"
34-
php-version: "7.4"
35-
composer-flags: ""
36-
- typo3-version: "^11.5"
37-
php-version: "7.4"
38-
composer-flags: " --prefer-lowest"
3915
- typo3-version: "^11.5"
4016
php-version: "8.0"
4117
composer-flags: ""

build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
logoutput="true"
3737
passthru="true"
3838
checkreturn="true"
39+
level="error"
3940
>
4041
</exec>
4142
</target>
@@ -46,6 +47,7 @@
4647
logoutput="true"
4748
passthru="true"
4849
checkreturn="true"
50+
level="error"
4951
>
5052
</exec>
5153
</target>

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@
88
"minimum-stability": "dev",
99
"prefer-stable": true,
1010
"require": {
11-
"php": "^7.2 || ^8.0",
11+
"php": "^8.0",
1212
"phpstan/phpstan": "^1.8.9",
1313
"nikic/php-parser": "^4.15.1",
14-
"typo3/cms-core": "^10.4 || ^11.5 || ^12.3",
15-
"typo3/cms-extbase": "^10.4 || ^11.5 || ^12.3",
14+
"typo3/cms-core": "^11.5 || ^12.3",
15+
"typo3/cms-extbase": "^11.5 || ^12.3",
1616
"bnf/phpstan-psr-container": "^1.0",
1717
"composer/semver": "^3.3"
1818
},
1919
"require-dev": {
20-
"consistence-community/coding-standard": "^3.10.1",
21-
"slevomat/coding-standard": "^6.4.1",
20+
"consistence-community/coding-standard": "^3.11.3",
21+
"slevomat/coding-standard": "^8.11.1",
2222
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
2323
"php-parallel-lint/php-parallel-lint": "^1.3.2",
2424
"phing/phing": "^2.17.4",
2525
"phpstan/phpstan-strict-rules": "^1.5.1",
26-
"phpunit/phpunit": "^8.5.33",
27-
"symfony/polyfill-php80": "^1.27.0"
26+
"phpunit/phpunit": "^8.5.33"
2827
},
2928
"autoload": {
3029
"psr-4": {

phpcs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<rule ref="vendor/consistence-community/coding-standard/Consistence/ruleset.xml">
1212
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat"/>
1313
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable"/>
14-
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
1514
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
1615
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"/>
1716
<exclude name="Consistence.Exceptions.ExceptionDeclaration"/>
@@ -26,7 +25,8 @@
2625
</rule>
2726
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
2827
<properties>
29-
<property name="newlinesCountBetweenOpenTagAndDeclare" value="0"/>
28+
<property name="declareOnFirstLine" value="true"/>
29+
<property name="linesCountAfterDeclare" value="1"/>
3030
</properties>
3131
</rule>
3232
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">

tests/Unit/Type/ContextDynamicReturnTypeExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function dataFileAsserts(): iterable
2626
public function testFileAsserts(
2727
string $assertType,
2828
string $file,
29-
...$args
29+
mixed ...$args
3030
): void
3131
{
3232
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/GeneralUtilityGetIndpEnvDynamicReturnTypeExtension/GeneralUtilityGetIndpEnvDynamicReturnTypeExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function dataFileAsserts(): iterable
2424
public function testFileAsserts(
2525
string $assertType,
2626
string $file,
27-
...$args
27+
mixed ...$args
2828
): void
2929
{
3030
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/MathUtilityTypeSpecifyingExtension/MathUtilityTypeSpecifyingExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function dataFileAsserts(): iterable
2424
public function testFileAsserts(
2525
string $assertType,
2626
string $file,
27-
...$args
27+
mixed ...$args
2828
): void
2929
{
3030
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/ObjectStorageStubFileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function dataFileAsserts(): iterable
2525
public function testFileAsserts(
2626
string $assertType,
2727
string $file,
28-
...$args
28+
mixed ...$args
2929
): void
3030
{
3131
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/PropertyMapperReturnTypeExtension/PropertyMapperReturnTypeExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function dataFileAsserts(): iterable
2525
public function testFileAsserts(
2626
string $assertType,
2727
string $file,
28-
...$args
28+
mixed ...$args
2929
): void
3030
{
3131
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/QueryFactoryStubFileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function dataFileAsserts(): iterable
2525
public function testFileAsserts(
2626
string $assertType,
2727
string $file,
28-
...$args
28+
mixed ...$args
2929
): void
3030
{
3131
$this->assertFileAsserts($assertType, $file, ...$args);

0 commit comments

Comments
 (0)