File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/PHPCR/Shell/Subscriber Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
- 5.4
5
5
6
6
before_script :
7
+ - echo 'error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
8
+ composer require "symfony/symfony" "2.6.*" --no-update
7
9
- composer install
8
10
- bash tests/bin/travis_jackrabbit.sh
9
11
Original file line number Diff line number Diff line change 6
6
use PHPCR \Shell \Event \PhpcrShellEvents ;
7
7
use PHPCR \Shell \Event \ProfileInitEvent ;
8
8
use Symfony \Component \Console \Helper \DialogHelper ;
9
- use Symfony \Component \Console \Helper \QuestionHelper ;
10
9
use PHPCR \Shell \Config \ProfileLoader ;
11
10
use Symfony \Component \Console \Output \OutputInterface ;
12
11
use PHPCR \Shell \Config \Profile ;
@@ -26,7 +25,7 @@ public static function getSubscribedEvents()
26
25
public function __construct (ProfileLoader $ profileLoader )
27
26
{
28
27
$ this ->profileLoader = $ profileLoader ;
29
- $ this ->dialogHelper = class_exists ( ' Symfony\Component\Console\Helper\QuestionHelper ' ) ? new QuestionHelper : new DialogHelper ;
28
+ $ this ->dialogHelper = new DialogHelper ;
30
29
}
31
30
32
31
public function handleProfileInit (ProfileInitEvent $ e )
Original file line number Diff line number Diff line change 7
7
use PHPCR \Shell \Event \ProfileInitEvent ;
8
8
use Symfony \Component \Console \Helper \DialogHelper ;
9
9
use PHPCR \Shell \Config \ProfileLoader ;
10
- use Symfony \Component \Console \Helper \QuestionHelper ;
11
10
12
11
class ProfileWriterSubscriber implements EventSubscriberInterface
13
12
{
@@ -24,7 +23,7 @@ public static function getSubscribedEvents()
24
23
public function __construct (ProfileLoader $ profileLoader )
25
24
{
26
25
$ this ->profileLoader = $ profileLoader ;
27
- $ this ->dialogHelper = class_exists ( ' Symfony\Component\Console\Helper\QuestionHelper ' ) ? new QuestionHelper : new DialogHelper ;
26
+ $ this ->dialogHelper = new DialogHelper ;
28
27
}
29
28
30
29
public function handleProfileInit (ProfileInitEvent $ e )
You can’t perform that action at this time.
0 commit comments