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 (#22)
by joseph
02:09
created
configDefaults/generic/phpstan-magento2-bootstrap.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,29 +4,29 @@
 block discarded – undo
4 4
 
5 5
 /* Find bootstrap path */
6 6
 $rootPath = realpath(dirname(__FILE__));
7
-while (!file_exists($rootPath . '/app/bootstrap.php') || $rootPath == '/') {
7
+while (!file_exists($rootPath.'/app/bootstrap.php') || $rootPath == '/') {
8 8
     $rootPath = realpath(dirname($rootPath));
9 9
 }
10 10
 
11 11
 /* Include Magento bootstrap file */
12
-require_once $rootPath . '/app/bootstrap.php';
12
+require_once $rootPath.'/app/bootstrap.php';
13 13
 
14 14
 /* Create git hook class autoloader */
15 15
 $_git_hook_loaded_class = [];
16 16
 function phpstan_magento2_autoloader($class) {
17 17
     global $_git_hook_loaded_class;
18
-    if(isset($_git_hook_loaded_class[$class])) {
18
+    if (isset($_git_hook_loaded_class[$class])) {
19 19
         return $_git_hook_loaded_class[$class];
20 20
     }
21 21
 
22 22
     try {
23 23
         /* Get Magento ObjectManager */
24 24
         $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);
25
-        $objectManager  = $bootstrap->getObjectManager();
25
+        $objectManager = $bootstrap->getObjectManager();
26 26
 
27 27
         $objectManager->get($class);
28 28
         $_git_hook_loaded_class[$class] = true;
29
-    } catch(\Exception $e) {
29
+    } catch (\Exception $e) {
30 30
         $_git_hook_loaded_class[$class] = false;
31 31
     }
32 32
 
Please login to merge, or discard this patch.
configDefaults/magento2/phpstan-magento2-bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 /* Find bootstrap path */
4 4
 $rootPath = realpath(dirname(__FILE__));
5
-while (!file_exists($rootPath . '/app/bootstrap.php') || $rootPath == '/') {
5
+while (!file_exists($rootPath.'/app/bootstrap.php') || $rootPath == '/') {
6 6
     $rootPath = realpath(dirname($rootPath));
7 7
 }
8 8
 
9 9
 /* Include Magento bootstrap file */
10
-require_once $rootPath . '/app/bootstrap.php';
10
+require_once $rootPath.'/app/bootstrap.php';
11 11
 
12 12
 /* Create git hook class autoloader */
13 13
 $_git_hook_loaded_class = [];
Please login to merge, or discard this patch.
src/Psr4Validator.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             $realPath,
114 114
             \RecursiveDirectoryIterator::SKIP_DOTS
115 115
         );
116
-        $iterator          = new \RecursiveIteratorIterator(
116
+        $iterator = new \RecursiveIteratorIterator(
117 117
             $directoryIterator,
118 118
             \RecursiveIteratorIterator::SELF_FIRST
119 119
         );
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,11 +137,11 @@
 block discarded – undo
137 137
     private function addMissingPathError(string $path, string $namespaceRoot, string $absPathRoot)
138 138
     {
139 139
         $invalidPathMessage = "Namespace root '$namespaceRoot'".
140
-                              "\ncontains a path '$path''".
141
-                              "\nwhich doesn't exist\n";
140
+                                "\ncontains a path '$path''".
141
+                                "\nwhich doesn't exist\n";
142 142
         if (stripos($absPathRoot, "Magento") !== false) {
143 143
             $invalidPathMessage .= 'Magento\'s composer includes this by default, '
144
-                                   .'it should be removed from the psr-4 section';
144
+                                    .'it should be removed from the psr-4 section';
145 145
         }
146 146
         $this->missingPaths[$path] = $invalidPathMessage;
147 147
     }
Please login to merge, or discard this patch.
magento2Qa/config/phpstan-magento2-bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 /* Find bootstrap path */
4 4
 $rootPath = realpath(dirname(__FILE__));
5
-while (!file_exists($rootPath . '/app/bootstrap.php') || $rootPath == '/') {
5
+while (!file_exists($rootPath.'/app/bootstrap.php') || $rootPath == '/') {
6 6
     $rootPath = realpath(dirname($rootPath));
7 7
 }
8 8
 
9 9
 /* Include Magento bootstrap file */
10
-require_once $rootPath . '/app/bootstrap.php';
10
+require_once $rootPath.'/app/bootstrap.php';
11 11
 
12 12
 /* Create git hook class autoloader */
13 13
 $_git_hook_loaded_class = [];
Please login to merge, or discard this patch.
src/Markdown/LinksChecker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
                 '',
123 123
                 \dirname($file)
124 124
             );
125
-            $start           .= '/'.\rtrim($relativeSubdirs, '/');
125
+            $start .= '/'.\rtrim($relativeSubdirs, '/');
126 126
         }
127 127
         $realpath = \realpath($start.'/'.$path);
128 128
         if (empty($realpath) || (!\file_exists($realpath) && !\is_dir($realpath))) {
@@ -181,6 +181,6 @@  discard block
 block discarded – undo
181 181
             $link,
182 182
             var_export($result, true)
183 183
         );
184
-        $return   = 1;
184
+        $return = 1;
185 185
     }
186 186
 }
Please login to merge, or discard this patch.