Ignore PHPCS rules per test file

This commit is contained in:
Oliver Davies 2020-12-17 23:04:18 +00:00
parent 0ec295d01e
commit 0b1003a17d
6 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,7 @@
<?php
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
declare(strict_types=1);
namespace Drupal\Tests\custom\Kernel\Entity\Node;

View file

@ -1,5 +1,7 @@
<?php
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
namespace Drupal\Tests\opdavies_blog\Kernel;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;

View file

@ -1,6 +1,8 @@
<?php
declare(strict_types = 1);
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
declare(strict_types=1);
namespace Drupal\Tests\opdavies_talks\Kernel;

View file

@ -1,5 +1,7 @@
<?php
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
namespace Drupal\Tests\opdavies_talks\Kernel\Repository;
use Drupal\node\NodeInterface;

View file

@ -1,5 +1,7 @@
<?php
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
namespace Drupal\Tests\opdavies_talks\Kernel;
use Carbon\Carbon;

View file

@ -1,5 +1,7 @@
<?php
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
declare(strict_types=1);
namespace Drupal\Tests\opdavies_talks\Kernel;