Completed
Push — 2.x ( 4b5c50...f85588 )
by Delete
06:18 queued 02:55
created
src/Source/FileAbstract.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     {
31 31
         if (!is_string($file)) {
32 32
             throw new InvalidArgumentException(
33
-                "Invalid type '" . gettype($file) . "' for argument 'file'."
33
+                "Invalid type '".gettype($file)."' for argument 'file'."
34 34
             );
35 35
         }
36 36
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!is_string($file)) {
57 57
             throw new InvalidArgumentException(
58
-                "Invalid type '" . gettype($file) . "' for argument 'file'."
58
+                "Invalid type '".gettype($file)."' for argument 'file'."
59 59
             );
60 60
         }
61 61
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     {
80 80
         if (!is_string($file)) {
81 81
             throw new InvalidArgumentException(
82
-                "Invalid type '" . gettype($file) . "' for argument 'file'."
82
+                "Invalid type '".gettype($file)."' for argument 'file'."
83 83
             );
84 84
         }
85 85
 
Please login to merge, or discard this patch.
src/Source/DataSet.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         if (!is_string($pattern)) {
35 35
             throw new InvalidArgumentException(
36
-                "Invalid type '" . gettype($pattern) . "' for argument 'pattern'."
36
+                "Invalid type '".gettype($pattern)."' for argument 'pattern'."
37 37
             );
38 38
         }
39 39
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         if (!is_string($pattern)) {
59 59
             throw new InvalidArgumentException(
60
-                "Invalid type '" . gettype($pattern) . "' for argument 'pattern'."
60
+                "Invalid type '".gettype($pattern)."' for argument 'pattern'."
61 61
             );
62 62
         }
63 63
 
@@ -100,12 +100,12 @@  discard block
 block discarded – undo
100 100
     {
101 101
         if (!is_string($key)) {
102 102
             throw new InvalidArgumentException(
103
-                "Invalid type '" . gettype($key) . "' for argument 'key'."
103
+                "Invalid type '".gettype($key)."' for argument 'key'."
104 104
             );
105 105
         }
106 106
         if (!is_string($value)) {
107 107
             throw new InvalidArgumentException(
108
-                "Invalid type '" . gettype($value) . "' for argument 'value'."
108
+                "Invalid type '".gettype($value)."' for argument 'value'."
109 109
             );
110 110
         }
111 111
 
Please login to merge, or discard this patch.
src/Source/DownloadAbstract.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         if (!is_string($sourceUri)) {
50 50
             throw new InvalidArgumentException(
51
-                "Invalid type '" . gettype($sourceUri) . "' for argument 'sourceUri'."
51
+                "Invalid type '".gettype($sourceUri)."' for argument 'sourceUri'."
52 52
             );
53 53
         }
54 54
         
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         if (!is_string($sourceUri)) {
98 98
             throw new InvalidArgumentException(
99
-                "Invalid type '" . gettype($sourceUri) . "' for argument 'sourceUri'."
99
+                "Invalid type '".gettype($sourceUri)."' for argument 'sourceUri'."
100 100
             );
101 101
         }
102 102
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             // Check status code
151 151
             if ($response->getStatusCode() !== 200) {
152 152
                 throw new SourceUnavailableException(
153
-                    'HTTP error: ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase(),
153
+                    'HTTP error: '.$response->getStatusCode().' '.$response->getReasonPhrase(),
154 154
                     1459162268
155 155
                 );
156 156
             }
Please login to merge, or discard this patch.
src/Source/SourceFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 self::$sourceClasses = $rememberClasses;
57 57
 
58 58
                 throw new InvalidArgumentException(
59
-                    "A value in the class name array is of type '" . gettype($className) . "'. String expected."
59
+                    "A value in the class name array is of type '".gettype($className)."'. String expected."
60 60
                 );
61 61
             }
62 62
         }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         if (!is_string($className)) {
75 75
             throw new InvalidArgumentException(
76
-                "Invalid type '" . gettype($className) . "' for argument 'className'."
76
+                "Invalid type '".gettype($className)."' for argument 'className'."
77 77
             );
78 78
         }
79 79
 
Please login to merge, or discard this patch.
src/Source/Ini/DataSetsFromContentTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $unprocessedBytes = '';
38 38
         foreach ($this->getContent() as $bytes) {
39
-            $combinedBytes = $unprocessedBytes . $bytes;
39
+            $combinedBytes = $unprocessedBytes.$bytes;
40 40
             $patternStart = strpos($combinedBytes, '[');
41 41
             if ($patternStart !== false) {
42 42
                 while (($nextPatternStart = strpos($combinedBytes, '[', $patternStart + 1)) !== false) {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         if (!is_string($data)) {
67 67
             throw new InvalidArgumentException(
68
-                "Invalid type '" . gettype($data) . "' for argument 'data'."
68
+                "Invalid type '".gettype($data)."' for argument 'data'."
69 69
             );
70 70
         }
71 71
 
Please login to merge, or discard this patch.
src/Source/Ini/BrowscapOrg.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     {
43 43
         if (!is_int($type)) {
44 44
             throw new InvalidArgumentException(
45
-                "Invalid type '" . gettype($type) . "' for argument 'type'."
45
+                "Invalid type '".gettype($type)."' for argument 'type'."
46 46
             );
47 47
         }
48 48
         
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function getReleaseTime()
60 60
     {
61
-        $stream = $this->loadContent(self::BASE_URI . '/version');
61
+        $stream = $this->loadContent(self::BASE_URI.'/version');
62 62
 
63 63
         if (!$stream->isReadable()) {
64 64
             throw new SourceUnavailableException('Source stream is not readable.', 1459162265);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function getVersion()
77 77
     {
78
-        $stream = $this->loadContent(self::BASE_URI . '/version-number');
78
+        $stream = $this->loadContent(self::BASE_URI.'/version-number');
79 79
 
80 80
         if (!$stream->isReadable()) {
81 81
             throw new SourceUnavailableException('Source stream is not readable.', 1459162266);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     {
95 95
         if (!is_int($type)) {
96 96
             throw new InvalidArgumentException(
97
-                "Invalid type '" . gettype($type) . "' for argument 'type'."
97
+                "Invalid type '".gettype($type)."' for argument 'type'."
98 98
             );
99 99
         }
100 100
         
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         }
114 114
 
115 115
         $this->type = $type;
116
-        $this->setSourceUri(self::BASE_URI . '/stream?q=' . $sourceType);
116
+        $this->setSourceUri(self::BASE_URI.'/stream?q='.$sourceType);
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
src/Source/Ini/GetRegExpForPatternTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         if (!is_string($pattern)) {
24 24
             throw new InvalidArgumentException(
25
-                "Invalid type '" . gettype($pattern) . "' for argument 'pattern'."
25
+                "Invalid type '".gettype($pattern)."' for argument 'pattern'."
26 26
             );
27 27
         }
28 28
 
@@ -30,6 +30,6 @@  discard block
 block discarded – undo
30 30
         $patternReplaced = preg_quote($patternReplaced, '/');
31 31
         $patternReplaced = str_replace(["\nA\n", "\nQ\n"], ['.*', '.'], $patternReplaced);
32 32
 
33
-        return '/^' . $patternReplaced . '$/';
33
+        return '/^'.$patternReplaced.'$/';
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Parser/Sqlite/DataDirectoryTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         if (!is_string($dataDirectory)) {
36 36
             throw new InvalidArgumentException(
37
-                "Invalid type '" . gettype($dataDirectory) . "' for argument 'dataDirectory'."
37
+                "Invalid type '".gettype($dataDirectory)."' for argument 'dataDirectory'."
38 38
             );
39 39
         }
40 40
 
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
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         if (!is_string($dataVersionHash)) {
36 36
             throw new InvalidArgumentException(
37
-                "Invalid type '" . gettype($dataVersionHash) . "' for argument 'dataVersionHash'."
37
+                "Invalid type '".gettype($dataVersionHash)."' for argument 'dataVersionHash'."
38 38
             );
39 39
         }
40 40
 
Please login to merge, or discard this patch.