RemoveFilterTipsLongParamRector
Remove deprecated $long parameter from FilterInterface::tips() implementations and from _filter_tips() calls.
-public function tips($long = FALSE) {
+public function tips() {
return $this->t('No HTML tags allowed.');
}
Configure your rector.php:
<?php
use DrupalRector\Drupal11\Rector\Deprecation\RemoveFilterTipsLongParamRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withRules([
RemoveFilterTipsLongParamRector::class,
]);