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

IBX-8119: Upgraded minimum PHP version to 8.3 #89

Merged
merged 3 commits into from
Apr 26, 2024
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
14 changes: 6 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
name: Run code style check
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.3'
coverage: none
extensions: 'pdo_sqlite, gd'
tools: cs2pr

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -38,12 +38,10 @@ jobs:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.2'
- '8.3'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -53,7 +51,7 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests-callable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 15

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set project version
run: |
Expand All @@ -26,22 +26,22 @@ jobs:
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.3
coverage: none

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: ${{ env.PROJECT_EDITION }}-${{ env.version }}-${{ github.sha }}
key: "${{ env.PROJECT_EDITION }}-${{ env.version }}-${{ github.sha }}"
restore-keys: |
${{ env.PROJECT_EDITION }}-${{ env.version }}

- name: Set up whole project using the tested dependency
run: |
curl -L "https://raw.githubusercontent.com/ibexa/ci-scripts/main/bin/${{ env.version }}/prepare_project_edition.sh" > prepare_project_edition.sh
chmod +x prepare_project_edition.sh
./prepare_project_edition.sh ${{ env.PROJECT_EDITION }} ${{ env.version }} ${{ env.SETUP }}
./prepare_project_edition.sh ${{ env.PROJECT_EDITION }} ${{ env.version }} ${{ env.SETUP }} ghcr.io/ibexa/docker/php:8.3-node18

- name: Run setup command
run: |
Expand Down
39 changes: 20 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,50 +24,51 @@
}
},
"require": {
"php": "^7.4 || ^8.0",
"php": " >=8.3",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-xmlwriter": "*",
"ibexa/core": "~5.0.0@dev",
"symfony/http-kernel": "^5.3",
"symfony/dependency-injection": "^5.3",
"symfony/routing": "^5.3",
"symfony/http-foundation": "^5.3",
"ibexa/core": "~5.0.x-dev",
"ibexa/templated-uri-bundle": "^3.2",
"lexik/jwt-authentication-bundle": "^2.8",
"symfony/config": "^5.3",
"symfony/yaml": "^5.3",
"symfony/dependency-injection": "^5.3",
"symfony/event-dispatcher": "^5.3",
"symfony/security-csrf": "^5.3",
"symfony/expression-language": "^5.3",
"symfony/form": "^5.3",
"symfony/http-foundation": "^5.3",
"symfony/http-kernel": "^5.3",
"symfony/routing": "^5.3",
"symfony/security-bundle": "^5.3",
"ibexa/templated-uri-bundle": "^3.2",
"lexik/jwt-authentication-bundle": "^2.8"
"symfony/security-csrf": "^5.3",
"symfony/yaml": "^5.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"ibexa/ci-scripts": "^0.2@dev",
"ibexa/doctrine-schema": "~5.0.0@dev",
"ibexa/code-style": "^1.0",
"ibexa/doctrine-schema": "~5.0.x-dev",
"ibexa/test-core": "^0.1.x-dev",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^8.5",
"justinrainbow/json-schema": "^5.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"nyholm/psr7": "^1.1",
"symfony/http-client": "^5.3",
"symfony/browser-kit": "^5.3",
"justinrainbow/json-schema": "^5.2",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-symfony": "^1.3",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-webmozart-assert": "^1.2"
"phpstan/phpstan-symfony": "^1.3",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "^5.3",
"symfony/http-client": "^5.3"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"*": false
},
"process-timeout": 600
"process-timeout": 600,
"sort-packages": true
},
"scripts": {
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",
Expand Down
Loading