diff --git a/composer.json b/composer.json index 51df23c..19e258e 100644 --- a/composer.json +++ b/composer.json @@ -33,30 +33,30 @@ "ext-mongodb": "*", "ext-pdo_sqlite": "*", "ext-zip": "*", - "doctrine/common": "^3.4", + "doctrine/common": "^3.4.3", "doctrine/doctrine-bundle": "^2.11.1", - "doctrine/orm": "^2.17.1", + "doctrine/orm": "^2.17.2", "doctrine/persistence": "^3.2.0", "friendsofphp/php-cs-fixer": "^v3.40.0", - "mongodb/mongodb": "^1.12", + "mongodb/mongodb": "^1.17", "ocramius/package-versions": "^2.8", - "phpoffice/phpspreadsheet": "^1.24.1", + "phpoffice/phpspreadsheet": "^1.29.0", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.47", - "phpstan/phpstan-doctrine": "^1.3.53", + "phpstan/phpstan": "^1.10.55", + "phpstan/phpstan-doctrine": "^1.3.54", "phpstan/phpstan-phpunit": "^1.3.15", - "phpstan/phpstan-symfony": "^1.3.5", - "phpunit/phpunit": "^10.5.1", - "ruflin/elastica": "^6.2|^7.2", + "phpstan/phpstan-symfony": "^1.3.6", + "phpunit/phpunit": "^10.5.5", + "ruflin/elastica": "^6.2|^7.3.1", "symfony/browser-kit": "^6.3|^7.0", "symfony/css-selector": "^6.3|^7.0", - "symfony/doctrine-bridge": "^6.3|^7.0", + "symfony/doctrine-bridge": "^6.3|^7.0.2", "symfony/dom-crawler": "^6.3|^7.0", - "symfony/intl": "^6.3|^7.0", + "symfony/intl": "^6.3|^7.0.2", "symfony/mime": "^6.3|^7.0", - "symfony/phpunit-bridge": "^6.3|^7.0", + "symfony/phpunit-bridge": "^6.3|^7.0.2", "symfony/twig-bundle": "^6.3|^7.0", - "symfony/var-dumper": "^6.3|^7.0", + "symfony/var-dumper": "^6.3|^7.0.2", "symfony/yaml": "^6.3|^7.0" }, "suggest": { diff --git a/tests/Fixtures/AppKernel.php b/tests/Fixtures/AppKernel.php index 18c1890..579527f 100644 --- a/tests/Fixtures/AppKernel.php +++ b/tests/Fixtures/AppKernel.php @@ -29,7 +29,7 @@ public function registerBundles(): array new \Symfony\Bundle\TwigBundle\TwigBundle(), new \Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new \Omines\DataTablesBundle\DataTablesBundle(), - new \Tests\Fixtures\AppBundle\AppBundle(), + new AppBundle\AppBundle(), ]; } diff --git a/tests/phpunit-bootstrap.php b/tests/phpunit-bootstrap.php index 8b342c2..7dcbb3f 100644 --- a/tests/phpunit-bootstrap.php +++ b/tests/phpunit-bootstrap.php @@ -37,9 +37,9 @@ $companies[] = $company = new Company('Company ' . $i); $em->persist($company); } -$date = new \DateTime('2017-05-03 12:34:56'); +$date = new DateTime('2017-05-03 12:34:56'); for ($i = 0; 125 !== $i; ++$i) { - $date->sub(new \DateInterval('P3DT5H27M')); + $date->sub(new DateInterval('P3DT5H27M')); $em->persist(new Employee('FirstName' . $i, 'LastName' . $i, $i % 2 ? clone $date : null, $companies[$i % count($companies)])); } $em->flush();