Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/GeoCoordinates.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -158,11 +158,11 @@  discard block
 block discarded – undo
158 158
      * @var array
159 159
      */
160 160
     static protected $_schemaPropertyExpectedTypes = [
161
-        'address' => ['PostalAddress','Text'],
162
-        'addressCountry' => ['Country','Text'],
163
-        'elevation' => ['Number','Text'],
164
-        'latitude' => ['Number','Text'],
165
-        'longitude' => ['Number','Text'],
161
+        'address' => ['PostalAddress', 'Text'],
162
+        'addressCountry' => ['Country', 'Text'],
163
+        'elevation' => ['Number', 'Text'],
164
+        'latitude' => ['Number', 'Text'],
165
+        'longitude' => ['Number', 'Text'],
166 166
         'postalCode' => ['Text']
167 167
     ];
168 168
 
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     {
239 239
         $rules = parent::rules();
240 240
         $rules = array_merge($rules, [
241
-            [['address','addressCountry','elevation','latitude','longitude','postalCode'], 'validateJsonSchema'],
241
+            [['address', 'addressCountry', 'elevation', 'latitude', 'longitude', 'postalCode'], 'validateJsonSchema'],
242 242
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
243 243
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
244 244
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Rating.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -146,10 +146,10 @@  discard block
 block discarded – undo
146 146
      * @var array
147 147
      */
148 148
     static protected $_schemaPropertyExpectedTypes = [
149
-        'author' => ['Organization','Person'],
150
-        'bestRating' => ['Number','Text'],
151
-        'ratingValue' => ['Number','Text'],
152
-        'worstRating' => ['Number','Text']
149
+        'author' => ['Organization', 'Person'],
150
+        'bestRating' => ['Number', 'Text'],
151
+        'ratingValue' => ['Number', 'Text'],
152
+        'worstRating' => ['Number', 'Text']
153 153
     ];
154 154
 
155 155
     /**
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['author','bestRating','ratingValue','worstRating'], 'validateJsonSchema'],
225
+            [['author', 'bestRating', 'ratingValue', 'worstRating'], 'validateJsonSchema'],
226 226
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227 227
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
228 228
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OpeningHoursSpecification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['closes','dayOfWeek','opens','validFrom','validThrough'], 'validateJsonSchema'],
235
+            [['closes', 'dayOfWeek', 'opens', 'validFrom', 'validThrough'], 'validateJsonSchema'],
236 236
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237 237
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
238 238
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DigitalDocumentPermission.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'grantee' => ['Audience','ContactPoint','Organization','Person'],
129
+        'grantee' => ['Audience', 'ContactPoint', 'Organization', 'Person'],
130 130
         'permissionType' => ['DigitalDocumentPermissionType']
131 131
     ];
132 132
 
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['grantee','permissionType'], 'validateJsonSchema'],
201
+            [['grantee', 'permissionType'], '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/HowToSection.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
-        'steps' => ['CreativeWork','ItemList','Text']
122
+        'steps' => ['CreativeWork', 'ItemList', 'Text']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/EmployeeRole.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * @var array
128 128
      */
129 129
     static protected $_schemaPropertyExpectedTypes = [
130
-        'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'],
130
+        'baseSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'],
131 131
         'salaryCurrency' => ['Text']
132 132
     ];
133 133
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['baseSalary','salaryCurrency'], 'validateJsonSchema'],
202
+            [['baseSalary', 'salaryCurrency'], 'validateJsonSchema'],
203 203
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204 204
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
205 205
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GeoCircle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     static protected $_schemaPropertyExpectedTypes = [
133 133
         'geoMidpoint' => ['GeoCoordinates'],
134
-        'geoRadius' => ['Distance','Number','Text']
134
+        'geoRadius' => ['Distance', 'Number', 'Text']
135 135
     ];
136 136
 
137 137
     /**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['geoMidpoint','geoRadius'], 'validateJsonSchema'],
205
+            [['geoMidpoint', 'geoRadius'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
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.