| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- parameters:
- level: 5
- autoload_files:
- - tests/bootstrap.php
- ignoreErrors:
- - '#Constructor of class Cake\\[a-zA-Z0-9_\\]+ has an unused parameter#'
- - '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
- - '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
- - '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
- - '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'
- - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
- - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
- - '#Access to an undefined property Exception::\$queryString#'
- - '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
- - '#Call to an undefined method Traversable::getArrayCopy().#'
- - '#Access to an undefined property Cake\\Mailer\\Renderer::\$request#'
- - '#Access to an undefined property Cake\\Mailer\\Renderer::\$response#'
- - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::getConfig\(\)#'
- - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
- - '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
- - '#Call to an undefined method Cake\\Chronos\\DifferenceFormatterInterface::dateAgoInWords\(\)#'
- - '#Call to an undefined method Cake\\Chronos\\DifferenceFormatterInterface::timeAgoInWords\(\)#'
- - '#Return type \(void\) of method Cake\\Shell\\[A-Za-z]+Shell::main\(\) should be compatible with return type \(bool|int|null\) of method Cake\\Console\\Shell::main\(\)#'
- - '#Call to an undefined method DateTimeInterface::setTimezone\(\)#'
- - '#Parameter \#1 \$it of method AppendIterator::append\(\) expects Iterator, Traversable given.#'
- - '#Parameter \#1 \$it of class .+Iterator constructor expects Iterator, Traversable given.#'
- - '#Parameter \#1 \$assoc of method Cake\\ORM\\Marshaller::_belongsToMany\(\) expects .+BelongsToMany, Cake\\ORM\\Association given.#'
- - '#Parameter \#2 \$assoc of method Cake\\ORM\\Marshaller::_mergeBelongsToMany\(\) expects .+BelongsToMany, Cake\\ORM\\Association given.#'
- - '#Parameter \#1 \$table of method Cake\\ORM\\Query::addDefaultTypes\(\) expects Cake\\ORM\\Table, .+RepositoryInterface given.#'
- - '#Parameter \#1 \$table of method Cake\\ORM\\Query::_addAssociationsToTypeMap\(\) expects Cake\\ORM\\Table, .+RepositoryInterface given.#'
- - '#Property Cake\\Controller\\Controller::\$response \(Cake\\Http\\Response\) does not accept Psr\\Http\\Message\\ResponseInterface#'
- - "#Parameter \\#2 \\$callback of function array_filter expects callable\\(mixed, mixed\\): bool, 'strlen' given.#"
- - '#Parameter \#1 \$autoload_function of function spl_autoload_register expects#'
- - '#Property Cake\\TestSuite\\ConsoleIntegrationTestCase::\$_[a-z]+ \(Cake\\TestSuite\\Stub\\ConsoleOutput\) does not accept null#'
- -
- message: '#Call to function method_exists\(\) with string and [^ ]+ will always evaluate to false#'
- path: 'src/Controller/Component/AuthComponent.php'
- -
- message: '#Result of && is always false#'
- path: 'src/Database/Query.php'
- -
- message: "#Call to function method_exists\\(\\) with string and 'parseDateTime' will always evaluate to false#"
- path: 'src/Database/Type/DateTimeType.php'
- -
- message: '#Result of && is always false#'
- path: 'src/Datasource/QueryCacher.php'
- -
- message: '#Result of && is always false#'
- path: 'src/Routing/Route/EntityRoute.php'
- -
- message: '#Call to an undefined method Cake\\ORM\\Association::junction\(\).#'
- path: 'src/View/Form/EntityContext.php'
- -
- message: '#Parameter \#1 \$var_array of function extract is passed by reference, so it expects variables only#'
- path: 'src/Command/I18nExtractCommand.php'
- -
- message: '#Result of || is always true#'
- path: 'src/Command/I18nExtractCommand.php'
- -
- message: '#Result of || is always true#'
- path: 'src/Utility/Hash.php'
- -
- message: '#Call to function method_exists\(\) with \*NEVER\* and [^ ]+ will always evaluate to false#'
- path: 'src/View/CellTrait.php'
- -
- message: '#Method Cake\\Utility\\Security::engine\(\) should return Cake\\Utility\\Crypto\\OpenSsl but returns object#'
- path: 'src/Utility/Security.php'
- -
- message: '#Method Cake\\Http\\Middleware\\CspMiddleware::process\(\) should return Psr\\Http\\Message\\ResponseInterface but returns Psr\\Http\\Message\\MessageInterface#'
- path: 'src/Http/Middleware/CspMiddleware.php'
- -
- message: '#Parameter \#1 \$connection of method Cake\\Database\\Schema\\SqlGeneratorInterface::(create|drop|truncate)Sql\(\) expects Cake\\Database\\Connection, Cake\\Datasource\\ConnectionInterface given#'
- path: 'src/TestSuite/Fixture/TestFixture.php'
- -
- message: '#Method Cake\\View\\HelperRegistry::__get\(\) should return Cake\\View\\Helper|null but returns object#'
- path: 'src/View/HelperRegistry.php'
- -
- message: '#Property Cake\\Database\\Driver::\$_connection \(PDO\) does not accept null#'
- path: 'src/Database/Driver.php'
- -
- message: '#If condition is always true#'
- paths:
- - 'src/Database/Driver/Mysql.php'
- - 'src/Database/Driver/Postgres.php'
- - 'src/Database/Driver/Sqlite.php'
- - 'src/Database/Driver/Sqlserver.php'
- -
- message: '#Cake\\Database\\Statement\\PDOStatement::__construct\(\) does not call parent constructor from Cake\\Database\\Statement\\StatementDecorator#'
- path: 'src/Database/Statement/PDOStatement.php'
- -
- message: '#Cake\\Database\\Expression\\TupleComparison::__construct\(\) does not call parent constructor from Cake\\Database\\Expression\\Comparison#'
- path: 'src/Database/Expression/TupleComparison.php'
- -
- message: '#Property Cake\\TestSuite\\IntegrationTestCase::\$_[a-zA-z]+ \([a-zA-Z\\]+\) does not accept null#'
- path: 'src/TestSuite/IntegrationTestTrait.php'
- -
- message: '#Property Cake\\TestSuite\\ConsoleIntegrationTestCase::\$_[a-zA-z]+ \([a-zA-Z\\]+\) does not accept null#'
- path: 'src/TestSuite/ConsoleIntegrationTestTrait.php'
- -
- message: '#Negated boolean expression is always false#'
- path: 'src/TestSuite/IntegrationTestTrait.php'
- -
- message: '#Ternary operator condition is always true#'
- path: 'src/TestSuite/IntegrationTestTrait.php'
- earlyTerminatingMethodCalls:
- Cake\Console\Shell:
- - abort
- services:
- -
- class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
- tags:
- - phpstan.broker.methodsClassReflectionExtension
- - phpstan.broker.propertiesClassReflectionExtension
|