Commit Graph

63 Commits

Author SHA1 Message Date
de46ee0f64 fix: adds link to xdebug coverage mode 2021-10-10 15:33:27 +01:00
1e011c7b40 fix: warns about xdebug modes 2021-10-10 15:25:02 +01:00
1a941d7f92 Refactors 2021-08-01 16:45:06 +01:00
43920f79a9 feat: add count method for checking message type presence 2021-07-27 23:36:09 -05:00
00b4bb6305 Merge branch 'master' into fix-missing-dataset-errors 2021-07-21 21:26:33 -05:00
82c18d3848 Type fixes 2021-07-21 07:58:05 +01:00
371620d161 Adds support for receiving datasets in higher order tests 2021-07-21 07:40:19 +01:00
5907164749 Merge pull request #341 from pestphp/hot-hoe
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-12 11:52:04 +01:00
c160d97428 Forces higher order test callable expects to be closures. 2021-07-11 07:56:02 +01:00
2a8de0565f Adds support for Higher Order Expectations in Higher Order Tests 2021-07-09 16:50:15 +01:00
50ece576a7 Improves type-hinting for target in HigherOrderTapProxy 2021-07-09 16:09:53 +01:00
9c202fa2d7 Improves type-hinting for tap method 2021-07-09 16:07:37 +01:00
5049b996db Merge branch 'master' into skip-closure-support
# Conflicts:
#	src/Support/HigherOrderMessage.php
2021-07-08 17:50:48 +01:00
e45c4ff4f1 Refactors HigherOrderMessage 2021-07-08 17:30:39 +01:00
fa3959db17 Type hints for callable 2021-07-08 13:12:30 +01:00
b97e206f7a Closures passed to the skip method are now bound to the test case to allow for more complex logic. 2021-07-08 09:44:28 +01:00
7e9edecc7f Higher Order Tests now resolve callable expectations. The tap method now always returns the test case. 2021-07-06 14:05:40 +01:00
acef002a2d Adds tap for Higher Order tests 2021-06-24 22:57:26 +01:00
de86598c0d Merge branch 'master' into fix-missing-dataset-errors 2021-06-16 21:36:42 -05:00
553b45306f feat: handle unions (PHP 8) 2021-06-16 21:29:08 -05:00
2e7192ab95 chore: static analysis adjustments - deprecation RE: ReflectionType::__toString 2021-06-16 14:42:51 -05:00
a5ce2dc1a1 Reimplements the new toHaveArray features. 2021-06-16 20:27:36 +01:00
64e780cf72 fix: types 2021-06-16 00:58:46 -05:00
9bf141f698 style: formatting & linting 2021-06-16 00:54:22 -05:00
9e5b779abc feat: add helper function for mapping a function's arguments 2021-06-16 00:52:31 -05:00
c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
ea696f819e feat: move Coverage out of external plugin 2021-06-15 14:26:57 +01:00
b8103697c9 Remove unused import 2021-05-07 12:45:55 +06:00
1b9162151c docs: add some method documentation and fix typo 2021-04-07 11:02:00 -05:00
7d35ee9998 feat: add new helper to create static closure chains 2021-04-07 10:53:46 -05:00
3589f3d5e7 chore: fixes test suite 2021-03-13 11:06:34 +00:00
5e0bfba7bf run linter 2021-02-13 11:21:14 -06:00
13f09cc662 add helper method to generate a simple random string 2021-02-13 11:19:40 -06:00
5d7f262f4a feat: removes expectation api for a plugin 2020-12-13 22:35:30 +01:00
03dc11c2f6 Adds expect extend 2020-11-29 16:30:57 +01:00
a493db1873 Revert to original target if new target is null 2020-09-29 21:51:28 +02:00
278af4b835 forward bad TestCase method calls to global functions 2020-08-25 13:45:55 +02:00
38344c99f1 style: apply Rector changes 2020-08-12 14:45:55 +01:00
3cfadee2bb PHP 8 and PHPUnit 9.3 support 2020-08-07 11:23:45 +01:00
fac44d9afe revert to first approach by calling __call directly 2020-06-21 18:46:11 +02:00
6e27c6d85d fix tye check 2020-06-21 18:44:04 +02:00
321b3e8df3 use call_user_func_array instead of direct calling __call
add check for __callStatic
2020-06-21 18:31:09 +02:00
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
e135979f34 revert null old-target logic 2020-06-21 18:22:34 +02:00
ef5715ce10 ignore null return values and re-use old target 2020-06-21 14:02:42 +02:00
0c04882389 use long exception variable name 2020-06-21 13:08:06 +02:00
323c5f211f pass calls to overloaded method if possible
fix #108
2020-06-21 11:55:32 +02:00
5be1edd7b7 added missing return types 2020-06-19 21:25:38 +02:00
75f7ee0acf added feedback from @nunomaduro 2020-06-19 20:39:09 +02:00
d0a74931dd implemented support for PHPUnit's @depends 2020-06-19 19:50:54 +02:00