26 Commits

Author SHA1 Message Date
1115c64186 chore: style changes 2024-10-01 11:48:14 +01:00
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
432ff221c6 fix: missing != and !== on new toUseStrictEquality arch expectation 2024-09-23 14:08:21 +01:00
a55da85dd2 release: v3.2.0 2024-09-23 13:14:03 +01:00
b6bf01148f feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides 2024-08-09 00:24:24 +01:00
f2691623cf feat: toHaveAllMethodsDocumented and toHaveAllPropertiesDocumented 2024-07-19 14:03:59 +01:00
04c39bae2e Adjust style 2024-06-25 21:02:52 +01:00
2e01776272 add to be backed enum expectation 2023-11-18 03:31:35 +00:00
bc08f2cb55 fix style issues 2023-09-18 01:13:51 +01:00
6c73a3d90b initial commit 2023-09-18 01:00:50 +01:00
0fc232bbc7 Merge pull request #934 from hungthai1401/to_have_attribute_expectation
[2.x] Add `toHaveAttribute` expectation
2023-09-03 23:18:47 +01:00
9dabecacbf Add toHaveMethod arch expectation 2023-09-01 18:32:40 +02:00
e6fe968d44 fix: pint 2023-08-24 14:45:11 +07:00
678898efe7 feat: toHaveAttribute expectation 2023-08-24 14:26:54 +07:00
011bd3ba82 Added "toBeInvokable" arch expectation. 2023-08-01 12:09:18 +01:00
6886558ed1 feat(arch): Adds support for opposite expectations of toHavePrefix and toHaveSuffix. 2023-07-31 11:28:53 +01:00
eb9f31edeb tests: unexpected output 2023-06-15 14:06:54 +02:00
3e1cef296f chore: updates snapshots 2023-05-06 11:51:58 +01:00
477492fdd2 Adding tests 2023-05-06 08:43:19 +01:00
ca69e4fd94 remove unnecessary custom phpunit xml added previously 2023-03-29 13:23:43 +03:00
1965763cd0 fix parallel execution of test class that inherit other class with the same name 2023-03-29 13:02:18 +03:00
bb6d6b0951 tests: adds collision tests 2023-03-21 23:55:33 +00:00
9fd8610390 Adds compact printer 2022-09-16 16:27:23 +01:00
7a41a540f2 Fixes covers tests 2022-09-16 12:34:20 +01:00
c05df43217 Compare lines without involving linebreaks
Fixes tests failing under Windows environments
for any linebreak character differences
2020-06-05 16:23:11 +02:00
de2929077b first 2020-05-11 18:38:30 +02:00