Skip to content

Commit 91b88cf

Browse files
committed
Use PHP 8.5
1 parent d921727 commit 91b88cf

341 files changed

Lines changed: 12 additions & 691 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
php:
28-
- '8.4'
28+
- '8.5'
2929
fail-fast: false
3030
timeout-minutes: 5
3131
steps:
@@ -40,9 +40,7 @@ jobs:
4040
tools: pecl, composer, php-cs-fixer
4141
coverage: none
4242
- name: Run PHP-CS-Fixer fix
43-
env:
44-
PHP_CS_FIXER_IGNORE_ENV: '1'
45-
run: php-cs-fixer fix --dry-run --diff --ansi
43+
run: php-cs-fixer fix --dry-run --diff --ansi --allow-unsupported-php-version 8.5
4644

4745
phpunit:
4846
name: PHPUnit (Symfony ${{ matrix.symfony }}) (PHP ${{ matrix.php }})
@@ -51,13 +49,13 @@ jobs:
5149
strategy:
5250
matrix:
5351
php:
54-
- '8.4'
52+
- '8.5'
5553
symfony:
5654
- '7.4'
5755
experimental:
5856
- false
5957
include:
60-
- php: '8.4'
58+
- php: '8.5'
6159
symfony: '7.4'
6260
experimental: false
6361
coverage: true
@@ -149,13 +147,13 @@ jobs:
149147
strategy:
150148
matrix:
151149
php:
152-
- '8.4'
150+
- '8.5'
153151
symfony:
154152
- '7.4'
155153
experimental:
156154
- false
157155
include:
158-
- php: '8.4'
156+
- php: '8.5'
159157
symfony: '7.4'
160158
experimental: false
161159
coverage: true
@@ -233,7 +231,7 @@ jobs:
233231
strategy:
234232
matrix:
235233
php:
236-
- '8.4'
234+
- '8.5'
237235
symfony:
238236
- '^7.4'
239237
fail-fast: false
@@ -288,7 +286,7 @@ jobs:
288286
strategy:
289287
matrix:
290288
php:
291-
- '8.4'
289+
- '8.5'
292290
symfony:
293291
- '^7.4'
294292
fail-fast: false
@@ -341,7 +339,7 @@ jobs:
341339
strategy:
342340
matrix:
343341
php:
344-
- '8.4'
342+
- '8.5'
345343
symfony:
346344
- '8.0'
347345
fail-fast: false
@@ -413,7 +411,7 @@ jobs:
413411
strategy:
414412
matrix:
415413
php:
416-
- '8.4'
414+
- '8.5'
417415
symfony:
418416
- '8.0'
419417
fail-fast: false

.php-cs-fixer.dist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,5 @@
126126
'on_multiline' => 'ensure_fully_multiline',
127127
],
128128
])
129-
->setFinder($finder);
129+
->setFinder($finder)
130+
;

features/bootstrap/CollectionContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use ApiPlatform\Metadata\IriConverterInterface;

features/bootstrap/CoverageContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use Behat\Behat\Context\Context;

features/bootstrap/DoctrineContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use ApiPlatform\Metadata\Exception\ItemNotFoundException;

features/bootstrap/JsonContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use ApiPlatform\Symfony\Bundle\Test\Constraint\ArraySubset;

features/bootstrap/ProfilerContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use Behat\Behat\Context\Context;

features/bootstrap/PublishableContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use ApiPlatform\Metadata\IriConverterInterface;

features/bootstrap/RestContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use Behat\Behat\Context\Context;

features/bootstrap/UploadsContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
declare(strict_types=1);
13-
1412
namespace Silverback\ApiComponentsBundle\Features\Bootstrap;
1513

1614
use ApiPlatform\Metadata\Exception\ItemNotFoundException;

0 commit comments

Comments
 (0)