function FileStorageDeprecationTest::testHtAccessLines

@expectedDeprecation htaccessLines() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSecurity\FileSecurity::htaccessLines() instead. See https://www.drupal.org/node/3075098

File

core/tests/Drupal/Tests/Component/PhpStorage/FileStorageDeprecationTest.php, line 21

Class

FileStorageDeprecationTest
Tests FileStorage deprecations.

Namespace

Drupal\Tests\Component\PhpStorage

Code

public function testHtAccessLines() {
    $this->assertNotEmpty(FileStorage::htaccessLines());
}

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