Skip to content

Commit 5c3bb6a

Browse files
committed
Fixed travis?
1 parent 3d24de1 commit 5c3bb6a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 5.4
55

66
before_script:
7+
- echo 'error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
78
- composer install
89
- bash tests/bin/travis_jackrabbit.sh
910

src/PHPCR/Shell/Subscriber/ProfileLoaderSubscriber.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use PHPCR\Shell\Event\PhpcrShellEvents;
77
use PHPCR\Shell\Event\ProfileInitEvent;
88
use Symfony\Component\Console\Helper\DialogHelper;
9-
use Symfony\Component\Console\Helper\QuestionHelper;
109
use PHPCR\Shell\Config\ProfileLoader;
1110
use Symfony\Component\Console\Output\OutputInterface;
1211
use PHPCR\Shell\Config\Profile;
@@ -26,7 +25,7 @@ public static function getSubscribedEvents()
2625
public function __construct(ProfileLoader $profileLoader)
2726
{
2827
$this->profileLoader = $profileLoader;
29-
$this->dialogHelper = class_exists('Symfony\Component\Console\Helper\QuestionHelper') ? new QuestionHelper : new DialogHelper;
28+
$this->dialogHelper = new DialogHelper;
3029
}
3130

3231
public function handleProfileInit(ProfileInitEvent $e)

src/PHPCR/Shell/Subscriber/ProfileWriterSubscriber.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use PHPCR\Shell\Event\ProfileInitEvent;
88
use Symfony\Component\Console\Helper\DialogHelper;
99
use PHPCR\Shell\Config\ProfileLoader;
10-
use Symfony\Component\Console\Helper\QuestionHelper;
1110

1211
class ProfileWriterSubscriber implements EventSubscriberInterface
1312
{
@@ -24,7 +23,7 @@ public static function getSubscribedEvents()
2423
public function __construct(ProfileLoader $profileLoader)
2524
{
2625
$this->profileLoader = $profileLoader;
27-
$this->dialogHelper = class_exists('Symfony\Component\Console\Helper\QuestionHelper') ? new QuestionHelper : new DialogHelper;
26+
$this->dialogHelper = new DialogHelper;
2827
}
2928

3029
public function handleProfileInit(ProfileInitEvent $e)

0 commit comments

Comments
 (0)