Skip to content

Commit e1ef866

Browse files
committed
identified a falsy bug in VirtualFile.php
1 parent 5beca42 commit e1ef866

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.2, 8.1, 8.0, 7.4]
16+
php: [8.4, 8.2, 8.1, 8.0, 7.4]
1717

1818
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
1919

src/Support/VirtualFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __destruct()
1818

1919
public function unlink()
2020
{
21-
if (! strpos(dirname($this->path), sys_get_temp_dir())) {
21+
if (strpos(dirname($this->path), sys_get_temp_dir()) === false) {
2222
return;
2323
}
2424

0 commit comments

Comments
 (0)