diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index 17c09ba..a9f4210 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -17,7 +17,6 @@ jobs: fail-fast: false matrix: php: - - '8.3' - '8.4' - '8.5' @@ -43,7 +42,10 @@ jobs: run: composer run-script phpstan - name: Run code style check - run: composer run-script check-cs -- --format=checkstyle | cs2pr + shell: bash + run: | + set -euo pipefail + composer run-script check-cs -- --format=checkstyle | cs2pr - name: Run test suite run: composer run-script --timeout=600 test diff --git a/bin/ibexa-bundle-generator b/bin/ibexa-bundle-generator index da85a59..45d5ba8 100755 --- a/bin/ibexa-bundle-generator +++ b/bin/ibexa-bundle-generator @@ -12,6 +12,6 @@ use Ibexa\BundleGenerator\Command\GenerateBundleCommand; use Symfony\Component\Console\Application; $application = new Application(); -$application->add(new GenerateBundleCommand()); +$application->addCommand(new GenerateBundleCommand()); $application->setDefaultCommand('generate-bundle', true); $application->run(); diff --git a/composer.json b/composer.json index 92cfbd9..0fc7e9e 100644 --- a/composer.json +++ b/composer.json @@ -7,9 +7,9 @@ "ibexa-dxp" ], "require": { - "php": ">=8.3", - "symfony/console": "^5.4", - "symfony/filesystem": "^5.4" + "php": ">=8.4", + "symfony/console": "^8.0", + "symfony/filesystem": "^8.0" }, "require-dev": { "composer/composer": "^2.1", diff --git a/skeleton/extension/.github/workflows/backend-ci.yaml b/skeleton/extension/.github/workflows/backend-ci.yaml index a182431..847d139 100644 --- a/skeleton/extension/.github/workflows/backend-ci.yaml +++ b/skeleton/extension/.github/workflows/backend-ci.yaml @@ -31,7 +31,10 @@ jobs: dependency-versions: "highest" - name: Run code style check - run: composer run-script check-cs -- --format=checkstyle | cs2pr + shell: bash + run: | + set -euo pipefail + composer run-script check-cs -- --format=checkstyle | cs2pr deptrac: name: Deptrac diff --git a/skeleton/extension/composer.json b/skeleton/extension/composer.json index c6eb9cb..d85a881 100644 --- a/skeleton/extension/composer.json +++ b/skeleton/extension/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": ">=8.3", - "ibexa/core": "~5.0.x-dev", + "ibexa/core": "~6.0.x-dev", "symfony/config": "^7.4", "symfony/dependency-injection": "^7.4", "symfony/event-dispatcher": "^7.4", @@ -19,14 +19,14 @@ "dama/doctrine-test-bundle": "^8.2", "deptrac/deptrac": "^3.0", "ibexa/code-style": "~2.3.0", - "ibexa/phpstan": "~5.0.x-dev", - "ibexa/rector": "~5.0.x-dev", - "ibexa/test-core": "~5.0.x-dev", + "ibexa/phpstan": "~6.0.x-dev", + "ibexa/rector": "~6.0.x-dev", + "ibexa/test-core": "~6.0.x-dev", "phpstan/phpstan": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-symfony": "^2.0", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^12.5", "symfony/phpunit-bridge": "^7.4" }, "autoload": { @@ -59,7 +59,7 @@ }, "extra": { "branch-alias": { - "dev-main": "5.0.x-dev" + "dev-main": "6.0.x-dev" } }, "config": { diff --git a/skeleton/extension/phpunit.integration.xml b/skeleton/extension/phpunit.integration.xml index 9324426..499edb0 100644 --- a/skeleton/extension/phpunit.integration.xml +++ b/skeleton/extension/phpunit.integration.xml @@ -1,16 +1,16 @@ + + cacheDirectory="var/.phpunit.cache"> - - - + + + - + @@ -18,9 +18,6 @@ - + - - - diff --git a/skeleton/extension/phpunit.xml.dist b/skeleton/extension/phpunit.xml.dist index f0529e8..beccb81 100644 --- a/skeleton/extension/phpunit.xml.dist +++ b/skeleton/extension/phpunit.xml.dist @@ -1,14 +1,10 @@ - + + tests/bundle diff --git a/skeleton/ibexa-ee/.github/workflows/backend-ci.yaml b/skeleton/ibexa-ee/.github/workflows/backend-ci.yaml index 6ec485d..4ec806b 100644 --- a/skeleton/ibexa-ee/.github/workflows/backend-ci.yaml +++ b/skeleton/ibexa-ee/.github/workflows/backend-ci.yaml @@ -25,7 +25,10 @@ jobs: satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} - name: Run code style check - run: composer run-script check-cs -- --format=checkstyle | cs2pr + shell: bash + run: | + set -euo pipefail + composer run-script check-cs -- --format=checkstyle | cs2pr deptrac: name: Deptrac diff --git a/skeleton/ibexa-ee/composer.json b/skeleton/ibexa-ee/composer.json index 8632018..7324ff2 100644 --- a/skeleton/ibexa-ee/composer.json +++ b/skeleton/ibexa-ee/composer.json @@ -15,7 +15,7 @@ "prefer-stable": true, "require": { "php": ">=8.3", - "ibexa/core": "~5.0.x-dev", + "ibexa/core": "~6.0.x-dev", "symfony/config": "^7.4", "symfony/dependency-injection": "^7.4", "symfony/event-dispatcher": "^7.4", @@ -26,16 +26,16 @@ "require-dev": { "dama/doctrine-test-bundle": "^8.2", "deptrac/deptrac": "^3.0", - "ibexa/behat": "~5.0.x-dev", + "ibexa/behat": "~6.0.x-dev", "ibexa/code-style": "~2.3.0", - "ibexa/phpstan": "~5.0.x-dev", - "ibexa/rector": "~5.0.x-dev", - "ibexa/test-core": "~5.0.x-dev", + "ibexa/phpstan": "~6.0.x-dev", + "ibexa/rector": "~6.0.x-dev", + "ibexa/test-core": "~6.0.x-dev", "phpstan/phpstan": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-symfony": "^2.0", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^12.5", "symfony/phpunit-bridge": "^7.4" }, "autoload": { @@ -70,7 +70,7 @@ }, "extra": { "branch-alias": { - "dev-main": "5.0.x-dev" + "dev-main": "6.0.x-dev" } }, "config": { diff --git a/skeleton/ibexa-ee/phpunit.integration.xml b/skeleton/ibexa-ee/phpunit.integration.xml index 9324426..499edb0 100644 --- a/skeleton/ibexa-ee/phpunit.integration.xml +++ b/skeleton/ibexa-ee/phpunit.integration.xml @@ -1,16 +1,16 @@ + + cacheDirectory="var/.phpunit.cache"> - - - + + + - + @@ -18,9 +18,6 @@ - + - - - diff --git a/skeleton/ibexa-ee/phpunit.xml.dist b/skeleton/ibexa-ee/phpunit.xml.dist index f0529e8..beccb81 100644 --- a/skeleton/ibexa-ee/phpunit.xml.dist +++ b/skeleton/ibexa-ee/phpunit.xml.dist @@ -1,14 +1,10 @@ - + + tests/bundle diff --git a/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml b/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml index 4eac8ba..25af6f6 100644 --- a/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml +++ b/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml @@ -23,7 +23,10 @@ jobs: gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} - name: Run code style check - run: composer run-script check-cs -- --format=checkstyle | cs2pr + shell: bash + run: | + set -euo pipefail + composer run-script check-cs -- --format=checkstyle | cs2pr deptrac: name: Deptrac diff --git a/skeleton/ibexa-oss/composer.json b/skeleton/ibexa-oss/composer.json index 565f4cb..935cef2 100644 --- a/skeleton/ibexa-oss/composer.json +++ b/skeleton/ibexa-oss/composer.json @@ -9,7 +9,7 @@ "prefer-stable": true, "require": { "php": ">=8.3", - "ibexa/core": "~5.0.x-dev", + "ibexa/core": "~6.0.x-dev", "symfony/config": "^7.4", "symfony/dependency-injection": "^7.4", "symfony/event-dispatcher": "^7.4", @@ -20,16 +20,16 @@ "require-dev": { "dama/doctrine-test-bundle": "^8.2", "deptrac/deptrac": "^3.0", - "ibexa/behat": "~5.0.x-dev", + "ibexa/behat": "~6.0.x-dev", "ibexa/code-style": "~2.3.0", - "ibexa/phpstan": "~5.0.x-dev", - "ibexa/rector": "~5.0.x-dev", - "ibexa/test-core": "~5.0.x-dev", + "ibexa/phpstan": "~6.0.x-dev", + "ibexa/rector": "~6.0.x-dev", + "ibexa/test-core": "~6.0.x-dev", "phpstan/phpstan": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-symfony": "^2.0", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^12.5", "symfony/phpunit-bridge": "^7.4" }, "autoload": { @@ -64,7 +64,7 @@ }, "extra": { "branch-alias": { - "dev-main": "5.0.x-dev" + "dev-main": "6.0.x-dev" } }, "config": { diff --git a/skeleton/ibexa-oss/phpunit.integration.xml b/skeleton/ibexa-oss/phpunit.integration.xml index 9324426..499edb0 100644 --- a/skeleton/ibexa-oss/phpunit.integration.xml +++ b/skeleton/ibexa-oss/phpunit.integration.xml @@ -1,16 +1,16 @@ + + cacheDirectory="var/.phpunit.cache"> - - - + + + - + @@ -18,9 +18,6 @@ - + - - - diff --git a/skeleton/ibexa-oss/phpunit.xml.dist b/skeleton/ibexa-oss/phpunit.xml.dist index f0529e8..beccb81 100644 --- a/skeleton/ibexa-oss/phpunit.xml.dist +++ b/skeleton/ibexa-oss/phpunit.xml.dist @@ -1,14 +1,10 @@ - + + tests/bundle