PHP stan settings update, vscode config file

This commit is contained in:
Clemens Schwaighofer
2020-06-18 13:44:57 +09:00
parent 96104095d0
commit ee1dafd8d8
2 changed files with 20 additions and 6 deletions

12
.vscode/bookmarks.json vendored Normal file
View File

@@ -0,0 +1,12 @@
[
{
"path": "$ROOTPATH$/www/lib/CoreLibs/Basic.php",
"bookmarks": [
{
"line": 534,
"column": 1,
"label": ""
}
]
}
]

View File

@@ -5,14 +5,16 @@ parameters:
level: 1 level: 1
paths: paths:
- %currentWorkingDirectory%/www - %currentWorkingDirectory%/www
#bootstrap: %currentWorkingDirectory%/phpstan-bootstrap.php bootstrapFiles:
#bootstrap: phpstan-bootstrap.php
autoload_directories:
autoload_files:
- %currentWorkingDirectory%/phpstan-bootstrap.php - %currentWorkingDirectory%/phpstan-bootstrap.php
scanDirectories:
- www/lib/Smarty
scanFiles:
- www/configs/config.php
- www/configs/config.master.php - www/configs/config.master.php
- www/lib/autoloader.php - www/lib/autoloader.php
- www/vendor/autoload.php - www/vendor/autoload.php
- www/lib/Smarty/Autoloader.php
excludes_analyse: excludes_analyse:
# no check admin # no check admin
- www/admin/qq_file_upload_front.php - www/admin/qq_file_upload_front.php
@@ -40,8 +42,8 @@ parameters:
- www/tmp - www/tmp
- www/lib/pChart - www/lib/pChart
- www/lib/pChart2.1.4 - www/lib/pChart2.1.4
- www/lib/Smarty/ - www/lib/Smarty
- www/lib/smarty-3.1.30/ - www/lib/smarty-3.1.30
# ignore composer # ignore composer
- www/vendor - www/vendor
# ignore errores with # ignore errores with