Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/src/Core/functions.php:1769
  •   Undefined Constants
  •   Undefined Functions
  •   Uses Default Values
  •   PHP Keywords As Names
  •   Check JSON
  •   Wrong Type For Native PHP Function
  •   Preprocessable
/src/Database/Exception/NestedTransactionRollbackException.php:348
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Routing/Exception/DuplicateNamedRouteException.php:388
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Avoid option arrays in constructors
/src/Routing/Exception/MissingRouteException.php:468
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Avoid option arrays in constructors
/src/Filesystem/Folder.php:8017
  •   Iffectations
  •   Uses Default Values
  •   Drop Else After Return
  •   Nested Ifthen
  •   Bail Out Early
  •   No Need For Else
  •   @ Operator
/src/Http/Exception/BadRequestException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/ForbiddenException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/InternalErrorException.php:317
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/InvalidCsrfTokenException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/MethodNotAllowedException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/NotFoundException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Http/Exception/UnauthorizedException.php:367
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/Log/LogTrait.php:357
  •   Undefined Classes
  •   Undefined Class Constants
  •   Should Use Local Class
  •   Ambiguous Static
  •   Mismatched Default Arguments
  •   Method Could Be Static
  •   Missing Returntype In Method
/src/ORM/Exception/PersistenceFailedException.php:487
  •   Undefined Interfaces
  •   Parent First
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/basics.php:447
  •   PHP Keywords As Names
  •   Never Used Parameter
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Don't Pollute Global Space
/src/Console/CommandRunner.php:1306
  •   Used Once Variables (In Scope)
  •   Never Used Parameter
  •   Ambiguous Static
  •   Mismatched Default Arguments
  •   Modified Typed Parameter
  •   Missing Returntype In Method
/src/Core/functions.php:416
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Don't Pollute Global Space
  •   Mismatch Parameter And Type
/src/Core/functions.php:896
  •   Never Used Parameter
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Don't Pollute Global Space
  •   Missing Returntype In Method
/src/Database/Connection.php:4556
  •   Must Return Methods
  •   Unused Arguments
  •   Never Used Parameter
  •   Ambiguous Static
  •   Typehint Must Be Returned
  •   Infinite Recursion
/src/Database/Expression/FunctionExpression.php:1116
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Different Argument Counts
  •   Method Signature Must Be Compatible
/src/Datasource/Paginator.php:2056
  •   PHP Keywords As Names
  •   Should Use Local Class
  •   Method Could Be Static
  •   Modified Typed Parameter
  •   Assumptions
  •   Missing Returntype In Method
/src/I18n/Formatter/SprintfFormatter.php:376
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Ambiguous Static
  •   Method Could Be Static
/src/I18n/RelativeTimeFormatter.php:1006
  •   Never Used Parameter
  •   Too Many Local Variables
  •   Mismatched Default Arguments
  •   Insufficient Typehint
  •   Modified Typed Parameter
  •   Assumptions
/src/I18n/RelativeTimeFormatter.php:3226
  •   Never Used Parameter
  •   Too Many Local Variables
  •   Mismatched Default Arguments
  •   Insufficient Typehint
  •   Modified Typed Parameter
  •   Assumptions
/src/Mailer/Email.php:4946
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/src/Mailer/Message.php:15986
  •   Should Use Local Class
  •   Never Used Parameter
  •   Ambiguous Static
  •   Mismatched Default Arguments
  •   Method Could Be Static
  •   Max Level Of Nesting
/src/Routing/Router.php:4126
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Missing Returntype In Method
/src/TestSuite/Constraint/Response/BodyContains.php:386
  •   Undefined Interfaces
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Incompatible Signature Methods With Covariance
/src/TestSuite/Fixture/FixtureManager.php:4546
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Insufficient Typehint
  •   Modified Typed Parameter
/src/TestSuite/LegacyCommandRunner.php:336
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Never Used Parameter
  •   Ambiguous Static
  •   Method Could Be Static
  •   Missing Returntype In Method
/src/TestSuite/TestCase.php:5566
  •   PHP Keywords As Names
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/src/Utility/Hash.php:7966
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Useless Referenced Argument
  •   Max Level Of Nesting
/src/Utility/Xml.php:2036
  •   PHP Keywords As Names
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Ambiguous Static
  •   Assumptions
/src/Validation/Validation.php:2336
  •   Never Used Parameter
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/src/Validation/Validation.php:8046
  •   Never Used Parameter
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/src/View/Helper/FormHelper.php:20086
  •   Undefined Classes
  •   Never Used Parameter
  •   Mismatched Default Arguments
  •   Mismatch Type And Default
  •   Assumptions
  •   Missing Returntype In Method
/src/View/Helper/UrlHelper.php:436
  •   Should Use Local Class
  •   Ambiguous Static
  •   Mismatched Default Arguments
  •   Method Could Be Static
  •   Assumptions
  •   Missing Returntype In Method
/src/View/View.php:15476
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Missing Returntype In Method