Skip to content

Commit a475826

Browse files
authored
\PHPStan\dumpType() function can be used only with running PHPStan
1 parent 05b1c84 commit a475826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dumpType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
*/
88
function dumpType($value): void // phpcs:ignore Squiz.Functions.GlobalFunction.Found
99
{
10+
throw new \Exception('\PHPStan\dumpType() function can be used only with running PHPStan');
1011
}

0 commit comments

Comments
 (0)