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 Sep 29, 2023
1 parent 6f65d05 commit 81ff734
Show file tree
Hide file tree
Showing 12 changed files with 644 additions and 758 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
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "yakamara/ydeploy",

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

"require-dev": {
"deployer/deployer": "^6.8",
"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.10",
"vimeo/psalm": "^4.21"
"deployer/deployer": "^6.9",
"friendsofphp/php-cs-fixer": "^3.33.0",
"friendsofredaxo/linter": "^1.4",
"redaxo/php-cs-fixer-config": "^2.2.0",
"redaxo/psalm-plugin": "^2.0",
"redaxo/source": "^5.14.3",
"vimeo/psalm": "^5.15"
},

"autoload": {
Expand All @@ -29,10 +33,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.3.0"
},
"allow-plugins": {
"composer/package-versions-deprecated": true
"php": "8.1.17"
}
}
}
Loading

0 comments on commit 81ff734

Please sign in to comment.