Skip to content

Commit

Permalink
SUPPORT-86536 - fixed mr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Gaidoba committed Nov 30, 2023
1 parent 577761f commit c915430
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
11 changes: 4 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,14 @@
"doctrine/annotations": "^v1.14"
},
"require-dev": {
"phpunit/phpunit": "^6.5 || ^9.0",
"mockery/mockery": "^1.2.4",
"phpunit/phpunit": "^7.5 || ^9.5",
"mockery/mockery": "^1.3.6",
"symfony/yaml": "^3.4.34|^4.3|^5.4|^6.0",
"doctrine/doctrine-bundle": "^1.12.0|^2.1",
"doctrine/orm": "~2.5.14|^2.6.3"
"doctrine/orm": "^2.5.14"
},
"config": {
"bin-dir": "bin",
"allow-plugins": {
"ocramius/package-versions": false
}
"bin-dir": "bin"
},
"scripts": {
"phpunit": "phpunit",
Expand Down
16 changes: 5 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "true"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
bootstrap = "tests/bootstrap.php" >
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
convertDeprecationsToExceptions="false"
colors="true">

<testsuites>
<testsuite name="Project Test Suite">
Expand Down
5 changes: 1 addition & 4 deletions tests/Functional/FunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ protected function tearDown(): void
{
$container = $this->kernel->getContainer();
$this->kernel->shutdown();
if (
$container instanceof ResettableContainerInterface
|| $container instanceof ResetInterface
) {
if ($container instanceof ResettableContainerInterface || $container instanceof ResetInterface) {
$container->reset();
}

Expand Down

0 comments on commit c915430

Please sign in to comment.