mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 06:13:35 +02:00
ad1850b110c0b660eb1b239150c49eaf2f64a493
PHP coerces numeric-string array keys to ints, so collecting table names in $tables[$name] and returning array_keys() can yield ints. That breaks the declared list<string> and throws a TypeError in Recorder::linkTable(string). Standard SQL like substring(x FROM 1 FOR 10) is enough to trigger it, since the numeric operand matches the FROM pattern. Closes #1793 Co-authored-by: Danny de Wit <d.dewit@fenceweb.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.
Pest is an open-sourced software licensed under the MIT license.
Languages
PHP
99.3%
HTML
0.6%
