File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,7 @@ end_of_line = lf
66insert_final_newline = true
77indent_style = space
88indent_size = 4
9- trim_trailing_whitespace = true
9+ trim_trailing_whitespace = true
10+
11+ [* .yml ]
12+ indent_size = 2
Original file line number Diff line number Diff line change 5353 # The -q option is required until phpcs v4 is released
5454 - name : " Run PHP_CodeSniffer"
5555 run : " vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
56+
57+ analysis :
58+ runs-on : " ubuntu-22.04"
59+ strategy :
60+ matrix :
61+ php :
62+ - ' 8.1'
63+ - ' 8.2'
64+ steps :
65+ - name : Checkout
66+ uses : actions/checkout@v4
67+
68+ - name : Setup PHP
69+ uses : shivammathur/setup-php@v2
70+ with :
71+ php-version : ${{ matrix.php }}
72+ extensions : curl, mbstring
73+ tools : composer:v2
74+ coverage : none
75+
76+ - name : Install dependencies
77+ run : composer install
78+
79+ - name : Run PHPStan
80+ run : ./vendor/bin/phpstan analyse --no-interaction --no-progress --ansi
You can’t perform that action at this time.
0 commit comments