nuno maduro
33e3bf2888
chore: moves to phpunit 13.2
2026-07-07 13:40:02 +01:00
avinash
e601e6df31
fix: preserve full error message in not() expectation failures
...
When using not() expectations with custom error messages, the message
was truncated because throwExpectationFailedException() passed all
arguments through shortenedExport() which limits strings to ~40 chars.
Uses the full export() method for arguments instead of shortenedExport()
so custom error messages are displayed in their entirety.
Fixes #1533
2026-04-07 18:12:54 +05:30
Nuno Maduro
f0a08f0503
chore: missing types
2026-02-17 17:52:00 +00:00
Nuno Maduro
2c040c5b1f
chore: style
2026-02-17 17:45:50 +00:00
Nuno Maduro
a9ce1fd739
chore: code refactor
2026-02-17 17:45:34 +00:00
Owen Voke
b1c997a869
feat: show more useful exception when intl extension not found
2025-12-12 12:02:00 +00:00
Nuno Maduro
4c88590b89
feat: not.toHaveSuspiciousCharacters
2025-07-26 07:47:00 -06:00
Nuno Maduro
c6244a8712
Release 3.8.2
2025-04-17 11:53:02 +01:00
Nuno Maduro
0171617c1d
chore: adjusts to new types on arch
2025-03-30 18:42:00 +01:00
Nuno Maduro
ed70c9dc2b
refactor: type adjustments
2025-03-14 22:40:39 +00: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
7e4c51e13d
Style
2024-08-10 11:48:32 +01:00
Nuno Maduro
aacd874ebe
fix
2024-08-09 00:38:16 +01:00
Nuno Maduro
1c236aab26
fixes and styles
2024-08-09 00:30:06 +01:00
Nuno Maduro
b6bf01148f
feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides
2024-08-09 00:24:24 +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
Nuno Maduro
f2691623cf
feat: toHaveAllMethodsDocumented and toHaveAllPropertiesDocumented
2024-07-19 14:03:59 +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
4783334f15
chore: style
2024-07-11 09:35:38 +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
0289466ce8
Allows other folders to be queuable
2024-06-25 23:06:25 +01:00
Nuno Maduro
9d02b649e2
feat: adds toUseTraits expectation
2024-06-25 21:56:08 +01:00
Nuno Maduro
eac6585a2e
refactor: logger
2024-06-25 21:09:10 +01:00
Nuno Maduro
04c39bae2e
Adjust style
2024-06-25 21:02:52 +01:00
faissaloux
2c3234fb3d
fix bool type
2024-02-21 17:09:16 +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
JonPurvis
2e01776272
add to be backed enum expectation
2023-11-18 03:31:35 +00:00
JonPurvis
6c73a3d90b
initial commit
2023-09-18 01:00:50 +01:00
Thai Nguyen Hung
c9e919dd40
fix: correct comment message in OppositeExpectation
2023-09-06 08:34:48 +07: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
e69899559d
refactor: generic attribute
2023-08-24 15:23:13 +07:00
Thai Nguyen Hung
678898efe7
feat: toHaveAttribute expectation
2023-08-24 14:26:54 +07:00
Fabio Ivona
4b24da1a58
Merge pull request #892 from ash-jc-allen/comment-updates
...
Updated comments
2023-08-01 16:35:42 +02:00
Ash Allen
2e352c0084
Updated comments.
2023-08-01 13:09:53 +01:00
Ash Allen
3f854713e6
Style updates.
2023-08-01 12:12:41 +01: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
Nuno Maduro
2e622f6fd4
chore: fixes type checkign
2023-07-31 00:06:36 +01:00
Nuno Maduro
632ffc2f8e
fix: arch assertions counter
2023-07-24 19:13:09 +01:00