Passed
Branch master (332b04)
by Php Easy Api
10:16 queued 07:07
created
src/resta/Foundation/PathManager/StaticPathList.php 1 patch
Spacing   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -7,247 +7,247 @@
 block discarded – undo
7 7
     /**
8 8
      * @var string
9 9
      */
10
-    public static $appDefine='src';
10
+    public static $appDefine = 'src';
11 11
 
12 12
     /**
13 13
      * @var string
14 14
      */
15
-    public static $autoloadNamespace='App';
15
+    public static $autoloadNamespace = 'App';
16 16
 
17 17
     /**
18 18
      * @var string
19 19
      */
20
-    public static $projectPrefixGroup='Api';
20
+    public static $projectPrefixGroup = 'Api';
21 21
 
22 22
     /**
23 23
      * @var string
24 24
      */
25
-    public static $methodPrefix='Action';
25
+    public static $methodPrefix = 'Action';
26 26
 
27 27
     /**
28 28
      * @var string
29 29
      */
30
-    public static $callClassPrefix='Controller';
30
+    public static $callClassPrefix = 'Controller';
31 31
 
32 32
     /**
33 33
      * @var string
34 34
      */
35
-    public static $controllerBundleName='';
35
+    public static $controllerBundleName = '';
36 36
 
37 37
     /**
38 38
      * @var string
39 39
      */
40
-    public static $resourceInController='Resource';
40
+    public static $resourceInController = 'Resource';
41 41
 
42 42
     /**
43 43
      * @var string
44 44
      */
45
-    public static $configurationInController='Config';
45
+    public static $configurationInController = 'Config';
46 46
 
47 47
     /**
48 48
      * @var null
49 49
      */
50
-    public static $appPath=null;
50
+    public static $appPath = null;
51 51
 
52 52
     /**
53 53
      * @var $kernel
54 54
      */
55
-    public static $kernel='Kernel';
55
+    public static $kernel = 'Kernel';
56 56
 
57 57
     /**
58 58
      * @var $repository
59 59
      */
60
-    public static $repository='Repository';
60
+    public static $repository = 'Repository';
61 61
 
62 62
     /**
63 63
      * @var $listener
64 64
      */
65
-    public static $listener='Listener';
65
+    public static $listener = 'Listener';
66 66
 
67 67
     /**
68 68
      * @var $repository
69 69
      */
70
-    public static $serviceAnnotations='ServiceAnnotationsManager';
70
+    public static $serviceAnnotations = 'ServiceAnnotationsManager';
71 71
 
72 72
     /**
73 73
      * @var $repository
74 74
      */
75
-    public static $serviceMiddleware='ServiceMiddlewareManager';
75
+    public static $serviceMiddleware = 'ServiceMiddlewareManager';
76 76
 
77 77
     /**
78 78
      * @var $storage
79 79
      */
80
-    public static $storage='Storage';
80
+    public static $storage = 'Storage';
81 81
 
82 82
     /**
83 83
      * @var $controller
84 84
      */
85
-    public static $controller='Controllers';
85
+    public static $controller = 'Controllers';
86 86
 
87 87
     /**
88 88
      * @var $platform
89 89
      */
90
-    public static $platform='__Platform';
90
+    public static $platform = '__Platform';
91 91
 
92 92
     /**
93 93
      * @var $sourcePath
94 94
      */
95
-    public static $sourcePath='Source';
95
+    public static $sourcePath = 'Source';
96 96
 
97 97
     /**
98 98
      * @var $sourceRequest
99 99
      */
100
-    public static $sourceRequest='Request';
100
+    public static $sourceRequest = 'Request';
101 101
 
102 102
     /**
103 103
      * @var $model
104 104
      */
105
-    public static $model='Model';
105
+    public static $model = 'Model';
106 106
 
107 107
     /**
108 108
      * @var $builder
109 109
      */
110
-    public static $builder='Builder';
110
+    public static $builder = 'Builder';
111 111
 
112 112
     /**
113 113
      * @var $migration
114 114
      */
115
-    public static $migration='Migrations';
115
+    public static $migration = 'Migrations';
116 116
 
117 117
     /**
118 118
      * @var $config
119 119
      */
120
-    public static $config='Config';
120
+    public static $config = 'Config';
121 121
 
122 122
     /**
123 123
      * @var string $helpers
124 124
      */
125
-    public static $helpers='Helpers';
125
+    public static $helpers = 'Helpers';
126 126
 
127 127
     /**
128 128
      * @var $config
129 129
      */
130
-    public static $test='Tests';
130
+    public static $test = 'Tests';
131 131
 
132 132
 
133 133
     /**
134 134
      * @var $optional
135 135
      */
136
-    public static $optional='Optional';
136
+    public static $optional = 'Optional';
137 137
 
138 138
     /**
139 139
      * @var $events
140 140
      */
141
-    public static $events='Events';
141
+    public static $events = 'Events';
142 142
 
143 143
     /**
144 144
      * @var $listeners
145 145
      */
146
-    public static $listeners='Listeners';
146
+    public static $listeners = 'Listeners';
147 147
 
148 148
     /**
149 149
      * @var $subscribers
150 150
      */
151
-    public static $subscribers='Subscribers';
151
+    public static $subscribers = 'Subscribers';
152 152
 
