forked from Evarisk/Saturne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22b897f
commit a652748
Showing
2 changed files
with
126 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,117 @@ | ||
includes: | ||
- ../../../../phpstan.neon | ||
|
||
parameters: | ||
customRulesetUsed: true | ||
level: 1 | ||
fileExtensions: | ||
- php | ||
paths: | ||
- admin | ||
- class | ||
- core | ||
- lib | ||
- public | ||
- view | ||
- htdocs | ||
- scripts | ||
excludePaths: | ||
analyseAndScan: | ||
- htdocs/custom | ||
- htdocs/dev/* | ||
- htdocs/doc/* | ||
- htdocs/documents/* | ||
- htdocs/install/doctemplates/* | ||
- htdocs/langs/* | ||
- htdocs/modulebuilder/template/test/* | ||
- htdocs/support/* | ||
- htdocs/test/* | ||
analyse: | ||
- htdocs/includes/* | ||
checkAlwaysTrueCheckTypeFunctionCall: false | ||
checkAlwaysTrueInstanceof: false | ||
checkAlwaysTrueStrictComparison: false | ||
checkClassCaseSensitivity: false | ||
checkFunctionArgumentTypes: false | ||
checkFunctionNameCase: false | ||
checkArgumentsPassedByReference: false | ||
checkMaybeUndefinedVariables: false | ||
checkNullables: false | ||
checkThisOnly: true | ||
checkUnionTypes: false | ||
checkExplicitMixedMissingReturn: false | ||
checkPhpDocMissingReturn: false | ||
reportMaybes: false | ||
reportMaybesInMethodSignatures: false | ||
reportStaticMethodSignatures: false | ||
polluteScopeWithLoopInitialAssignments: true | ||
polluteScopeWithAlwaysIterableForeach: true | ||
reportMagicMethods: false | ||
reportMagicProperties: false | ||
ignoreErrors: | ||
- '#Undefined variable: \$langs#' | ||
- '#Undefined variable: \$user#' | ||
- '#Undefined variable: \$db#' | ||
- '#Undefined variable: \$conf#' | ||
- '#Undefined variable: \$hookmanager#' | ||
- '#Undefined variable: \$mysoc#' | ||
- '#Undefined variable: \$error#' | ||
- '#Undefined variable: \$errors#' | ||
- '#Undefined variable: \$form#' | ||
- '#has an unused parameter \$param#' | ||
- '#Result of function fieldList#' | ||
- '#Caught class Stripe#' | ||
- '#Function llxHeader invoked with#' | ||
- '#Function llxHeaderVierge invoked with#' | ||
- '#Function llxFooter invoked with#' | ||
- '#Function llxFooterVierge invoked with#' | ||
- '#If condition is always true#' | ||
- '#always exists and is not falsy#' | ||
- '#has no return type specified#' | ||
- '#is always true#' | ||
- '#is always fal#' | ||
- '#always exists and is not nullable#' | ||
- '#PHPDoc tag @return has invalid value#' | ||
- '#type has no value type specified in iterable type array#' | ||
- '#with no value type specified in iterable type array#' | ||
- '#Empty array passed to foreach#' | ||
- '#in isset\(\) is not nullable#' | ||
- '#Sprain\\SwissQrBill\\#' | ||
internalErrorsCountLimit: 50 | ||
cache: | ||
nodesByFileCountMax: 512 | ||
nodesByStringCountMax: 512 | ||
reportUnmatchedIgnoredErrors: false | ||
universalObjectCratesClasses: | ||
- stdClass | ||
- SimpleXMLElement | ||
earlyTerminatingMethodCalls: [] | ||
dynamicConstantNames: | ||
- ICONV_IMPL | ||
- PHP_VERSION | ||
- PHP_MAJOR_VERSION | ||
- PHP_MINOR_VERSION | ||
- PHP_RELEASE_VERSION | ||
- PHP_VERSION_ID | ||
- PHP_EXTRA_VERSION | ||
- PHP_ZTS | ||
- PHP_DEBUG | ||
- PHP_MAXPATHLEN | ||
- PHP_OS | ||
- PHP_OS_FAMILY | ||
- PHP_SAPI | ||
- PHP_EOL | ||
- PHP_INT_MAX | ||
- PHP_INT_MIN | ||
- PHP_INT_SIZE | ||
- PHP_FLOAT_DIG | ||
- PHP_FLOAT_EPSILON | ||
- PHP_FLOAT_MIN | ||
- PHP_FLOAT_MAX | ||
- DEFAULT_INCLUDE_PATH | ||
- PEAR_INSTALL_DIR | ||
- PEAR_EXTENSION_DIR | ||
- PHP_EXTENSION_DIR | ||
- PHP_PREFIX | ||
- PHP_BINDIR | ||
- PHP_BINARY | ||
- PHP_MANDIR | ||
- PHP_LIBDIR | ||
- PHP_DATADIR | ||
- PHP_SYSCONFDIR | ||
- PHP_LOCALSTATEDIR | ||
- PHP_CONFIG_FILE_PATH | ||
- PHP_CONFIG_FILE_SCAN_DIR | ||
- PHP_SHLIB_SUFFIX | ||
- PHP_FD_SETSIZE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
includes: | ||
- ../../../../phpstan.neon | ||
|
||
parameters: | ||
customRulesetUsed: true | ||
level: 1 | ||
fileExtensions: | ||
- php | ||
paths: | ||
- admin | ||
- class | ||
- core | ||
- lib | ||
- public | ||
- view |