fix string class name, skip a rector rule on files #741
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: Quality | |
on: push | |
jobs: | |
cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: composer:v2 | |
coverage: none | |
- name: Cs-Fixer | |
run: | | |
wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer | |
chmod a+x php-cs-fixer | |
./php-cs-fixer fix src --dry-run | |
phpstan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: '**/vendor' | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- uses: php-actions/composer@v6 | |
with: | |
args: --prefer-dist | |
php_version: '8.2' | |
- name: PHPStan | |
uses: php-actions/phpstan@v3 | |
with: | |
path: src/ | |
level: 3 |