Passed
Branch master (536f48)
by Carlos
06:49
created
tests/unit/models/CreditCest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@  discard block
 block discarded – undo
14 14
         $I->haveFixtures([
15 15
             'credit_worklog' => [
16 16
                 'class' => CreditWorklogFixture::class,
17
-	        ],
18
-	    ]);
17
+            ],
18
+        ]);
19 19
     }
20 20
 
21 21
     /**
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
     public function save(UnitTester $I, Example $example)
63 63
     {
64 64
         $credit = new Credit();
65
-	    $credit->load($example['data'], '');
66
-	    $credit->save();
67
-	    $I->assertEmpty($credit->getFirstErrors());
65
+        $credit->load($example['data'], '');
66
+        $credit->save();
67
+        $I->assertEmpty($credit->getFirstErrors());
68 68
         $I->assertTrue($credit->save());
69 69
         $I->assertNotEmpty($credit->workLogs);
70 70
         $I->assertNotEmpty($credit->activeWorkLog);
Please login to merge, or discard this patch.
tests/_app/models/CreditAssignment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @inheritdoc
17 17
      */
18
-   protected function processClass(): string
18
+    protected function processClass(): string
19 19
     {
20 20
         return Credit::class;
21 21
     }
Please login to merge, or discard this patch.
tests/_app/config/common.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     'components' => [
12 12
         'db' => require __DIR__ . '/db.php',
13 13
         'authManager' => [
14
-             'class' => yii\rbac\DbManager::class,
14
+                'class' => yii\rbac\DbManager::class,
15 15
         ],
16 16
     ],
17 17
 ];
Please login to merge, or discard this patch.
tests/_app/config/web.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
         ],
17 17
         'components' => [
18 18
             'assetManager' => [
19
-               'basePath' => dirname(__DIR__) . '/assets',
20
-           ],
19
+                'basePath' => dirname(__DIR__) . '/assets',
20
+            ],
21 21
         ]
22 22
     ]
23 23
 );
Please login to merge, or discard this patch.
tests/api/TransitionPermissionCest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
             'workflow not found' => [
307 307
                 'url' => '/w1/workflow/10/stage/1/transition/2/permission/admin',
308 308
                 'httpCode' => HttpCode::NOT_FOUND,
309
-	        ],
309
+            ],
310 310
         ];
311 311
     }
312 312
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                 'urlParams' => [
68 68
                     'workflow_id' => 2,
69 69
                     'stage_id' => 5,
70
-                    'target_id' => 7    ,
70
+                    'target_id' => 7,
71 71
                     'expand' => 'targetStage'
72 72
                 ],
73 73
                 'httpCode' => HttpCode::OK,
Please login to merge, or discard this patch.
src/models/WorkLog.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@
 block discarded – undo
48 48
                 'targetClass' => Stage::class,
49 49
                 'filter' => function ($query) {
50 50
                     $query->andWhere(['initial' => true]);
51
-		        },
51
+                },
52 52
                 'on' => [self::SCENARIO_INITIAL],
53
-		        'message' => 'Not an initial stage for the workflow.'
53
+                'message' => 'Not an initial stage for the workflow.'
54 54
             ],
55 55
             [
56 56
                 ['stage_id'],
Please login to merge, or discard this patch.
src/migrations/Assignment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     public function foreignKeys()
43 43
     {
44 44
         return [
45
-           'process_id' => $this->getProcessTableName(),
45
+            'process_id' => $this->getProcessTableName(),
46 46
         ];
47 47
     }
48 48
  
Please login to merge, or discard this patch.