Unused mutations
Introduction
This tool checks whether predefined translations occur in the project via cmd.
Usage
Usage: php unused-mutations [options]
Options:
-d <path> Folder or file to scan (default: current directory)
-i | -ignore <mask> Files to ignore (only additional base can be found in Config.php)
-np | -no-progress Do not show progress dots
-f | -found Get found mutations in files
If you specify no parameters, the current folder is checked with the basic settings of ignored files and folders.
The basic ignor settings can be found in Config.php. It also accepts masks.
To set controlled messages, overwrite the mutation field in the variable $possibleMutationTexts in Config.php by your own field
For download from git https://aja07.vas-server.cz/tools/unused-mutations
Then you need to write the path in the corresponding absolute path to the unused-mutations file in the project root.
for example if project is C:/www/unused-mutations then in cmd we write php C:/www/unused-mutations [options].