Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 435665f

Browse files
add phpstan
1 parent f19b061 commit 435665f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

‎.github/workflows/phpstan.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: PHPStan
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.php'
7+
pull_request:
8+
paths:
9+
- '**.php'
10+
jobs:
11+
phpstan:
12+
name: phpstan
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: '8.4'
21+
coverage: none
22+
23+
- name: Install dependencies
24+
run: |
25+
composer update --prefer-dist --no-interaction --no-suggest
26+
27+
- name: Run PHPStan
28+
run: ./vendor/bin/phpstan --error-format=github

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /