
| Current Path : /var/www/html/ift/web/core/tests/Drupal/Tests/Component/PhpStorage/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageDeprecationTest.php |
<?php
namespace Drupal\Tests\Component\PhpStorage;
use Drupal\Component\PhpStorage\FileStorage;
use PHPUnit\Framework\TestCase;
/**
* Tests FileStorage deprecations.
*
* @coversDefaultClass \Drupal\Component\PhpStorage\FileStorage
* @group legacy
* @group Drupal
* @group PhpStorage
*/
class FileStorageDeprecationTest extends TestCase {
/**
* @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
*/
public function testHtAccessLines() {
$this->assertNotEmpty(FileStorage::htaccessLines());
}
}