Download the PHP package digitalkaoz/typehint-to-docblock without Composer
On this page you can find all versions of the php package digitalkaoz/typehint-to-docblock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download digitalkaoz/typehint-to-docblock
More information about digitalkaoz/typehint-to-docblock
Files in digitalkaoz/typehint-to-docblock
Download digitalkaoz/typehint-to-docblock
More information about digitalkaoz/typehint-to-docblock
Files in digitalkaoz/typehint-to-docblock
Vendor digitalkaoz
Package typehint-to-docblock
Short Description converts typehints to docblocks and vice versa
License MIT
Package typehint-to-docblock
Short Description converts typehints to docblocks and vice versa
License MIT
Please rate this library. Is it a good library?
Informations about the package typehint-to-docblock
TypeHints to DocBlock
the intention for this tiny Project is the lack of support for typehinted Collaborators in PHPSpec on PHP7+
https://github.com/phpspec/phpspec/issues/659
this library can convert typehinted methods to docblocks (and removing the typehints) and the other way around
Installation
Usage
where FOLDER
is one or more paths to php classes
if --pattern
is provided only methods which matches this regex pattern will be modified
Use on TravisCI
simple use this in your before_scripts
Examples
this
will be converted to this
Tests
TODO
- make the resaving of files a bit less obstrusive
- write a
reverse
Visitor which converts from DocBlock to TypeHint
All versions of typehint-to-docblock with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
nikic/php-parser Version ~1.4
symfony/console Version ~2.3
symfony/finder Version ~2.3
gossi/docblock Version ~1.5
symfony/filesystem Version ~2.7
phpdocumentor/type-resolver Version ~0.1
pimple/pimple Version ~3.0
psr/log Version ~1.0
nikic/php-parser Version ~1.4
symfony/console Version ~2.3
symfony/finder Version ~2.3
gossi/docblock Version ~1.5
symfony/filesystem Version ~2.7
phpdocumentor/type-resolver Version ~0.1
pimple/pimple Version ~3.0
psr/log Version ~1.0
The package digitalkaoz/typehint-to-docblock contains the following files
Loading the files please wait ....