Skip to content

Commit 771cd0e

Browse files
committed
Keep support for PHP7.4 and TYPO3 10
1 parent 9949190 commit 771cd0e

14 files changed

+28
-15
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15+
- typo3-version: "^10.4"
16+
php-version: "7.4"
17+
composer-flags: ""
18+
- typo3-version: "^10.4"
19+
php-version: "7.4"
20+
composer-flags: " --prefer-lowest"
21+
- typo3-version: "^11.5"
22+
php-version: "7.4"
23+
composer-flags: ""
24+
- typo3-version: "^11.5"
25+
php-version: "7.4"
26+
composer-flags: " --prefer-lowest"
1527
- typo3-version: "^11.5"
1628
php-version: "8.0"
1729
composer-flags: ""

build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
logoutput="true"
3737
passthru="true"
3838
checkreturn="true"
39-
level="error"
4039
>
40+
<arg line="--runtime-set php_version 70400"/>
4141
</exec>
4242
</target>
4343

@@ -49,6 +49,7 @@
4949
checkreturn="true"
5050
level="error"
5151
>
52+
<arg line="--runtime-set php_version 70400"/>
5253
</exec>
5354
</target>
5455

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"minimum-stability": "dev",
99
"prefer-stable": true,
1010
"require": {
11-
"php": "^8.0",
11+
"php": "^7.4 || ^8.0",
1212
"phpstan/phpstan": "^1.8.9",
1313
"nikic/php-parser": "^4.15.1",
14-
"typo3/cms-core": "^11.5 || ^12.3",
15-
"typo3/cms-extbase": "^11.5 || ^12.3",
14+
"typo3/cms-core": "^10.4 || ^11.5 || ^12.4",
15+
"typo3/cms-extbase": "^10.4 || ^11.5 || ^12.4",
1616
"bnf/phpstan-psr-container": "^1.0",
1717
"composer/semver": "^3.3"
1818
},

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-
mixed ...$args
29+
...$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-
mixed ...$args
27+
...$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-
mixed ...$args
27+
...$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-
mixed ...$args
28+
...$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-
mixed ...$args
28+
...$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-
mixed ...$args
28+
...$args
2929
): void
3030
{
3131
$this->assertFileAsserts($assertType, $file, ...$args);

tests/Unit/Type/QueryResultToArrayDynamicReturnTypeExtension/QueryResultToArrayDynamicReturnTypeExtensionTest.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-
mixed ...$args
28+
...$args
2929
): void
3030
{
3131
$this->assertFileAsserts($assertType, $file, ...$args);

0 commit comments

Comments
 (0)