Definition at line 12 of file LibraryLocationTest.php.
◆ setUpBeforeClass()
static setUpBeforeClass |
( |
| ) |
|
|
static |
◆ testOldPhpLibrariesLocation()
testOldPhpLibrariesLocation |
( |
| ) |
|
Definition at line 32 of file LibraryLocationTest.php.
34 $libLocation = self::$root .
'/lib';
37 self::$root .
'/lib/web',
38 self::$root .
'/lib/internal',
39 self::$root .
'/.htaccess',
42 $entries = glob(
"{$libLocation}/*");
43 $excessiveEntries = [];
44 foreach ($entries as $entry) {
45 $entry = str_replace(
'\\',
'/', $entry);
47 foreach ($permittedEntries as $permittedEntry) {
48 if ($permittedEntry == $entry) {
54 $excessiveEntries[] = $entry;
60 "All files and directories have been moved from 'lib' to 'lib/internal'"
◆ testOldWebLibrariesLocation()
testOldWebLibrariesLocation |
( |
| ) |
|
Definition at line 26 of file LibraryLocationTest.php.
28 $oldLocation = self::$root .
'/pub/lib';
29 $this->assertFileNotExists($oldLocation,
"The web libraries have been moved from 'pub/lib' to 'lib/web'");
◆ $root
The documentation for this class was generated from the following file: