Completed
Push — 2.x ( 9d251f...2923cc )
by Delete
03:57
created
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/PhpGetBrowser.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/Disallowed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         if (!is_string($property)) {
23 23
             throw new InvalidArgumentException(
24
-                "Invalid type '" . gettype($property) . "' for argument 'property'."
24
+                "Invalid type '".gettype($property)."' for argument 'property'."
25 25
             );
26 26
         }
27 27
 
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.
src/Browscap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         if (!is_int($autoUpdateProbability)) {
109 109
             throw new InvalidArgumentException(
110
-                "Invalid type '" . gettype($autoUpdateProbability) . "' for argument 'autoUpdateProbability'."
110
+                "Invalid type '".gettype($autoUpdateProbability)."' for argument 'autoUpdateProbability'."
111 111
             );
112 112
         }
113 113
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     {
129 129
         if (!is_string($userAgent) && $userAgent !== null) {
130 130
             throw new InvalidArgumentException(
131
-                "Invalid type '" . gettype($userAgent) . "' for argument 'userAgent'."
131
+                "Invalid type '".gettype($userAgent)."' for argument 'userAgent'."
132 132
             );
133 133
         }
134 134
         
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     {
178 178
         if (!is_bool($forceUpdate)) {
179 179
             throw new InvalidArgumentException(
180
-                "Invalid type '" . gettype($forceUpdate) . "' for argument 'forceUpdate'."
180
+                "Invalid type '".gettype($forceUpdate)."' for argument 'forceUpdate'."
181 181
             );
182 182
         }
183 183
         
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
             $reader = $parser->getReader(true);
205 205
             if ($reader->isUpdateRequired() === true) {
206 206
                 throw new ParserRuntimeException(
207
-                    'There is something wrong with the parser. The data have been re-generated without errors, ' .
207
+                    'There is something wrong with the parser. The data have been re-generated without errors, '.
208 208
                     'but the reader still requires an update of the data...'
209 209
                 );
210 210
             }
@@ -228,12 +228,12 @@  discard block
 block discarded – undo
228 228
     {
229 229
         if (!is_string($userAgent)) {
230 230
             throw new InvalidArgumentException(
231
-                "Invalid type '" . gettype($userAgent) . "' for argument 'userAgent'."
231
+                "Invalid type '".gettype($userAgent)."' for argument 'userAgent'."
232 232
             );
233 233
         }
234 234
         if (!is_bool($returnArray)) {
235 235
             throw new InvalidArgumentException(
236
-                "Invalid type '" . gettype($returnArray) . "' for argument 'returnArray'."
236
+                "Invalid type '".gettype($returnArray)."' for argument 'returnArray'."
237 237
             );
238 238
         }
239 239
 
Please login to merge, or discard this patch.