Skip to content

Commit bc56031

Browse files
committed
Add test files
1 parent 45ba779 commit bc56031

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

phpstan.neon.dist

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# dummy

test.php

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
foo();
4+
f();
5+
foo();
6+
7+
echo Fooo;
8+
echo FOO;
9+
10+
// Local Variables:
11+
// phpstan-configure-file: (root . "tests/phpstan.neon")
12+
// phpstan-level: 7
13+
// End:

tests/bootstrap.php

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
const FOO = 'Foo';
4+
5+
function foo() {}

tests/phpstan.neon

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
parameters:
2+
bootstrap: %rootDir%/../../../tests/bootstrap.php

0 commit comments

Comments
 (0)