Skip to content

Commit 64d2ab0

Browse files
Morgy93Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 840d135 commit 64d2ab0

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

src/Service/Hyva/CompatibilityChecker.php

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Symfony\Component\Console\Output\OutputInterface;
1010
use Symfony\Component\Console\Style\SymfonyStyle;
1111

12-
// phpcs:disable Generic.Files.LineLength.TooLong
1312
/**
1413
* Service that orchestrates Hyvä compatibility checking across Magento modules
1514
*
@@ -19,11 +18,26 @@
1918
* @phpstan-import-type ScanIssue from IncompatibilityDetector
2019
* @phpstan-import-type ScanResult from ModuleScanner
2120
* @phpstan-import-type ModuleInfo from ModuleScanner
22-
* @phpstan-type ModuleEntry array{compatible: bool, hasWarnings: bool, scanResult: ScanResult, moduleInfo: ModuleInfo}
23-
* @phpstan-type CheckSummary array{total: int, compatible: int, incompatible: int, hyvaAware: int, criticalIssues: int, warningIssues: int}
24-
* @phpstan-type CheckResults array{modules: array<string, ModuleEntry>, summary: CheckSummary, hasIncompatibilities: bool}
21+
* @phpstan-type ModuleEntry array{
22+
* compatible: bool,
23+
* hasWarnings: bool,
24+
* scanResult: ScanResult,
25+
* moduleInfo: ModuleInfo
26+
* }
27+
* @phpstan-type CheckSummary array{
28+
* total: int,
29+
* compatible: int,
30+
* incompatible: int,
31+
* hyvaAware: int,
32+
* criticalIssues: int,
33+
* warningIssues: int
34+
* }
35+
* @phpstan-type CheckResults array{
36+
* modules: array<string, ModuleEntry>,
37+
* summary: CheckSummary,
38+
* hasIncompatibilities: bool
39+
* }
2540
*/
26-
// phpcs:enable Generic.Files.LineLength.TooLong
2741
class CompatibilityChecker
2842
{
2943
/**

0 commit comments

Comments
 (0)