Integrate supplied institutions by location category and type through investor dossiers
This commit is contained in:
@@ -27,15 +27,15 @@ if ($identity['name'] !== 'simulator_fiscal_delta_20261021_test' || (int) $ident
|
||||
throw new RuntimeException('Isolated QA identity required.');
|
||||
}
|
||||
if ($argv[1] === 'analyse') {
|
||||
$argv = ['phpstan', 'analyse', '--no-progress', '--memory-limit=512M', '--configuration='.$root.'/outputs/funding-directory-20261110/phpstan.neon', 'app/Services/FundingInstitutionDetails.php', 'app/Services/FundingDossierPreparation.php', 'app/Services/FundingProgrammes.php', 'app/Services/FundingProgrammeReferences.php', 'app/Http/Controllers/FundingProgrammeController.php'];
|
||||
$argv = ['phpstan', 'analyse', '--no-progress', '--memory-limit=512M', '--configuration='.$root.'/outputs/funding-directory-20261110/phpstan.neon', 'app/Services/FundingInstitutionClassification.php', 'app/Services/FundingInstitutionDetails.php', 'app/Services/FundingDossierPreparation.php', 'app/Services/FundingProgrammes.php', 'app/Services/FundingProgrammeReferences.php', 'app/Http/Controllers/FundingProgrammeController.php'];
|
||||
$_SERVER['argv'] = $argv;
|
||||
$_SERVER['argc'] = count($argv);
|
||||
require $root.'/vendor/autoload.php';
|
||||
require $root.'/vendor/phpstan/phpstan/phpstan';
|
||||
exit;
|
||||
}
|
||||
$case = 'FundingDirectoryTest';
|
||||
$filter = $argv[2] ?? null;
|
||||
$case = ($argv[2] ?? null) === 'source' ? 'FinancialInstitutionsSourceTest' : 'FundingDirectoryTest';
|
||||
$filter = $case === 'FinancialInstitutionsSourceTest' ? ($argv[3] ?? null) : ($argv[2] ?? null);
|
||||
if ($filter !== null && (strlen($filter) > 128 || ! preg_match('/^[a-zA-Z0-9_|]+$/D', $filter))) {
|
||||
throw new RuntimeException('Explicit QA test filter required.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user