Add phpstan to project #22
Annotations
10 errors and 1 warning
Run PHPStan check:
Cache/Memcache.php#L104
Method Intaro\PinbaBundle\Cache\Memcache::delete() overrides method MemcachePool::delete() but misses parameter #2 $timeout.
|
Run PHPStan check:
Cache/Memcache.php#L128
Call to an undefined static method Memcache::tag_add().
|
Run PHPStan check:
Cache/Memcache.php#L143
Call to an undefined static method Memcache::tag_delete().
|
Run PHPStan check:
Cache/Memcache.php#L158
Call to an undefined static method Memcache::tags_delete().
|
Run PHPStan check:
Cache/Redis.php#L135
Method Intaro\PinbaBundle\Cache\Redis::expire() overrides method Redis::expire() but misses parameter #3 $mode.
|
Run PHPStan check:
Cache/Redis.php#L195
Method Intaro\PinbaBundle\Cache\Redis::sAdd() overrides method Redis::sAdd() but misses parameter #3 $other_values.
|
Run PHPStan check:
DependencyInjection/Configuration.php#L25
Call to an undefined method Symfony\Component\Config\Definition\Builder\TreeBuilder::root().
|
Run PHPStan check:
IntaroPinbaBundle.php#L14
Comparison operation ">=" between 5 and 3 is always true.
|
Run PHPStan check:
Logger/DbalLogger.php#L11
Class Intaro\PinbaBundle\Logger\DbalLogger implements unknown interface Doctrine\DBAL\Logging\SQLLogger.
|
Run PHPStan check:
Stopwatch/Stopwatch.php#L46
Comparison operation ">" between int<1, max> and 0 is always true.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading