Add IP Risk and Anonymous Plus inputs to Insights #605
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 Lints | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '55 3 * * SUN' | |
| permissions: {} | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| name: "PHP Lints" | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5 | |
| with: | |
| php-version: 8.3 | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Install dependencies | |
| run: composer install --no-progress --prefer-dist --optimize-autoloader | |
| - name: Validate composer.json | |
| run: composer validate | |
| - name: Lint with php-cs-fixer | |
| run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run | |
| - name: Lint with phpcs | |
| run: vendor/bin/phpcs --standard=PSR2 src/ | |
| - name: Lint with phpstan | |
| run: vendor/bin/phpstan analyze |