hurah/php-typed-property-toggle

Comment / uncomment PHP typed properties for your project.

dev-master 2020-05-26 09:29 UTC

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