Passed
Push — master ( 7cbfe3...bc244d )
by Krisztián
05:18
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\CacheEventListener\CacheEventListenerInterface;
8
use PhpCache\CacheServer\ActionHandler;
9
use PhpCache\CacheServer\CacheServer;
10
use PhpCache\CacheServer\CacheServerFactory;
11
use PhpCache\IO\CacheIOHandler;
12
use PhpCache\IO\CacheIOHandlerFactory;
13
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...
14
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...
15
use PhpCache\Storage\Bucket;
16
use PhpCache\Storage\BucketFactory;
17
use PhpCache\Storage\Maintainer;
18
use PhpCache\Storage\MaintainerFactory;
19
20
return [
21
    'config' => [
22
        'memoryLimit'       => 1024,
23
        'location'          => __DIR__.'/temp/php-cache.sock',
24
        'port'              => 9000,
25
        'bufferSize'        => 256,
26
        'ttl'               => 3600,
27
        'backupTime'        => 1800,
28
        'backupDir'         => __DIR__.'/.backup',
29
        'socketType'        => CacheIOHandler::SOCKET_TYPE_FILE,
30
    ],
31
    'services' => [
32
        'factories' => [
33
            CacheServer::class        => CacheServerFactory::class,
34
            CacheIOHandler::class     => CacheIOHandlerFactory::class,
35
            CacheClient::class        => CacheClientFactory::class,
36
            Maintainer::class         => MaintainerFactory::class,
37
            Bucket::class             => BucketFactory::class,
38
            CacheEventListener::class => CacheEventListenerFactory::class,
39
            CacheDataLogger::class    => CacheDataLoggerFactory::class,
40
        ],
41
        'invokables' => [
42
            ActionHandler::class => ActionHandler::class,
43
        ],
44
    ],
45
];
46