Download the PHP package eyroot/lx-utils without Composer
On this page you can find all versions of the php package eyroot/lx-utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package lx-utils
lx-utils
Code Clean Up
Recursively clean up all files in a PHP project by assigning clean up tasks. Clean up tasks available:
- add/remove custom doc block headers for PHP files
- clean up undefined constants in array square brakets
- beginning with PHP 7.2 unquoted array keys produce the Warning "Use of undefined constant ..." and in future versions this will trigger a hard error)
- automatically quote all strings which are undefined constants used inside square brackets as array keys
- old style array usage like $a[key1] will be automatically transformed into $a['key1']
- also parse and compute a list of defined constants in the project/root path specified, and whitelist them them for usage without quotes as array keys
- add curly brackets around arrays used inside double quote and heredoc string definitions
Notice
- It's recommended to run it for your project on DEV first, check functionality and then push to LIVE.
- When running on a real project, it's a good idea to backup the project files first, just to be sure that what you are doing matches what you're expecting.
Usage
-
Install
-
Console command
- Project/Library
Development set-up
-
Clone project locally:
-
Set-up project and install composer deps:
-
Run unit testing:
- Check the code coverage of tests by opening in browser:
All versions of lx-utils with dependencies
PHP Build Version
Package Version
No informations.
The package eyroot/lx-utils contains the following files
Loading the files please wait ....