| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- 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().#'
- - '#Cannot call method lastInsertId\(\) on null#'
- - '#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#'
- - '#PHPDoc tag @throws with type PHPUnit\\Exception|Throwable is not subtype of Throwable#'
- - '#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\(\)#'
- - '#Return type \(null\) of method Cake\\Collection\\Iterator\\NoChildrenIterator::getChildren\(\) should be compatible with return type \(RecursiveIterator\) of method RecursiveIterator::getChildren\(\)#'
- - '#Call to an undefined method DateTimeInterface::setTimezone\(\)#'
- - '#Parameter \#1 \$filename of function fopen expects string, resource given.#'
- - '#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#'
- -
- message: '#Right side of && is always false#'
- path: 'src/Cache/Engine/MemcachedEngine.php'
- -
- 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'
- earlyTerminatingMethodCalls:
- Cake\Console\Shell:
- - abort
- services:
- -
- class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
- tags:
- - phpstan.broker.methodsClassReflectionExtension
- - phpstan.broker.propertiesClassReflectionExtension
|