From a7a4f3652e30250b8f5c82b271bb340f6b7df2aa Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Wed, 7 Apr 2021 23:37:17 -0700 Subject: [PATCH] Cleanup --- scanner_config.php | 91 ---------------------------------------------- ships.txt | 54 --------------------------- 2 files changed, 145 deletions(-) delete mode 100644 scanner_config.php delete mode 100644 ships.txt diff --git a/scanner_config.php b/scanner_config.php deleted file mode 100644 index 81cca9d..0000000 --- a/scanner_config.php +++ /dev/null @@ -1,91 +0,0 @@ - $projectPath . '/composer.json', - 'vendorPath' => $projectPath . '/vendor/', - 'scanDirectories' => $scanDirectories, - - /** - * Optional params - **/ - 'skipPackages' => [], //List of packages that must be excluded from verification - 'excludeDirectories' => $excludeDirectories, - 'scanFiles' => $scanFiles, - 'extensions' => ['*.php'], - 'requireDev' => false, //Check composer require-dev section, default false - /** - * Optional, custom logic for check is file contains definitions of package - * - * @example - * 'customMatch'=> function($definition, $packageName, \Symfony\Component\Finder\SplFileInfo $file):bool{ - * $isPresent = false; - * if($packageName === 'phpunit/phpunit'){ - * $isPresent = true; - * } - * if($file->getExtension()==='twig'){ - * $isPresent = customCheck(); - * } - * return $isPresent; - * } - **/ - 'customMatch'=> null, - - /** - * Report mode options - * Report mode enabled, when reportPath value is valid directory path - * !!!Note!!! The scanning time and memory usage will be increased when report mode enabled, - * it sensitive especially for big projects and when requireDev option enabled - **/ - - 'reportPath' => null, //path in directory, where usage report will be stores; - - /** - * Optional custom formatter (by default report stored as json) - * $report array format - * [ - * 'packageName'=> [ - * 'definition'=>['fileNames',...] - * .... - * ] - * ... - * ] - * - * @example - * 'reportFormatter'=>function(array $report):string{ - * return print_r($report, true); - * } - **/ - 'reportFormatter'=>null, - 'reportExtension'=>null, //by default - json, set own, if use custom formatter -]; - diff --git a/ships.txt b/ships.txt deleted file mode 100644 index 14d410b..0000000 --- a/ships.txt +++ /dev/null @@ -1,54 +0,0 @@ -- S -Adder -Cobra MkIII -Cobra MkIV -Diamondback Scout -Diamondback Explorer -Dolphin -Eagle MkII -Hauler -Imperial Courier -Imperial Eagle -Sidewinder MkI -Viper MkIII -Viper MkIV -Vulture - -- M -Alliance Challenger -Alliance Chieftain -Alliance Crusader -Asp Explorer -Asp Scout -Federal Assault Ship -Federal Dropship -Federal Gunship -Fer-de-Lance -Keelback -Krait MkII -Krait Phantom -Mamba -Python -Type-6 Transporter - -- L -Anaconda -Beluga Liner -Federal Corvette -Imperial Clipper -Imperial Cutter -Orca -Type-7 Transporter -Type-9 Heavy -Type-10 Defender - -- O -F63 Condor -Gu-97 -Taipan -XG7 Trident -XG8 Javelin -XG9 Lance - -- C -Drake-Class Carrier