Update dependency friendsofphp/php-cs-fixer to v3.66.1 #12244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QA | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
php: | |
name: PHP ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ["8.3"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
tools: cs2pr | |
- uses: ramsey/composer-install@v2 | |
- run: composer php-cs-fixer -- --dry-run --format=checkstyle | cs2pr | |
- run: composer phpstan -- --error-format=checkstyle | cs2pr | |
- run: composer rector -- --dry-run | |
- run: composer normalize --dry-run | |
node: | |
name: Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["20.x"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: bahmutov/npm-install@v1 | |
- run: npm run lint | |
- run: npm run build |