diff --git a/.github/actions/composer-install/action.yaml b/.github/actions/composer-install/action.yaml index 0764f443..52928879 100644 --- a/.github/actions/composer-install/action.yaml +++ b/.github/actions/composer-install/action.yaml @@ -7,8 +7,8 @@ runs: version=$(jq -r '.extra | ."branch-alias" | ."dev-main"' < composer.json) echo "version=$version" >> $GITHUB_ENV shell: bash - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: - dependency-versions: "highest" + dependency-versions: highest env: - COMPOSER_ROOT_VERSION: ${{ env.version }} \ No newline at end of file + COMPOSER_ROOT_VERSION: ${{ env.version }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d9fbe98b..3a2ab3cb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,9 +12,7 @@ jobs: name: Run code style check runs-on: "ubuntu-22.04" strategy: - matrix: - php: - - '8.0' + steps: - uses: actions/checkout@v4 @@ -40,8 +38,6 @@ jobs: fail-fast: false matrix: php: - - '7.4' - - '8.0' - '8.3' steps: @@ -73,8 +69,6 @@ jobs: fail-fast: false matrix: php: - - '7.4' - - '8.0' - '8.3' steps: diff --git a/composer.json b/composer.json index c3bf06e7..42804feb 100644 --- a/composer.json +++ b/composer.json @@ -7,37 +7,37 @@ "ezsystems/ezplatform-content-forms": "*" }, "require": { - "php": "^7.4 || ^8.0", + "php": " >=8.3", "ext-json": "*", - "ibexa/core": "~5.0.0@dev", - "symfony/dependency-injection": "^5.0", - "symfony/http-kernel": "^5.0", - "symfony/http-foundation": "^5.0", - "symfony/options-resolver": "^5.0", + "ibexa/core": "~5.0.x-dev", + "jms/translation-bundle": "^1.5", "symfony/config": "^5.0", - "symfony/yaml": "^5.0", + "symfony/dependency-injection": "^5.0", + "symfony/event-dispatcher": "^5.0", "symfony/filesystem": "^5.0", "symfony/form": "^5.0", - "symfony/event-dispatcher": "^5.0", - "symfony/validator": "^5.0", + "symfony/http-foundation": "^5.0", + "symfony/http-kernel": "^5.0", + "symfony/options-resolver": "^5.0", "symfony/routing": "^5.0", "symfony/translation": " ^5.0", - "jms/translation-bundle": "^1.5" + "symfony/validator": "^5.0", + "symfony/yaml": "^5.0" }, "require-dev": { + "behat/behat": "^3.5", + "friendsofphp/php-cs-fixer": "^3.0", + "ibexa/behat": "~5.0.x-dev", "ibexa/ci-scripts": "^0.2@dev", - "ibexa/behat": "~5.0.0@dev", - "ibexa/doctrine-schema": "~5.0.0@dev", - "ibexa/http-cache": "~5.0.0@dev", + "ibexa/code-style": "^1.0", + "ibexa/doctrine-schema": "~5.0.x-dev", + "ibexa/http-cache": "~5.0.x-dev", "ibexa/notifications": "~5.0.x-dev", - "ibexa/rest": "~5.0.0@dev", + "ibexa/rest": "~5.0.x-dev", "ibexa/test-core": "~5.0.x-dev", "ibexa/user": "^5.0.x-dev", - "phpunit/phpunit": "^8.2", "matthiasnoback/symfony-dependency-injection-test": "^4.0", - "behat/behat": "^3.5", - "friendsofphp/php-cs-fixer": "^3.0", - "ibexa/code-style": "^1.0" + "phpunit/phpunit": "^8.2" }, "autoload": { "psr-4": { @@ -66,7 +66,8 @@ "config": { "allow-plugins": { "*/*": false - } + }, + "sort-packages": true }, "scripts": { "fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",