hurah / php-typed-property-toggle
Comment / uncomment PHP typed properties for your project.
dev-master
2020-05-26 09:29 UTC
Requires
- php: >=7.3
- composer/composer: ^2.0@dev
- monolog/monolog: ^2.0@dev
- psr/log: ^1.1@dev
- symfony/console: ^5.1@dev
Requires (Dev)
- phpunit/phpunit: ^9.2@dev
This package is auto-updated.
Last update: 2024-10-26 19:10:57 UTC
README
This is a simple utility that accepts a directory structure containing php 7.4 typed property classes and copies this structure to the specified output folder with the typed properties commented out. It does the same in reverse.
Usage: ./bin/transpile PHP_VERSION SOURCE_DIR DEST_DIR
Example: ./bin/transpile 7.3 ./src ./dist