28 $oldLocation = self::$root .
'/pub/lib';
29 $this->assertFileNotExists($oldLocation,
"The web libraries have been moved from 'pub/lib' to 'lib/web'");
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'"
testOldPhpLibrariesLocation()
static setUpBeforeClass()
testOldWebLibrariesLocation()