Skip to content

feature #254 Allow testing against doctrine/doctrine-bundle:^3.0 (a… #760

feature #254 Allow testing against doctrine/doctrine-bundle:^3.0 (a…

feature #254 Allow testing against doctrine/doctrine-bundle:^3.0 (a… #760

name: "static analysis"
on:
pull_request: ~
push: ~
schedule:
# Do not make it the first of the month and/or midnight since it is a very busy time
- cron: "* 10 5 * *"
jobs:
static-analysis:
name: "static analysis"
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v4"
- name: "setup php"
uses: "shivammathur/setup-php@v2"
with:
php-version: "latest"
tools: "composer, flex"
- name: "install composer dependencies"
uses: "ramsey/composer-install@v3"
env:
COMPOSER_PREFER_STABLE: 1
- name: "run phpstan static analysis"
run: "vendor/bin/phpstan --ansi"