Fix PHPCS issues

This commit is contained in:
Oliver Davies 2020-09-04 20:56:04 +01:00
parent 98fba9306f
commit 596ee4979d
5 changed files with 15 additions and 6 deletions

View file

@ -1,5 +1,10 @@
<?php
/**
* @file
* Install, update and uninstall functions for opdavies_blog.
*/
declare(strict_types=1);
use Drupal\opdavies_blog\Repository\PostRepository;

View file

@ -36,9 +36,9 @@ final class ReorderBlogTagsTest extends EntityKernelTestBase {
/** @var VocabularyInterface $vocabulary */
$vocabulary = Vocabulary::load('tags');
$this->createTerm($vocabulary, ['name' => 'Drupal']); // 1
$this->createTerm($vocabulary, ['name' => 'PHP']); // 2
$this->createTerm($vocabulary, ['name' => 'Symfony']); // 3
$this->createTerm($vocabulary, ['name' => 'Drupal']);
$this->createTerm($vocabulary, ['name' => 'PHP']);
$this->createTerm($vocabulary, ['name' => 'Symfony']);
$post = $this->createNode([
'field_tags' => [3, 1, 2],

View file

@ -1,5 +1,10 @@
<?php
/**
* @file
* Install, update and uninstall functions for opdavies_talks.
*/
declare(strict_types=1);
use Drupal\opdavies_talks\Repository\TalkRepository;

View file

@ -66,5 +66,4 @@ final class Event extends Date {
);
}
}