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
Branch master (7facc0)
by Marius
05:22
created
lib/application/sitemaps/ContentTypeMappingInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -2,11 +2,24 @@
 block discarded – undo
2 2
 namespace vsc\application\sitemaps;
3 3
 
4 4
 interface ContentTypeMappingInterface {
5
+
6
+	/**
7
+	 * @return boolean|null
8
+	 */
5 9
 	public function setMainTemplatePath($sPath);
6 10
 
11
+	/**
12
+	 * @return string
13
+	 */
7 14
 	public function getMainTemplatePath();
8 15
 
16
+	/**
17
+	 * @return void
18
+	 */
9 19
 	public function setMainTemplate($sPath);
10 20
 
21
+	/**
22
+	 * @return string
23
+	 */
11 24
 	public function getMainTemplate();
12 25
 }
Please login to merge, or discard this patch.
lib/application/sitemaps/ControllerMapTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@
 block discarded – undo
96 96
 		}
97 97
 	}
98 98
 
99
+	/**
100
+	 * @return string
101
+	 */
99 102
 	public function getViewPath() {
100 103
 		return $this->sViewPath;
101 104
 	}
Please login to merge, or discard this patch.
lib/application/sitemaps/MappingA.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 
158 158
 	/**
159 159
 	 * @param string $sPath
160
-	 * @return bool
160
+	 * @return boolean|null
161 161
 	 * @throws ExceptionSitemap
162 162
 	 */
163 163
 	public function setTemplatePath($sPath) {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package application
4
- * @subpackage sitemaps
5
- * @author marius orcisk <[email protected]>
6
- * @date 09.11.29
7
- */
3
+	 * @package application
4
+	 * @subpackage sitemaps
5
+	 * @author marius orcisk <[email protected]>
6
+	 * @date 09.11.29
7
+	 */
8 8
 namespace vsc\application\sitemaps;
9 9
 
10 10
 use vsc\application\controllers\ExceptionController;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -500,8 +500,7 @@
 block discarded – undo
500 500
 	 * @param \vsc\infrastructure\Object $mappedObject
501 501
 	 * @return boolean
502 502
 	 */
503
-	public function maps(Object $mappedObject)
504
-	{
503
+	public function maps(Object $mappedObject) {
505 504
 		return (bool)stristr(get_class($mappedObject), substr(basename($this->getPath()), 0, -4));
506 505
 	}
507 506
 
Please login to merge, or discard this patch.
lib/application/sitemaps/SiteMapA.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 	}
178 178
 
179 179
 	/**
180
-	 * @return MappingA|null
180
+	 * @return MappingA
181 181
 	 */
182 182
 	public function getParentModuleMap() {
183 183
 		if (MappingA::isValid($this->oCurrentModuleMap)) {
Please login to merge, or discard this patch.
lib/domain/models/CacheableModelA.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -10,5 +10,9 @@
 block discarded – undo
10 10
 use vsc\infrastructure\caching\CacheableInterface;
11 11
 
12 12
 abstract class CacheableModelA extends ModelA implements CacheableInterface {
13
+
14
+	/**
15
+	 * @return string|null
16
+	 */
13 17
 	abstract public function getLastModified();
14 18
 }
Please login to merge, or discard this patch.
lib/infrastructure/urls/UrlParserA.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@  discard block
 block discarded – undo
137 137
 		return self::getTldOf($sSubDomains);
138 138
 	}
139 139
 
140
+	/**
141
+	 * @param string $sHost
142
+	 */
140 143
 	public static function getTldOf($sHost) {
141 144
 		if (ip2long($sHost) > 0 || empty($sHost)) { return false; }
142 145
 
@@ -191,7 +194,7 @@  discard block
 block discarded – undo
191 194
 	}
192 195
 
193 196
 	/**
194
-	 * @return Url
197
+	 * @return string
195 198
 	 */
196 199
 	static public function getSiteUri() {
197 200
 		return static::url(static::getRequestUri())->getHost();
Please login to merge, or discard this patch.
Switch Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -263,22 +263,22 @@
 block discarded – undo
263 263
 		$iCnt = 0;
264 264
 		foreach ($aPath as $iKey => $sFolder) {
265 265
 			switch ($sFolder) {
266
-				case '..':
267
-					$iCnt++;
268
-
269
-					unset ($aPath[$iKey]);
270
-					if (array_key_exists($iKey - 1, $aPath)) {
271
-						$iPrevKey = $iKey - 1;
272
-					} else {
273
-						$sPrev = prev($aPath);
274
-						$iPrevKey = array_search($sPrev, $aPath);
275
-					}
276
-					unset ($aPath[$iPrevKey]);
277
-					break;
278
-				case '.':
279
-				case '':
280
-					unset ($aPath[$iKey]);
281
-					break;
266
+			case '..':
267
+				$iCnt++;
268
+
269
+				unset ($aPath[$iKey]);
270
+				if (array_key_exists($iKey - 1, $aPath)) {
271
+					$iPrevKey = $iKey - 1;
272
+				} else {
273
+					$sPrev = prev($aPath);
274
+					$iPrevKey = array_search($sPrev, $aPath);
275
+				}
276
+				unset ($aPath[$iPrevKey]);
277
+				break;
278
+			case '.':
279
+			case '':
280
+				unset ($aPath[$iKey]);
281
+				break;
282 282
 			}
283 283
 		}
284 284
 
Please login to merge, or discard this patch.
lib/presentation/requests/AuthenticatedRequestTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 
21 21
 	/**
22 22
 	 * @returns HttpAuthenticationA
23
+	 * @return HttpAuthenticationA
23 24
 	 */
24 25
 	public function getAuthentication() {
25 26
 		return $this->oAuth;
Please login to merge, or discard this patch.
lib/presentation/requests/HttpAuthenticationA.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
 		return $this->password;
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param integer $iType
34
+	 */
32 35
 	public static function getAuthenticationSchemas($iType) {
33 36
 		$aSchemas = array();
34 37
 		if (($iType & self::BASIC) == self::BASIC) {
Please login to merge, or discard this patch.
lib/presentation/responses/ExceptionResponseRedirect.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 		return $this->iHttpRedirectCode;
15 15
 	}
16 16
 
17
+	/**
18
+	 * @return string
19
+	 */
17 20
 	public function getLocation() {
18 21
 		return $this->sLocation;
19 22
 	}
Please login to merge, or discard this patch.