Skip to content

fix faq code snippet #342

fix faq code snippet

fix faq code snippet #342

Triggered via push December 14, 2023 18:23
Status Failure
Total duration 49s
Artifacts

lint.yml

on: push
EditorConfig
9s
EditorConfig
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

6 errors
PHPStan (PHP 7.4; Relay 0.5.1): includes/class-autoloader.php#L1
Ignored error pattern #^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, array\{\$this\(Rhubarb\\RedisCache\\Autoloader\), 'load_class'\} given\.$# in path /home/runner/work/redis-cache/redis-cache/includes/class-autoloader.php was not matched in reported errors.
PHPStan (PHP 7.4; Relay 0.5.1)
Process completed with exit code 1.
PHPStan (PHP 8.2; Relay 0.5.1): includes/class-autoloader.php#L1
Ignored error pattern #^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, array\{\$this\(Rhubarb\\RedisCache\\Autoloader\), 'load_class'\} given\.$# in path /home/runner/work/redis-cache/redis-cache/includes/class-autoloader.php was not matched in reported errors.
PHPStan (PHP 8.2; Relay 0.5.1)
Process completed with exit code 1.
PHPStan (PHP 7.2; Relay 0.5.1): includes/class-autoloader.php#L1
Ignored error pattern #^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, array\{\$this\(Rhubarb\\RedisCache\\Autoloader\), 'load_class'\} given\.$# in path /home/runner/work/redis-cache/redis-cache/includes/class-autoloader.php was not matched in reported errors.
PHPStan (PHP 7.2; Relay 0.5.1)
Process completed with exit code 1.