Issue #3518123 by dydave: Refactored method 'flushJsCss' with...
Issue #3518123 by dydave: Refactored method 'flushJsCss' with 'backwardsCompatibleCall' to support deprecated '_drupal_flush_css_js' for versions below core:10.2.
# Until a better solution can be found for hook implementations, it is
# easier to ignore these errors. They are caused by conflicts with PHPCS
# preventing from adding 'param' and 'return' for hook implementations.
-
message: '#Function admin_toolbar_[a-zA-Z0-9\\_]+\(\) has no return type specified\.#'
paths:
- *.install
- *.module
-
message: '#Function admin_toolbar_[a-zA-Z0-9\\_]+\(\) has parameter \$[a-zA-Z0-9\\_]+ with no type specified\.#'
paths:
# - *.install
- *.module
-
message: '#Function admin_toolbar_[a-zA-Z0-9\\_]+\(\) has parameter \$[a-zA-Z0-9\\_]+ with no value type specified in iterable type [a-zA-Z0-9\\_]+\.#'
message: '#Function admin_toolbar_[a-zA-Z0-9\\_]+\(\) has no return type specified\.#'
message: "#^Unable to resolve the template type Deprecated in call to method static method Drupal\\\\Component\\\\Utility\\\\DeprecationHelper\\:\\:backwardsCompatibleCall\\(\\)#"