function SortTest::setUp

Same name in this branch
  1. 9 core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::setUp()
Same name and namespace in other branches
  1. 8.9.x core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::setUp()
  2. 10 core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::setUp()
  3. 10 core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::setUp()
  4. 10 core/tests/Drupal/Tests/CSpell/SortTest.php \Drupal\Tests\CSpell\SortTest::setUp()
  5. 11.x core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::setUp()
  6. 11.x core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::setUp()
  7. 11.x core/tests/Drupal/Tests/CSpell/SortTest.php \Drupal\Tests\CSpell\SortTest::setUp()

File

core/tests/Drupal/Tests/PhpCs/SortTest.php, line 25

Class

SortTest
Tests that phpcs.xml.dist is properly sorted.

Namespace

Drupal\Tests\PhpCs

Code

protected function setUp() : void {
    $this->filePath = __DIR__ . '/../../../../../core/phpcs.xml.dist';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.