Passed
Push — master ( a63c88...c47c5b )
by Krisztián
08:06 queued 04:09
created

config.php (3 issues)

Labels
Severity
1
<?php
2
3
use PhpCache\CacheClient\CacheClient;
4
use PhpCache\CacheClient\CacheClientFactory;
5
use PhpCache\CacheEventListener\CacheEventListener;
6
use PhpCache\CacheEventListener\CacheEventListenerFactory;
0 ignored issues
show
The type PhpCache\CacheEventListe...cheEventListenerFactory 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use PhpCache\CacheServer\ActionHandler;
8
use PhpCache\CacheServer\CacheServer;
9
use PhpCache\CacheServer\CacheServerFactory;
10
use PhpCache\IO\CacheIOHandler;
11
use PhpCache\IO\CacheIOHandlerFactory;
12
use PhpCache\Logger\CacheDataLogger;
0 ignored issues
show
The type PhpCache\Logger\CacheDataLogger 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use PhpCache\Logger\CacheDataLoggerFactory;
0 ignored issues
show
The type PhpCache\Logger\CacheDataLoggerFactory 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use PhpCache\Storage\Bucket;
15
use PhpCache\Storage\BucketFactory;
16
use PhpCache\Storage\Maintainer;
17
use PhpCache\Storage\MaintainerFactory;
18
19
return [
20
    'config' => [
21
        'memoryLimit'       => 1024,
22
        'location'          => __DIR__.'/temp/php-cache.sock',
23
        'port'              => 9000,
24
        'bufferSize'        => 256,
25
        'ttl'               => 3600,
26
        'backupTime'        => 1800,
27
        'backupDir'         => __DIR__.'/.backup',
28
        'socketType'        => CacheIOHandler::SOCKET_TYPE_FILE,
29
    ],
30
    'services' => [
31
        'factories' => [
32
            CacheServer::class        => CacheServerFactory::class,
33
            CacheIOHandler::class     => CacheIOHandlerFactory::class,
34
            CacheClient::class        => CacheClientFactory::class,
35
            Maintainer::class         => MaintainerFactory::class,
36
            Bucket::class             => BucketFactory::class,
37
            CacheEventListener::class => CacheEventListenerFactory::class,
38
            CacheDataLogger::class    => CacheDataLoggerFactory::class,
39
        ],
40
        'invokables' => [
41
            ActionHandler::class => ActionHandler::class,
42
        ],
43
    ],
44
];
45