Commit Graph

222 Commits

Author SHA1 Message Date
nuno maduro 87882a8561 fix: exit code 2026-06-12 06:57:27 +01:00
nuno maduro 3aab02d2eb ci: fixes dd test 2026-06-11 10:50:24 +01:00
Punyapal Shah be49a3ce18 Fix: dd (#1692)
* fix: update dd method to return never type

Co-authored-by: Copilot <copilot@github.com>

* fix: enhance var_dump calls to accept additional arguments

* fix: update dd method to handle paratest and collision printer environments

* test: add dd method tests for ExpectationFailedException in parallel mode

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
2026-06-11 10:16:07 +01:00
nuno maduro b6385dc865 fix: namespaces on toBeCasedCorrectly 2026-04-10 19:21:31 +01:00
nuno maduro a8e974d64a chore: updates snapshots 2026-04-10 14:42:34 +01:00
nuno maduro e766825f5b chore: fixes test:unit 2026-04-10 12:15:00 +01:00
nuno maduro 3a6c2fab37 Merge pull request #1515 from yondifon/fix-trait-inheritance-detection
BugFix: Fix toUseTrait to detect inherited and nested traits
2026-04-10 11:39:56 +01:00
nuno maduro 281dbf6cf4 Merge pull request #1455 from SimonBroekaert/feat/to_be_cased_correctly_arch_test_assertion
feat: add toBeCasedCorrectly arch test assertion
2026-04-10 11:38:46 +01:00
nuno maduro 2a80101f42 chore: update styling 2026-03-10 21:06:28 +00:00
SimonBroekaert df7b6c8454 feat: add toBeCasedCorrectly arch test assertion 2026-02-17 17:31:02 +01:00
nuno maduro df3205e814 Merge pull request #1554 from pindab0ter/feature/extend-closure-this
Specify closure this for extend
2026-01-13 01:19:47 +00:00
Nuno Maduro 477d20a54f release: 4.1.3 2025-10-29 22:45:27 +00:00
Hans van Luttikhuizen-Ross b7b16096db Specify closure this for extend 2025-10-29 11:20:08 +01:00
Malico dc9a1e8ace BugFix: Fix toUseTrait to detect inherited and nested traits 2025-09-20 19:06:23 +01:00
Nuno Maduro 4c88590b89 feat: not.toHaveSuspiciousCharacters 2025-07-26 07:47:00 -06:00
nuno maduro da04ba62a8 Merge pull request #1287 from mortenscheel/patch-1
Add toNotIncludeSuspiciousCharacters() expectation
2025-07-26 04:30:22 +01:00
nuno maduro ee70a3cfea Merge pull request #1319 from pestphp/allow-custom-arch-expectations
Allow custom arch expectations
2025-07-26 04:23:49 +01:00
Nuno Maduro c6244a8712 Release 3.8.2 2025-04-17 11:53:02 +01:00
olivernybroe 5331b44a18 Allow custom arch expectations 2024-11-20 11:54:36 +01:00
Morten Scheel dd7d150caa Add toNotIncludeSuspiciousCharacters() expectation 2024-10-04 13:44:10 +02:00
Simon Rogers b8a1b7e5cc Add tests for strict types expectation
Introduced new test cases to ensure strict type declaration handling. Files with and without strict types are tested, including scenarios with comments preceding the declaration. Updated the regex in `Expectation.php` to accommodate comments and whitespaces before the `declare(strict_types=1)` statement.
2024-09-28 17:31:33 +01:00
Nuno Maduro 970e16e949 Ignores 2024-09-23 14:08:30 +01:00
Nuno Maduro 432ff221c6 fix: missing != and !== on new toUseStrictEquality arch expectation 2024-09-23 14:08:21 +01:00
Nuno Maduro a55da85dd2 release: v3.2.0 2024-09-23 13:14:03 +01:00
Nuno Maduro e6823679dd feat: adds not->toHavePrivateMethods and related 2024-09-04 11:18:41 +01:00
Nuno Maduro e2d360b1b5 chore: adjusts tests 2024-09-03 14:09:03 +01:00
Nuno Maduro dde943b993 refacto: toHaveMethod and toHaveMethods 2024-09-02 19:38:38 +01:00
Nuno Maduro 2c6c3119d2 Merge branch '2.x' into 3.x 2024-08-22 21:21:52 +01:00
Nuno Maduro cbcfa2c5e2 Merge pull request #1100 from faissaloux/fix-use-strict-types
Fix `toUseStrictTypes`
2024-08-22 20:32:21 +01:00
Nuno Maduro b6bf01148f feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides 2024-08-09 00:24:24 +01:00
Nuno Maduro 33d36d77cb Merge branch '2.x' into 3.x 2024-08-02 23:53:26 +01:00
Nuno Maduro 5e41e546a0 chore: style changes 2024-08-02 11:53:24 +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 b3c8c24aea Reworks 2024-07-20 14:15:28 +01:00
Dan Mason ef29b4f091 Include method name in toHaveMethod error message 2024-07-19 15:30:43 +01:00
Nuno Maduro a7553b7593 feat(to-have-all*): improvements 2024-07-19 14:32:46 +01:00
Nuno Maduro f2691623cf feat: toHaveAllMethodsDocumented and toHaveAllPropertiesDocumented 2024-07-19 14:03:59 +01:00
Nuno Maduro 99107544ff chore: fixes types 2024-07-18 20:45:47 +01:00
Nuno Maduro 2e411893d2 feat: adds toHaveLineCountLessThan 2024-07-18 20:43:39 +01:00
Nuno Maduro 0331a87be1 feat: adds toHaveFileSystemPermissions expectation 2024-07-14 23:16:04 +01:00
Nuno Maduro ee32f25485 feat: pr and issue 2024-07-04 00:53:58 +01:00
Nuno Maduro 474b9b7e17 chore: adjusts tests 2024-06-27 01:41:34 +01:00
Nuno Maduro 9d02b649e2 feat: adds toUseTraits expectation 2024-06-25 21:56:08 +01:00
faissaloux 1b64fef7ba fix toUseStrictTypes 2024-02-21 16:58:40 +01:00
Nuno Maduro cb1735f4d8 fix: removes process-isolation from --help output 2024-01-25 17:27:03 +00:00
Nuno Maduro 607a4906ac Merge pull request #1006 from JonPurvis/to-be-backed-enum-expectation
[2.x] Add `toBeStringBackedEnum()` and `toBeIntBackedEnum()` Architecture Expectations
2024-01-25 17:09:23 +00:00
Nuno Maduro 95cd550524 fix: pipes not allowing to modify original value 2024-01-25 16:10:16 +00:00
Nick Harris e27d2e7394 Fix typo in toBeClass 2023-12-23 00:36:41 +00:00
Nuno Maduro 453133d382 chore: code style changes 2023-12-15 11:42:09 +00:00