removed style #20
Workflow file for this run
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: Check Style | |
on: [push, pull_request] | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
- name: Checkout module | |
uses: actions/checkout@master | |
- run: git submodule update --init -- .style | |
shell: bash | |
- run: wget https://cs.symfony.com/download/php-cs-fixer-v3.phar | |
shell: bash | |
- run: php php-cs-fixer-v3.phar fix --config=.style/.php-cs-fixer.php -v --dry-run --allow-risky=yes --path-mode=intersection . | |
shell: bash | |
- run: | | |
if [[ -f ".style/json-check.php" ]]; then | |
php .style/json-check.php fix . | |
fi | |
shell: bash |