"lint": "phpcs",
"test": "phpunit",
"t-reset": "@php artisan test --recreate-databases",
+ "build-licenses": [
+ "@php ./dev/licensing/gen-js-licenses",
+ "@php ./dev/licensing/gen-php-licenses"
+ ],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
file_put_contents($outputPath, $licenseInfo);
echo "License information written to {$outputPath}\n";
-echo implode("\n", getWarnings());
+echo implode("\n", getWarnings()) . "\n";
function packageToOutput(string $packagePath): string
{
file_put_contents($outputPath, $licenseInfo);
echo "License information written to {$outputPath}\n";
-echo implode("\n", getWarnings());
+echo implode("\n", getWarnings()) . "\n";
function packageToOutput(stdClass $package) : string {
global $rootPath;