Download the PHP package dchesterton/phpdoc-to-return without Composer
On this page you can find all versions of the php package dchesterton/phpdoc-to-return. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dchesterton/phpdoc-to-return
More information about dchesterton/phpdoc-to-return
Files in dchesterton/phpdoc-to-return
Download dchesterton/phpdoc-to-return
More information about dchesterton/phpdoc-to-return
Files in dchesterton/phpdoc-to-return
Vendor dchesterton
Package phpdoc-to-return
Short Description Convert PHPDoc @return hints to PHP7/Hack native return type syntax
License MIT
Package phpdoc-to-return
Short Description Convert PHPDoc @return hints to PHP7/Hack native return type syntax
License MIT
Please rate this library. Is it a good library?
Informations about the package phpdoc-to-return
Command line tool to convert PHPDoc @return hints to new PHP 7 return type syntax. (Requires PHP 5.4+)
Installation
Install the package globally using Composer: composer global require dchesterton/phpdoc-to-return
Usage
Navigate to the directory you wish to convert, then simply call phpdoc-to-return
.
By default, the tool will overwrite the code but you can optionally specify the source and destination folders using the --src
and --dest
options.
phpdoc-to-return --src=lib --dest=converted
Hack
The tool has basic support for converting to Hack Return Types
phpdoc-to-return --src=lib --hack
All versions of phpdoc-to-return with dependencies
PHP Build Version
Package Version
The package dchesterton/phpdoc-to-return contains the following files
Loading the files please wait ....