mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-10 19:28:41 +00:00
31 lines
673 B
PHP
31 lines
673 B
PHP
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.2
|
|
*
|
|
* @package Helper
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
// Find modules where the Module/tests/Admin/AdminTest.php is missing
|
|
|
|
$modules = \scandir(__DIR__ . '/../../../Modules');
|
|
|
|
foreach ($modules as $module) {
|
|
if ($module === '..' || $module === '.'
|
|
|| !\is_dir(__DIR__ . '/../../../Modules/' . $module)
|
|
|| !\is_file(__DIR__ . '/../../../Modules/' . $module . '/info.json'))
|
|
{
|
|
continue;
|
|
}
|
|
|
|
if (!\is_file(__DIR__ . '/../../../Modules/' . $module . '/tests/Admin/AdminTest.php')) {
|
|
echo $module . "\n";
|
|
}
|
|
}
|