Commit Graph

39 Commits

Author SHA1 Message Date
jordanbrauer 9e5b779abc feat: add helper function for mapping a function's arguments 2021-06-16 00:52:31 -05:00
Owen Voke c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
Owen Voke ea696f819e feat: move Coverage out of external plugin 2021-06-15 14:26:57 +01:00
Shuvro Roy b8103697c9 Remove unused import 2021-05-07 12:45:55 +06:00
jordanbrauer 1b9162151c docs: add some method documentation and fix typo 2021-04-07 11:02:00 -05:00
jordanbrauer 7d35ee9998 feat: add new helper to create static closure chains 2021-04-07 10:53:46 -05:00
Nuno Maduro 3589f3d5e7 chore: fixes test suite 2021-03-13 11:06:34 +00:00
jordanbrauer 5e0bfba7bf run linter 2021-02-13 11:21:14 -06:00
jordanbrauer 13f09cc662 add helper method to generate a simple random string 2021-02-13 11:19:40 -06:00
Nuno Maduro 5d7f262f4a feat: removes expectation api for a plugin 2020-12-13 22:35:30 +01:00
Nuno Maduro 03dc11c2f6 Adds expect extend 2020-11-29 16:30:57 +01:00
Danny van der Sluijs a493db1873 Revert to original target if new target is null 2020-09-29 21:51:28 +02:00
Félix Dorn 278af4b835 forward bad TestCase method calls to global functions 2020-08-25 13:45:55 +02:00
Owen Voke 38344c99f1 style: apply Rector changes 2020-08-12 14:45:55 +01:00
Graham Campbell 3cfadee2bb PHP 8 and PHPUnit 9.3 support 2020-08-07 11:23:45 +01:00
Tom Witkowski fac44d9afe revert to first approach by calling __call directly 2020-06-21 18:46:11 +02:00
Tom Witkowski 6e27c6d85d fix tye check 2020-06-21 18:44:04 +02:00
Tom Witkowski 321b3e8df3 use call_user_func_array instead of direct calling __call
add check for __callStatic
2020-06-21 18:31:09 +02:00
Tom Witkowski a47ad6a1d3 Merge branch 'master' of https://github.com/pestphp/pest into patch-1
# Conflicts:
#	tests/.snapshots/success.txt
2020-06-21 18:25:57 +02:00
Tom Witkowski e135979f34 revert null old-target logic 2020-06-21 18:22:34 +02:00
Tom Witkowski ef5715ce10 ignore null return values and re-use old target 2020-06-21 14:02:42 +02:00
Tom Witkowski 0c04882389 use long exception variable name 2020-06-21 13:08:06 +02:00
Tom Witkowski 323c5f211f pass calls to overloaded method if possible
fix #108
2020-06-21 11:55:32 +02:00
Adrian Nürnberger 5be1edd7b7 added missing return types 2020-06-19 21:25:38 +02:00
Adrian Nürnberger 75f7ee0acf added feedback from @nunomaduro 2020-06-19 20:39:09 +02:00
Adrian Nürnberger d0a74931dd implemented support for PHPUnit's @depends 2020-06-19 19:50:54 +02:00
Nuno Maduro 3a78aaef8f fix(container): resolves dependencies without contructor
Co-Authored-By: Johannes Pichler <fetzi@users.noreply.github.com>
2020-06-14 16:15:05 +02:00
Félix Dorn 1192d13e6b add memory optimisation for Backtrace::testFile() 2020-06-11 16:38:31 +02:00
Félix Dorn 57b982de48 fix ci build 2020-06-11 16:31:14 +02:00
Félix Dorn a3366379e0 optimise debug_backtrace calls 2020-06-11 16:13:17 +02:00
Nuno Maduro 58f2581307 Merge branch 'master' into feature/add-container 2020-06-05 22:39:02 +02:00
Dimitrios Karvounaris 40a5d067ec // fixing type checks 2020-06-05 19:35:13 +02:00
Dimitrios Karvounaris d35320c697 Compare filename correctly on all OS 2020-06-05 17:25:53 +02:00
johannes.pichler 337e751200 Update plugin interfaces and instantiate container 2020-06-05 11:52:23 +02:00
johannes.pichler b20f208b55 Add basic container implementation 2020-06-05 11:51:33 +02:00
Nuno Maduro aa1917c28d feat(pending-higher-order-tests): adds code and tests 2020-06-04 01:34:03 +02:00
Nuno Maduro 6fc55becc8 feat: adds support for global helpers 2020-05-13 22:51:50 +02:00
Nuno Maduro 2d85842777 refacto: higher order messages 2020-05-13 22:21:59 +02:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00