Skip to content
Snippets Groups Projects
Verified Commit b70dfff4 authored by Jess's avatar Jess
Browse files

Issue #3401994 by mstrelan, dww, xjm, smustgrave, nicxvan: Add...

Issue #3401994 by mstrelan, dww, xjm, smustgrave, nicxvan: Add declare(strict_types=1) to all test traits
parent 1fce5a04
No related branches found
Tags 11-40901
No related merge requests found
Showing
with 40 additions and 0 deletions
<?php
declare(strict_types=1);
namespace Drupal\Tests\basic_auth\Traits;
/**
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\block\Traits;
use Drupal\block\Entity\Block;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\ckeditor5\Traits;
use Behat\Mink\Element\NodeElement;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\ckeditor5\Traits;
/**
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\ckeditor5\Traits;
use Drupal\Core\Session\AccountInterface;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\config\Traits;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\content_moderation\Traits;
use Drupal\workflows\Entity\Workflow;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\field\Traits;
use Drupal\field\Entity\FieldConfig;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\field\Traits;
@trigger_error('The ' . __NAMESPACE__ . '\EntityReferenceTestTrait is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Instead, use \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait. See https://www.drupal.org/node/3401941', E_USER_DEPRECATED);
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\field_ui\Traits;
/**
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\field_ui\Traits;
use Behat\Mink\Exception\ElementNotFoundException;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\jsonapi\Traits;
use Drupal\Component\Serialization\Json;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\media\Traits;
use Drupal\media\Entity\MediaType;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\media\Traits;
use Drupal\Component\Serialization\Json;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\menu_ui\Traits;
/**
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal\Traits;
trait CreateMigrationsTrait {
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal\Traits;
/**
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal\Traits;
use Drupal\field_discovery_test\FieldDiscoveryTestClass;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal\Traits;
use Drupal\migrate_drupal\NodeMigrateType;
......
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal\Traits;
use Drupal\Component\Discovery\YamlDiscovery;
......
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