Skip to content

Commit 33bcb48

Browse files
committed
error message
1 parent b18119a commit 33bcb48

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Plugin/InvokableTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function test_resolve_with_scope()
100100

101101
} catch(\Throwable $exception) {
102102
$this->assertEquals(
103-
"Maximum function nesting level of '" . $level . "' reached, aborting!", $exception->getMessage()
103+
"Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '" . $level . "' frames", $exception->getMessage()
104104
);
105105
}
106106
}
@@ -129,7 +129,7 @@ function test_resolve_without_scope()
129129

130130
} catch(\Throwable $exception) {
131131
$this->assertEquals(
132-
"Maximum function nesting level of '" . $level . "' reached, aborting!", $exception->getMessage()
132+
"Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '" . $level . "' frames", $exception->getMessage()
133133
);
134134
}
135135
}

src/Plugin/InvokeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function test_resolve_with_scope()
108108

109109
} catch(\Throwable $exception) {
110110
$this->assertEquals(
111-
"Maximum function nesting level of '" . $level . "' reached, aborting!", $exception->getMessage()
111+
"Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '" . $level . "' frames", $exception->getMessage()
112112
);
113113
}
114114
}
@@ -137,7 +137,7 @@ function test_resolve_without_scope()
137137

138138
} catch(\Throwable $exception) {
139139
$this->assertEquals(
140-
"Maximum function nesting level of '" . $level . "' reached, aborting!", $exception->getMessage()
140+
"Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '" . $level . "' frames", $exception->getMessage()
141141
);
142142
}
143143
}

src/Plugin/NullValueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function test()
2121

2222
$this->assertNull($app->plugin('bar'));
2323

24-
$this->expectExceptionMessage('Class foo does not exist');
24+
$this->expectExceptionMessage('Class "foo" does not exist');
2525

2626
$app->plugin('foo');
2727
}

0 commit comments

Comments
 (0)