Skip to content
Snippets Groups Projects
Commit 7de89757 authored by Adam Bramley's avatar Adam Bramley Committed by dpi
Browse files

Issue #3374535: :construction_worker: Fix CI

parent 045749ca
Branches 3.2.x
No related tags found
No related merge requests found
......@@ -44,12 +44,7 @@ build app:
dpi/drupal-phpunit-bootstrap
drupal/core-dev:^${DRUPAL_CORE_CONSTRAINT}
phpspec/prophecy-phpunit:^2
mglaman/phpstan-drupal:^1
phpstan/phpstan-deprecation-rules:*
micheh/phpcs-gitlab
- composer require
drupal/coder:^8.3
drupal/token:^1.5
- composer show
- cp modules/project/date_recur/.drupalci/* .
- mkdir -p ${BROWSERTEST_OUTPUT_DIRECTORY}
......
......@@ -23,12 +23,7 @@
"rlanvin/php-rrule": "^1 || ^2"
},
"require-dev": {
"drupal/coder": "^8.3",
"drupal/token": "^1.5",
"phpstan/phpstan": "^1",
"mglaman/phpstan-drupal": "^1",
"phpstan/phpstan-deprecation-rules": "*",
"dealerdirect/phpcodesniffer-composer-installer": "dev-master"
"drupal/token": "^1.5"
},
"suggest": {
"drupal/date_recur_interactive": "Provides an interactive recurring date widget."
......
......@@ -12,9 +12,9 @@ use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\EntityTypeListenerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\RevisionableInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldStorageDefinitionListenerInterface;
use Drupal\Core\TypedData\TypedDataManagerInterface;
use Drupal\date_recur\Event\DateRecurEvents;
......
......@@ -4,24 +4,24 @@ declare(strict_types = 1);
namespace Drupal\date_recur;
use Drupal\Component\Plugin\Exception\PluginNotFoundException;
use Drupal\Core\Database\Connection;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Entity\EntityFieldManagerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\Core\Entity\Sql\SqlEntityStorageInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\TypedDataManagerInterface;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
use Drupal\field\FieldStorageConfigInterface;
use Drupal\views\Views;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\Core\Entity\Sql\SqlEntityStorageInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Component\Plugin\Exception\PluginNotFoundException;
/**
* Defines Views hooks.
......
......@@ -4,8 +4,8 @@ declare(strict_types = 1);
namespace Drupal\date_recur\Event;
use Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList;
use Drupal\Component\EventDispatcher\Event;
use Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList;
/**
* Event dispatched when an entity containing a date recur field is modified.
......
......@@ -4,10 +4,9 @@ declare(strict_types = 1);
namespace Drupal\date_recur\Plugin;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
//@codingStandardsIgnoreStart
/**
......
......@@ -5,13 +5,13 @@ declare(strict_types = 1);
namespace Drupal\date_recur\Plugin\Field\FieldType;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemList;
use Drupal\Core\Form\FormStateInterface;
use Drupal\date_recur\DateRecurPartGrid;
use Drupal\date_recur\Event\DateRecurEvents;
use Drupal\date_recur\Event\DateRecurValueEvent;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
use Drupal\datetime_range\Plugin\Field\FieldType\DateRangeFieldItemList;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
......
......@@ -5,11 +5,11 @@ declare(strict_types = 1);
namespace Drupal\Tests\date_recur\Kernel;
use Drupal\Core\Field\FieldConfigInterface;
use Drupal\KernelTests\KernelTestBase;
use Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem;
use Drupal\entity_test\Entity\EntityTest;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests field validation failures as a result part grids.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment