Skip to content

Commit

Permalink
Update with new directory path settings
Browse files Browse the repository at this point in the history
  • Loading branch information
thekabal committed Sep 25, 2021
1 parent 12dd03b commit b24bf39
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions vendor/bin/phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
includes:
- %rootDir%/../../../../tki/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- ../../vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
parallel:
maximumNumberOfProcesses: 1
maximumNumberOfProcesses: 4
paths:
- %rootDir%
reportUnmatchedIgnoredErrors: false
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
Expand All @@ -15,20 +17,20 @@ parameters:
reportMaybesInMethodSignatures: true
reportStaticMethodSignatures: true
checkMissingIterableValueType: false
excludes_analyse:
- %rootDir%/../../../../tki/tests/*
- %rootDir%/../../../../tki/vendor/*
- %rootDir%/../../../../tki/templates/*
- %rootDir%/../../../../tki/classes/Db.php # 10 errors relating to Adodb & having the postgres/mysql switch hardcoded at phpstan run time in SecureConfig
- %rootDir%/../../../../tki/classes/CheckDefenses.php # 8 errors relating to targetfighters being set to 0 and never changing because conditionals are blocking it.
- %rootDir%/../../../../tki/classes/IbankTransferFinal.php # 2 errors relating to ship_id - real errors
- %rootDir%/../../../../tki/classes/IbankTransferSpecific.php # 2 errors relating to ship_id - real errors
- %rootDir%/../../../../tki/admin/universe_editor.php # 3 errors relating to ADOdb calls
- %rootDir%/../../../../tki/lrscan.php # 3 errors relating to ADOdb calls
- %rootDir%/../../../../tki/scheduler/sched_degrade.php # 2 errors relating to ADOdb calls
- %rootDir%/../../../../tki/readmail.php # 2 errors relating to ADOdb calls
- %rootDir%/../../../../tki/log.php # 4 errors relating to mktime calls
- %rootDir%/../../../../tki/planet.php # 6 errors relating to retOwnerInfo / class Planet::getOwner
excludePaths:
- ../../tests
- ../../vendor
- ../../templates
- ../../classes/Db.php # 10 errors relating to Adodb & having the postgres/mysql switch hardcoded at phpstan run time in SecureConfig
- ../../classes/CheckDefenses.php # 8 errors relating to targetfighters being set to 0 and never changing because conditionals are blocking it.
- ../../classes/IbankTransferFinal.php # 2 errors relating to ship_id - real errors
- ../../classes/IbankTransferSpecific.php # 2 errors relating to ship_id - real errors
- ../../admin/universe_editor.php # 3 errors relating to ADOdb calls
- ../../lrscan.php # 3 errors relating to ADOdb calls
- ../../scheduler/sched_degrade.php # 2 errors relating to ADOdb calls
- ../../readmail.php # 2 errors relating to ADOdb calls
- ../../log.php # 4 errors relating to mktime calls
- ../../planet.php # 6 errors relating to retOwnerInfo / class Planet::getOwner
ignoreErrors:
- '# might not be defined#' # Level 1 to 8 - 4100+ errors - lots of work to do, real errors too.
- '# with no typehint #' # Level 6 - 10 errors - 8 related to $db (non-pdo), but 2 for ship_id that are tricky.
Expand Down

0 comments on commit b24bf39

Please sign in to comment.