Commit Graph

966 Commits

Author SHA1 Message Date
Luke Downing 53c20d9cd2 Renames method to throwsNoExceptions. 2022-03-22 13:19:23 +00:00
Luke Downing 6d5a8a9235 Merge branch 'master' into performs_no_expectations 2022-02-10 17:26:15 +00:00
Nuno Maduro 04663e0c8e Merge pull request #474 from def-studio/phpstan-fix
phpstan fix
2022-02-05 11:36:21 +00:00
Fabio Ivona 6f9ebe04b0 phpstan fix 2022-02-05 11:36:02 +01:00
Nuno Maduro 8ca4caaffa Merge pull request #467 from pestphp/scoped
Adds support for `scoped` in HigherOrderExpectations
2022-01-23 23:48:10 +00:00
Luke Downing 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
Luke Downing e91c85496f Adds support for scoped in HigherOrderExpectations. 2022-01-23 23:37:03 +00:00
Nuno Maduro 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
Nuno Maduro 35f607c46c Merge pull request #466 from pestphp/rename_tap
Renames `tap` to `defer`.
2022-01-23 23:29:06 +00:00
Luke Downing b99f65d936 Renames tap to defer. 2022-01-23 23:18:55 +00:00
Luke Downing ead2dfd0a9 Makes json expectation usable in Higher Order Tests 2022-01-23 23:10:14 +00:00
Nuno Maduro d2ca6e630d Merge pull request #460 from danharrin/feature/each-keys
feature: Pass `each()` keys to closures
2022-01-20 10:36:09 +00:00
Dan Harrin 12b48a6cf6 move to new test 2022-01-20 10:34:32 +00:00
Dan Harrin 635a71ce66 feature 2022-01-20 10:21:57 +00:00
Dan Harrin b99c4d611b test 2022-01-20 10:21:54 +00:00
Nuno Maduro af8886c062 Merge pull request #457 from cerbero90/feature/avoid-nested-expectations
Avoid nested expectations with `and()`
2022-01-16 13:53:22 +00:00
Andrea Marco Sartori 30b1f6cd0a Add test for and() 2022-01-16 22:32:55 +10:00
Andrea Marco Sartori d24091d224 Fix return docblock 2022-01-16 22:32:38 +10:00
Andrea Marco Sartori b3d3b4485d Do not nest expectations 2022-01-16 22:32:20 +10:00
Nuno Maduro 108fe45164 chore: uses collision v5.11.0 2022-01-10 17:20:12 +00:00
luke e1a30e3c92 Add method comment. 2021-12-08 09:01:16 +00:00
luke d969eaac2c Adds support for chaining hasNoExpectations to the test method. 2021-12-08 08:58:42 +00:00
Nuno Maduro dd081c59b7 refacto: memory plugin 2021-12-05 17:48:51 +00:00
Nuno Maduro b0264886c9 Merge pull request #448 from pestphp/feat/retry
feat: adds `--retry` option
2021-12-05 17:44:26 +00:00
Nuno Maduro 6dcdfdb82f Merge branch 'master' into feat/retry 2021-12-05 17:44:20 +00:00
Nuno Maduro e7d75365fd Merge pull request #433 from owenvoke/feature/memory-usage
feat: add `--memory` usage flag
2021-12-05 17:37:53 +00:00
Owen Voke 266447bcc0 feat: add --memory usage flag 2021-12-05 17:22:21 +00:00
Nuno Maduro b74a688677 tests: style 2021-12-05 14:59:07 +00:00
Nuno Maduro b1f9ce2283 refacto: structure 2021-12-05 14:40:08 +00:00
Nuno Maduro e64b6fe924 refacto: pipes 2021-12-05 14:21:11 +00:00
Nuno Maduro c8697e0310 chore: fixes style 2021-12-05 14:05:01 +00:00
Nuno Maduro 98db677646 refacto: pipes 2021-12-05 14:03:09 +00:00
Nuno Maduro 6c3a8be049 Merge pull request #430 from def-studio/next-1
[v2.x] expectation pipes and interceptors
2021-12-05 12:27:20 +00:00
Nuno Maduro 129a733888 chore: re-adds removed tests 2021-12-04 21:23:48 +00:00
Nuno Maduro 5aeda553a4 fix: removes json file 2021-12-04 21:21:47 +00:00
Nuno Maduro 0146186ddb fix: adds retry.json to gitignore 2021-12-04 21:20:28 +00:00
Nuno Maduro 106b279ed0 feat: adds --retry option 2021-12-04 21:18:55 +00:00
Fabio Ivona 05f44ed84a fix phpstan 2021-11-29 10:06:00 +01:00
Fabio Ivona 6e7890c206 fix phpstan 2021-11-29 09:58:48 +01:00
Fabio Ivona 2d2760e15c fix phpstan 2021-11-29 09:52:18 +01:00
Fabio Ivona b2eb69cbc1 fix phpstan 2021-11-29 09:48:10 +01:00
Fabio Ivona 0fc90ec181 Merge branch 'master' into next-1 2021-11-29 09:36:07 +01:00
Fabio Ivona 337d55b9ab lint 2021-11-29 09:25:00 +01:00
Nuno Maduro 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
luke 24943e5fbb Merge branch 'master' into better-dataset-support 2021-11-27 19:55:14 +00:00
luke 33d1579660 Updates from main 2021-11-27 19:54:39 +00:00
Nuno Maduro 8047ae570d chore: fixes cs 2021-11-27 19:54:21 +00:00
Nuno Maduro e236bf3821 chore: runs static workflows on php81 2021-11-27 19:51:58 +00:00
Nuno Maduro 32c2df0444 chore: runs static workflows on php81 2021-11-27 19:44:41 +00:00
Nuno Maduro 7a0e841a0d chore: fixes tests 2021-11-27 19:41:50 +00:00