Passed
Push — develop ( 3723f7...e54371 )
by Andrew
14:17
created
src/models/jsonld/DonateAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
122
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/ParentAudience.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['childMaxAge','childMinAge'], 'validateJsonSchema'],
201
+            [['childMaxAge', 'childMinAge'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/CommunicateAction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141 141
         'about' => ['Thing'],
142
-        'inLanguage' => ['Language','Text'],
143
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
142
+        'inLanguage' => ['Language', 'Text'],
143
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
144 144
     ];
145 145
 
146 146
     /**
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['about','inLanguage','recipient'], 'validateJsonSchema'],
215
+            [['about', 'inLanguage', 'recipient'], 'validateJsonSchema'],
216 216
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
217 217
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
218 218
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/House.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
      * @var array
123 123
      */
124 124
     static protected $_schemaPropertyExpectedTypes = [
125
-        'numberOfRooms' => ['Number','QuantitativeValue']
125
+        'numberOfRooms' => ['Number', 'QuantitativeValue']
126 126
     ];
127 127
 
128 128
     /**
Please login to merge, or discard this patch.
src/models/jsonld/CookAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @var array
137 137
      */
138 138
     static protected $_schemaPropertyExpectedTypes = [
139
-        'foodEstablishment' => ['FoodEstablishment','Place'],
139
+        'foodEstablishment' => ['FoodEstablishment', 'Place'],
140 140
         'foodEvent' => ['FoodEvent'],
141 141
         'recipe' => ['Recipe']
142 142
     ];
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['foodEstablishment','foodEvent','recipe'], 'validateJsonSchema'],
213
+            [['foodEstablishment', 'foodEvent', 'recipe'], 'validateJsonSchema'],
214 214
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215 215
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
216 216
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GameServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
     {
208 208
         $rules = parent::rules();
209 209
         $rules = array_merge($rules, [
210
-            [['game','playersOnline','serverStatus'], 'validateJsonSchema'],
210
+            [['game', 'playersOnline', 'serverStatus'], 'validateJsonSchema'],
211 211
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
212 212
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
213 213
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ChooseAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'actionOption' => ['Text','Thing']
122
+        'actionOption' => ['Text', 'Thing']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/VisualArtwork.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -215,18 +215,18 @@  discard block
 block discarded – undo
215 215
      * @var array
216 216
      */
217 217
     static protected $_schemaPropertyExpectedTypes = [
218
-        'artEdition' => ['Integer','Text'],
219
-        'artMedium' => ['Text','URL'],
220
-        'artform' => ['Text','URL'],
218
+        'artEdition' => ['Integer', 'Text'],
219
+        'artMedium' => ['Text', 'URL'],
220
+        'artform' => ['Text', 'URL'],
221 221
         'artist' => ['Person'],
222
-        'artworkSurface' => ['Text','URL'],
222
+        'artworkSurface' => ['Text', 'URL'],
223 223
         'colorist' => ['Person'],
224
-        'depth' => ['Distance','QuantitativeValue'],
225
-        'height' => ['Distance','QuantitativeValue'],
224
+        'depth' => ['Distance', 'QuantitativeValue'],
225
+        'height' => ['Distance', 'QuantitativeValue'],
226 226
         'inker' => ['Person'],
227 227
         'letterer' => ['Person'],
228 228
         'penciler' => ['Person'],
229
-        'width' => ['Distance','QuantitativeValue']
229
+        'width' => ['Distance', 'QuantitativeValue']
230 230
     ];
231 231
 
232 232
     /**
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['artEdition','artMedium','artform','artist','artworkSurface','colorist','depth','height','inker','letterer','penciler','width'], 'validateJsonSchema'],
310
+            [['artEdition', 'artMedium', 'artform', 'artist', 'artworkSurface', 'colorist', 'depth', 'height', 'inker', 'letterer', 'penciler', 'width'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MovieSeries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     static protected $_schemaPropertyExpectedTypes = [
158 158
         'actor' => ['Person'],
159 159
         'director' => ['Person'],
160
-        'musicBy' => ['MusicGroup','Person'],
160
+        'musicBy' => ['MusicGroup', 'Person'],
161 161
         'productionCompany' => ['Organization'],
162 162
         'trailer' => ['VideoObject']
163 163
     ];
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['actor','director','musicBy','productionCompany','trailer'], 'validateJsonSchema'],
236
+            [['actor', 'director', 'musicBy', 'productionCompany', 'trailer'], 'validateJsonSchema'],
237 237
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238 238
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239 239
         ]);
Please login to merge, or discard this patch.