Skip to content

Instantly share code, notes, and snippets.

@rjchow
Created April 1, 2022 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjchow/c5725b003637bdda6aba4ffd9de54ba9 to your computer and use it in GitHub Desktop.
Save rjchow/c5725b003637bdda6aba4ffd9de54ba9 to your computer and use it in GitHub Desktop.
FILE: plugins/woocommerce/src/Internal/Admin/Loader.php
-----------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------
308 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
344 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
389 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Notes/MarketingJetpack.php
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
37 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
129 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Marketing.php
-----------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
-----------------------------------------------------------------------------------------------------
86 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
102 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
107 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
135 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
199 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
254 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
260 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
268 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Onboarding/OnboardingHelper.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
37 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
37 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Onboarding/OnboardingIndustries.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
16 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
16 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Notes/CouponPageMoved.php
----------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------------------
31 | ERROR | [ ] The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
31 | ERROR | [ ] The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
36 | ERROR | [x] Short array syntax is not allowed (Generic.Arrays.DisallowShortArraySyntax.Found)
37 | ERROR | [x] Short array syntax is not allowed (Generic.Arrays.DisallowShortArraySyntax.Found)
38 | ERROR | [x] Short array syntax is not allowed (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Notes/OrderMilestones.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
92 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
92 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/DefaultPaymentGateways.php
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
235 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
238 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
20 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
20 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/API/Marketing.php
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
109 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
115 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
-----------------------------------------------------------------------------------------------------
FOUND 102 ERRORS AFFECTING 102 LINES
-----------------------------------------------------------------------------------------------------
22 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
23 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
26 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
33 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
36 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
41 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
44 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
50 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
53 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
71 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
82 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
83 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
85 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
86 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
88 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
94 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
101 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
108 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
115 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
122 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
129 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
130 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
132 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
133 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
138 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
143 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
148 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
153 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
158 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
163 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
168 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
173 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
178 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
183 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
188 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
193 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
198 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
203 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
208 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
213 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
218 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
223 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
229 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
231 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
232 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
234 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
238 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
240 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
244 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
246 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
260 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
267 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
268 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
273 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
275 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
276 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
278 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
282 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
284 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
285 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
286 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
288 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
289 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
291 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
295 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
305 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
306 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
308 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
309 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
311 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
327 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
334 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
335 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
337 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
338 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
343 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
348 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
353 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
358 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
363 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
368 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
373 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
378 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
383 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
388 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
395 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
397 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
398 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
400 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
407 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
414 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
415 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
417 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
418 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
420 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
427 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
436 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
437 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
439 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
440 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
442 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
449 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 102 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Schedulers/CustomersScheduler.php
----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
29 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Notes/Note.php
----------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------------------------------------------
619 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
| | (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
620 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
| | (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
621 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
| | (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
622 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
| | (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
624 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
| | (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/Features.php
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
85 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
152 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Settings.php
-----------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------
124 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
160 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
205 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
106 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
106 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Notes/Notes.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
23 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
23 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
38 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
38 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/API/Notes.php
-----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------
487 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/Navigation/Favorites.php
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
86 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/WCAdminAssets.php
-----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------
361 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
52 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/PluginsHelper.php
----------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------
24 | ERROR | [ ] The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
24 | ERROR | [ ] The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
382 | ERROR | [x] Short array syntax is not allowed (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/ReportsSync.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
21 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
21 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/Navigation/Menu.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
99 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
99 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/Coupons.php
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
78 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/API/Reports/Products/DataStore.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
102 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
102 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/API/Reports/Coupons/DataStore.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
68 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
68 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
69 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
69 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
FILE: plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php
----------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
71 | ERROR | The injection method must be marked final
| | (WooCommerce.Functions.InternalInjectionMethod.MissingFinal)
71 | ERROR | The injection method requires an '@internal' annotation
| | (WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag)
----------------------------------------------------------------------------------------------------------
Time: 1.48 secs; Memory: 12MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment