Skip to content

Commit

Permalink
Merge pull request #15 from lunetics/fix_deprecation
Browse files Browse the repository at this point in the history
Chang Test to ignore deprecated messages
  • Loading branch information
lunetics committed Jan 2, 2015
2 parents af4d79e + faf2007 commit 64d2aee
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm
- env: SYMFONY_VERSION=dev-master

env:
- SYMFONY_VERSION=2.2.*
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*@dev
- SYMFONY_VERSION=2.5.*
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=dev-master

cache:
Expand Down
4 changes: 4 additions & 0 deletions Tests/TimezoneProvider/TimezoneProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
*/
class TimezoneProvidertTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
\PHPUnit_Framework_Error_Deprecated::$enabled = FALSE;
}

public function testDefaultTimezone()
{
Expand Down
1 change: 1 addition & 0 deletions Tests/Validator/TimezoneValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class TimezoneValidatorTest extends \PHPUnit_Framework_TestCase
*/
public function setUp()
{
\PHPUnit_Framework_Error_Deprecated::$enabled = FALSE;
$this->context = $this->getContext();
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"minimum-stability": "dev",
"require": {
"php": ">=5.3.3",
"symfony/framework-bundle": "~2.2",
"symfony/framework-bundle": ">=2.2",
"symfony/yaml": "~2.1",
"symfony/validator": "~2.1"
},
Expand Down

0 comments on commit 64d2aee

Please sign in to comment.