mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
AP(RE)CHANGE Exclude files with the underscore prefix from manifest.
This commit is contained in:
parent
299bf8b9c6
commit
7927fffc0a
@ -276,7 +276,7 @@ class SS_ClassManifest {
|
|||||||
|
|
||||||
$finder = new ManifestFileFinder();
|
$finder = new ManifestFileFinder();
|
||||||
$finder->setOptions(array(
|
$finder->setOptions(array(
|
||||||
'name_regex' => '/\.php$/',
|
'name_regex' => '/^[^_].*\.php$/',
|
||||||
'ignore_files' => array('index.php', 'main.php', 'cli-script.php'),
|
'ignore_files' => array('index.php', 'main.php', 'cli-script.php'),
|
||||||
'ignore_tests' => !$this->tests,
|
'ignore_tests' => !$this->tests,
|
||||||
'file_callback' => array($this, 'handleFile')
|
'file_callback' => array($this, 'handleFile')
|
||||||
|
Loading…
Reference in New Issue
Block a user