Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for deprecations during tests + update travis config #70

Merged
merged 1 commit into from Dec 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -13,8 +13,8 @@ php:
env:
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.4.*"
- SYMFONY_VERSION="4.0.*"
- SYMFONY_VERSION="4.1.*"
- SYMFONY_VERSION="4.2.*"
- PHPUNIT_VERSION="6.*"
- PHPUNIT_VERSION="7.*"

Expand Down
4 changes: 3 additions & 1 deletion composer.json
Expand Up @@ -17,8 +17,10 @@
"doctrine/doctrine-bundle": "~1.4"
},
"require-dev": {
"doctrine/common": "~2.10",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

until doctrine/DoctrineBundle#881 is released

"phpunit/phpunit": "~6.0|~7.0",
"symfony/yaml": "~2.7|~3.0|~4.0"
"symfony/yaml": "~2.8|~3.0|~4.0",
"symfony/phpunit-bridge": "~2.8|~3.0|~4.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 5 additions & 2 deletions tests/phpunit.xml
Expand Up @@ -8,11 +8,13 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
syntaxCheck="false"
stderr="true"
bootstrap="./phpunit.bootstrap.php"
>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
</php>

<testsuites>
<testsuite name="DAMADoctrineTestBundle test suite">
<directory>../tests</directory>
Expand All @@ -30,6 +32,7 @@

<listeners>
<listener class="\DAMA\DoctrineTestBundle\PHPUnit\PHPUnitListener" />
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>

</phpunit>