1 | <?php |
||||
2 | use Doctrine\ORM\Tools\Console\ConsoleRunner; |
||||
3 | use Pz\Doctrine\Rest\Tests\TestCase; |
||||
0 ignored issues
–
show
|
|||||
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
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
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. ![]() |
|||||
11 | |||||
12 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths