Skip to content

Commit 767d455

Browse files
authored
Use correct magic const for location
Using __DIR__ for an include isn't a great idea, we want to have the file.
1 parent 136066e commit 767d455

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/IncludeInterceptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
final class IncludeInterceptor
4444
{
45-
public const LOCATION = __DIR__;
45+
public const LOCATION = __FILE__;
4646
private const STREAM_OPEN_FOR_INCLUDE = 0x00000080;
4747

4848
/**

0 commit comments

Comments
 (0)