aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Tests/Import
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests/Import')
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php2
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php2
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php2
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php b/src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php
index bd62ab3b..b22fcfbc 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php
@@ -25,7 +25,7 @@ class ImportCompilerPassTest extends \PHPUnit_Framework_TestCase
25 25
26 $container 26 $container
27 ->register('foo') 27 ->register('foo')
28 ->addTag('wallabag_import.import', array('alias' => 'pocket')) 28 ->addTag('wallabag_import.import', ['alias' => 'pocket'])
29 ; 29 ;
30 30
31 $this->process($container); 31 $this->process($container);
diff --git a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php
index 43b60ec3..cb171572 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php
@@ -73,7 +73,7 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase
73 ); 73 );
74 74
75 $this->logHandler = new TestHandler(); 75 $this->logHandler = new TestHandler();
76 $logger = new Logger('test', array($this->logHandler)); 76 $logger = new Logger('test', [$this->logHandler]);
77 $pocket->setLogger($logger); 77 $pocket->setLogger($logger);
78 78
79 return $pocket; 79 return $pocket;
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
index 3ef852e5..8c967e1b 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
@@ -30,7 +30,7 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase
30 $wallabag = new WallabagV1Import($this->em, $this->contentProxy); 30 $wallabag = new WallabagV1Import($this->em, $this->contentProxy);
31 31
32 $this->logHandler = new TestHandler(); 32 $this->logHandler = new TestHandler();
33 $logger = new Logger('test', array($this->logHandler)); 33 $logger = new Logger('test', [$this->logHandler]);
34 $wallabag->setLogger($logger); 34 $wallabag->setLogger($logger);
35 35
36 if (false === $unsetUser) { 36 if (false === $unsetUser) {
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
index dbefdee3..b0667c9a 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
@@ -30,7 +30,7 @@ class WallabagV2ImportTest extends \PHPUnit_Framework_TestCase
30 $wallabag = new WallabagV2Import($this->em, $this->contentProxy); 30 $wallabag = new WallabagV2Import($this->em, $this->contentProxy);
31 31
32 $this->logHandler = new TestHandler(); 32 $this->logHandler = new TestHandler();
33 $logger = new Logger('test', array($this->logHandler)); 33 $logger = new Logger('test', [$this->logHandler]);
34 $wallabag->setLogger($logger); 34 $wallabag->setLogger($logger);
35 35
36 if (false === $unsetUser) { 36 if (false === $unsetUser) {