Skip to content

Commit 1a39826

Browse files
committed
ci: tests against php 8.5
1 parent 00990ef commit 1a39826

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest] # windows-latest
1616
symfony: ['7.3']
17-
php: ['8.3', '8.4']
17+
php: ['8.3', '8.4', '8.5']
1818
dependency_version: [prefer-stable]
1919

2020
name: PHP ${{ matrix.php }} - Symfony ^${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency_version }}

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
66
use Rector\Config\RectorConfig;
7+
use Rector\TypeDeclaration\Rector\ClassMethod\NarrowObjectReturnTypeRector;
78
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
89

910
return RectorConfig::configure()
@@ -14,6 +15,7 @@
1415
__DIR__.'/src/Plugins/Parallel/Paratest/WrapperRunner.php',
1516
ReturnNeverTypeRector::class,
1617
FunctionLikeToFirstClassCallableRector::class,
18+
NarrowObjectReturnTypeRector::class,
1719
])
1820
->withPreparedSets(
1921
deadCode: true,

0 commit comments

Comments
 (0)