function SortTest::testFileExists

Same name in other branches
  1. 10 core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::testFileExists()
  2. 10 core/tests/Drupal/Tests/CSpell/SortTest.php \Drupal\Tests\CSpell\SortTest::testFileExists()
  3. 11.x core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::testFileExists()
  4. 11.x core/tests/Drupal/Tests/CSpell/SortTest.php \Drupal\Tests\CSpell\SortTest::testFileExists()

Tests that the phpcs.xml.dist file exists.

File

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

Class

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

Namespace

Drupal\Tests\PhpCs

Code

public function testFileExists() {
    $this->assertFileExists($this->filePath);
}

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