Passed
Push — master ( 3f32e3...c48813 )
by Jan
03:06
created
src/dependencies.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,15 +10,15 @@
 block discarded – undo
10 10
 $container = $app->getContainer();
11 11
 
12 12
 $container[Controller::class] = function (ContainerInterface $c) {
13
-	return new Controller($c, $c->get(Handler::class));
13
+    return new Controller($c, $c->get(Handler::class));
14 14
 };
15 15
 
16 16
 $container[Handler::class] = function (ContainerInterface $c) {
17
-	return new Handler($c, $c->get(Executor::class));
17
+    return new Handler($c, $c->get(Executor::class));
18 18
 };
19 19
 
20 20
 $container[Executor::class] = function (ContainerInterface $c) {
21
-	return new Executor($c);
21
+    return new Executor($c);
22 22
 };
23 23
 
24 24
 // monolog
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,20 +9,20 @@
 block discarded – undo
9 9
 
10 10
 $container = $app->getContainer();
11 11
 
12
-$container[Controller::class] = function (ContainerInterface $c) {
12
+$container[Controller::class] = function(ContainerInterface $c) {
13 13
 	return new Controller($c, $c->get(Handler::class));
14 14
 };
15 15
 
16
-$container[Handler::class] = function (ContainerInterface $c) {
16
+$container[Handler::class] = function(ContainerInterface $c) {
17 17
 	return new Handler($c, $c->get(Executor::class));
18 18
 };
19 19
 
20
-$container[Executor::class] = function (ContainerInterface $c) {
20
+$container[Executor::class] = function(ContainerInterface $c) {
21 21
 	return new Executor($c);
22 22
 };
23 23
 
24 24
 // monolog
25
-$container['logger'] = function (ContainerInterface $c) {
25
+$container['logger'] = function(ContainerInterface $c) {
26 26
     $settings = $c->get('settings')['logger'];
27 27
     $logger = new Monolog\Logger($settings['name']);
28 28
     $logger->pushProcessor(new Monolog\Processor\UidProcessor());
Please login to merge, or discard this patch.
src/settings.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 $reader  = ConfigFactory::getReaderPluginManager()->get('yaml');
29 29
 $reader->setYamlDecoder([new YamlParser(), 'parse']);
30 30
 if ( ! defined('CONFIG_DIR')) {
31
-	define('CONFIG_DIR', __DIR__ . '/../config');
31
+    define('CONFIG_DIR', __DIR__ . '/../config');
32 32
 }
33 33
 
34 34
 $config = ConfigFactory::fromFiles([CONFIG_DIR . '/global.yaml', CONFIG_DIR . '/local.yaml']);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 ConfigFactory::registerReader('yml', 'yaml');
26 26
 
27 27
 // Adding the parser to the reader
28
-$reader  = ConfigFactory::getReaderPluginManager()->get('yaml');
28
+$reader = ConfigFactory::getReaderPluginManager()->get('yaml');
29 29
 $reader->setYamlDecoder([new YamlParser(), 'parse']);
30 30
 if ( ! defined('CONFIG_DIR')) {
31 31
 	define('CONFIG_DIR', __DIR__ . '/../config');
Please login to merge, or discard this patch.