Skip to content

Commit

Permalink
Updated min requirement to PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 10, 2025
1 parent 8bebe15 commit 0b1bbc4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3

- name: Install dependencies
run: composer install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']

steps:
- name: Checkout code
Expand All @@ -42,7 +42,7 @@ jobs:
ini-values: pcov.directory=.

- name: Install dependencies
run: composer install
run: composer install ${{ matrix.php-versions == '8.5' && '--ignore-platform-reqs' || '' }}

- name: Validate composer.json
run: |
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3

- name: Install dependencies
run: composer install
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"source": "https://github.com/yournamespace/yourproject"
},
"require": {
"php": ">=8.2",
"symfony/console": "^6.3 || ^7"
"php": ">=8.3",
"symfony/console": "^7"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
Expand Down
1 change: 1 addition & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

$rectorConfig->sets([
SetList::PHP_82,
SetList::PHP_83,
SetList::CODE_QUALITY,
SetList::CODING_STYLE,
SetList::DEAD_CODE,
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit/Functional/ScriptFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ abstract class ScriptFunctionalTestCase extends ScriptUnitTestCase {
*/
const EXIT_ERROR = 1;

#[\Override]
protected function setUp(): void {
parent::setUp();
// Allow script to run.
Expand Down

1 comment on commit 0b1bbc4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.