diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-03-15 22:55:30 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-15 22:55:30 +0100 |
commit | 26dfce7f36d1c6f737ac241df1315a1b42b932c7 (patch) | |
tree | 570279b2f4d66a3de7f6ff7f7c865654ad04cea4 /ext/phar/tests/cache_list/copyonwrite5.phar.phpt | |
parent | 63802a8446691869371bb37078d55b99cae7eb95 (diff) | |
download | php-git-26dfce7f36d1c6f737ac241df1315a1b42b932c7.tar.gz |
Replace dirname(__FILE__) by __DIR__ in tests
Diffstat (limited to 'ext/phar/tests/cache_list/copyonwrite5.phar.phpt')
-rw-r--r-- | ext/phar/tests/cache_list/copyonwrite5.phar.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/phar/tests/cache_list/copyonwrite5.phar.phpt b/ext/phar/tests/cache_list/copyonwrite5.phar.phpt index 3ca835ae5f..60d42f965c 100644 --- a/ext/phar/tests/cache_list/copyonwrite5.phar.phpt +++ b/ext/phar/tests/cache_list/copyonwrite5.phar.phpt @@ -10,9 +10,9 @@ phar.readonly=0 files/write5.phar --CLEAN-- <?php -unlink(dirname(__FILE__) . '/copyonwrite5/file1'); -unlink(dirname(__FILE__) . '/copyonwrite5/file2'); -rmdir(dirname(__FILE__) . '/copyonwrite5'); +unlink(__DIR__ . '/copyonwrite5/file1'); +unlink(__DIR__ . '/copyonwrite5/file2'); +rmdir(__DIR__ . '/copyonwrite5'); ?> --EXPECTF-- array(2) { |