Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

26-support-for-php-8-3 #27

Merged
merged 5 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading