phpstan.neon 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. parameters:
  2. bootstrap: %currentWorkingDirectory%/build/phpstan/bootstrap.php
  3. excludes_analyse:
  4. - %currentWorkingDirectory%/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php
  5. - %currentWorkingDirectory%/htdocs/includes/*
  6. - %currentWorkingDirectory%/htdocs/*/class/api_*
  7. autoload_directories:
  8. - %currentWorkingDirectory%/htdocs/accountancy/class
  9. - %currentWorkingDirectory%/htdocs/adherents/class
  10. - %currentWorkingDirectory%/htdocs/api/class
  11. - %currentWorkingDirectory%/htdocs/asset/class
  12. - %currentWorkingDirectory%/htdocs/blockedlog/class
  13. - %currentWorkingDirectory%/htdocs/bom/class
  14. - %currentWorkingDirectory%/htdocs/bookmarks/class
  15. - %currentWorkingDirectory%/htdocs/cashdesk/class
  16. - %currentWorkingDirectory%/htdocs/categories/class
  17. - %currentWorkingDirectory%/htdocs/comm/action/class
  18. - %currentWorkingDirectory%/htdocs/comm/propal/class
  19. - %currentWorkingDirectory%/htdocs/commande/class
  20. - %currentWorkingDirectory%/htdocs/compta/bank/class
  21. - %currentWorkingDirectory%/htdocs/compta/cashcontrol/class
  22. - %currentWorkingDirectory%/htdocs/compta/deplacement/class
  23. - %currentWorkingDirectory%/htdocs/compta/facture/class
  24. - %currentWorkingDirectory%/htdocs/compta/localtax/class
  25. - %currentWorkingDirectory%/htdocs/compta/paiement/class
  26. - %currentWorkingDirectory%/htdocs/conf
  27. - %currentWorkingDirectory%/htdocs/contact/class
  28. - %currentWorkingDirectory%/htdocs/contrat/class
  29. - %currentWorkingDirectory%/htdocs/core/class
  30. - %currentWorkingDirectory%/htdocs/product/class
  31. - %currentWorkingDirectory%/htdocs/societe/class
  32. - %currentWorkingDirectory%/htdocs/user/class
  33. autoload_files: []
  34. featureToggles:
  35. subtractableTypes: false
  36. validateParameters: false
  37. fileExtensions:
  38. - php
  39. checkAlwaysTrueCheckTypeFunctionCall: false
  40. checkAlwaysTrueInstanceof: false
  41. checkAlwaysTrueStrictComparison: false
  42. checkClassCaseSensitivity: false
  43. checkFunctionArgumentTypes: false
  44. checkFunctionNameCase: false
  45. checkArgumentsPassedByReference: false
  46. checkMaybeUndefinedVariables: false
  47. checkNullables: false
  48. checkThisOnly: true
  49. checkUnionTypes: false
  50. checkExplicitMixedMissingReturn: false
  51. checkPhpDocMissingReturn: false
  52. reportMaybes: false
  53. reportMaybesInMethodSignatures: false
  54. reportStaticMethodSignatures: false
  55. polluteScopeWithLoopInitialAssignments: true
  56. polluteScopeWithAlwaysIterableForeach: true
  57. polluteCatchScopeWithTryAssignments: false
  58. reportMagicMethods: false
  59. reportMagicProperties: false
  60. ignoreErrors:
  61. -
  62. message: '#Call to an undefined method abcdef#'
  63. path: %currentWorkingDirectory%/dirtoignoreerror/*
  64. - '#Undefined variable: \$langs#'
  65. - '#Undefined variable: \$user#'
  66. - '#Undefined variable: \$db#'
  67. - '#Undefined variable: \$conf#'
  68. - '#Undefined variable: \$hookmanager#'
  69. internalErrorsCountLimit: 50
  70. cache:
  71. nodesByFileCountMax: 512
  72. nodesByStringCountMax: 512
  73. reportUnmatchedIgnoredErrors: true
  74. scopeClass: PHPStan\Analyser\Scope
  75. universalObjectCratesClasses:
  76. - stdClass
  77. - SimpleXMLElement
  78. earlyTerminatingMethodCalls: []
  79. memoryLimitFile: %tmpDir%/.memory_limit
  80. benchmarkFile: null
  81. dynamicConstantNames:
  82. - ICONV_IMPL
  83. - PHP_VERSION
  84. - PHP_MAJOR_VERSION
  85. - PHP_MINOR_VERSION
  86. - PHP_RELEASE_VERSION
  87. - PHP_VERSION_ID
  88. - PHP_EXTRA_VERSION
  89. - PHP_ZTS
  90. - PHP_DEBUG
  91. - PHP_MAXPATHLEN
  92. - PHP_OS
  93. - PHP_OS_FAMILY
  94. - PHP_SAPI
  95. - PHP_EOL
  96. - PHP_INT_MAX
  97. - PHP_INT_MIN
  98. - PHP_INT_SIZE
  99. - PHP_FLOAT_DIG
  100. - PHP_FLOAT_EPSILON
  101. - PHP_FLOAT_MIN
  102. - PHP_FLOAT_MAX
  103. - DEFAULT_INCLUDE_PATH
  104. - PEAR_INSTALL_DIR
  105. - PEAR_EXTENSION_DIR
  106. - PHP_EXTENSION_DIR
  107. - PHP_PREFIX
  108. - PHP_BINDIR
  109. - PHP_BINARY
  110. - PHP_MANDIR
  111. - PHP_LIBDIR
  112. - PHP_DATADIR
  113. - PHP_SYSCONFDIR
  114. - PHP_LOCALSTATEDIR
  115. - PHP_CONFIG_FILE_PATH
  116. - PHP_CONFIG_FILE_SCAN_DIR
  117. - PHP_SHLIB_SUFFIX
  118. - PHP_FD_SETSIZE