Skip to content

Commit

Permalink
#26 add support for PHP 8.3 (#27)
Browse files Browse the repository at this point in the history
* #26 add support for PHP 8.3

* #26 fix remove unmatched rule

* #26 fix remove deprecated rules

* #26 add breaking change

* #26 add PHP 8.3 test
  • Loading branch information
khalyomede committed Nov 28, 2023
1 parent d31867d commit 3214a78
Show file tree
Hide file tree
Showing 8 changed files with 1,324 additions and 889 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
php_82:
php_83:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -34,6 +34,25 @@ jobs:
- name: Code modernity check
run: docker-compose run composer run scan

php_82:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: docker-compose run composer82 install
- name: Tests
run: docker-compose run composer82 run test
- name: Static analysis
run: docker-compose run composer82 run analyse
- name: Lint
run: docker-compose run composer82 run lint
- name: Security check
run: docker-compose run composer82 run check
- name: Updates check
run: docker-compose run composer82 run updates
- name: Code modernity check
run: docker-compose run composer82 run scan

php_81:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support for PHP 8.3 ([#26](https://github.com/khalyomede/reorder-before-after/issues/26)).

### Breaking

- Prevent installing/updating the package if the PHP version is lower than 8.1 ([#26](https://github.com/khalyomede/reorder-before-after/issues/26)).

## [0.3.0] 2023-01-14

### Added
Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
],
"minimum-stability": "stable",
"require-dev": {
"phpstan/phpstan": "1.9.11",
"pestphp/pest": "1.22.3",
"phpstan/phpstan-strict-rules": "1.4.5",
"friendsofphp/php-cs-fixer": "3.13.2",
"rector/rector": "0.15.7"
"phpstan/phpstan": "1.10.46",
"pestphp/pest": "2.25.0",
"phpstan/phpstan-strict-rules": "1.5.2",
"friendsofphp/php-cs-fixer": "3.40.0",
"rector/rector": "0.18.11"
},
"config": {
"allow-plugins": {
Expand All @@ -45,5 +45,8 @@
"scan": "rector process --dry-run",
"modernize": "rector process",
"all": "composer run test && composer run analyse && composer run lint && composer run check && composer run updates && composer run scan"
},
"require": {
"php": ">=8.1.0"
}
}
Loading

0 comments on commit 3214a78

Please sign in to comment.