Skip to content

⬆️ update to rector 2 and phpstan 2 #151

⬆️ update to rector 2 and phpstan 2

⬆️ update to rector 2 and phpstan 2 #151

name: grumphp-config
on:
push:
branches: "*"
schedule:
- cron: '0 0 * * *'
jobs:
test:
name: "php: ${{ matrix.php }} TYPO3: ${{ matrix.typo3 }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
typo3: [false, true]
container:
image: kanti/buildy:${{ matrix.php }}
env:
COMPOSER_ROOT_VERSION: dev-main
steps:
- uses: actions/checkout@v4
- run: git config --global --add safe.directory /__w/grumphp-config/grumphp-config
- if: ${{ ! matrix.typo3 }}
run: |
composer install --no-progress --no-scripts -n \
&& mv phpstan-baseline-without-typo3.neon phpstan-baseline.neon
- if: ${{ matrix.typo3 }}
run: composer req saschaegerer/phpstan-typo3 ssch/typo3-rector --no-progress --no-scripts -n
- run: ./vendor/bin/grumphp run --ansi