Skip to content

Commit

Permalink
[ci] add rule doc validator
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 8, 2024
1 parent aeaa7ec commit 2bacfc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
-
name: 'Active Classes'
run: composer class-leak
-
name: "Validate docs"
run: vendor/bin/rule-doc-generator validate src rules


name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"symplify/phpstan-rules": "^13.0",
"symplify/phpstan-extensions": "^11.2",
"symplify/easy-coding-standard": "^12.3",
"symplify/rule-doc-generator": "^12.0",
"symplify/rule-doc-generator": "^12.2.5",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-webmozart-assert": "^1.2",
"symplify/vendor-patches": "^11.2",
Expand Down Expand Up @@ -47,8 +47,7 @@
"check-cs": "vendor/bin/ecs check --ansi",
"class-leak": "vendor/bin/class-leak check config src rules --skip-suffix \"Rector\"",
"fix-cs": "vendor/bin/ecs check --fix --ansi",
"rector": "vendor/bin/rector process --ansi",
"docs": "vendor/bin/rule-doc-generator generate src rules --output-file docs/rector_rules_overview.md --ansi"
"rector": "vendor/bin/rector process --ansi"
},
"extra": {
"enable-patching": true,
Expand Down

0 comments on commit 2bacfc6

Please sign in to comment.