Also force SYMFONY_DEPRECATIONS_HELPER for travis
This commit is contained in:
Jeremy Benoist 2015-11-07 00:27:41 +01:00
parent b2a903feef
commit 164d260c49
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ before_script:
script:
- ant prepare-$DB
- bin/phpunit --exclude-group command-doctrine -v
- SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit --exclude-group command-doctrine -v
# after_script:
# - |

View file

@ -18,8 +18,8 @@ class DetectActiveTheme implements DeviceDetectionInterface
protected $defaultTheme;
/**
* @param TokenStorageInterface $tokenStorage Needed to retrieve the current user
* @param string $defaultTheme Default theme when user isn't logged in
* @param TokenStorageInterface $tokenStorage Needed to retrieve the current user
* @param string $defaultTheme Default theme when user isn't logged in
*/
public function __construct(TokenStorageInterface $tokenStorage, $defaultTheme)
{