Skip to content

Commit 08d088b

Browse files
Add PHPStan to workflow
1 parent a488f4e commit 08d088b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
- uses: php-actions/phpstan@v3
1313
with:
1414
path: adminer/
15+
configuration: phpstan.neon

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"scripts": {
3636
"clean": "rm -f adminer*.php editor*.php",
3737
"compile": "@php compile.php"
38+
},
39+
"require-dev": {
40+
"phpstan/phpstan": "^2.1"
3841
}
3942
}

0 commit comments

Comments
 (0)