Symfony 7 support (#292) #217
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: PHP code sniffer | |
on: | |
push: | |
branches: | |
- master | |
pull_request: null | |
jobs: | |
codesniffer: | |
runs-on: ubuntu-latest | |
name: PHP code sniffer | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Composer update | |
run: composer update --no-progress --no-interaction | |
- name: Install PHP code sniffer as dev dependency | |
run: composer require squizlabs/php_codesniffer --dev | |
- name: Code sniffer | |
run: vendor/bin/phpcs src --standard=PSR2 -n |