Melaine Gérard ad642ce6ac
Some checks failed
Apply PHP CS Fixer / php-cs-fixer (push) Successful in 11s
CI / build-test (push) Failing after 1m42s
rector / Rector (push) Successful in 1m23s
fix Actions ?
2025-01-16 22:40:21 +01:00

19 lines
587 B
YAML

on: [push, pull_request]
name: rector
jobs:
rector:
name: Rector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP with pre-release PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Download Composer
run: php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php && php -r "unlink('composer-setup.php');"
- name: Install Dependencies
run: php composer.phar install
- name: Run Rector
run: vendor/bin/rector --dry-run