Passed
Push — develop ( 3723f7...e54371 )
by Andrew
14:17
created
src/models/jsonld/Airport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['iataCode','icaoCode'], 'validateJsonSchema'],
200
+            [['iataCode', 'icaoCode'], 'validateJsonSchema'],
201 201
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202 202
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
203 203
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TaxiReservation.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
-        'partySize' => ['Integer','QuantitativeValue'],
139
+        'partySize' => ['Integer', 'QuantitativeValue'],
140 140
         'pickupLocation' => ['Place'],
141 141
         'pickupTime' => ['DateTime']
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
-            [['partySize','pickupLocation','pickupTime'], 'validateJsonSchema'],
213
+            [['partySize', 'pickupLocation', 'pickupTime'], '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/VideoGame.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -193,10 +193,10 @@  discard block
 block discarded – undo
193 193
         'actor' => ['Person'],
194 194
         'cheatCode' => ['CreativeWork'],
195 195
         'director' => ['Person'],
196
-        'gamePlatform' => ['Text','Thing','URL'],
196
+        'gamePlatform' => ['Text', 'Thing', 'URL'],
197 197
         'gameServer' => ['GameServer'],
198 198
         'gameTip' => ['CreativeWork'],
199
-        'musicBy' => ['MusicGroup','Person'],
199
+        'musicBy' => ['MusicGroup', 'Person'],
200 200
         'playMode' => ['GamePlayMode'],
201 201
         'trailer' => ['VideoObject']
202 202
     ];
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         $rules = parent::rules();
278 278
         $rules = array_merge($rules, [
279
-            [['actor','cheatCode','director','gamePlatform','gameServer','gameTip','musicBy','playMode','trailer'], 'validateJsonSchema'],
279
+            [['actor', 'cheatCode', 'director', 'gamePlatform', 'gameServer', 'gameTip', 'musicBy', 'playMode', 'trailer'], 'validateJsonSchema'],
280 280
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
281 281
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
282 282
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DataFeed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'dataFeedElement' => ['DataFeedItem','Text','Thing']
121
+        'dataFeedElement' => ['DataFeedItem', 'Text', 'Thing']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Movie.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -185,9 +185,9 @@  discard block
 block discarded – undo
185 185
         'countryOfOrigin' => ['Country'],
186 186
         'director' => ['Person'],
187 187
         'duration' => ['Duration'],
188
-        'musicBy' => ['MusicGroup','Person'],
188
+        'musicBy' => ['MusicGroup', 'Person'],
189 189
         'productionCompany' => ['Organization'],
190
-        'subtitleLanguage' => ['Language','Text'],
190
+        'subtitleLanguage' => ['Language', 'Text'],
191 191
         'trailer' => ['VideoObject']
192 192
     ];
193 193
 
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     {
266 266
         $rules = parent::rules();
267 267
         $rules = array_merge($rules, [
268
-            [['actor','countryOfOrigin','director','duration','musicBy','productionCompany','subtitleLanguage','trailer'], 'validateJsonSchema'],
268
+            [['actor', 'countryOfOrigin', 'director', 'duration', 'musicBy', 'productionCompany', 'subtitleLanguage', 'trailer'], 'validateJsonSchema'],
269 269
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
270 270
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
271 271
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/WriteAction.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
-        'inLanguage' => ['Language','Text']
122
+        'inLanguage' => ['Language', 'Text']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/MusicRelease.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     static protected $_schemaPropertyExpectedTypes = [
164 164
         'catalogNumber' => ['Text'],
165
-        'creditedTo' => ['Organization','Person'],
165
+        'creditedTo' => ['Organization', 'Person'],
166 166
         'duration' => ['Duration'],
167 167
         'musicReleaseFormat' => ['MusicReleaseFormatType'],
168 168
         'recordLabel' => ['Organization'],
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     {
242 242
         $rules = parent::rules();
243 243
         $rules = array_merge($rules, [
244
-            [['catalogNumber','creditedTo','duration','musicReleaseFormat','recordLabel','releaseOf'], 'validateJsonSchema'],
244
+            [['catalogNumber', 'creditedTo', 'duration', 'musicReleaseFormat', 'recordLabel', 'releaseOf'], 'validateJsonSchema'],
245 245
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
246 246
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
247 247
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MusicComposition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      * @var array
191 191
      */
192 192
     static protected $_schemaPropertyExpectedTypes = [
193
-        'composer' => ['Organization','Person'],
193
+        'composer' => ['Organization', 'Person'],
194 194
         'firstPerformance' => ['Event'],
195 195
         'includedComposition' => ['MusicComposition'],
196 196
         'iswcCode' => ['Text'],
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
     {
279 279
         $rules = parent::rules();
280 280
         $rules = array_merge($rules, [
281
-            [['composer','firstPerformance','includedComposition','iswcCode','lyricist','lyrics','musicArrangement','musicCompositionForm','musicalKey','recordedAs'], 'validateJsonSchema'],
281
+            [['composer', 'firstPerformance', 'includedComposition', 'iswcCode', 'lyricist', 'lyrics', 'musicArrangement', 'musicCompositionForm', 'musicalKey', 'recordedAs'], 'validateJsonSchema'],
282 282
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
283 283
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
284 284
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TouristAttraction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'availableLanguage' => ['Language','Text'],
136
-        'touristType' => ['Audience','Text']
135
+        'availableLanguage' => ['Language', 'Text'],
136
+        'touristType' => ['Audience', 'Text']
137 137
     ];
138 138
 
139 139
     /**
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['availableLanguage','touristType'], 'validateJsonSchema'],
207
+            [['availableLanguage', 'touristType'], 'validateJsonSchema'],
208 208
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209 209
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210 210
         ]);
Please login to merge, or discard this patch.