Test Setup Failed
Branch master (933cc6)
by Delete
04:42
created
src/Parser/Sqlite/Parser.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return mixed
74
+     * @return SourceInterface
75 75
      * @throws InvalidArgumentException
76 76
      * @throws UnexpectedValueException
77 77
      */
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param $directory
131
+     * @param string $directory
132 132
      * @param bool $create
133 133
      *
134 134
      * @throws ParserConfigurationException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite;
5 5
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Writer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@
 block discarded – undo
342 342
     /**
343 343
      * @param array $properties
344 344
      *
345
-     * @return int|null
345
+     * @return string|null
346 346
      * @throws ParserRuntimeException
347 347
      */
348 348
     protected function getParentPatternId(array &$properties)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite;
5 5
 
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
         asort($keywords);
465 465
 
466 466
         $keywordId = 1;
467
-        foreach($keywords as $keywordValue => $keywordCount) {
467
+        foreach ($keywords as $keywordValue => $keywordCount) {
468 468
             // Do NOT use "CREATE TABLE ... AS" here, because this would automatically add an extra id column,
469 469
             // which requires additional space
470 470
             $adapter->exec(
Please login to merge, or discard this patch.
src/Parser/ParserInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser;
5 5
 
Please login to merge, or discard this patch.
src/Parser/WriterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser;
5 5
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/DataVersionHashTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite;
5 5
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Reader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite;
5 5
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     protected function getDatabasePath() : string
91 91
     {
92
-        $databasePath =  $this->getDataDirectory() . DIRECTORY_SEPARATOR . $this->getDatabaseFileName();
92
+        $databasePath = $this->getDataDirectory() . DIRECTORY_SEPARATOR . $this->getDatabaseFileName();
93 93
 
94 94
         if (!$this->isFileReadable($databasePath)) {
95 95
             if (!file_exists($databasePath)) {
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/PdoPreparedStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite\Adapter;
5 5
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/Sqlite3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite\Adapter;
5 5
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/AdapterAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Crossjoin\Browscap\Parser\Sqlite\Adapter;
5 5
 
Please login to merge, or discard this patch.