diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-07 00:27:41 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-07 00:27:41 +0100 |
commit | 164d260c498a74b6b97a17dd63f9dd6088702ebc (patch) | |
tree | 84724eea1cef0c6d44afbb850d939367921a230c | |
parent | b2a903feefe6148e1147c599307722164f7497ac (diff) | |
download | wallabag-164d260c498a74b6b97a17dd63f9dd6088702ebc.tar.gz wallabag-164d260c498a74b6b97a17dd63f9dd6088702ebc.tar.zst wallabag-164d260c498a74b6b97a17dd63f9dd6088702ebc.zip |
CS
Also force SYMFONY_DEPRECATIONS_HELPER for travis
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index d5355820..df3a5c72 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -51,7 +51,7 @@ before_script: | |||
51 | 51 | ||
52 | script: | 52 | script: |
53 | - ant prepare-$DB | 53 | - ant prepare-$DB |
54 | - bin/phpunit --exclude-group command-doctrine -v | 54 | - SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit --exclude-group command-doctrine -v |
55 | 55 | ||
56 | # after_script: | 56 | # after_script: |
57 | # - | | 57 | # - | |
diff --git a/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php b/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php index 489f39d1..23e98042 100644 --- a/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php +++ b/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php | |||
@@ -18,8 +18,8 @@ class DetectActiveTheme implements DeviceDetectionInterface | |||
18 | protected $defaultTheme; | 18 | protected $defaultTheme; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * @param TokenStorageInterface $tokenStorage Needed to retrieve the current user | 21 | * @param TokenStorageInterface $tokenStorage Needed to retrieve the current user |
22 | * @param string $defaultTheme Default theme when user isn't logged in | 22 | * @param string $defaultTheme Default theme when user isn't logged in |
23 | */ | 23 | */ |
24 | public function __construct(TokenStorageInterface $tokenStorage, $defaultTheme) | 24 | public function __construct(TokenStorageInterface $tokenStorage, $defaultTheme) |
25 | { | 25 | { |