Skip to content

Commit 75f2368

Browse files
committed
Assert all test files are cleaned up in CI
Closes phpGH-8427
1 parent 6cd5bd1 commit 75f2368

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/actions/verify-generated-files/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ runs:
1111
build/gen_stub.php -f
1212
build/gen_stub.php --generate-optimizer-info
1313
ext/tokenizer/tokenizer_data_gen.php
14-
git add . -Nu && git diff --exit-code
14+
git add . -N && git diff --exit-code

ext/spl/tests/SplFileObject/fileobject_005.phpt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ Mark Ammann
66
--FILE--
77
<?php
88

9-
set_include_path(dirname(__DIR__));
10-
119
$path = __DIR__.DIRECTORY_SEPARATOR.'fileobject_005.txt';
1210
touch($path);
1311

14-
$fo = new SplFileObject('tests'.DIRECTORY_SEPARATOR.'fileobject_005.txt', 'w+', true);
12+
$fo = new SplFileObject($path, 'w+', true);
1513
$fo->fwrite("blahlubba");
1614
var_dump($fo->ftruncate(4));
1715

0 commit comments

Comments
 (0)