fix phpdoc parameters for newer releases
This commit is contained in:
parent
c090f8d27f
commit
ee151ad29d
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ doc-js: ## Generate JS code documentation.
|
||||||
jsdoc -p -d doc/jsdoc js/privatebin.js js/legacy.js
|
jsdoc -p -d doc/jsdoc js/privatebin.js js/legacy.js
|
||||||
|
|
||||||
doc-php: ## Generate JS code documentation.
|
doc-php: ## Generate JS code documentation.
|
||||||
phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||||
|
|
||||||
increment: ## Increment and commit new version number, set target version using `make increment VERSION=1.2.3`.
|
increment: ## Increment and commit new version number, set target version using `make increment VERSION=1.2.3`.
|
||||||
for F in `grep -l -R $(REGEX_CURRENT_VERSION) $(VERSION_FILES) | grep -v -e tst/log/ -e ":0" -e CHANGELOG.md`; \
|
for F in `grep -l -R $(REGEX_CURRENT_VERSION) $(VERSION_FILES) | grep -v -e tst/log/ -e ":0" -e CHANGELOG.md`; \
|
||||||
|
|
|
@ -21,7 +21,7 @@ $ sudo pear install phpdoc/phpDocumentor
|
||||||
To generate the documentation, change into the main directory and run phpdoc:
|
To generate the documentation, change into the main directory and run phpdoc:
|
||||||
```console
|
```console
|
||||||
$ cd PrivateBin
|
$ cd PrivateBin
|
||||||
$ phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
$ phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
||||||
|
|
Loading…
Reference in a new issue