@@ -68,7 +68,7 @@ protected function setUp(): void
68
68
}
69
69
70
70
/**
71
- * @throws UndefinedPackageException
71
+ * @inheritdoc
72
72
*/
73
73
public function testValidateCorrectComposerJson (): void
74
74
{
@@ -86,7 +86,7 @@ public function testValidateCorrectComposerJson(): void
86
86
}
87
87
88
88
/**
89
- * @throws UndefinedPackageException
89
+ * @inheritdoc
90
90
*/
91
91
public function testValidateCorrectLaminasComposerJson (): void
92
92
{
@@ -104,7 +104,7 @@ public function testValidateCorrectLaminasComposerJson(): void
104
104
}
105
105
106
106
/**
107
- * @throws UndefinedPackageException
107
+ * @inheritdoc
108
108
*/
109
109
public function testValidateCorrectAutoload243ComposerJson (): void
110
110
{
@@ -122,7 +122,7 @@ public function testValidateCorrectAutoload243ComposerJson(): void
122
122
}
123
123
124
124
/**
125
- * @throws UndefinedPackageException
125
+ * @inheritdoc
126
126
*/
127
127
public function testValidateWrongComposerJson (): void
128
128
{
@@ -151,7 +151,7 @@ public function testValidateWrongComposerJson(): void
151
151
}
152
152
153
153
/**
154
- * @throws UndefinedPackageException
154
+ * @inheritdoc
155
155
*/
156
156
public function testValidateMagentoLower23 (): void
157
157
{
@@ -168,14 +168,14 @@ public function testValidateMagentoLower23(): void
168
168
}
169
169
170
170
/**
171
- * @throws UndefinedPackageException
171
+ * @inheritdoc
172
172
*/
173
173
public function testValidateMagentoHigherEqual243 (): void
174
174
{
175
- $ this ->magentoVersionMock ->expects ($ this ->exactly (1 ))
175
+ $ this ->magentoVersionMock ->expects ($ this ->exactly (2 ))
176
176
->method ('isGreaterOrEqual ' )
177
- ->withConsecutive (['2.3 ' ])
178
- ->willReturnOnConsecutiveCalls (false );
177
+ ->withConsecutive (['2.3 ' ], [ ' 2.4.3 ' ] )
178
+ ->willReturnOnConsecutiveCalls (true , true );
179
179
$ this ->fileListMock ->expects ($ this ->never ())
180
180
->method ('getMagentoComposer ' );
181
181
$ this ->resultFactoryMock ->expects ($ this ->once ())
@@ -185,7 +185,7 @@ public function testValidateMagentoHigherEqual243(): void
185
185
}
186
186
187
187
/**
188
- * @throws UndefinedPackageException
188
+ * @inheritdoc
189
189
*/
190
190
public function testValidateComposerFileNotExists (): void
191
191
{
0 commit comments