1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/.github/workflows/phpstan.yml
Stefan Giehl 0f317512ee Introduce PHPStan at level 0 (#23050)
* Require PHPStan
* Add GitHub action
* Remove bootstrap file from build
* Add composer script for easier use
2025-03-02 04:59:52 +13:00

36 خطوط
745 B
YAML

name: PHPStan check
on: pull_request
permissions:
actions: read
checks: read
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: read
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
persist-credentials: false
submodules: true
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
- name: PHPStan
id: phpstan
run: composer run phpstan