Skip to content

Commit

Permalink
Require PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecorche committed Jun 3, 2023
1 parent 19c9f7a commit a83e4bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
matrix:
include:
#Mini (for each Symfony version)
- php-version: '8.0'
- php-version: '8.1'
symfony-version: '5.4.*'
composer-flags: '--prefer-stable --prefer-lowest'
description: 'with SF 5.4.* lowest'
- php-version: '8.0'
- php-version: '8.1'
symfony-version: '6.0.*'
composer-flags: '--prefer-stable --prefer-lowest'
description: 'with SF 6.0.* lowest'
Expand Down Expand Up @@ -54,7 +54,6 @@ jobs:
description: 'with SF 6.3.*'

#PHP versions
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'

Expand All @@ -64,7 +63,7 @@ jobs:
coding-standards: true

#Static Analysis (min PHP version)
- php-version: '8.0'
- php-version: '8.1'
description: 'with Static Analysis'
static-analysis: true

Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'@Symfony' => true,
'@Symfony:risky' => true,
'@DoctrineAnnotation' => true,
'@PHP80Migration' => true,
'@PHP81Migration' => true,
'@PHP80Migration:risky' => true,
'@PHPUnit84Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/collections": "^1.5|^2.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/App/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
require dirname(__DIR__).'/config/bootstrap.php';

if ($_SERVER['APP_DEBUG']) {
umask(0000);
umask(0);

Debug::enable();
}
Expand Down

0 comments on commit a83e4bd

Please sign in to comment.