Commit 718523d4 authored by Łukasz Uznański's avatar Łukasz Uznański
Browse files

[TASK] Move ignore errors to config file

parent 50365475
......@@ -54,8 +54,7 @@ class Tea extends AbstractEntity
public function getImage(): ?FileReference
{
// @phpstan-ignore-next-line
if ($this->image instanceof LazyLoadingProxy) {
if ($this->image instanceof LazyLoadingProxy) {
$this->image = $this->image->_loadRealInstance();
}
......
......@@ -5,3 +5,7 @@ parameters:
scanDirectories:
- Classes
- Tests
ignoreErrors:
-
message: '#Instanceof between TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference and TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyLoadingProxy will always evaluate to false#'
path: %currentWorkingDirectory%/Classes/Domain/Model/Product/Tea.php
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment