Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit af94415

Browse files
Update some commands
Change documentation generator with PHPDoc. Apigen poses too many dependency conflicts and does not seem to be maintained. PHPDoc offers a Docker image allowing to externalize the installation and the dependencies.
1 parent 2e6ab12 commit af94415

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎Makefile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ init:
2727
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
2828

2929
apidoc:
30-
@docker-compose exec -T php php -d memory_limit=256M -d xdebug.profiler_enable=0 ./app/vendor/bin/apigen generate app/src --destination app/doc
30+
@docker run --rm -v $(shell pwd):/data phpdoc/phpdoc -i=vendor/ -d /data/web/app/src -t /data/web/app/doc
3131
@make resetOwner
3232

3333
clean:
@@ -70,8 +70,7 @@ mysql-restore:
7070
phpmd:
7171
@docker-compose exec -T php \
7272
./app/vendor/bin/phpmd \
73-
./app/src \
74-
text cleancode,codesize,controversial,design,naming,unusedcode
73+
./app/src text cleancode,codesize,controversial,design,naming,unusedcode
7574

7675
test: code-sniff
7776
@docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /