[FEATURE] Add MIME type filter to ensure only supported image files are downloaded #1155
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: PHPStan | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
phpstan: | |
name: Static Code Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
command: update | |
php_version: "7.4" | |
- name: PHPStan Static Analysis | |
uses: php-actions/phpstan@v3 | |
with: | |
configuration: ./.github/phpstan.neon |