added security.txt to public webdir #330
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
# static code analyse with phpstan | |
name: PHPStan | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
phpstan: | |
name: PHPStan analyse | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# setup php interpreter | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.4 | |
extensions: intl, pdo_mysql, gd | |
# install backend dependencies with composer | |
- name: Install backend dependencies | |
run: composer install | |
# run code analyse with phpstan | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan analyse --configuration phpstan.neon |