From ac7e3f5c2d7e459c29eb3d4d349ba9fd34919f36 Mon Sep 17 00:00:00 2001 From: Jens True Date: Wed, 14 May 2025 09:28:51 +0000 Subject: [PATCH] CodeStandard as HTML / MarkDown --- composer.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 9250100..2e64ff1 100644 --- a/composer.json +++ b/composer.json @@ -30,14 +30,13 @@ "scripts": { "test": "phpunit", "document": [ - "tools/phpcs --generator=MarkDown > docs/CodeStandard.md", "tools/phpdocumentor" ], "benchmark": "tools/phpbench run --report=default --output=build-artifact", "metrics": "vendor/bin/phpmetrics --config=phpmetrics.yml", "lint": [ + "tools/phpcbf", "tools/phpcs", - "tools/phpcbf src/ tests/ benchmark/ examples/", "tools/phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml" ], "analyze": [ @@ -46,12 +45,12 @@ "@analyze-rector" ], "analyze-phpstan": "tools/phpstan analyze --error-format=raw", - "analyze-psalm": "tools/psalm --no-cache --show-info=true", + "analyze-psalm": "tools/psalm --show-info=true", "analyze-rector": "vendor/bin/rector --dry-run", "html": [ "pandoc -s README.md -o output/README.html", "pandoc -s docs/index.rst -o output/index.html", - "pandoc -s docs/CodeStandard.md -o output/CodeStandard.html --metadata title=\"Code Standard\"" + "tools/phpcs --generator=MarkDown | pandoc -o output/CodeStandard.html --metadata title=\"Code Standard\"" ], "all": [ "@test",