diff --git a/.github/workflows/pull-request-check.yml b/.github/workflows/pull-request-check.yml index c1110c52..f41a2b74 100644 --- a/.github/workflows/pull-request-check.yml +++ b/.github/workflows/pull-request-check.yml @@ -12,7 +12,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 with: - php-version: '8.3.29' + php-version: '8.4.23' tools: composer coverage: none @@ -30,44 +30,6 @@ jobs: - name: Running unit test run: vendor/bin/phpunit --configuration phpunit.xml - php84-syntax-check: - name: PHP 8.4 syntax compatibility - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.6.0 - with: - fetch-depth: 0 - - - name: Setup PHP 8.4 - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 - with: - php-version: '8.4' - tools: composer - coverage: none - - - name: Cache Composer dependencies - uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.4.3 - with: - path: /tmp/composer-cache - key: ${{ runner.os }}-${{ hashFiles('composer.lock') }} - - - name: Install dependencies - env: - COMPOSER_CACHE_DIR: /tmp/composer-cache - run: composer install --no-interaction --no-progress --prefer-dist - - - name: Run Rector dry-run on changed PHP files - run: | - CHANGED=$(git diff --name-only origin/${{ github.base_ref }}...HEAD -- '*.php') - if [ -z "$CHANGED" ]; then - echo "No PHP files changed." - exit 0 - fi - echo "Changed PHP files:" - echo "$CHANGED" - vendor/bin/rector process --dry-run --no-progress-bar $CHANGED - convergence-ratchet: name: Convergence ratchet (no new 4.2-only patterns) runs-on: ubuntu-latest diff --git a/composer.json b/composer.json index a6632458..2d2b95d1 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": ">=8.3.29", + "php": ">=8.4.23", "d11wtq/boris": "~1.0", "filp/whoops": "~2.11", "ircmaxell/password-compat": "~1.0",