To enforce the sanity of your project’s codebase, Strata provides tools that help maintain project files.
Repairing the installation
If you have reasons to think the directory structure and default project files are improperly set, you can run the repair tool on your project.
Using the command line, run the
repair command from your project’s base directory.
The command will check for existence of known default folders as well as default files.
In themes and inside Wordpress, you will see code written using Wordpress’ own standard. However, each Strata classes are expected to meet PSR2 coding guidelines.
You can run the
psr2format to go through each of the files under
test/ and fix PSR2 formatting errors. This script will modify your files, but should not have a destructive behavior. For additional information on how the formatting is done, you may wish to read on Phpcbf.