The type Pyz\Yves\SessionRedis\list was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
The expression return array('/^.*\/erro...'/^.*\/health-check$/') returns the type array<integer,string> which is incompatible with the documented return type Pyz\Yves\SessionRedis\list.
Loading history...
28
'/^.*\/error-page\/*.*$/',
29
'/^.*\/health-check$/',
30
];
31
}
32
33
/**
34
* Specification:
35
* - Returns user agent strings used to identify bot traffic.
36
* - Bot traffic is excluded from Redis session locking for better performance.
37
*
38
* @api
39
*
40
* @return list<string>
41
*/
42
public function getSessionRedisLockingExcludedBotUserAgents(): array
The expression return array('Googlebot'...ider', 'robot', 'bot/') returns the type array<integer,string> which is incompatible with the documented return type Pyz\Yves\SessionRedis\list.
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths