builders()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 22
Code Lines 18

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 18
nc 1
nop 0
dl 0
loc 22
rs 9.6666
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AlecRabbit\Spinner\Root;
6
7
use AlecRabbit\Spinner\Container\Contract\IContainer;
8
use AlecRabbit\Spinner\Container\Contract\IServiceDefinition;
9
use AlecRabbit\Spinner\Container\ServiceDefinition;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Container\ServiceDefinition 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...
10
use AlecRabbit\Spinner\Contract\IDeltaTimer;
11
use AlecRabbit\Spinner\Contract\INowTimer;
12
use AlecRabbit\Spinner\Contract\Mode\NormalizerMode;
13
use AlecRabbit\Spinner\Contract\Mode\RunMethodMode;
14
use AlecRabbit\Spinner\Contract\Output\IBufferedOutput;
15
use AlecRabbit\Spinner\Contract\Output\IOutput;
16
use AlecRabbit\Spinner\Contract\Output\IWritableStream;
17
use AlecRabbit\Spinner\Contract\Probe\ISignalHandlingProbe;
18
use AlecRabbit\Spinner\Contract\Probe\IStylingMethodProbe;
19
use AlecRabbit\Spinner\Core\Builder\ConsoleCursorBuilder;
20
use AlecRabbit\Spinner\Core\Builder\Contract\IConsoleCursorBuilder;
21
use AlecRabbit\Spinner\Core\Builder\Contract\IDeltaTimerBuilder;
22
use AlecRabbit\Spinner\Core\Builder\Contract\IIntegerNormalizerBuilder;
23
use AlecRabbit\Spinner\Core\Builder\Contract\ISequenceStateBuilder;
24
use AlecRabbit\Spinner\Core\Builder\Contract\ISequenceStateWriterBuilder;
25
use AlecRabbit\Spinner\Core\Builder\DeltaTimerBuilder;
26
use AlecRabbit\Spinner\Core\Builder\DriverBuilder;
27
use AlecRabbit\Spinner\Core\Builder\IntegerNormalizerBuilder;
28
use AlecRabbit\Spinner\Core\Builder\SequenceStateBuilder;
29
use AlecRabbit\Spinner\Core\Builder\SequenceStateWriterBuilder;
30
use AlecRabbit\Spinner\Core\Config\Builder\DriverConfigBuilder;
31
use AlecRabbit\Spinner\Core\Config\Builder\GeneralConfigBuilder;
32
use AlecRabbit\Spinner\Core\Config\Builder\LinkerConfigBuilder;
33
use AlecRabbit\Spinner\Core\Config\Builder\LoopConfigBuilder;
34
use AlecRabbit\Spinner\Core\Config\Builder\NormalizerConfigBuilder;
35
use AlecRabbit\Spinner\Core\Config\Builder\OutputConfigBuilder;
36
use AlecRabbit\Spinner\Core\Config\Builder\RevolverConfigBuilder;
37
use AlecRabbit\Spinner\Core\Config\Contract\Builder\IDriverConfigBuilder;
38
use AlecRabbit\Spinner\Core\Config\Contract\Builder\IGeneralConfigBuilder;
39
use AlecRabbit\Spinner\Core\Config\Contract\Builder\ILinkerConfigBuilder;
40
use AlecRabbit\Spinner\Core\Config\Contract\Builder\ILoopConfigBuilder;
41
use AlecRabbit\Spinner\Core\Config\Contract\Builder\INormalizerConfigBuilder;
42
use AlecRabbit\Spinner\Core\Config\Contract\Builder\IOutputConfigBuilder;
43
use AlecRabbit\Spinner\Core\Config\Contract\Builder\IRevolverConfigBuilder;
44
use AlecRabbit\Spinner\Core\Config\Contract\Detector\IAutoStartModeDetector;
45
use AlecRabbit\Spinner\Core\Config\Contract\Detector\IDriverModeDetector;
46
use AlecRabbit\Spinner\Core\Config\Contract\Detector\IInitializationModeDetector;
47
use AlecRabbit\Spinner\Core\Config\Contract\Detector\ILinkerModeDetector;
48
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IDriverConfigFactory;
49
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IGeneralConfigFactory;
50
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IInitialRootWidgetConfigFactory;
51
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IInitialWidgetConfigFactory;
52
use AlecRabbit\Spinner\Core\Config\Contract\Factory\ILinkerConfigFactory;
53
use AlecRabbit\Spinner\Core\Config\Contract\Factory\ILoopConfigFactory;
54
use AlecRabbit\Spinner\Core\Config\Contract\Factory\INormalizerConfigFactory;
55
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IOutputConfigFactory;
56
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IRevolverConfigFactory;
57
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IRootWidgetConfigFactory;
58
use AlecRabbit\Spinner\Core\Config\Contract\Factory\IWidgetConfigFactory;
59
use AlecRabbit\Spinner\Core\Config\Contract\IDriverConfig;
60
use AlecRabbit\Spinner\Core\Config\Contract\IGeneralConfig;
61
use AlecRabbit\Spinner\Core\Config\Contract\ILinkerConfig;
62
use AlecRabbit\Spinner\Core\Config\Contract\ILoopConfig;
63
use AlecRabbit\Spinner\Core\Config\Contract\INormalizerConfig;
64
use AlecRabbit\Spinner\Core\Config\Contract\IOutputConfig;
65
use AlecRabbit\Spinner\Core\Config\Contract\IRevolverConfig;
66
use AlecRabbit\Spinner\Core\Config\Contract\IRootWidgetConfig;
67
use AlecRabbit\Spinner\Core\Config\Contract\IWidgetConfig;
68
use AlecRabbit\Spinner\Core\Config\Detector\AutoStartModeDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...r\AutoStartModeDetector 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...
69
use AlecRabbit\Spinner\Core\Config\Detector\DriverModeDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ctor\DriverModeDetector 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...
70
use AlecRabbit\Spinner\Core\Config\Detector\InitializationModeDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...tializationModeDetector 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...
71
use AlecRabbit\Spinner\Core\Config\Detector\LinkerModeDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ctor\LinkerModeDetector 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...
72
use AlecRabbit\Spinner\Core\Config\Factory\DriverConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\DriverConfigFactory 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...
73
use AlecRabbit\Spinner\Core\Config\Factory\GeneralConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ry\GeneralConfigFactory 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...
74
use AlecRabbit\Spinner\Core\Config\Factory\InitialRootWidgetConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...RootWidgetConfigFactory 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...
75
use AlecRabbit\Spinner\Core\Config\Factory\InitialWidgetConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...tialWidgetConfigFactory 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...
76
use AlecRabbit\Spinner\Core\Config\Factory\LinkerConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\LinkerConfigFactory 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...
77
use AlecRabbit\Spinner\Core\Config\Factory\LoopConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ctory\LoopConfigFactory 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...
78
use AlecRabbit\Spinner\Core\Config\Factory\NormalizerConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...NormalizerConfigFactory 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...
79
use AlecRabbit\Spinner\Core\Config\Factory\OutputConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\OutputConfigFactory 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...
80
use AlecRabbit\Spinner\Core\Config\Factory\RevolverConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...y\RevolverConfigFactory 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...
81
use AlecRabbit\Spinner\Core\Config\Factory\RootWidgetConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...RootWidgetConfigFactory 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...
82
use AlecRabbit\Spinner\Core\Config\Factory\WidgetConfigFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\WidgetConfigFactory 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...
83
use AlecRabbit\Spinner\Core\Config\Solver\AutoStartModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ver\AutoStartModeSolver 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...
84
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IAutoStartModeSolver;
85
use AlecRabbit\Spinner\Core\Config\Solver\Contract\ICursorVisibilityModeSolver;
86
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IDriverMessagesSolver;
87
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IDriverModeSolver;
88
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IInitializationModeSolver;
89
use AlecRabbit\Spinner\Core\Config\Solver\Contract\ILinkerModeSolver;
90
use AlecRabbit\Spinner\Core\Config\Solver\Contract\INormalizerModeSolver;
91
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IRootWidgetSettingsSolver;
92
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IRunMethodModeSolver;
93
use AlecRabbit\Spinner\Core\Config\Solver\Contract\ISignalHandlersContainerSolver;
94
use AlecRabbit\Spinner\Core\Config\Solver\Contract\ISignalHandlingModeSolver;
95
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IStreamSolver;
96
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IStylingMethodModeSolver;
97
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IToleranceSolver;
98
use AlecRabbit\Spinner\Core\Config\Solver\Contract\IWidgetSettingsSolver;
99
use AlecRabbit\Spinner\Core\Config\Solver\CursorVisibilityModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...sorVisibilityModeSolver 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...
100
use AlecRabbit\Spinner\Core\Config\Solver\DriverMessagesSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...er\DriverMessagesSolver 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...
101
use AlecRabbit\Spinner\Core\Config\Solver\DriverModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...Solver\DriverModeSolver 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...
102
use AlecRabbit\Spinner\Core\Config\Solver\InitializationModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...nitializationModeSolver 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...
103
use AlecRabbit\Spinner\Core\Config\Solver\LinkerModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...Solver\LinkerModeSolver 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...
104
use AlecRabbit\Spinner\Core\Config\Solver\NormalizerModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...er\NormalizerModeSolver 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...
105
use AlecRabbit\Spinner\Core\Config\Solver\RootWidgetSettingsSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ootWidgetSettingsSolver 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...
106
use AlecRabbit\Spinner\Core\Config\Solver\RunMethodModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ver\RunMethodModeSolver 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...
107
use AlecRabbit\Spinner\Core\Config\Solver\SignalHandlersContainerSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...HandlersContainerSolver 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...
108
use AlecRabbit\Spinner\Core\Config\Solver\SignalHandlingModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ignalHandlingModeSolver 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...
109
use AlecRabbit\Spinner\Core\Config\Solver\StreamSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Config\Solver\StreamSolver 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...
110
use AlecRabbit\Spinner\Core\Config\Solver\StylingMethodModeSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...StylingMethodModeSolver 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...
111
use AlecRabbit\Spinner\Core\Config\Solver\ToleranceSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...\Solver\ToleranceSolver 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...
112
use AlecRabbit\Spinner\Core\Config\Solver\WidgetSettingsSolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...er\WidgetSettingsSolver 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...
113
use AlecRabbit\Spinner\Core\Contract\IDriverBuilder;
114
use AlecRabbit\Spinner\Core\Contract\IDriverLinker;
115
use AlecRabbit\Spinner\Core\Contract\IDriverMessages;
116
use AlecRabbit\Spinner\Core\Contract\IDriverProvider;
117
use AlecRabbit\Spinner\Core\Contract\IDriverSetup;
118
use AlecRabbit\Spinner\Core\Contract\IIntervalComparator;
119
use AlecRabbit\Spinner\Core\Contract\IIntervalNormalizer;
120
use AlecRabbit\Spinner\Core\Contract\IRenderer;
121
use AlecRabbit\Spinner\Core\Contract\ISignalHandlingSetup;
122
use AlecRabbit\Spinner\Core\Driver\Renderer;
123
use AlecRabbit\Spinner\Core\DriverSetup;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\DriverSetup 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...
124
use AlecRabbit\Spinner\Core\Factory\CharFrameRevolverFactory;
125
use AlecRabbit\Spinner\Core\Factory\ConsoleCursorFactory;
126
use AlecRabbit\Spinner\Core\Factory\Contract\ICharFrameRevolverFactory;
127
use AlecRabbit\Spinner\Core\Factory\Contract\IConsoleCursorFactory;
128
use AlecRabbit\Spinner\Core\Factory\Contract\IDeltaTimerFactory;
129
use AlecRabbit\Spinner\Core\Factory\Contract\IDriverFactory;
130
use AlecRabbit\Spinner\Core\Factory\Contract\IDriverLinkerFactory;
131
use AlecRabbit\Spinner\Core\Factory\Contract\IDriverProviderFactory;
132
use AlecRabbit\Spinner\Core\Factory\Contract\IFrameCollectionFactory;
133
use AlecRabbit\Spinner\Core\Factory\Contract\IIntervalFactory;
134
use AlecRabbit\Spinner\Core\Factory\Contract\IIntervalNormalizerFactory;
135
use AlecRabbit\Spinner\Core\Factory\Contract\ILoopFactory;
136
use AlecRabbit\Spinner\Core\Factory\Contract\ILoopProviderFactory;
137
use AlecRabbit\Spinner\Core\Factory\Contract\ISequenceStateWriterFactory;
138
use AlecRabbit\Spinner\Core\Factory\Contract\ISignalHandlingSetupFactory;
139
use AlecRabbit\Spinner\Core\Factory\Contract\ISpinnerFactory;
140
use AlecRabbit\Spinner\Core\Factory\Contract\IStyleFrameRevolverFactory;
141
use AlecRabbit\Spinner\Core\Factory\DeltaTimerFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Factory\DeltaTimerFactory 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...
142
use AlecRabbit\Spinner\Core\Factory\DriverFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Factory\DriverFactory 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...
143
use AlecRabbit\Spinner\Core\Factory\DriverLinkerFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\DriverLinkerFactory 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...
144
use AlecRabbit\Spinner\Core\Factory\DriverProviderFactory;
145
use AlecRabbit\Spinner\Core\Factory\FrameCollectionFactory;
146
use AlecRabbit\Spinner\Core\Factory\IntervalFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Factory\IntervalFactory 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...
147
use AlecRabbit\Spinner\Core\Factory\IntervalNormalizerFactory;
148
use AlecRabbit\Spinner\Core\Factory\SequenceStateWriterFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...uenceStateWriterFactory 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...
149
use AlecRabbit\Spinner\Core\Factory\SignalHandlingSetupFactory;
150
use AlecRabbit\Spinner\Core\Factory\SpinnerFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Factory\SpinnerFactory 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...
151
use AlecRabbit\Spinner\Core\Factory\StyleFrameRevolverFactory;
152
use AlecRabbit\Spinner\Core\Feature\Resolver\AutoStartResolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...olver\AutoStartResolver 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...
153
use AlecRabbit\Spinner\Core\Feature\Resolver\Contract\IAutoStartResolver;
154
use AlecRabbit\Spinner\Core\Feature\Resolver\Contract\IInitializationResolver;
155
use AlecRabbit\Spinner\Core\Feature\Resolver\Contract\ILinkerResolver;
156
use AlecRabbit\Spinner\Core\Feature\Resolver\InitializationResolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...\InitializationResolver 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...
157
use AlecRabbit\Spinner\Core\Feature\Resolver\LinkerResolver;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...Resolver\LinkerResolver 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...
158
use AlecRabbit\Spinner\Core\IntervalComparator;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\IntervalComparator 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...
159
use AlecRabbit\Spinner\Core\Loop\Contract\ILoopCreatorClassExtractor;
160
use AlecRabbit\Spinner\Core\Loop\Contract\ILoopCreatorClassProvider;
161
use AlecRabbit\Spinner\Core\Loop\Contract\ILoopProbe;
162
use AlecRabbit\Spinner\Core\Loop\Contract\ILoopProvider;
163
use AlecRabbit\Spinner\Core\Loop\Contract\ILoopSetup;
164
use AlecRabbit\Spinner\Core\Loop\Factory\LoopFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Loop\Factory\LoopFactory 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...
165
use AlecRabbit\Spinner\Core\Loop\Factory\LoopProviderFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\LoopProviderFactory 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...
166
use AlecRabbit\Spinner\Core\Loop\LoopCreatorClassExtractor;
167
use AlecRabbit\Spinner\Core\Loop\LoopCreatorClassProvider;
168
use AlecRabbit\Spinner\Core\Loop\LoopSetup;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Loop\LoopSetup 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...
169
use AlecRabbit\Spinner\Core\Output\BufferedOutput;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Output\BufferedOutput 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...
170
use AlecRabbit\Spinner\Core\Output\Contract\Factory\IResourceStreamFactory;
171
use AlecRabbit\Spinner\Core\Output\Contract\IBuffer;
172
use AlecRabbit\Spinner\Core\Output\Contract\ISequenceStateWriter;
173
use AlecRabbit\Spinner\Core\Output\Factory\ResourceStreamFactory;
174
use AlecRabbit\Spinner\Core\Output\Output;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\Output\Output 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...
175
use AlecRabbit\Spinner\Core\Output\StringBuffer;
176
use AlecRabbit\Spinner\Core\Palette\Factory\Contract\IPaletteModeFactory;
177
use AlecRabbit\Spinner\Core\Palette\Factory\PaletteModeFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...tory\PaletteModeFactory 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...
178
use AlecRabbit\Spinner\Core\Pattern\Factory\Contract\IPatternFactory;
179
use AlecRabbit\Spinner\Core\Pattern\Factory\PatternFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...\Factory\PatternFactory 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...
180
use AlecRabbit\Spinner\Core\Revolver\Contract\IFrameRevolverBuilder;
181
use AlecRabbit\Spinner\Core\Revolver\FrameRevolverBuilder;
182
use AlecRabbit\Spinner\Core\Settings\Builder\SettingsProviderBuilder;
183
use AlecRabbit\Spinner\Core\Settings\Contract\Builder\ISettingsProviderBuilder;
184
use AlecRabbit\Spinner\Core\Settings\Contract\Detector\ILoopSupportDetector;
185
use AlecRabbit\Spinner\Core\Settings\Contract\Detector\ISignalHandlingSupportDetector;
186
use AlecRabbit\Spinner\Core\Settings\Contract\Detector\IStylingMethodDetector;
187
use AlecRabbit\Spinner\Core\Settings\Contract\Factory\IDefaultSettingsFactory;
188
use AlecRabbit\Spinner\Core\Settings\Contract\Factory\IDetectedSettingsFactory;
189
use AlecRabbit\Spinner\Core\Settings\Contract\Factory\ISettingsProviderFactory;
190
use AlecRabbit\Spinner\Core\Settings\Contract\Factory\IUserSettingsFactory;
191
use AlecRabbit\Spinner\Core\Settings\Contract\ISettingsProvider;
192
use AlecRabbit\Spinner\Core\Settings\Detector\LoopSupportDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...tor\LoopSupportDetector 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...
193
use AlecRabbit\Spinner\Core\Settings\Detector\SignalHandlingSupportDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...HandlingSupportDetector 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...
194
use AlecRabbit\Spinner\Core\Settings\Detector\StylingMethodDetector;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...r\StylingMethodDetector 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...
195
use AlecRabbit\Spinner\Core\Settings\Factory\DefaultSettingsFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...\DefaultSettingsFactory 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...
196
use AlecRabbit\Spinner\Core\Settings\Factory\DetectedSettingsFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...DetectedSettingsFactory 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...
197
use AlecRabbit\Spinner\Core\Settings\Factory\SettingsProviderFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...SettingsProviderFactory 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...
198
use AlecRabbit\Spinner\Core\Settings\Factory\UserSettingsFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...ory\UserSettingsFactory 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...
199
use AlecRabbit\Spinner\Core\Widget\Builder\WidgetBuilder;
200
use AlecRabbit\Spinner\Core\Widget\Builder\WidgetRevolverBuilder;
201
use AlecRabbit\Spinner\Core\Widget\Contract\IWidgetBuilder;
202
use AlecRabbit\Spinner\Core\Widget\Contract\IWidgetRevolverBuilder;
203
use AlecRabbit\Spinner\Core\Widget\Factory\Contract\IWidgetFactory;
204
use AlecRabbit\Spinner\Core\Widget\Factory\Contract\IWidgetRevolverFactory;
205
use AlecRabbit\Spinner\Core\Widget\Factory\WidgetFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...t\Factory\WidgetFactory 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...
206
use AlecRabbit\Spinner\Core\Widget\Factory\WidgetRevolverFactory;
0 ignored issues
show
Bug introduced by
The type AlecRabbit\Spinner\Core\...y\WidgetRevolverFactory 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...
207
use AlecRabbit\Spinner\Probes;
208
use Traversable;
209
210
use function hrtime;
211
212
// @codeCoverageIgnoreStart
213
/**
214
 * @return Traversable<string|int, callable|object|string|IServiceDefinition>
215
 */
216
function getDefinitions(): Traversable
217
{
218
    yield from [
219
        new ServiceDefinition(
220
            IBuffer::class,
221
            StringBuffer::class,
222
            IServiceDefinition::SINGLETON,
223
        ),
224
        new ServiceDefinition(
225
            IBufferedOutput::class,
226
            BufferedOutput::class,
227
            IServiceDefinition::SINGLETON,
228
        ),
229
        new ServiceDefinition(
230
            IWritableStream::class,
231
            static function (IContainer $container): IWritableStream {
232
                return $container->get(IResourceStreamFactory::class)->create();
233
            },
234
            IServiceDefinition::SINGLETON,
235
        ),
236
        new ServiceDefinition(
237
            ISettingsProvider::class,
238
            static function (IContainer $container): ISettingsProvider {
239
                return $container->get(ISettingsProviderFactory::class)->create();
240
            },
241
            IServiceDefinition::SINGLETON,
242
        ),
243
        new ServiceDefinition(
244
            ILoopProvider::class,
245
            static function (IContainer $container): ILoopProvider {
246
                return $container->get(ILoopProviderFactory::class)->create();
247
            },
248
            IServiceDefinition::SINGLETON,
249
        ),
250
        new ServiceDefinition(
251
            IDriverProvider::class,
252
            static function (IContainer $container): IDriverProvider {
253
                return $container->get(IDriverProviderFactory::class)->create();
254
            },
255
            IServiceDefinition::SINGLETON,
256
        ),
257
        new ServiceDefinition(
258
            IDriverLinker::class,
259
            static function (IContainer $container): IDriverLinker {
260
                return $container->get(IDriverLinkerFactory::class)->create();
261
            },
262
            IServiceDefinition::SINGLETON,
263
        ),
264
        new ServiceDefinition(
265
            ISequenceStateWriter::class,
266
            static function (IContainer $container): ISequenceStateWriter {
267
                return $container->get(ISequenceStateWriterFactory::class)->create();
268
            },
269
            IServiceDefinition::SINGLETON,
270
        ),
271
        new ServiceDefinition(
272
            IDeltaTimer::class,
273
            static function (IContainer $container): IDeltaTimer {
274
                return $container->get(IDeltaTimerFactory::class)->create();
275
            },
276
            IServiceDefinition::SINGLETON,
277
        ),
278
        IRenderer::class => Renderer::class,
279
        NormalizerMode::class => static function (IContainer $container): NormalizerMode {
280
            return $container->get(INormalizerConfig::class)->getNormalizerMode();
281
        },
282
        INowTimer::class => new class() implements INowTimer {
283
            public function now(): float
284
            {
285
                return hrtime(true) * 1e-6; // returns milliseconds
286
            }
287
        },
288
289
        IOutput::class => Output::class,
290
        IDriverSetup::class => DriverSetup::class,
291
        ISignalHandlingSetup::class => static function (IContainer $container): ISignalHandlingSetup {
292
            return $container->get(ISignalHandlingSetupFactory::class)->create();
293
        },
294
295
        IIntervalComparator::class => IntervalComparator::class,
296
        IIntervalNormalizer::class => static function (IContainer $container): IIntervalNormalizer {
297
            return $container->get(IIntervalNormalizerFactory::class)->create();
298
        },
299
        ILoopCreatorClassProvider::class => static function (IContainer $container): ILoopCreatorClassProvider {
300
            $creatorClass =
301
                $container->get(ILoopCreatorClassExtractor::class)
302
                    ->extract(
303
                        Probes::load(ILoopProbe::class)
304
                    )
305
            ;
306
            return new LoopCreatorClassProvider(
307
                $creatorClass,
308
            );
309
        },
310
        ILoopCreatorClassExtractor::class => LoopCreatorClassExtractor::class,
311
        ILoopSetup::class => LoopSetup::class,
312
    ];
313
314
    yield from configs();
315
    yield from builders();
316
    yield from solvers();
317
    yield from factories();
318
    yield from detectors();
319
}
320
321
// parts of definitions:
322
function configs(): Traversable
323
{
324
    yield from [
325
        IDriverConfig::class => static function (IContainer $container): IDriverConfig {
326
            return $container->get(IDriverConfigFactory::class)->create();
327
        },
328
        ILinkerConfig::class => static function (IContainer $container): ILinkerConfig {
329
            return $container->get(ILinkerConfigFactory::class)->create();
330
        },
331
        IOutputConfig::class => static function (IContainer $container): IOutputConfig {
332
            return $container->get(IOutputConfigFactory::class)->create();
333
        },
334
        ILoopConfig::class => static function (IContainer $container): ILoopConfig {
335
            return $container->get(ILoopConfigFactory::class)->create();
336
        },
337
        INormalizerConfig::class => static function (IContainer $container): INormalizerConfig {
338
            return $container->get(INormalizerConfigFactory::class)->create();
339
        },
340
        IGeneralConfig::class => static function (IContainer $container): IGeneralConfig {
341
            return $container->get(IGeneralConfigFactory::class)->create();
342
        },
343
        IWidgetConfig::class => static function (IContainer $container): IWidgetConfig {
344
            return $container->get(IInitialWidgetConfigFactory::class)->create();
345
        },
346
        IRootWidgetConfig::class => static function (IContainer $container): IRootWidgetConfig {
347
            return $container->get(IInitialRootWidgetConfigFactory::class)->create();
348
        },
349
        RunMethodMode::class => static function (IContainer $container): RunMethodMode {
350
            return $container->get(IGeneralConfig::class)->getRunMethodMode();
351
        },
352
        IRevolverConfig::class => static function (IContainer $container): IRevolverConfig {
353
            return $container->get(IRevolverConfigFactory::class)->create();
354
        },
355
        IInitializationResolver::class => InitializationResolver::class,
356
        IAutoStartResolver::class => AutoStartResolver::class,
357
        ILinkerResolver::class => LinkerResolver::class,
358
        IAutoStartModeDetector::class => AutoStartModeDetector::class,
359
        ILinkerModeDetector::class => LinkerModeDetector::class,
360
        IDriverModeDetector::class => DriverModeDetector::class,
361
        IInitializationModeDetector::class => InitializationModeDetector::class,
362
        IDriverMessages::class => static function (IContainer $container): IDriverMessages {
363
            return $container->get(IDriverConfig::class)->getDriverMessages();
364
        },
365
    ];
366
}
367
368
function builders(): Traversable
369
{
370
    yield from [
371
        IConsoleCursorBuilder::class => ConsoleCursorBuilder::class,
372
        IDeltaTimerBuilder::class => DeltaTimerBuilder::class,
373
        IDriverBuilder::class => DriverBuilder::class,
374
        IDriverConfigBuilder::class => DriverConfigBuilder::class,
375
        IFrameRevolverBuilder::class => FrameRevolverBuilder::class,
376
        IGeneralConfigBuilder::class => GeneralConfigBuilder::class,
377
        IIntegerNormalizerBuilder::class => IntegerNormalizerBuilder::class,
378
        ILinkerConfigBuilder::class => LinkerConfigBuilder::class,
379
        ILoopConfigBuilder::class => LoopConfigBuilder::class,
380
        INormalizerConfigBuilder::class => NormalizerConfigBuilder::class,
381
        IOutputConfigBuilder::class => OutputConfigBuilder::class,
382
383
        IRevolverConfigBuilder::class => RevolverConfigBuilder::class,
384
        ISequenceStateBuilder::class => SequenceStateBuilder::class,
385
        ISequenceStateWriterBuilder::class => SequenceStateWriterBuilder::class,
386
        ISettingsProviderBuilder::class => SettingsProviderBuilder::class,
387
388
        IWidgetBuilder::class => WidgetBuilder::class,
389
        IWidgetRevolverBuilder::class => WidgetRevolverBuilder::class,
390
    ];
391
}
392
393
function solvers(): Traversable
394
{
395
    yield from [
396
        IAutoStartModeSolver::class => AutoStartModeSolver::class,
397
        ICursorVisibilityModeSolver::class => CursorVisibilityModeSolver::class,
398
        IDriverMessagesSolver::class => DriverMessagesSolver::class,
399
        IDriverModeSolver::class => DriverModeSolver::class,
400
        IInitializationModeSolver::class => InitializationModeSolver::class,
401
        ILinkerModeSolver::class => LinkerModeSolver::class,
402
        INormalizerModeSolver::class => NormalizerModeSolver::class,
403
        IRootWidgetSettingsSolver::class => RootWidgetSettingsSolver::class,
404
        IRunMethodModeSolver::class => RunMethodModeSolver::class,
405
        ISignalHandlersContainerSolver::class => SignalHandlersContainerSolver::class,
406
        ISignalHandlingModeSolver::class => SignalHandlingModeSolver::class,
407
        IStreamSolver::class => StreamSolver::class,
408
        IStylingMethodModeSolver::class => StylingMethodModeSolver::class,
409
        IToleranceSolver::class => ToleranceSolver::class,
410
        IWidgetSettingsSolver::class => WidgetSettingsSolver::class,
411
    ];
412
}
413
414
function factories(): Traversable
415
{
416
    yield from [
417
        IDriverFactory::class => DriverFactory::class,
418
        IDriverConfigFactory::class => DriverConfigFactory::class,
419
        ILoopProviderFactory::class => LoopProviderFactory::class,
420
        IDriverProviderFactory::class => DriverProviderFactory::class,
421
        IResourceStreamFactory::class => ResourceStreamFactory::class,
422
        ICharFrameRevolverFactory::class => CharFrameRevolverFactory::class,
423
        IConsoleCursorFactory::class => ConsoleCursorFactory::class,
424
        IDefaultSettingsFactory::class => DefaultSettingsFactory::class,
425
        IDetectedSettingsFactory::class => DetectedSettingsFactory::class,
426
        IDriverLinkerFactory::class => DriverLinkerFactory::class,
427
        ISignalHandlingSetupFactory::class => SignalHandlingSetupFactory::class,
428
        ISequenceStateWriterFactory::class => SequenceStateWriterFactory::class,
429
        IFrameCollectionFactory::class => FrameCollectionFactory::class,
430
        IIntervalFactory::class => IntervalFactory::class,
431
        IIntervalNormalizerFactory::class => IntervalNormalizerFactory::class,
432
        ISettingsProviderFactory::class => SettingsProviderFactory::class,
433
        ISpinnerFactory::class => SpinnerFactory::class,
434
        IStyleFrameRevolverFactory::class => StyleFrameRevolverFactory::class,
435
        IDeltaTimerFactory::class => DeltaTimerFactory::class,
436
        IUserSettingsFactory::class => UserSettingsFactory::class,
437
        IWidgetFactory::class => WidgetFactory::class,
438
        IWidgetRevolverFactory::class => WidgetRevolverFactory::class,
439
440
        IPatternFactory::class => PatternFactory::class,
441
        IPaletteModeFactory::class => PaletteModeFactory::class,
442
443
        IGeneralConfigFactory::class => GeneralConfigFactory::class,
444
        INormalizerConfigFactory::class => NormalizerConfigFactory::class,
445
        ILoopConfigFactory::class => LoopConfigFactory::class,
446
        IOutputConfigFactory::class => OutputConfigFactory::class,
447
        ILinkerConfigFactory::class => LinkerConfigFactory::class,
448
        IRevolverConfigFactory::class => RevolverConfigFactory::class,
449
450
        ILoopFactory::class => LoopFactory::class,
451
452
        IInitialWidgetConfigFactory::class => InitialWidgetConfigFactory::class,
453
        IWidgetConfigFactory::class => WidgetConfigFactory::class,
454
        IInitialRootWidgetConfigFactory::class => InitialRootWidgetConfigFactory::class,
455
        IRootWidgetConfigFactory::class => RootWidgetConfigFactory::class,
456
    ];
457
}
458
459
function detectors(): Traversable
460
{
461
    yield from [
462
        ILoopSupportDetector::class => static function (IContainer $container): LoopSupportDetector {
463
            return new LoopSupportDetector(
464
                $container->get(ILoopCreatorClassProvider::class)->getCreatorClass(),
465
            );
466
        },
467
        ISignalHandlingSupportDetector::class => static function (): SignalHandlingSupportDetector {
468
            return new SignalHandlingSupportDetector(
469
                Probes::load(ISignalHandlingProbe::class)
470
            );
471
        },
472
        IStylingMethodDetector::class => static function (): IStylingMethodDetector {
473
            return new StylingMethodDetector(
474
                Probes::load(IStylingMethodProbe::class)
475
            );
476
        },
477
    ];
478
}
479
// @codeCoverageIgnoreEnd
480