@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | $this->autoFollowRedirection = false; |
39 | 39 | $this->logInAs('admin'); |
40 | - $this->assertTrue((bool)Permission::check("ADMIN")); |
|
40 | + $this->assertTrue((bool) Permission::check("ADMIN")); |
|
41 | 41 | $this->assertEquals(200, $this->get('admin/eltestadmin')->getStatusCode()); |
42 | 42 | } |
43 | 43 | |
@@ -66,14 +66,14 @@ discard block |
||
66 | 66 | $exportActionStateID = $this->getActionSessionKey('export'); |
67 | 67 | $exportActionText = _t('SilverStripe\\Forms\\GridField\\GridField.CSVEXPORT', 'Export to CSV'); |
68 | 68 | $getVars = [ |
69 | - 'action_gridFieldAlterAction?StateID=' . $exportActionStateID => $exportActionText, |
|
69 | + 'action_gridFieldAlterAction?StateID='.$exportActionStateID => $exportActionText, |
|
70 | 70 | ]; |
71 | 71 | |
72 | 72 | $this->autoFollowRedirection = false; |
73 | 73 | $this->logInAs('admin'); |
74 | - $this->assertTrue((bool)Permission::check("ADMIN")); |
|
74 | + $this->assertTrue((bool) Permission::check("ADMIN")); |
|
75 | 75 | $modelClassName = "Gurucomkz-EagerLoading-Tests-Models-Player"; |
76 | - $getLink = "admin/eltestadmin/$modelClassName/EditForm/field/$modelClassName?" . http_build_query($getVars); |
|
76 | + $getLink = "admin/eltestadmin/$modelClassName/EditForm/field/$modelClassName?".http_build_query($getVars); |
|
77 | 77 | |
78 | 78 | $this->assertEquals(200, $this->get($getLink)->getStatusCode()); |
79 | 79 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | preg_match_all('/"action_gridFieldAlterAction\?StateID=([^"]+)"/', $body, $matches); |
91 | 91 | |
92 | 92 | /** @var StateStore $store */ |
93 | - $store = Injector::inst()->create(StateStore::class . '.' . 'Gurucomkz-EagerLoading-Tests-Models-Player'); |
|
93 | + $store = Injector::inst()->create(StateStore::class.'.'.'Gurucomkz-EagerLoading-Tests-Models-Player'); |
|
94 | 94 | |
95 | 95 | foreach ($matches[1] as $actionCode) { |
96 | 96 | $actionData = $store->load($actionCode); |