Test Failed
Pull Request — master (#11)
by
unknown
16:45 queued 43s
created

cli-config.php (1 issue)

Severity
1
<?php
2
use Doctrine\ORM\Tools\Console\ConsoleRunner;
3
use Pz\Doctrine\Rest\Tests\TestCase;
4
5
// replace with file to your own project bootstrap
6
require_once __DIR__.'/vendor/autoload.php';
7
8
// replace with mechanism to retrieve EntityManager in your app
9
$entityManager = TestCase::generateEntityManager();
10
return ConsoleRunner::createHelperSet($entityManager);
0 ignored issues
show
Deprecated Code introduced by
The function Doctrine\ORM\Tools\Conso...nner::createHelperSet() has been deprecated: This method will be removed in ORM 3.0 without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

10
return /** @scrutinizer ignore-deprecated */ ConsoleRunner::createHelperSet($entityManager);

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
11
12