Passed
Push — master ( 4d34b1...1c2199 )
by Dominik
02:27
created
app/ApiHttp/ResponseFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\ApiHttp;
6 6
 
Please login to merge, or discard this patch.
app/schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
Please login to merge, or discard this patch.
app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
6 6
     die('curl -s http://getcomposer.org/installer | php; php composer.phar install');
Please login to merge, or discard this patch.
app/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 );
34 34
 
35 35
 // slim settings
36
-$container->extend('settings', function (Collection $settings) use ($config) {
36
+$container->extend('settings', function(Collection $settings) use ($config) {
37 37
     $settings->replace($config['settings']);
38 38
 
39 39
     return $settings;
Please login to merge, or discard this patch.
app/Repository/AbstractRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Repository;
6 6
 
Please login to merge, or discard this patch.
app/Controller/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller;
6 6
 
Please login to merge, or discard this patch.
app/Search/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Search;
6 6
 
Please login to merge, or discard this patch.
app/Provider/ConsoleProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Provider;
6 6
 
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
         $container['console.name'] = 'chubbyphp-api-slim-skeleton';
18 18
         $container['console.version'] = '1.0';
19 19
 
20
-        $container['console.helpers'] = function () {
20
+        $container['console.helpers'] = function() {
21 21
             return [];
22 22
         };
23 23
 
24
-        $container['console.commands'] = function () {
24
+        $container['console.commands'] = function() {
25 25
             return [];
26 26
         };
27 27
     }
Please login to merge, or discard this patch.
app/commands.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
@@ -16,20 +16,20 @@  discard block
 block discarded – undo
16 16
 /* @var Container $container */
17 17
 $container->register(new ConsoleProvider());
18 18
 
19
-$container[CreateDatabaseCommand::class] = function () use ($container) {
19
+$container[CreateDatabaseCommand::class] = function() use ($container) {
20 20
     return new CreateDatabaseCommand($container['db']);
21 21
 };
22 22
 
23
-$container[RunSqlCommand::class] = function () use ($container) {
23
+$container[RunSqlCommand::class] = function() use ($container) {
24 24
     return new RunSqlCommand($container['db']);
25 25
 };
26 26
 
27
-$container[SchemaUpdateCommand::class] = function () use ($container) {
27
+$container[SchemaUpdateCommand::class] = function() use ($container) {
28 28
     return new SchemaUpdateCommand($container['db'], __DIR__.'/schema.php');
29 29
 };
30 30
 
31 31
 /* @var Container $container */
32
-$container->extend('console.commands', function (array $commands) use ($container) {
32
+$container->extend('console.commands', function(array $commands) use ($container) {
33 33
     $commands[] = new LazyCommand(
34 34
         $container,
35 35
         CreateDatabaseCommand::class,
Please login to merge, or discard this patch.