1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 20:52:45 +02:00

chore: Setup PHPStan Level 5 (#3553)

This commit is contained in:
Sami Mazouz
2022-09-14 15:23:56 +01:00
committed by GitHub
parent b2fa28e4b5
commit fc4d5e3d43
206 changed files with 932 additions and 10882 deletions

View File

@@ -140,8 +140,8 @@
"require-dev": {
"mockery/mockery": "^1.4",
"phpunit/phpunit": "^9.0",
"phpstan/phpstan-php-parser": "^1.0",
"phpstan/phpstan": "^1.2"
"phpstan/phpstan": "^1.2",
"nunomaduro/larastan": "^1.0"
},
"config": {
"sort-packages": true
@@ -178,5 +178,11 @@
"extension.neon"
]
}
},
"scripts": {
"analyse:phpstan": "phpstan analyse"
},
"scripts-descriptions": {
"analyse:phpstan": "Run static analysis"
}
}