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
SimonBroekaert
1675dd1d41
chore: add tests for toBeCasedCorrectly() arch test
2026-02-17 19:03:46 +01:00
Malico
dc9a1e8ace
BugFix: Fix toUseTrait to detect inherited and nested traits
2025-09-20 19:06:23 +01:00
Nuno Maduro
1115c64186
chore: style changes
2024-10-01 11:48:14 +01: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
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
b6bf01148f
feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides
2024-08-09 00:24:24 +01:00
Nuno Maduro
04c39bae2e
Adjust style
2024-06-25 21:02:52 +01:00
JonPurvis
2e01776272
add to be backed enum expectation
2023-11-18 03:31:35 +00:00
JonPurvis
bc08f2cb55
fix style issues
2023-09-18 01:13:51 +01:00
JonPurvis
6c73a3d90b
initial commit
2023-09-18 01:00:50 +01:00
Nuno Maduro
0fc232bbc7
Merge pull request #934 from hungthai1401/to_have_attribute_expectation
...
[2.x] Add `toHaveAttribute` expectation
2023-09-03 23:18:47 +01:00
ludoguenet
9dabecacbf
Add toHaveMethod arch expectation
2023-09-01 18:32:40 +02:00
Thai Nguyen Hung
e6fe968d44
fix: pint
2023-08-24 14:45:11 +07:00
Thai Nguyen Hung
678898efe7
feat: toHaveAttribute expectation
2023-08-24 14:26:54 +07:00
Ash Allen
011bd3ba82
Added "toBeInvokable" arch expectation.
2023-08-01 12:09:18 +01:00
Luke Downing
6886558ed1
feat(arch): Adds support for opposite expectations of toHavePrefix and toHaveSuffix.
2023-07-31 11:28:53 +01:00