GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#2)
by Bekh-Ivanov
02:58
created
src/StringContainsIgnoringWhiteSpace.php 2 patches
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -6,36 +6,36 @@
 block discarded – undo
6 6
 
7 7
 class StringContainsIgnoringWhiteSpace extends SubstringMatcher
8 8
 {
9
-	/**
10
-	 * Matches if value is a string that contains $substring consider all whitespace as single space
11
-	 */
12
-	public static function containsStringIgnoringWhiteSpace($substring)
13
-	{
14
-		return new self($substring);
15
-	}
9
+    /**
10
+     * Matches if value is a string that contains $substring consider all whitespace as single space
11
+     */
12
+    public static function containsStringIgnoringWhiteSpace($substring)
13
+    {
14
+        return new self($substring);
15
+    }
16 16
 
17
-	/**
18
-	 * @param string $item
19
-	 *
20
-	 * @return bool
21
-	 */
22
-	protected function evalSubstringOf($item)
23
-	{
24
-		return (false !== strpos($this->stripSpace((string) $item), $this->stripSpace($this->_substring)));
25
-	}
17
+    /**
18
+     * @param string $item
19
+     *
20
+     * @return bool
21
+     */
22
+    protected function evalSubstringOf($item)
23
+    {
24
+        return (false !== strpos($this->stripSpace((string) $item), $this->stripSpace($this->_substring)));
25
+    }
26 26
 
27
-	protected function relationship()
28
-	{
29
-		return 'containing ignoring whitespace';
30
-	}
27
+    protected function relationship()
28
+    {
29
+        return 'containing ignoring whitespace';
30
+    }
31 31
 
32
-	/**
33
-	 * @param $string
34
-	 *
35
-	 * @return string
36
-	 */
37
-	private function stripSpace( $string)
38
-	{
39
-		return trim(preg_replace( "/\s+/", ' ', $string));
40
-	}
32
+    /**
33
+     * @param $string
34
+     *
35
+     * @return string
36
+     */
37
+    private function stripSpace( $string)
38
+    {
39
+        return trim(preg_replace( "/\s+/", ' ', $string));
40
+    }
41 41
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	 */
22 22
 	protected function evalSubstringOf($item)
23 23
 	{
24
-		return (false !== strpos($this->stripSpace((string) $item), $this->stripSpace($this->_substring)));
24
+		return (false !== strpos($this->stripSpace((string)$item), $this->stripSpace($this->_substring)));
25 25
 	}
26 26
 
27 27
 	protected function relationship()
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 	 *
35 35
 	 * @return string
36 36
 	 */
37
-	private function stripSpace( $string)
37
+	private function stripSpace($string)
38 38
 	{
39
-		return trim(preg_replace( "/\s+/", ' ', $string));
39
+		return trim(preg_replace("/\s+/", ' ', $string));
40 40
 	}
41 41
 }
Please login to merge, or discard this patch.