Test Setup Failed
Push — upgrade-cakephp4 ( 25b5b0 )
by giu
04:14
created
src/Console/Installer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     {
118 118
         // ask if the permissions should be changed
119 119
         if ($io->isInteractive()) {
120
-            $validator = function ($arg) {
120
+            $validator = function($arg) {
121 121
                 if (in_array($arg, ['Y', 'y', 'N', 'n'])) {
122 122
                     return $arg;
123 123
                 }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         }
137 137
 
138 138
         // Change the permissions on a path and output the results.
139
-        $changePerms = function ($path) use ($io) {
139
+        $changePerms = function($path) use ($io) {
140 140
             $currentPerms = fileperms($path) & 0777;
141 141
             $worldWritable = $currentPerms | 0007;
142 142
             if ($worldWritable == $currentPerms) {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             }
152 152
         };
153 153
 
154
-        $walker = function ($dir) use (&$walker, $changePerms) {
154
+        $walker = function($dir) use (&$walker, $changePerms) {
155 155
             $files = array_diff(scandir($dir), ['.', '..']);
156 156
             foreach ($files as $file) {
157 157
                 $path = $dir . '/' . $file;
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
 $routes->setRouteClass(DashedRoute::class);
46 46
 
47
-$routes->scope('/', function (RouteBuilder $builder) {
47
+$routes->scope('/', function(RouteBuilder $builder) {
48 48
 
49 49
 	$builder->prefix('admin', function($routes) {
50 50
 		$routes->connect('/', ['controller' => 'Users', 'action' => 'index']);
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,12 +166,12 @@
 block discarded – undo
166 166
 /*
167 167
  * Setup detectors for mobile and tablet.
168 168
  */
169
-ServerRequest::addDetector('mobile', function ($request) {
169
+ServerRequest::addDetector('mobile', function($request) {
170 170
     $detector = new \Detection\MobileDetect();
171 171
 
172 172
     return $detector->isMobile();
173 173
 });
174
-ServerRequest::addDetector('tablet', function ($request) {
174
+ServerRequest::addDetector('tablet', function($request) {
175 175
     $detector = new \Detection\MobileDetect();
176 176
 
177 177
     return $detector->isTablet();
Please login to merge, or discard this patch.