Moved old tests
This commit is contained in:
parent
e93fd81002
commit
b751b39548
12 changed files with 33 additions and 13 deletions
13
tests/old_tests/third_party/theseer/directory_scanner.php
vendored
Normal file
13
tests/old_tests/third_party/theseer/directory_scanner.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
require(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'autoload.php');
|
||||
|
||||
$Scanner = new \ncc\ThirdParty\theseer\DirectoryScanner\DirectoryScanner();
|
||||
$Basedir = realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'third_party');
|
||||
|
||||
/** @var SplFileInfo $item */
|
||||
foreach($Scanner($Basedir . DIRECTORY_SEPARATOR . 'src', true) as $item)
|
||||
{
|
||||
var_dump($item->getPath());
|
||||
var_dump($item);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue