Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 97e0d5b

Browse files
committed
Test that it can find paths that use __DIR__
1 parent bab17d7 commit 97e0d5b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/files/file_exists_using_DIR.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
include __DIR__ . '/include_me_to_prove_you_work.txt';
6+
include_once __DIR__ . '/include_me_to_prove_you_work.txt';
7+
require __DIR__ . '/include_me_to_prove_you_work.txt';
8+
require_once __DIR__ . '/include_me_to_prove_you_work.txt';

tests/files/include_me_to_prove_you_work.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)