src/Modules/Api/Json.php
Method __invoke
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __invoke(Project $project, OutputInterface $output)
{
if ($project->get('cmd_options.json') !== true) {
return true;
}
Line exceeds 120 characters; contains 121 characters Open
Open
$this->filesystem->dumpFile($project->currentWorkingDirectory.DIRECTORY_SEPARATOR.'db.json', json_encode($json));
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
* Note: This Step should ALWAYS be loaded after the LoadSourceFiles step. This is because it exports $project['files']
- Exclude checks