Skip to content

Commit

Permalink
Ignore psalm UnresolvableInclude for routing cache
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jun 21, 2021
1 parent 88de1ff commit 97a7d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Routing.php
Expand Up @@ -70,7 +70,7 @@ private static function routesCachedDispatcher(callable $routeDefinitionCallback
// If skip cache is enabled, do not try to read the file
// If no cache skipping then read it and use it
if (! $skipCache && file_exists(self::ROUTES_CACHE_FILE)) {
/** @psalm-suppress MissingFile */
/** @psalm-suppress MissingFile, UnresolvableInclude */
$dispatchData = require self::ROUTES_CACHE_FILE;
if (! is_array($dispatchData)) {
throw new RuntimeException('Invalid cache file "' . self::ROUTES_CACHE_FILE . '"');
Expand Down

0 comments on commit 97a7d88

Please sign in to comment.