Skip to content
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
40 changes: 1 addition & 39 deletions .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading