Commit Graph

9 Commits

Author SHA1 Message Date
Owen Voke d534cb2c40 fix: avoid passing an object when invoking static methods via reflection (#1988)
* fix: avoid passing an object when invoking static methods via reflection

PHP 8.6 deprecates passing an object to `ReflectionMethod::invoke()` for
static methods, which breaks higher-order assertions such as
`it('...')->assertTrue(true)` since `Assert::assertTrue()` is static.

* test: update visual snapshots for new reflection tests
2026-10-23 22:05:56 +05:30
nuno maduro 820fa08313 fix: package lock fingerprint 2026-07-18 01:10:01 +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 04c39bae2e Adjust style 2024-06-25 21:02:52 +01:00
Nuno Maduro e9564febaf Migrates to Pint 2022-09-16 10:45:53 +01:00
Owen Voke 3ffed844a6 style: apply fixes from PHP-CS-Fixer 2022-03-08 10:51:38 +00:00
Nuno Maduro 832882160f feat(expect): updates test suite to use expectation api 2020-07-14 23:15:14 +02:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00