Skip to content

Commit

Permalink
TASK: Backport phpstan level 2 to Flow 8.3 and ignore to be fixed things
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jan 17, 2024
1 parent 69591e2 commit f79459e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Core/Parser/Interceptor/ResourceInterceptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function setDefaultPackageKey($defaultPackageKey)
*/
public function process(NodeInterface $node, $interceptorPosition, ParsingState $parsingState)
{
/** @var $node TextNode */
/** @var TextNode $node */
if (strpos($node->getText(), 'Public/') === false) {
return $node;
}
Expand Down
1 change: 1 addition & 0 deletions Classes/View/TemplatePaths.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ protected function getPackagePrivateResourcesPath($packageKey)
if (!$this->packageManager->isPackageAvailable($packageKey)) {
return null;
}
/** @phpstan-ignore-next-line this code will be dropped totally as its unused */
$packageResourcesPath = $this->packageManager->getPackage($packageKey)->getResourcesPath();

return Files::concatenatePaths([$packageResourcesPath, 'Private']);
Expand Down

0 comments on commit f79459e

Please sign in to comment.