Skip to content

Commit

Permalink
Enhancement: Add support for PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 29, 2023
1 parent 0a3a833 commit 14c5cc8
Show file tree
Hide file tree
Showing 6 changed files with 278 additions and 5,466 deletions.
15 changes: 9 additions & 6 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ branches:
required_approving_review_count: 1
required_status_checks:
checks:
- context: "Code Coverage (8.1, locked)"
- context: "Coding Standards (8.1, locked)"
- context: "Dependency Analysis (8.1, locked)"
- context: "Refactoring (8.1, locked)"
- context: "Security Analysis (8.1, locked)"
- context: "Static Code Analysis (8.1, locked)"
- context: "Code Coverage (8.0, locked)"
- context: "Coding Standards (8.0, locked)"
- context: "Dependency Analysis (8.0, locked)"
- context: "Refactoring (8.0, locked)"
- context: "Security Analysis (8.0, locked)"
- context: "Static Code Analysis (8.0, locked)"
- context: "Tests (8.0, highest)"
- context: "Tests (8.0, locked)"
- context: "Tests (8.0, lowest)"
- context: "Tests (8.1, highest)"
- context: "Tests (8.1, locked)"
- context: "Tests (8.1, lowest)"
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down Expand Up @@ -373,6 +373,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.0"

dependencies:
- "locked"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`6.12.0...main`][6.12.0...main].

### Added

- Added support for PHP 8.0 ([#951]), by [@localheinz]

## [`6.12.0`][6.12.0]

For a full diff see [`6.11.0...6.12.0`][6.11.0...6.12.0].
Expand Down Expand Up @@ -1379,6 +1383,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#928]: https://github.com/ergebnis/php-cs-fixer-config/pull/928
[#930]: https://github.com/ergebnis/php-cs-fixer-config/pull/930
[#942]: https://github.com/ergebnis/php-cs-fixer-config/pull/942
[#951]: https://github.com/ergebnis/php-cs-fixer-config/pull/951

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
20 changes: 3 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,12 @@
"security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md"
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-filter": "*",
"erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1",
"friendsofphp/php-cs-fixer": "~3.40.0",
"kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0"
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-filter": "*"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.39.0",
"ergebnis/data-provider": "^3.1.0",
"ergebnis/license": "^2.3.0",
"ergebnis/phpunit-slow-test-detector": "^2.4.0",
"ergebnis/rector-rules": "~0.3.0",
"fakerphp/faker": "^1.23.0",
"phpunit/phpunit": "^10.4.2",
"psalm/plugin-phpunit": "~0.18.4",
"rector/rector": "~0.18.11",
"symfony/filesystem": "^6.3.1",
"symfony/process": "^6.3.4",
"vimeo/psalm": "^5.16.0"
"rector/rector": "~0.18.11"
},
"autoload": {
"psr-4": {
Expand All @@ -50,7 +37,6 @@
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"audit": {
Expand Down
Loading

0 comments on commit 14c5cc8

Please sign in to comment.