PHP Linter
OK
composer validate
OK
Copy/Paste Detector
phpcpd 6.0.3 by Sebastian Bergmann.
Found 1 clones with 14 duplicated lines in 2 files:
- /app/breezefront/module-breeze-theme-editor/Model/Resolver/Query/Publication.php:86-100 (14 lines)
/app/breezefront/module-breeze-theme-editor/Model/Resolver/Query/Publications.php:92-106
'publicationId' => $publication->getPublicationId(),
'themeId' => $publication->getThemeId(),
'scope' => $publication->getScope(),
'scopeId' => $publication->getStoreId(),
'title' => $publication->getTitle(),
'description' => $publication->getDescription(),
'publishedAt' => $publication->getPublishedAt(),
'publishedBy' => $publishedBy,
'publishedByName' => $userData['fullname'] ?? $userData['username'] ?? null,
'publishedByEmail'=> $userData['email'] ?? null,
'isRollback' => (bool)$publication->getIsRollback(),
'rollbackFrom' => $publication->getRollbackFrom(),
'changesCount' => $publication->getChangesCount(),
'changes' => $changes,
0.12% duplicated lines out of 12006 total lines of code.
Average size of duplication is 14 lines, largest clone has 14 of lines
Time: 00:00.020, Memory: 8.00 MB
PHP Stan
OK
Magento Coding Standard
OK
PHP Unit
OK