mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 02:02:29 +01:00 
			
		
		
		
	CodeStandard as HTML / MarkDown
This commit is contained in:
		@@ -30,14 +30,13 @@
 | 
				
			|||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "test": "phpunit",
 | 
					    "test": "phpunit",
 | 
				
			||||||
    "document": [
 | 
					    "document": [
 | 
				
			||||||
      "tools/phpcs --generator=MarkDown > docs/CodeStandard.md",
 | 
					 | 
				
			||||||
      "tools/phpdocumentor"
 | 
					      "tools/phpdocumentor"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "benchmark": "tools/phpbench run --report=default --output=build-artifact",
 | 
					    "benchmark": "tools/phpbench run --report=default --output=build-artifact",
 | 
				
			||||||
    "metrics": "vendor/bin/phpmetrics --config=phpmetrics.yml",
 | 
					    "metrics": "vendor/bin/phpmetrics --config=phpmetrics.yml",
 | 
				
			||||||
    "lint": [
 | 
					    "lint": [
 | 
				
			||||||
 | 
					      "tools/phpcbf",
 | 
				
			||||||
      "tools/phpcs",
 | 
					      "tools/phpcs",
 | 
				
			||||||
      "tools/phpcbf  src/ tests/ benchmark/ examples/",
 | 
					 | 
				
			||||||
      "tools/phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
 | 
					      "tools/phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "analyze": [
 | 
					    "analyze": [
 | 
				
			||||||
@@ -46,12 +45,12 @@
 | 
				
			|||||||
      "@analyze-rector"
 | 
					      "@analyze-rector"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "analyze-phpstan": "tools/phpstan analyze --error-format=raw",
 | 
					    "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",
 | 
					    "analyze-rector": "vendor/bin/rector --dry-run",
 | 
				
			||||||
    "html": [
 | 
					    "html": [
 | 
				
			||||||
      "pandoc -s README.md -o output/README.html",
 | 
					      "pandoc -s README.md -o output/README.html",
 | 
				
			||||||
      "pandoc -s docs/index.rst -o output/index.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": [
 | 
					    "all": [
 | 
				
			||||||
      "@test",
 | 
					      "@test",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user