Fix PHPCS Errors and warnings

Created on 5 January 2023, over 1 year ago
Updated 5 December 2023, 7 months ago

PHPCS reported the following Errors and warnings

FILE: /variationcache/tests/src/Unit/VariationCacheTest.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------
 140 | ERROR | [x] Case breaking statements must be followed by a single blank line
 143 | ERROR | [x] Case breaking statements must be followed by a single blank line
 146 | ERROR | [x] Case breaking statements must be followed by a single blank line
 149 | ERROR | [x] Case breaking statements must be followed by a single blank line
 295 | ERROR | [ ] The array declaration extends to column 99 (the limit is 80). The array content should be split up over multiple lines
 426 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 431 | ERROR | [ ] Type hint "array" missing for $cache_id_parts
------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
πŸ“Œ Task
Status

Closed: won't fix

Version

1.0

Component

Performance

Created by

πŸ‡©πŸ‡ͺGermany SolimanHarkas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024