We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: 2.2.0
When bypassFinals is enabled this code throws this error:
bypassFinals
touch($file);
<?php declare(strict_types=1); use Tester\Assert; use Tester\Environment; use Tester\TestCase; require __DIR__ . '/../bootstrap.php'; Environment::bypassFinals(); final class TesterTest extends TestCase { public function testTouch() { touch('test.txt'); Assert::same('x', 'x'); } } $test = new TesterTest; $test->run();
Code creates (or updates access time of) the file test.txt.
test.txt
Look similar to #395.
The text was updated successfully, but these errors were encountered:
0cc8cae
FileMutator: fixes 'touch() expects parameter 2 to be int, null given' [
4776904
Closes #403]
No branches or pull requests
Version: 2.2.0
Bug Description
When
bypassFinals
is enabled this code throws this error:touch($file);
Steps To Reproduce
Expected Behavior
Code creates (or updates access time of) the file
test.txt
.Possible Solution
Look similar to #395.
The text was updated successfully, but these errors were encountered: