File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 2
2
/.php-cs-fixer.cache
3
3
/.php_cs.cache
4
4
/.phpunit.result.cache
5
+ /class-diagram.md
5
6
/composer.lock
6
7
/coverage.xml
7
8
/phpstan.neon
Original file line number Diff line number Diff line change 101
101
],
102
102
"fix:php:fixer" : " \" ./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix bin src tests" ,
103
103
"fix:php:rector" : " rector --config=config/rector.php" ,
104
+ "generate:class-diagram" : [
105
+ " composer require --dev tasuku43/mermaid-class-diagram" ,
106
+ " mermaid-class-diagram generate --path src > class-diagram.md" ,
107
+ " composer remove --dev tasuku43/mermaid-class-diagram"
108
+ ],
104
109
"phpstan:baseline" : " phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon --allow-empty-baseline"
105
110
},
106
111
"scripts-descriptions" : {
121
126
"fix:php" : " Autofixes all autofixable issues in the PHP code." ,
122
127
"fix:php:fixer" : " Fixes autofixable issues found by PHP CS Fixer." ,
123
128
"fix:php:rector" : " Fixes autofixable issues found by Rector." ,
129
+ "generate:class-diagram" : " Updates the class diagram in the README.md file." ,
124
130
"phpstan:baseline" : " Updates the PHPStan baseline file to match the code."
125
131
}
126
132
}
You can’t perform that action at this time.
0 commit comments