File tree 1 file changed +10
-0
lines changed
src/Symfony/Component/Console/Tests
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1040,6 +1040,9 @@ public function testRunDispatchesAllEventsWithExceptionInListener()
1040
1040
$ this ->assertContains ('before.error.after. ' , $ tester ->getDisplay ());
1041
1041
}
1042
1042
1043
+ /**
1044
+ * @requires PHP 7
1045
+ */
1043
1046
public function testRunWithError ()
1044
1047
{
1045
1048
$ application = new Application ();
@@ -1160,6 +1163,7 @@ public function testErrorIsRethrownIfNotHandledByConsoleErrorEvent()
1160
1163
}
1161
1164
1162
1165
/**
1166
+ * @requires PHP 7
1163
1167
* @expectedException \LogicException
1164
1168
* @expectedExceptionMessage error
1165
1169
*/
@@ -1181,6 +1185,9 @@ public function testRunWithErrorAndDispatcher()
1181
1185
$ this ->assertContains ('before.dym.error.after. ' , $ tester ->getDisplay (), 'The PHP Error did not dispached events ' );
1182
1186
}
1183
1187
1188
+ /**
1189
+ * @requires PHP 7
1190
+ */
1184
1191
public function testRunDispatchesAllEventsWithError ()
1185
1192
{
1186
1193
$ application = new Application ();
@@ -1198,6 +1205,9 @@ public function testRunDispatchesAllEventsWithError()
1198
1205
$ this ->assertContains ('before.dym.error.after. ' , $ tester ->getDisplay (), 'The PHP Error did not dispached events ' );
1199
1206
}
1200
1207
1208
+ /**
1209
+ * @requires PHP 7
1210
+ */
1201
1211
public function testRunWithErrorFailingStatusCode ()
1202
1212
{
1203
1213
$ application = new Application ();
You can’t perform that action at this time.
0 commit comments