Skip to content

Commit

Permalink
Fix deprecations (#129)
Browse files Browse the repository at this point in the history
* removed unused symfony/templating

* set lowest version of persistence to 1.3.4

* added missing SymfonyTestListener

* raise minimum version of doctrine/orm to 2.6.3

* set phpunit schema location to installed package
  • Loading branch information
freezy-sk committed Feb 24, 2020
1 parent 4a1cd57 commit f788225
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions composer.json
Expand Up @@ -30,8 +30,8 @@
"ext-pdo_sqlite": "*",
"doctrine/common": "^2.6",
"doctrine/doctrine-bundle": "^2.0",
"doctrine/orm": "^2.5",
"doctrine/persistence": "^1.3",
"doctrine/orm": "^2.6.3",
"doctrine/persistence": "^1.3.4",
"friendsofphp/php-cs-fixer": "^2.7",
"mongodb/mongodb": "^1.2",
"phpunit/phpunit": "^7.5",
Expand All @@ -40,7 +40,6 @@
"symfony/css-selector": "^4.1|^5.0",
"symfony/dom-crawler": "^4.1|^5.0",
"symfony/phpunit-bridge": "^4.1|^5.0",
"symfony/templating": "^4.1|^5.0",
"symfony/twig-bundle": "^4.1|^5.0",
"symfony/var-dumper": "^4.1|^5.0",
"symfony/yaml": "^4.1|^5.0"
Expand Down
6 changes: 5 additions & 1 deletion phpunit.xml.dist
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/phpunit-bootstrap.php">
Expand Down Expand Up @@ -29,4 +29,8 @@
<directory>./src/</directory>
</whitelist>
</filter>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>

0 comments on commit f788225

Please sign in to comment.