Passed
Pull Request — master (#2)
by Elminson
01:35
created

generate.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: elminsondeoleobaez
5
 * Date: 10/3/18
6
 * Time: 5:52 PM
7
 */
8
9
//@todo json file? with data for composer and classes
10
//@todo form data,
11
//@todo Developer_name, Project_name, phpunit? (checkbox),
12
//@todo Create folders (src, tests)
13
//@todo Create MainClass => src (add autoload.php)
14
//@todo Create composer.json file
15
//@todo Create Test Cases class
16
//@todo Create Readme.md file
17
//@todo Zip content
18
19
namespace Elminson\PHPProjectGen;
20
21
require __DIR__ . '/vendor/autoload.php';
22
23
$gen = new PHPProjectGen();
0 ignored issues
show
The type Elminson\PHPProjectGen\PHPProjectGen was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
24
$gen->GenerateProject();