Completed
Push — master ( 692985...e555b8 )
by Matthew
18:05
created
ODM/JobManager.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
         $status = [];
210 210
 
211 211
         foreach ($results as $info) {
212
-            $key = $info['_id']['worker_name'] . '->' .$info['_id']['method'] . '()';
212
+            $key = $info['_id']['worker_name'].'->'.$info['_id']['method'].'()';
213 213
             if (!isset($status[$key])) {
214 214
                 $status[$key] = $allStatus;
215 215
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
111 111
         $result = $this->runQuery($query, 'execute');
112 112
         if ($result instanceof UpdateResult) {
113 113
             return $result->getModifiedCount();
114
-        }
115
-        else if (isset($result['n'])) {
114
+        } else if (isset($result['n'])) {
116 115
             return $result['n'];
117 116
         }
118 117
 
Please login to merge, or discard this patch.
DependencyInjection/Compiler/GridCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $defaultManagerType = $container->getParameter('dtc_queue.manager.job');
18 18
         $runManagerType = $container->getParameter($this->getRunManagerType($container));
19 19
         if ($defaultManagerType === 'orm' || $runManagerType === 'orm' || $defaultManagerType === 'odm' || $runManagerType === 'odm') {
20
-            $filename =__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'dtc_grid.yaml';
20
+            $filename = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Resources'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'dtc_grid.yaml';
21 21
             $cacheDir = $container->getParameter('kernel.cache_dir');
22 22
             if (class_exists('Dtc\GridBundle\Grid\Source\ColumnSource')) {
23 23
                 \Dtc\GridBundle\Grid\Source\ColumnSource::cacheClassesFromFile($cacheDir, $filename);
Please login to merge, or discard this patch.