Definition at line 25 of file RootFolderTest.php.
◆ getAppRootFolderOrFail()
| ILIAS\App\tests\RootFolderTest::getAppRootFolderOrFail |
( |
| ) |
|
|
private |
Definition at line 88 of file RootFolderTest.php.
88 : string
89 {
90 $app_root_folder = __DIR__ . "/../../../../";
91
92 if (!is_file($app_root_folder . '/ilias_version.php')) {
93 $this->fail('Could not determine ILIAS root folder');
94 }
95
96 return $app_root_folder;
97 }
◆ setUp()
| ILIAS\App\tests\RootFolderTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 76 of file RootFolderTest.php.
76 : void
77 {
79 self::ALLOWED_ROOT_FOLDER_DIRS,
80 explode(",", (string) getenv('ALLOWED_ROOT_FOLDER_DIRS'))
81 );
83 self::ALLOWED_ROOT_FOLDER_FILES,
84 explode(",", (string) getenv('ALLOWED_ROOT_FOLDER_FILES'))
85 );
86 }
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 55 of file RootFolderTest.php.
◆ ALLOWED_ROOT_FOLDER_FILES
| const array ILIAS\App\tests\RootFolderTest::ALLOWED_ROOT_FOLDER_FILES |
|
private |
Initial value:= [
'.npmrc',
'.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: