enable rule fully_qualified_strict_types.phpdoc_tags = \[] to prevent php-cs-fixer stripping Namespaces out of comments #63
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: code-styles | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
grumphp: | |
name: grumphp | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: php-cs-fixer, cs2pr | |
- uses: actions/checkout@v2 | |
- run: composer install --prefer-dist | |
- run: ./vendor/bin/grumphp run --tasks=phpcsfixer,composer,composer_normalize,composer_require_checker,yamllint | |
security-checker: | |
name: security-checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
tools: composer:v2 | |
- uses: actions/checkout@v2 | |
- run: composer install --prefer-dist | |
- uses: symfonycorp/security-checker-action@v3 |