153 153
     /**
154 154
      * @var $exception
155 155
      */
156
-    public static $exception='Exceptions';
156
+    public static $exception = 'Exceptions';
157 157
 
158 158
     /**
159 159
      * @var $job
160 160
      */
161
-    public static $job='Job';
161
+    public static $job = 'Job';
162 162
 
163 163
 
164 164
     /**
165 165
      * @var $webservice
166 166
      */
167
-    public static $webservice='Webservice';
167
+    public static $webservice = 'Webservice';
168 168
 
169 169
     /**
170 170
      * @var $log
171 171
      */
172
-    public static $log='Log';
172
+    public static $log = 'Log';
173 173
 
174 174
 
175 175
     /**
176 176
      * @var $resource
177 177
      */
178
-    public static $resource='Resource';
178
+    public static $resource = 'Resource';
179 179
 
180 180
     /**
181 181
      * @var $cache
182 182
      */
183
-    public static $cache='Cache';
183
+    public static $cache = 'Cache';
184 184
 
185 185
     /**
186 186
      * @var $language
187 187
      */
188
-    public static $language='Language';
188
+    public static $language = 'Language';
189 189
     /**
190 190
      * @var $session
191 191
      */
192
-    public static $session='Session';
192
+    public static $session = 'Session';
193 193
 
194 194
     /**
195 195
      * @var $middleware
196 196
      */
197
-    public static $middleware='Middleware';
197
+    public static $middleware = 'Middleware';
198 198
 
199 199
     /**
200 200
      * @var string $route
201 201
      */
202
-    public static $route='Routes';
202
+    public static $route = 'Routes';
203 203
 
204 204
     /**
205 205
      * @var string
206 206
      */
207
-    public static $request='Request';
207
+    public static $request = 'Request';
208 208
 
209 209
     /**
210 210
      * @var $factory
211 211
      */
212
-    public static $factory='Factory';
212
+    public static $factory = 'Factory';
213 213
 
214 214
     /**
215 215
      * @var $node
216 216
      */
217
-    public static $node='Node';
217
+    public static $node = 'Node';
218 218
 
219 219
     /**
220 220
      * @var $node
221 221
      */
222
-    public static $provider='Providers';
222
+    public static $provider = 'Providers';
223 223
 
224 224
     /**
225 225
      * @var $once
226 226
      */
227
-    public static $once='Once';
227
+    public static $once = 'Once';
228 228
 
229 229
     /**
230 230
      * @var $command
231 231
      */
232
-    public static $command='Command';
232
+    public static $command = 'Command';
233 233
 
234 234
     /**
235 235
      * @var $stub
236 236
      */
237
-    public static $stub='Stub';
237
+    public static $stub = 'Stub';
238 238
 
239 239
     /**
240 240
      * @var $store
241 241
      */
242
-    public static $store='Store';
242
+    public static $store = 'Store';
243 243
 
244 244
     /**
245 245
      * @var $boot
246 246
      */
247
-    public static $boot='Boot';
247
+    public static $boot = 'Boot';
248 248
 
249 249
     /**
250 250
      * @var $store
251 251
      */
252
-    public static $autoService='Autoservice';
252
+    public static $autoService = 'Autoservice';
253 253
 }
254 254
\ No newline at end of file
Please login to merge, or discard this patch.
src/resta/Console/Source/Helper/Helper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * @var array
34 34
      */
35
-    public $commandRule=['helper'];
35
+    public $commandRule = ['helper'];
36 36
 
37 37
     /**
38 38
      * @return mixed
@@ -40,12 +40,12 @@  discard block
 block discarded – undo
40 40
     public function create()
41 41
     {
42 42
 
43
-        if(!file_exists(app()->path()->helpers())){
44
-            $this->directory['helper']          = app()->path()->helpers();
43
+        if (!file_exists(app()->path()->helpers())) {
44
+            $this->directory['helper'] = app()->path()->helpers();
45 45
             $this->file->makeDirectory($this);
46 46
         }
47 47
 
48
-        $this->touch['helpers/general']= app()->path()->helpers().'/'.ucfirst($this->argument['helper']).'.php';
48
+        $this->touch['helpers/general'] = app()->path()->helpers().'/'.ucfirst($this->argument['helper']).'.php';
49 49
 
50 50
 
51 51
         $this->file->touch($this);
Please login to merge, or discard this patch.
src/resta/Container/ContainerInstanceResolver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,20 +25,20 @@
 block discarded – undo
25 25
      * @param null|string $name
26 26
      * @return array
27 27
      */
28
-    public function container($name=null)
28
+    public function container($name = null)
29 29
     {
30 30
         //check container value for kernel
31
-        if(isset($this->instances['container'])){
31
+        if (isset($this->instances['container'])) {
32 32
 
33 33
             // if methoda is a null parameter,
34 34
             // then we send direct container values.
35
-            if(is_null($name)){
35
+            if (is_null($name)) {
36 36
                 return (array)$this->instances['container'];
37 37
             }
38 38
 
39 39
             // if there is an existing value in the container as the method parameter,
40 40
             // we send this value directly in the container.
41
-            if(isset($this->container()[$name])){
41
+            if (isset($this->container()[$name])) {
42 42
                 return $this->container()[$name];
43 43
             }
44 44
 
Please login to merge, or discard this patch.