Skip to content

Commit

Permalink
Merge pull request #4 from batabana/master
Browse files Browse the repository at this point in the history
Update for Neos 5
  • Loading branch information
skurfuerst authored Nov 8, 2019
2 parents 9019fbd + be0965b commit 701cedc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Classes/Routing/FrontendNodeRoutePartHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

use Flowpack\Neos\DimensionResolver\Http;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Log\SystemLoggerInterface;
use Neos\Flow\Log\PsrSystemLoggerInterface;
use Neos\Flow\Mvc\Routing\Dto\MatchResult;
use Neos\Flow\Mvc\Routing\Dto\ResolveResult;
use Neos\Flow\Mvc\Routing\Dto\RouteTags;
Expand All @@ -38,7 +38,7 @@ class FrontendNodeRoutePartHandler extends DynamicRoutePart implements FrontendN
{
/**
* @Flow\Inject
* @var SystemLoggerInterface
* @var PsrSystemLoggerInterface
*/
protected $systemLogger;

Expand Down Expand Up @@ -138,7 +138,7 @@ protected function matchValue($requestPath)
$node = $this->convertRequestPathToNode($requestPath);
});
} catch (Exception $exception) {
$this->systemLogger->log('FrontendNodeRoutePartHandler matchValue(): ' . $exception->getMessage(), LOG_DEBUG);
$this->systemLogger->debug('FrontendNodeRoutePartHandler matchValue(): ' . $exception->getMessage());
if ($requestPath === '') {
throw new Exception\NoHomepageException('Homepage could not be loaded. Probably you haven\'t imported a site yet', 1346950755, $exception);
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "GPL-3.0+",
"description": "A support package for Neos CMS that allows for arbitrary content dimension resolution.",
"require": {
"neos/neos": "~3.3.0||~4.0||dev-master",
"neos/flow": "~4.3.0||~5.0||dev-master"
"neos/neos": "~3.3.0||~4.0||~5.0||dev-master",
"neos/flow": "~4.3.0||~5.0||~6.0||dev-master"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 701cedc

Please sign in to comment.