Completed
Push — 2.x ( e8c973...045301 )
by Delete
08:30 queued 05:38
created
src/Parser/Sqlite/Parser.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 {
25 25
     use PropertyFilterTrait;
26 26
 
27
-    const SUB_DIRECTORY = 'browscap' . DIRECTORY_SEPARATOR . 'sqlite';
27
+    const SUB_DIRECTORY = 'browscap'.DIRECTORY_SEPARATOR.'sqlite';
28 28
     const LINK_FILENAME = 'browscap.link';
29 29
 
30 30
     /**
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         if (!is_string($dataDirectory) && $dataDirectory !== null) {
67 67
             throw new InvalidArgumentException(
68
-                "Invalid type '" . gettype($dataDirectory) . "' for argument 'dataDirectory'."
68
+                "Invalid type '".gettype($dataDirectory)."' for argument 'dataDirectory'."
69 69
             );
70 70
         }
71 71
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         if (!is_string($directory)) {
125 125
             throw new InvalidArgumentException(
126
-                "Invalid type '" . gettype($directory) . "' for argument 'directory'."
126
+                "Invalid type '".gettype($directory)."' for argument 'directory'."
127 127
             );
128 128
         }
129 129
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $this->checkDirectory($directory, false);
134 134
 
135 135
         // Check/create sub directory
136
-        $directory = $directory . DIRECTORY_SEPARATOR . self::SUB_DIRECTORY;
136
+        $directory = $directory.DIRECTORY_SEPARATOR.self::SUB_DIRECTORY;
137 137
         $this->checkDirectory($directory, true);
138 138
 
139 139
         $this->dataDirectory = $directory;
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     {
175 175
         if (!is_string($directory)) {
176 176
             throw new InvalidArgumentException(
177
-                "Invalid type '" . gettype($directory) . "' for argument 'directory'."
177
+                "Invalid type '".gettype($directory)."' for argument 'directory'."
178 178
             );
179 179
         }
180 180
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     {
192 192
         if (!is_string($directory)) {
193 193
             throw new InvalidArgumentException(
194
-                "Invalid type '" . gettype($directory) . "' for argument 'directory'."
194
+                "Invalid type '".gettype($directory)."' for argument 'directory'."
195 195
             );
196 196
         }
197 197
 
@@ -231,9 +231,9 @@  discard block
 block discarded – undo
231 231
         sort($properties);
232 232
         
233 233
         return sha1(
234
-            static::class . '|' .
235
-            static::VERSION . '|' .
236
-            get_class($filter) . '|' .
234
+            static::class.'|'.
235
+            static::VERSION.'|'.
236
+            get_class($filter).'|'.
237 237
             implode(',', $properties)
238 238
         );
239 239
     }
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/Sqlite3.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 $this->connection = new \SQLite3($this->getFileName());
57 57
             } catch (\Exception $e) {
58 58
                 throw new ParserConfigurationException(
59
-                    "Could not connect to database '" . $this->getFileName() . "'.", 0, $e
59
+                    "Could not connect to database '".$this->getFileName()."'.", 0, $e
60 60
                 );
61 61
             }
62 62
         }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         if (!is_string($statement)) {
111 111
             throw new InvalidArgumentException(
112
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
112
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
113 113
             );
114 114
         }
115 115
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     {
139 139
         if (!is_string($statement)) {
140 140
             throw new InvalidArgumentException(
141
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
141
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
142 142
             );
143 143
         }
144 144
         
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     {
163 163
         if (!is_string($statement)) {
164 164
             throw new InvalidArgumentException(
165
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
165
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
166 166
             );
167 167
         }
168 168
         
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
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         if (!is_string($fileName)) {
48 48
             throw new InvalidArgumentException(
49
-                "Invalid type '" . gettype($fileName) . "' for argument 'fileName'."
49
+                "Invalid type '".gettype($fileName)."' for argument 'fileName'."
50 50
             );
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/AdapterFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     {
35 35
         if (!is_string($fileName)) {
36 36
             throw new InvalidArgumentException(
37
-                "Invalid type '" . gettype($fileName) . "' for argument 'fileName'."
37
+                "Invalid type '".gettype($fileName)."' for argument 'fileName'."
38 38
             );
39 39
         }
40 40
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 self::$adapterClasses = $rememberClasses;
69 69
 
70 70
                 throw new InvalidArgumentException(
71
-                    "A value in the class name array is of type '" . gettype($className) . "'. String expected."
71
+                    "A value in the class name array is of type '".gettype($className)."'. String expected."
72 72
                 );
73 73
             }
74 74
         }
@@ -86,12 +86,12 @@  discard block
 block discarded – undo
86 86
     {
87 87
         if (!is_string($className)) {
88 88
             throw new InvalidArgumentException(
89
-                "Invalid type '" . gettype($className) . "' for argument 'className'."
89
+                "Invalid type '".gettype($className)."' for argument 'className'."
90 90
             );
91 91
         }
92 92
         if (!is_string($fileName)) {
93 93
             throw new InvalidArgumentException(
94
-                "Invalid type '" . gettype($fileName) . "' for argument 'fileName'."
94
+                "Invalid type '".gettype($fileName)."' for argument 'fileName'."
95 95
             );
96 96
         }
97 97
 
Please login to merge, or discard this patch.
src/Parser/Sqlite/Adapter/Pdo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
     {
54 54
         if ($this->connection === null) {
55 55
             try {
56
-                $this->connection = new \PDO('sqlite:' . $this->getFileName());
56
+                $this->connection = new \PDO('sqlite:'.$this->getFileName());
57 57
                 $this->connection->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
58 58
             } catch (\PDOException $e) {
59 59
                 throw new ParserConfigurationException(
60
-                    "Could not connect to database '" . $this->getFileName() . "'.", 0, $e
60
+                    "Could not connect to database '".$this->getFileName()."'.", 0, $e
61 61
                 );
62 62
             }
63 63
         }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         if (!is_string($statement)) {
108 108
             throw new InvalidArgumentException(
109
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
109
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
110 110
             );
111 111
         }
112 112
         
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     {
129 129
         if (!is_string($statement)) {
130 130
             throw new InvalidArgumentException(
131
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
131
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
132 132
             );
133 133
         }
134 134
         
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     {
152 152
         if (!is_string($statement)) {
153 153
             throw new InvalidArgumentException(
154
-                "Invalid type '" . gettype($statement) . "' for argument 'statement'."
154
+                "Invalid type '".gettype($statement)."' for argument 'statement'."
155 155
             );
156 156
         }
157 157
         
Please login to merge, or discard this patch.
src/Formatter/Optimized.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         if (!is_bool($returnArray)) {
25 25
             throw new InvalidArgumentException(
26
-                "Invalid type '" . gettype($returnArray) . "' for argument 'returnArray'."
26
+                "Invalid type '".gettype($returnArray)."' for argument 'returnArray'."
27 27
             );
28 28
         }
29 29
         
Please login to merge, or discard this patch.
src/Formatter/Formatter.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     {
43 43
         if (!is_int($options)) {
44 44
             throw new InvalidArgumentException(
45
-                "Invalid type '" . gettype($options) . "' for argument 'options'."
45
+                "Invalid type '".gettype($options)."' for argument 'options'."
46 46
             );
47 47
         }
48 48
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         if (!is_int($options)) {
68 68
             throw new InvalidArgumentException(
69
-                "Invalid type '" . gettype($options) . "' for argument 'options'."
69
+                "Invalid type '".gettype($options)."' for argument 'options'."
70 70
             );
71 71
         }
72 72
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         if (!is_string($key)) {
111 111
             throw new InvalidArgumentException(
112
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
112
+                "Invalid type '".gettype($key)."' for argument 'key'."
113 113
             );
114 114
         }
115 115
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     {
135 135
         if (!is_string($key)) {
136 136
             throw new InvalidArgumentException(
137
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
137
+                "Invalid type '".gettype($key)."' for argument 'key'."
138 138
             );
139 139
         }
140 140
         
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     {
179 179
         if (!is_string($key)) {
180 180
             throw new InvalidArgumentException(
181
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
181
+                "Invalid type '".gettype($key)."' for argument 'key'."
182 182
             );
183 183
         }
184 184
 
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     {
218 218
         if (!is_string($key)) {
219 219
             throw new InvalidArgumentException(
220
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
220
+                "Invalid type '".gettype($key)."' for argument 'key'."
221 221
             );
222 222
         }
223 223
         
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     {
245 245
         if (!is_string($key)) {
246 246
             throw new InvalidArgumentException(
247
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
247
+                "Invalid type '".gettype($key)."' for argument 'key'."
248 248
             );
249 249
         }
250 250
         
Please login to merge, or discard this patch.
src/PropertyFilter/PropertyAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         if (!is_string($property)) {
66 66
             throw new InvalidArgumentException(
67
-                "Invalid type '" . gettype($property) . "' for argument 'property'."
67
+                "Invalid type '".gettype($property)."' for argument 'property'."
68 68
             );
69 69
         }
70 70
 
Please login to merge, or discard this patch.
src/Command/Update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
                 'ini-load',
59 59
                 null,
60 60
                 InputOption::VALUE_OPTIONAL,
61
-                'Will download the parser data (of the given type - "lite", "full" or "standard") for the update. ' .
61
+                'Will download the parser data (of the given type - "lite", "full" or "standard") for the update. '.
62 62
                 'If no type set, the "standard" type is used.'
63 63
             )
64 64
             ->addOption(
Please login to merge, or discard this patch.