Definition at line 25 of file RootFolderTest.php.
◆ getAppRootFolderOrFail()
ILIAS\App\tests\RootFolderTest::getAppRootFolderOrFail |
( |
| ) |
|
|
private |
Definition at line 87 of file RootFolderTest.php.
87 : string
88 {
89 $app_root_folder = __DIR__ . "/../../../../";
90
91 if (!is_file($app_root_folder . '/ilias_version.php')) {
92 $this->fail('Could not determine ILIAS root folder');
93 }
94
95 return $app_root_folder;
96 }
◆ setUp()
ILIAS\App\tests\RootFolderTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 75 of file RootFolderTest.php.
75 : void
76 {
78 self::ALLOWED_ROOT_FOLDER_DIRS,
79 explode(",", (string) getenv('ALLOWED_ROOT_FOLDER_DIRS'))
80 );
82 self::ALLOWED_ROOT_FOLDER_FILES,
83 explode(",", (string) getenv('ALLOWED_ROOT_FOLDER_FILES'))
84 );
85 }
const array ALLOWED_ROOT_FOLDER_DIRS
const array ALLOWED_ROOT_FOLDER_FILES
◆ $ALLOWED_ROOT_FOLDER_DIRS
array ILIAS\App\tests\RootFolderTest::$ALLOWED_ROOT_FOLDER_DIRS = [] |
|
protected |
◆ $ALLOWED_ROOT_FOLDER_FILES
array ILIAS\App\tests\RootFolderTest::$ALLOWED_ROOT_FOLDER_FILES = [] |
|
protected |
◆ ALLOWED_ROOT_FOLDER_DIRS
const array ILIAS\App\tests\RootFolderTest::ALLOWED_ROOT_FOLDER_DIRS |
|
private |
Initial value:= [
'.git',
'.github',
'.idea',
'artifacts',
'cli',
'components',
'docs',
'extern',
'lang',
'node_modules',
'public',
'scripts',
'templates',
'vendor',
'.settings'
]
Definition at line 54 of file RootFolderTest.php.
◆ ALLOWED_ROOT_FOLDER_FILES
const array ILIAS\App\tests\RootFolderTest::ALLOWED_ROOT_FOLDER_FILES |
|
private |
Initial value:= [
'.eslintrc.json',
'.gitignore',
'.htaccess',
'.phpunit.result.cache',
'captainhook.local.json',
'phpstan.local.neon',
'phpstan-baseline.neon',
'.php_cs.cache',
'.php-cs-fixer.cache',
'captainhook.json',
'composer.json',
'composer_new.json',
'composer.lock',
'ilias.ini.php',
'ilias_version.php',
'LICENSE',
'package-lock.json',
'package.json',
'package_new.json',
'README.md',
'unzip_test_file.zip',
'.DS_Store',
'.buildpath',
'.project'
]
Definition at line 27 of file RootFolderTest.php.
The documentation for this class was generated from the following file: