Skip to content

Commit 2cfdde1

Browse files
committed
PHPdocumentor added.
1 parent 646920a commit 2cfdde1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
vendor
22
.idea
3+
.phpdoc
34
tests/_output
45
tests/_support/_generated
56
composer.lock

composer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"codeception/module-asserts": "^2.0",
3535
"php-coveralls/php-coveralls": "^2.0",
3636
"squizlabs/php_codesniffer": "3.*",
37-
"phpstan/phpstan": "^1.8"
37+
"phpstan/phpstan": "^1.8",
38+
"phpdocumentor/phpdocumentor": "3.0.*"
3839
},
3940
"autoload": {
4041
"psr-4": {
@@ -45,6 +46,9 @@
4546
"config": {
4647
"fxp-asset": {
4748
"enabled": false
49+
},
50+
"allow-plugins": {
51+
"symfony/flex": true
4852
}
4953
},
5054
"repositories": [
@@ -61,6 +65,10 @@
6165
"test-coverage-html": ["./vendor/bin/codecept run unit tests/unit --coverage-html"],
6266
"test-coverage-xml": ["./vendor/bin/codecept run unit tests/unit --coverage-xml"],
6367
"codesniffer": ["./vendor/bin/phpcs --ignore=vendor,tests --standard=tests/coding_standard.xml -s ."],
64-
"stan": ["./vendor/bin/phpstan analyse -l 9 src"]
68+
"stan": ["./vendor/bin/phpstan analyse -l 9 src"],
69+
"phpdoc": [
70+
"export COMPOSER_PROCESS_TIMEOUT=9000",
71+
"vendor/bin/phpdoc -d ./src -v"
72+
]
6573
}
6674
}

0 commit comments

Comments
 (0)