Rename AuthenticationResult property to Authentication #248
Workflow file for this run
This file contains hidden or 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 Analysis | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| php-stan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install PHP 8.0 | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.0' | |
| - uses: actions/checkout@v2 | |
| - name: Install required packages with composer | |
| run: | | |
| composer install | |
| - name: Run PhpStan | |
| run: | | |
| vendor/phpstan/phpstan/phpstan analyze . | |
| - name: Run PHP-CS-Fixer | |
| run: | | |
| vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix . --dry-run | |
| - name: Run PHPUnit tests | |
| run: | | |
| vendor/phpunit/phpunit/phpunit tests | |
| - name: Install PHP 7.4 | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '7.4' | |
| - name: Run Linter for PHP7.4 | |
| uses: StephaneBour/actions-php-lint@7.4 | |
| with: | |
| dir: './src' | |