Skip to content

Commit

Permalink
PHP 8.3 Support (#409)
Browse files Browse the repository at this point in the history
* PHP 8.3 Support

* Update codeception.yml

* Update static-analysis.yml

* Update codeception.yml

* Update static-analysis.yml

* Update static-analysis.yml

---------

Co-authored-by: Christian Fasching <fashxp@users.noreply.github.com>
  • Loading branch information
blankse and fashxp authored Jun 12, 2024
1 parent d8ba00a commit 69a4d70
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
matrix:
include:
- { php-version: 8.0, database: "mariadb:10.3", pimcore_version: "", dependencies: lowest, experimental: false, require_admin_bundle: false }
- { php-version: 8.1, database: "mariadb:10.11", pimcore_version: "", dependencies: highest, experimental: false, require_admin_bundle: true }
- { php-version: 8.2, database: "mariadb:10.11", pimcore_version: "11.x-dev as 11.0.0", dependencies: highest, experimental: true, require_admin_bundle: true }
- { php-version: 8.3, database: "mariadb:10.11", pimcore_version: "", dependencies: highest, experimental: false, require_admin_bundle: true }
- { php-version: 8.3, database: "mariadb:10.11", pimcore_version: "11.x-dev as 11.0.0", dependencies: highest, experimental: true, require_admin_bundle: true }
services:
mariadb:
image: "${{ matrix.database }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
docs:
name: "Generate docs Pimcore Docs Generator"
runs-on: "ubuntu-latest"
if: ${{ github.repository == 'pimcore/data-importer' }}
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"
Expand Down Expand Up @@ -68,4 +69,3 @@ jobs:
run: |
npm install
npm run build
3 changes: 2 additions & 1 deletion .github/workflows/poeditor-export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ permissions:
jobs:
poeditor:
runs-on: ubuntu-latest
if: ${{ github.repository == 'pimcore/data-importer' }}
steps:
- name: Trigger workflow in pimcore/poeditor-export-action
env:
GH_TOKEN: ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }}
run: |
gh workflow run -R pimcore/poeditor-export-action poeditor-export.yaml
gh workflow run -R pimcore/poeditor-export-action poeditor-export.yaml
12 changes: 10 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
matrix:
include:
- { php-version: "8.0", dependencies: "lowest", require_admin_bundle: false }
- { php-version: "8.1", dependencies: "highest", require_admin_bundle: true }
- { php-version: "8.2", dependencies: "highest", require_admin_bundle: true }
- { php-version: "8.3", dependencies: "highest", require_admin_bundle: true }
- { php-version: "8.3", dependencies: "highest", pimcore_version: "11.x-dev as 11.0.0", require_admin_bundle: true, experimental: true }
steps:
- name: "Checkout code"
uses: "actions/checkout@v2"
Expand All @@ -38,6 +38,14 @@ jobs:
run: |
.github/ci/scripts/setup-pimcore-environment.sh
- name: "Update Pimcore version"
env:
PIMCORE_VERSION: "${{ matrix.pimcore_version }}"
run: |
if [ ! -z "$PIMCORE_VERSION" ]; then
composer require --no-update pimcore/pimcore:"${PIMCORE_VERSION}"
fi
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"minimum-stability": "dev",
"require": {
"pimcore/compatibility-bridge-v10": "^1.0",
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-fileinfo": "*",
"ext-json": "*",
"dragonmantank/cron-expression": "^3.1",
Expand Down

0 comments on commit 69a4d70

Please sign in to comment.