Skip to content

Commit 141f3cb

Browse files
committed
Minor corrections in tests to reduce annoying syntax warnings in IDE
1 parent 71a488b commit 141f3cb

File tree

21 files changed

+21
-0
lines changed

21 files changed

+21
-0
lines changed

tests/base/cblocks.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ZEP;
2929
$ir = zephir_parse_file($code, '(eval code)');
3030

3131
var_dump($ir);
32+
?>
3233
--EXPECT--
3334
array(2) {
3435
[0]=>

tests/base/types.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ZEP;
3737
$ir = zephir_parse_file($code, '(eval code)');
3838

3939
var_dump($ir);
40+
?>
4041
--EXPECT--
4142
array(2) {
4243
[0]=>

tests/base/variables.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ZEP;
2727
$ir = zephir_parse_file($code, '(eval code)');
2828

2929
var_dump($ir);
30+
?>
3031
--EXPECT--
3132
array(2) {
3233
[0]=>

tests/cf/while01.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ZEP;
1616
$ir = zephir_parse_file($code, '(eval code)');
1717

1818
var_dump($ir);
19+
?>
1920
--EXPECT--
2021
array(2) {
2122
[0]=>

tests/classes/bug48.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ZEP;
1818
$ir = zephir_parse_file($code, '(eval code)');
1919

2020
var_dump($ir);
21+
?>
2122
--EXPECT--
2223
array(3) {
2324
[0]=>

tests/comments/comment.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ZEP;
2020
$ir = zephir_parse_file($code, '(eval code)');
2121

2222
var_dump($ir);
23+
?>
2324
--EXPECT--
2425
array(2) {
2526
[0]=>

tests/comments/comments_before.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ZEP;
4040
var_dump(zephir_parse_file($code1, '(eval code)'));
4141
var_dump(zephir_parse_file($code2, '(eval code)'));
4242
var_dump(zephir_parse_file($code3, '(eval code)'));
43+
?>
4344
--EXPECT--
4445
array(2) {
4546
[0]=>

tests/comments/dockblocks/bug13.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ZEP;
2020
$ir = zephir_parse_file($code, '(eval code)');
2121

2222
echo $ir[1]["definition"]["properties"][0]["docblock"];
23+
?>
2324
--EXPECT--
2425
**
2526
* @var \stdClass

tests/comments/dockblocks/simple.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ZEP;
2020
$ir = zephir_parse_file($code, '(eval code)');
2121

2222
echo $ir[1]["value"];
23+
?>
2324
--EXPECT--
2425
**
2526
* DocBlockFail

tests/comments/sl_comment.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ZEP;
2020
$ir = zephir_parse_file($code, '(eval code)');
2121

2222
var_dump($ir);
23+
?>
2324
--EXPECT--
2425
array(2) {
2526
[0]=>

0 commit comments

Comments
 (0)