Passed
Push — develop ( 0eb5cb...a52f7d )
by nguereza
03:36
created
src/Http/Middleware/ErrorHandlerMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ServerRequestInterface $request,
149 149
         RequestHandlerInterface $handler
150 150
     ): ResponseInterface {
151
-        set_error_handler(static function (
151
+        set_error_handler(static function(
152 152
             int $severity,
153 153
             string $message,
154 154
             string $file,
Please login to merge, or discard this patch.
src/Service/Provider/CacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function register(): void
72 72
     {
73
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
73
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
74 74
             return new Configuration($app->get(Config::class)->get('cache', []));
75 75
         });
76 76
         $this->app->bind(AdapterInterface::class, LocalAdapter::class);
Please login to merge, or discard this patch.
src/Service/Provider/LoggerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      */
68 68
     public function register(): void
69 69
     {
70
-        $this->app->bind(LoggerInterface::class, function (ContainerInterface $app) {
70
+        $this->app->bind(LoggerInterface::class, function(ContainerInterface $app) {
71 71
             $cfg = new LoggerConfiguration(
72 72
                 $app->get(Config::class)->get('logging', [])
73 73
             );
Please login to merge, or discard this patch.
src/Migration/Command/MigrationInitCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     protected function createMigrationTable(): void
118 118
     {
119 119
         $tableName = $this->table;
120
-        $this->schema->create($tableName, function (CreateTable $table) {
120
+        $this->schema->create($tableName, function(CreateTable $table) {
121 121
             $table->string('version', 20)
122 122
                    ->description('The migration version')
123 123
                    ->primary();
Please login to merge, or discard this patch.
src/Auth/Entity/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
             'updated_at' => '?date',
72 72
         ]);
73 73
 
74
-        $mapper->filter('status', function (Query $q, $status) {
74
+        $mapper->filter('status', function(Query $q, $status) {
75 75
             $q->where('status')->is($status);
76 76
         });
77 77
     }
Please login to merge, or discard this patch.
src/Service/Provider/PaginationServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(UrlGeneratorInterface::class, function (ContainerInterface $app) {
72
+        $this->app->bind(UrlGeneratorInterface::class, function(ContainerInterface $app) {
73 73
             return new ServerRequestUrlGenerator(
74 74
                 $app->get(ServerRequestInterface::class),
75 75
                 'page'
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $this->app->bind(RendererInterface::class, BootstrapRenderer::class);
80 80
 
81
-        $this->app->bind(Pagination::class, function (ContainerInterface $app) {
81
+        $this->app->bind(Pagination::class, function(ContainerInterface $app) {
82 82
             $pagination = new Pagination(
83 83
                 $app->get(UrlGeneratorInterface::class),
84 84
                 $app->get(RendererInterface::class)
Please login to merge, or discard this patch.
src/Service/Provider/LangServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
73 73
             return new Configuration($app->get(Config::class)->get('lang', []));
74 74
         });
75 75
         $this->app->share(StorageInterface::class, MemoryStorage::class);
Please login to merge, or discard this patch.
src/Auth/Entity/Token.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             'updated_at' => '?date',
71 71
         ]);
72 72
         
73
-        $mapper->filter('not_expire', function (Query $q, $date) {
73
+        $mapper->filter('not_expire', function(Query $q, $date) {
74 74
             $q->where('expire_at')->gt($date);
75 75
         });
76 76
     }
Please login to merge, or discard this patch.
src/Service/Provider/PDFServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function register(): void
68 68
     {
69
-        $this->app->bind(Dompdf::class, function (ContainerInterface $app) {
69
+        $this->app->bind(Dompdf::class, function(ContainerInterface $app) {
70 70
             $defaultOptions = array(
71 71
                 'isRemoteEnabled' => true
72 72
             );
Please login to merge, or discard this patch.