Commit Graph

967 Commits

Author SHA1 Message Date
22030bffd0 ci: update to use ANSI output 2022-03-03 16:01:09 +00:00
bc105bc818 Merge pull request #484 from fabio-ivona/fix-restore-missing-exception-in-v2
Fix toThrow expectation passing when exception doesn't exist
2022-03-03 14:34:09 +00:00
2c3a296040 fix types 2022-02-18 16:42:34 +01:00
10b204e19d handles toThrow exception with a "class not found" error 2022-02-18 16:40:31 +01:00
36130eb7a0 adds a failing test 2022-02-18 16:40:17 +01:00
04663e0c8e Merge pull request #474 from def-studio/phpstan-fix
phpstan fix
2022-02-05 11:36:21 +00:00
6f9ebe04b0 phpstan fix 2022-02-05 11:36:02 +01:00
8ca4caaffa Merge pull request #467 from pestphp/scoped
Adds support for `scoped` in HigherOrderExpectations
2022-01-23 23:48:10 +00:00
8baaf80691 Merge branch 'master' into scoped
# Conflicts:
#	src/Expectations/HigherOrderExpectation.php
#	tests/Features/Expect/HigherOrder/methods.php
2022-01-23 23:44:04 +00:00
e91c85496f Adds support for scoped in HigherOrderExpectations. 2022-01-23 23:37:03 +00:00
6bf92d20ad Merge pull request #465 from pestphp/v2_json_fix
Makes `json` expectation usable in Higher Order Tests
2022-01-23 23:29:35 +00:00
35f607c46c Merge pull request #466 from pestphp/rename_tap
Renames `tap` to `defer`.
2022-01-23 23:29:06 +00:00
b99f65d936 Renames tap to defer. 2022-01-23 23:18:55 +00:00
ead2dfd0a9 Makes json expectation usable in Higher Order Tests 2022-01-23 23:10:14 +00:00
d2ca6e630d Merge pull request #460 from danharrin/feature/each-keys
feature: Pass `each()` keys to closures
2022-01-20 10:36:09 +00:00
12b48a6cf6 move to new test 2022-01-20 10:34:32 +00:00
635a71ce66 feature 2022-01-20 10:21:57 +00:00
b99c4d611b test 2022-01-20 10:21:54 +00:00
af8886c062 Merge pull request #457 from cerbero90/feature/avoid-nested-expectations
Avoid nested expectations with `and()`
2022-01-16 13:53:22 +00:00
30b1f6cd0a Add test for and() 2022-01-16 22:32:55 +10:00
d24091d224 Fix return docblock 2022-01-16 22:32:38 +10:00
b3d3b4485d Do not nest expectations 2022-01-16 22:32:20 +10:00
108fe45164 chore: uses collision v5.11.0 2022-01-10 17:20:12 +00:00
dd081c59b7 refacto: memory plugin 2021-12-05 17:48:51 +00:00
b0264886c9 Merge pull request #448 from pestphp/feat/retry
feat: adds `--retry` option
2021-12-05 17:44:26 +00:00
6dcdfdb82f Merge branch 'master' into feat/retry 2021-12-05 17:44:20 +00:00
e7d75365fd Merge pull request #433 from owenvoke/feature/memory-usage
feat: add `--memory` usage flag
2021-12-05 17:37:53 +00:00
266447bcc0 feat: add --memory usage flag 2021-12-05 17:22:21 +00:00
b74a688677 tests: style 2021-12-05 14:59:07 +00:00
b1f9ce2283 refacto: structure 2021-12-05 14:40:08 +00:00
e64b6fe924 refacto: pipes 2021-12-05 14:21:11 +00:00
c8697e0310 chore: fixes style 2021-12-05 14:05:01 +00:00
98db677646 refacto: pipes 2021-12-05 14:03:09 +00:00
6c3a8be049 Merge pull request #430 from def-studio/next-1
[v2.x] expectation pipes and interceptors
2021-12-05 12:27:20 +00:00
129a733888 chore: re-adds removed tests 2021-12-04 21:23:48 +00:00
5aeda553a4 fix: removes json file 2021-12-04 21:21:47 +00:00
0146186ddb fix: adds retry.json to gitignore 2021-12-04 21:20:28 +00:00
106b279ed0 feat: adds --retry option 2021-12-04 21:18:55 +00:00
05f44ed84a fix phpstan 2021-11-29 10:06:00 +01:00
6e7890c206 fix phpstan 2021-11-29 09:58:48 +01:00
2d2760e15c fix phpstan 2021-11-29 09:52:18 +01:00
b2eb69cbc1 fix phpstan 2021-11-29 09:48:10 +01:00
0fc90ec181 Merge branch 'master' into next-1 2021-11-29 09:36:07 +01:00
337d55b9ab lint 2021-11-29 09:25:00 +01:00
9f1e3dadf4 Merge pull request #424 from pestphp/better-dataset-support
[2.x] Vastly improves the logic around bound datasets to make them more user friendly
2021-11-27 20:07:25 +00:00
24943e5fbb Merge branch 'master' into better-dataset-support 2021-11-27 19:55:14 +00:00
33d1579660 Updates from main 2021-11-27 19:54:39 +00:00
8047ae570d chore: fixes cs 2021-11-27 19:54:21 +00:00
e236bf3821 chore: runs static workflows on php81 2021-11-27 19:51:58 +00:00
32c2df0444 chore: runs static workflows on php81 2021-11-27 19:44:41 +00:00