We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c752fce commit 6233babCopy full SHA for 6233bab
.github/workflows/code-analysis.yml
@@ -0,0 +1,35 @@
1
+name: Code analysis
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - '**.php'
7
+ - 'phpstan.neon'
8
9
+permissions:
10
+ contents: write
11
12
+jobs:
13
+ php-code-styling:
14
+ runs-on: ubuntu-latest
15
+ timeout-minutes: 5
16
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
+ with:
21
+ ref: ${{ github.head_ref }}
22
23
+ - name: Setup PHP
24
+ uses: shivammathur/setup-php@v2
25
26
+ php-version: '8.3'
27
+ coverage: none
28
29
+ - name: Install dependencies
30
+ run: |
31
+ composer install --no-interaction --prefer-dist
32
33
+ - name: Run code analysis
34
35
+ composer run larastan
0 commit comments