From 859118c523043d259c08def43a261f6925935c75 Mon Sep 17 00:00:00 2001 From: TravisCarden <travis.carden@gmail.com> Date: Thu, 19 Dec 2019 14:05:48 -0500 Subject: [PATCH] Fixed coding standards issues. --- checklistapi.install | 2 +- src/ChecklistapiChecklist.php | 4 ---- src/Controller/ChecklistapiController.php | 2 +- src/Form/ChecklistapiChecklistForm.php | 4 ++-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/checklistapi.install b/checklistapi.install index 3e6f64a..41fc366 100644 --- a/checklistapi.install +++ b/checklistapi.install @@ -5,8 +5,8 @@ * Install, update, and uninstall functions for the Checklist API module. */ -use Drupal\Core\Render\Element; use Drupal\checklistapi\ChecklistapiChecklist; +use Drupal\Core\Render\Element; /** * Update saved progress configuration to new schema. diff --git a/src/ChecklistapiChecklist.php b/src/ChecklistapiChecklist.php index 998a992..7a3ad5f 100644 --- a/src/ChecklistapiChecklist.php +++ b/src/ChecklistapiChecklist.php @@ -13,8 +13,6 @@ class ChecklistapiChecklist { /** * The configuration key for saved progress. - * - * @deprecated since version 8.x-1.9, to be removed in 8.x-2.0. */ const PROGRESS_CONFIG_KEY = 'progress'; @@ -99,8 +97,6 @@ class ChecklistapiChecklist { * The configuration object for saving progress. * * @var \Drupal\Core\Config\Config - * - * @deprecated since version 8.x-1.9, to be removed in 8.x-2.0. */ public $config; diff --git a/src/Controller/ChecklistapiController.php b/src/Controller/ChecklistapiController.php index 9817373..058cefa 100644 --- a/src/Controller/ChecklistapiController.php +++ b/src/Controller/ChecklistapiController.php @@ -3,8 +3,8 @@ namespace Drupal\checklistapi\Controller; use Drupal\Core\Controller\ControllerBase; -use Drupal\Core\Url; use Drupal\Core\Link; +use Drupal\Core\Url; /** * Controller for Checklist API. diff --git a/src/Form/ChecklistapiChecklistForm.php b/src/Form/ChecklistapiChecklistForm.php index 54fe7dc..262d35f 100644 --- a/src/Form/ChecklistapiChecklistForm.php +++ b/src/Form/ChecklistapiChecklistForm.php @@ -3,14 +3,14 @@ namespace Drupal\checklistapi\Form; use Drupal\Component\Utility\Xss; +use Drupal\Core\Datetime\DateFormatterInterface; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Drupal\Core\Form\FormInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Link; +use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Render\Element; use Drupal\user\Entity\User; -use Drupal\Core\Datetime\DateFormatterInterface; -use Drupal\Core\Messenger\MessengerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** -- GitLab