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.
Completed
Pull Request — master (#6)
by
unknown
05:04
created
src/TwigGravatar.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
 	/**
19 19
 	 * {@inheritdoc}
20 20
 	 */
21
-	public function getFilters(){
21
+	public function getFilters() {
22 22
 		return array(
23
-			$this->filterPrefix.'Avatar'  => new \Twig_SimpleFilter('grAvatar', array($this,'avatar'), $this->filterOptions),
24
-			$this->filterPrefix.'Https'   => new \Twig_SimpleFilter('grHttps', array($this,'https'), $this->filterOptions),
25
-			$this->filterPrefix.'Size'    => new \Twig_SimpleFilter('grSize', array($this,'size'), $this->filterOptions),
26
-			$this->filterPrefix.'Default' => new \Twig_SimpleFilter('grDefault', array($this,'def'), $this->filterOptions),
27
-			$this->filterPrefix.'Rating'  => new \Twig_SimpleFilter('grRating', array($this,'rating'), $this->filterOptions),
23
+			$this->filterPrefix.'Avatar'  => new \Twig_SimpleFilter('grAvatar', array($this, 'avatar'), $this->filterOptions),
24
+			$this->filterPrefix.'Https'   => new \Twig_SimpleFilter('grHttps', array($this, 'https'), $this->filterOptions),
25
+			$this->filterPrefix.'Size'    => new \Twig_SimpleFilter('grSize', array($this, 'size'), $this->filterOptions),
26
+			$this->filterPrefix.'Default' => new \Twig_SimpleFilter('grDefault', array($this, 'def'), $this->filterOptions),
27
+			$this->filterPrefix.'Rating'  => new \Twig_SimpleFilter('grRating', array($this, 'rating'), $this->filterOptions),
28 28
 		);
29 29
 	}
30 30
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 */
37 37
 	public function avatar($email) {
38 38
 		if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
39
-			return $this->baseUrl . "avatar/" . $this->generateHash($email);
39
+			return $this->baseUrl."avatar/".$this->generateHash($email);
40 40
 		} else {
41 41
 			throw new InvalidArgumentException("The avatar filter must be passed a valid Email address");
42 42
 		}
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 */
137 137
 	private function query($string, array $addition) {
138 138
 		foreach ($addition as $name => $value) {
139
-			$string .= (strpos($string, "?") === FALSE ? "?" : "&") . $name . "=" . $value;
139
+			$string .= (strpos($string, "?") === FALSE ? "?" : "&").$name."=".$value;
140 140
 		}
141 141
 		return $string;
142 142
 	}
Please login to merge, or discard this patch.