Conor Murphy
ac8feafdcc
fix: guard Tia argv scanning against non-string args ( #1736 )
...
The Tia plugin scans the raw argv with str_starts_with() in
argumentPresent() and hasExplicitPathArgument(). In the parallel worker
path (bin/worker.php) the unserialized argv can contain an integer
--random-order-seed value as a separate element, which made
str_starts_with() throw:
TypeError: str_starts_with(): Argument #1 ($haystack) must be of
type string, int given
This is the same class of bug as #1206 , which was only fixed in
HandleArguments; it resurfaced in the newer Tia plugin. Cast each argv
element to string before scanning, mirroring the #1206 fix.
Adds a regression test, and updates the parallel count assertion and the
success snapshot to account for it.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 20:03:06 +01:00
nuno maduro
9e4cf4b665
wip
2026-05-02 18:58:42 +01:00
nuno maduro
4280233b40
wip
2026-05-02 18:37:24 +01:00
Aleksandr Štšepelin
f7175ecfd7
Fix parallel dataset reporting and nested fixtures
2026-03-25 23:59:29 +02:00
nuno maduro
2a80101f42
chore: update styling
2026-03-10 21:06:28 +00:00
Nuno Maduro
711a60c2db
release: beta 1
2025-08-05 17:44:12 +01:00
Nuno Maduro
273edb864c
chore: adjusts tests
2025-08-03 10:32:14 -06:00
Nuno Maduro
791734a29c
Fixes tests
2025-04-20 22:19:25 +01:00
Punyapal Shah
4f6140fdb1
refactor: move test case initialization to a separate method in Testable trait
2025-04-20 15:37:02 +05:30
jshayes
cd2eb3504b
Add helper to get last element of array
2024-10-13 09:47:54 -04:00
Nuno Maduro
ea72461f1b
release: v3.0.3
2024-09-10 22:29:09 +01:00
Nuno Maduro
dd20323ca7
feat: custom presets
2024-09-04 20:53:33 +01:00
Nuno Maduro
e2d360b1b5
chore: adjusts tests
2024-09-03 14:09:03 +01:00
Nuno Maduro
ecdbe7a472
release: 3.0.0-rc.1
2024-08-22 21:36:19 +01:00
Nuno Maduro
2c6c3119d2
Merge branch '2.x' into 3.x
2024-08-22 21:21:52 +01:00
Nuno Maduro
9ceb0834ae
chore: updates snapshots
2024-08-22 21:07:39 +01:00
Nuno Maduro
86d2191cae
chore: refactor TestClosureMustNotBeStatic
2024-08-22 20:59:42 +01:00
Nuno Maduro
700bd517f4
Merge pull request #1117 from peterfox/bug/catch-static-closures
...
[Bug] provided explaination for static closures
2024-08-22 20:33:58 +01:00
Nuno Maduro
5e41e546a0
chore: style changes
2024-08-02 11:53:24 +01:00
Nuno Maduro
45cce6ce93
Style
2024-07-24 21:54:52 +01:00
Nuno Maduro
101e26749a
fix: properties and methods documented
2024-07-20 17:45:41 +01:00
Nuno Maduro
4783334f15
chore: style
2024-07-11 09:35:38 +01:00
Nuno Maduro
1e5b399603
feat: adjusts default conf
2024-07-06 19:30:05 +01:00
Nuno Maduro
474b9b7e17
chore: adjusts tests
2024-06-27 01:41:34 +01:00
Nuno Maduro
04c39bae2e
Adjust style
2024-06-25 21:02:52 +01:00
Nuno Maduro
c919bb5bc4
feat: adds pest function
2024-05-14 01:58:44 +01:00
Nuno Maduro
8169382362
feat: adds after
2024-05-08 01:24:30 +01:00
Peter Fox
a4f8ae1a12
Handles tests where a static closure is provided
2024-03-17 16:48:43 +00:00
Nuno Maduro
7b9bae0415
fix: usage of named arguments
2024-02-01 13:45:06 +00:00
Marek Mencl
f004591c5a
fix: checking existing argument with equal sign
2024-01-02 15:03:46 +01:00
faissaloux
95ec0a82b2
fix html in tests descriptions and datasets
2023-11-07 17:35:42 +01:00
Nuno Maduro
2122e57990
fix: revert higher order message property
2023-06-15 10:44:52 +02:00
Nuno Maduro
070139eda7
fix: higher order message
2023-06-15 10:42:31 +02:00
Fabio Ivona
e1143d2cfc
remove ->only()
2023-04-15 11:52:07 +02:00
Fabio Ivona
5861b0498a
fix comments in dokblocks
2023-04-15 10:45:51 +02:00
Fabio Ivona
8e3d7d85e8
fix windows tests
2023-03-31 10:53:11 +02:00
Nuno Maduro
3cee6a499d
chore: refactor RenderableOnCollisionEditor
2023-03-31 09:39:05 +01:00
Nuno Maduro
3f38f19df8
Merge pull request #754 from fabio-ivona/collision-custom-editor-support
...
[2.x] Collision custom editor support
2023-03-31 09:15:35 +01:00
Fabio Ivona
4df6ab4a84
lint
2023-03-31 08:59:38 +02:00
Fabio Ivona
90b6771451
add tests
2023-03-31 08:46:35 +02:00
Dan Ang
e48bd31ae4
improve message
2023-03-28 12:19:15 +01:00
Nuno Maduro
e109cd1da2
feat: uses()hint
2023-03-28 01:48:46 +01:00
Dan Ang
19424ae06d
fix inconsistency in dataset spelling
2023-03-24 16:00:33 +01:00
Fabio Ivona
22467d05c8
fix underscores in test names
2023-03-22 11:24:21 +01:00
Fabio Ivona
e0f2919f62
expand Str::evaluable test cases
2023-03-21 17:39:01 +01:00
Fabio Ivona
ed3bb2634d
using php documentation regex
2023-03-21 15:15:38 +01:00
Nuno Maduro
48ae4bfc18
fix: description when using ふが chars
2023-03-21 13:45:20 +00:00
Nuno Maduro
b887116e5c
fix: Pest.php file not loaded in certain environments
2023-03-20 17:34:42 +00:00
Dan Ang
540c2a56bd
grammar fixes
2023-03-20 00:37:32 +01:00
Nuno Maduro
88e047bd27
tests: for test names starting with P
2023-03-19 18:34:20 +00:00