PHP Classes

File: myersinspector.php

Recommend this page to a friend!
  Classes of DeGraciaMathieu   PHP Myers Cyclomatic Complexity Inspector   myersinspector.php   Download  
File: myersinspector.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Myers Cyclomatic Complexity Inspector
Evaluate PHP code complexity using Myers extension
Author: By
Last change:
Date: 3 years ago
Size: 318 bytes
 

Contents

Class file image Download
<?php

require __DIR__ . '/vendor/autoload.php';

use
Symfony\Component\Console\Application;
use
DeGraciaMathieu\MyersInspector\Commands\InspectCommand;

$application = new Application();

$command = $application->add(new InspectCommand());

$application->setDefaultCommand($command->getName());

$application->run();