Skip to content

Commit

Permalink
PHP 8.1 erfordern
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Mar 14, 2023
1 parent 53c47b6 commit dcc270f
Show file tree
Hide file tree
Showing 9 changed files with 536 additions and 565 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
php-cs-fixer:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false

steps:
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.3
php-version: 8.1
coverage: none # disable xdebug, pcov
tools: cs2pr

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rexlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
rexlint:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false

steps:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.3
php-version: 8.1
coverage: none # disable xdebug, pcov

- name: Composer install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.1
extensions: intl
coverage: none # disable xdebug, pcov

Expand Down
25 changes: 14 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"name": "yakamara/redaxo_yrewrite",

"require": {
"php": ">=8.1"
},

"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"friendsofredaxo/linter": "^1.3",
"redaxo/php-cs-fixer-config": "^1.0",
"redaxo/psalm-plugin": "^1.0",
"redaxo/source": "^5.8",
"vimeo/psalm": "^4.25",
"friendsofphp/php-cs-fixer": "^3.15.1",
"friendsofredaxo/linter": "^1.4",
"j13k/yaml-lint": "@dev",
"redaxo/php-cs-fixer-config": "^2.1.1",
"redaxo/psalm-plugin": "^2.0",
"redaxo/source": "^5.15",
"vimeo/psalm": "^5.8.0",
"yakamara/redaxo_yform": "dev-master"
},

Expand All @@ -19,17 +24,15 @@

"scripts": {
"cs": "php-cs-fixer fix -v --ansi",
"psalm": "psalm --no-suggestions"
"psalm": "psalm --no-suggestions",
"post-update-cmd": "@composer bump"
},

"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.3.0"
},
"allow-plugins": {
"composer/package-versions-deprecated": true
"php": "8.1.16"
}
}
}
Loading

0 comments on commit dcc270f

Please sign in to comment.