mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +01:00
66e585081a2fbcd2f824746ef082b14efe6b4d2e
* fix(tia): free the ReadCapture wrapper each time it steps aside stream_wrapper_restore() takes a user wrapper out of the wrapper table but does not free it, so every filesystem call made while a test records kept one until the process ended. Unregistering it first frees it. * fix(tia): skip the unregister when file:// is already gone A test can unregister file:// itself. stream_wrapper_unregister() then warns, where stream_wrapper_restore() alone did not, so check first. Also run the per-test memory check over 5,000 tests and update the snapshot and parallel totals for the new tests. * Use fopen() in the memory regression test --------- Co-authored-by: Mohannad Elemary <20709195+MohannadElemary@users.noreply.github.com>
Pest v5 Now Available: Read the announcement ».
Pest is an elegant testing framework for PHP developers and AI agents.
- Explore our docs at pestphp.com »
- Follow the creator Nuno Maduro:
- YouTube: youtube.com/@nunomaduro — Videos every week
- Twitch: twitch.tv/nunomaduro — Live coding on Mondays, Wednesdays, and Fridays at 9PM UTC
- Twitter / X: x.com/enunomaduro
- LinkedIn: linkedin.com/in/nunomaduro
- Instagram: instagram.com/enunomaduro
- Tiktok: tiktok.com/@enunomaduro
Sponsors
We cannot thank our sponsors enough for their incredible support in funding Pest's development. Their contributions have been instrumental in making Pest the best it can be. For those who are interested in becoming a sponsor, please visit Nuno Maduro's Sponsor page at github.com/sponsors/nunomaduro.
- PhpStorm
- CodeRabbit
- SerpApi
- Redberry
- Typesense
- Pixel
- NativePHP
- TestMu AI
- Zapiet
- Route4Me
- Pushery
- LFCarry
Pest is an open-sourced software licensed under the MIT license.
Languages
PHP
99.3%
HTML
0.6%
