Issue #2634022 by martin107, dpi: ViewsPluginInterface::create() inherits from nothing, breaking PHPStan-strict

merge-requests/3301/head
catch 2023-02-21 12:00:53 +00:00
parent 3cca7d75a0
commit 0ce583b17f
1 changed files with 2 additions and 7 deletions

View File

@ -5,14 +5,14 @@ namespace Drupal\views\Plugin\views;
use Drupal\Component\Plugin\DerivativeInspectionInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ViewExecutable;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Provides an interface for all views plugins.
*/
interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface, ContainerFactoryPluginInterface {
/**
* Returns the plugin provider.
@ -68,11 +68,6 @@ interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInsp
*/
public static function preRenderAddFieldsetMarkup(array $form);
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition);
/**
* Initialize the plugin.
*