- 🇦🇹Austria klausi 🇦🇹 Vienna
This has been fixed already upstream in the PHPCS rule. Please run "composer update drupal/coder --with-all-dependencies".
Automatically closed - issue fixed for 2 weeks with no activity.
PHP 7.4 and above allow defining visibility (public/protected/private) for class constants, but coder rejects them with
FILE: .../www/html/core/lib/Drupal/Component/Attribute/AttributeArray.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
33 | ERROR | Class constants must be uppercase; expected PROTECTED
| | but found protected
----------------------------------------------------------------------
Allow constant visibility, will be relevant in Drupal 10.
Fixed
3.0
Coder Sniffer
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This has been fixed already upstream in the PHPCS rule. Please run "composer update drupal/coder --with-all-dependencies".
Automatically closed - issue fixed for 2 weeks with no activity.