We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c089be3 commit 7bedb45Copy full SHA for 7bedb45
1 file changed
.github/workflows/php-Psalm-push.yml
@@ -0,0 +1,25 @@
1
+name: PHP - Psalm
2
+
3
+on: [push]
4
5
+jobs:
6
+ Psalm:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v5
12
13
+ - name: Setup PHP
14
+ uses: shivammathur/setup-php@v2
15
+ with:
16
+ php-version: '8.4' # Or your desired PHP version
17
+ extensions: mbstring, pdo_mysql # Add necessary extensions
18
+ ini-values: post_max_size=256M, upload_max_filesize=256M
19
+ coverage: none
20
21
+ - name: Install Composer dependencies
22
+ run: composer install --no-interaction --no-progress
23
24
+ - name: Run Psalm
25
+ run: ./vendor/bin/psalm --output-format=github --shepherd
0 commit comments