add phpstan
This commit is contained in:
parent
6462039c63
commit
db7f3bc29c
@ -29,10 +29,16 @@
|
|||||||
"d3/oxidservicebridges": "^2.1",
|
"d3/oxidservicebridges": "^2.1",
|
||||||
"d3/oxid-twig-extensions": "^1.3"
|
"d3/oxid-twig-extensions": "^1.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpstan/phpstan": "^2.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"O3\\TinyMCE\\": "./"
|
"O3\\TinyMCE\\": "./"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"phpstan": "./vendor/bin/phpstan analyse -c./vendor/d3/tinymce-editor/phpstan.neon"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
parameters:
|
parameters:
|
||||||
scanFiles:
|
scanFiles:
|
||||||
- .ide-helper.php
|
- .ide-helper.php
|
||||||
- ../../o3-shop/shop-ce/source/oxfunctions.php
|
- ../../oxid-esales/oxideshop-ce/source/bootstrap.php
|
||||||
|
- ../../oxid-esales/oxideshop-ce/source/oxfunctions.php
|
||||||
|
- ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php
|
||||||
paths:
|
paths:
|
||||||
- Application
|
- Application
|
||||||
|
- assets/out/fileman
|
||||||
level: 9
|
level: 9
|
||||||
phpVersion: 70400
|
phpVersion: 80000
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#Constant FILES_ROOT not found.#'
|
- '#Constant FILES_ROOT not found.#'
|
||||||
- '#Constant SESSION_PATH_KEY not found.#'
|
- '#Constant SESSION_PATH_KEY not found.#'
|
||||||
|
Loading…
Reference in New Issue
Block a user