@@ -80,7 +80,7 @@ public function testAggregatesSummaryAcrossModules(): void
8080 ],
8181 $ results ['summary ' ],
8282 );
83- $ this ->assertTrue ($ results ['hasIncompatibilities ' ]);
83+ $ this ->assertTrue ($ results ['hasIssues ' ]);
8484 $ this ->assertTrue ($ results ['modules ' ]['Vendor_Clean ' ]['compatible ' ]);
8585 $ this ->assertFalse ($ results ['modules ' ]['Vendor_Broken ' ]['compatible ' ]);
8686 }
@@ -93,7 +93,7 @@ public function testCriticalIssuesAloneMarkResultsAsIncompatible(): void
9393
9494 $ results = $ this ->checker ->check ($ this ->io );
9595
96- $ this ->assertTrue ($ results ['hasIncompatibilities ' ]);
96+ $ this ->assertTrue ($ results ['hasIssues ' ]);
9797 $ this ->assertFalse ($ results ['modules ' ]['Vendor_Broken ' ]['hasWarnings ' ]);
9898 }
9999
@@ -105,7 +105,7 @@ public function testFullyCompatibleModulesProduceNoIncompatibilities(): void
105105
106106 $ results = $ this ->checker ->check ($ this ->io );
107107
108- $ this ->assertFalse ($ results ['hasIncompatibilities ' ]);
108+ $ this ->assertFalse ($ results ['hasIssues ' ]);
109109 $ this ->assertSame (0 , $ results ['summary ' ]['incompatible ' ]);
110110 }
111111
@@ -117,7 +117,7 @@ public function testWarningsAloneMarkResultsAsIncompatible(): void
117117
118118 $ results = $ this ->checker ->check ($ this ->io );
119119
120- $ this ->assertTrue ($ results ['hasIncompatibilities ' ]);
120+ $ this ->assertTrue ($ results ['hasIssues ' ]);
121121 $ this ->assertTrue ($ results ['modules ' ]['Vendor_Warned ' ]['compatible ' ]);
122122 $ this ->assertTrue ($ results ['modules ' ]['Vendor_Warned ' ]['hasWarnings ' ]);
123123 $ this ->assertSame (2 , $ results ['summary ' ]['warningIssues ' ]);
@@ -201,7 +201,7 @@ public function testDisplaysOnlyProblematicModulesByDefault(): void
201201 'Vendor_Clean ' => $ this ->moduleEntry (compatible: true , hasWarnings: false , critical: 0 , total: 0 ),
202202 'Vendor_Broken ' => $ this ->moduleEntry (compatible: false , hasWarnings: false , critical: 2 , total: 2 ),
203203 'Vendor_Warned ' => $ this ->moduleEntry (compatible: true , hasWarnings: true , critical: 0 , total: 1 ),
204- ], hasIncompatibilities : true );
204+ ], hasIssues : true );
205205
206206 $ tableData = $ this ->checker ->formatResultsForDisplay ($ results );
207207
@@ -215,7 +215,7 @@ public function testDisplaysAllModulesWhenRequested(): void
215215 $ results = $ this ->checkResults ([
216216 'Vendor_Clean ' => $ this ->moduleEntry (compatible: true , hasWarnings: false , critical: 0 , total: 0 ),
217217 'Vendor_Broken ' => $ this ->moduleEntry (compatible: false , hasWarnings: false , critical: 2 , total: 2 ),
218- ], hasIncompatibilities : true );
218+ ], hasIssues : true );
219219
220220 $ tableData = $ this ->checker ->formatResultsForDisplay ($ results , true );
221221
@@ -236,7 +236,7 @@ public function testFormatsMixedIssuesAndHyvaAwareStatus(): void
236236 total: 3 ,
237237 hyvaAware: true ,
238238 ),
239- ], hasIncompatibilities : true );
239+ ], hasIssues : true );
240240
241241 $ tableData = $ this ->checker ->formatResultsForDisplay ($ results );
242242
@@ -254,7 +254,7 @@ public function testHyvaAwareCompatibleModuleGetsDedicatedStatus(): void
254254 total: 0 ,
255255 hyvaAware: true ,
256256 ),
257- ], hasIncompatibilities : false );
257+ ], hasIssues : false );
258258
259259 $ tableData = $ this ->checker ->formatResultsForDisplay ($ results , true );
260260
@@ -333,7 +333,7 @@ private function givenModuleInfo(bool $hyvaAware): void
333333 * @param array<string, ModuleEntry> $modules
334334 * @return CheckResults
335335 */
336- private function checkResults (array $ modules , bool $ hasIncompatibilities ): array
336+ private function checkResults (array $ modules , bool $ hasIssues ): array
337337 {
338338 return [
339339 'modules ' => $ modules ,
@@ -345,7 +345,7 @@ private function checkResults(array $modules, bool $hasIncompatibilities): array
345345 'criticalIssues ' => 0 ,
346346 'warningIssues ' => 0 ,
347347 ],
348- 'hasIncompatibilities ' => $ hasIncompatibilities ,
348+ 'hasIssues ' => $ hasIssues ,
349349 ];
350350 }
351351
0 commit comments