nuno maduro
820fa08313
fix: package lock fingerprint
2026-07-18 01:10:01 +01:00
Sonali dudhia
b49cd150c9
feat: add toBeEmail expectation ( #1735 )
...
Adds `toBeEmail()` backed by `filter_var(FILTER_VALIDATE_EMAIL)`.
Mirrors the existing `toBeUrl()` pattern — no new dependencies, pure PHP.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-24 15:51:35 +01:00
Sonali dudhia
774a340400
feat: add toBeUlid assertion and isUlid validation method ( #1726 )
2026-06-11 10:14:00 +01:00
nuno maduro
87db0b4847
release: v4.6.1
2026-04-15 09:03:09 -07: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
Nuno Maduro
477d20a54f
release: 4.1.3
2025-10-29 22:45:27 +00:00
Malico
dc9a1e8ace
BugFix: Fix toUseTrait to detect inherited and nested traits
2025-09-20 19:06:23 +01:00
Nuno Maduro
711a60c2db
release: beta 1
2025-08-05 17:44:12 +01:00
nuno maduro
520a5fe29d
Merge branch '4.x' into 3.x
2025-07-26 03:56:09 +01:00
nuno maduro
e513f76ea9
Merge pull request #1256 from mazesec/add-slugify-method
...
Add slugify Method to Str Class and toBeSlug Assertion to Expectation Class
2025-07-22 23:08:15 +01:00
Clément Birklé
e46d499384
add tests for snapshots external to the tests directory
2025-03-19 16:33:44 +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
a55da85dd2
release: v3.2.0
2024-09-23 13:14:03 +01:00
tal7aouy
92bc1decd9
Add tests for toBeSlug method
2024-09-16 13:41:13 +01:00
Nuno Maduro
04af21183a
chore: fixes style
2024-09-09 10:53:45 +01:00
Nuno Maduro
09edaa9c2d
chore: updates snapshots
2024-09-09 10:49:48 +01:00
Nuno Maduro
e6823679dd
feat: adds not->toHavePrivateMethods and related
2024-09-04 11:18:41 +01:00
Nuno Maduro
dde943b993
refacto: toHaveMethod and toHaveMethods
2024-09-02 19:38:38 +01:00
Nuno Maduro
5ae5ac9a54
fix: removes both toHaveMethod and toHaveMethods
2024-08-28 16:30:29 -05:00
Nuno Maduro
8fe2698c28
chore: fixes test suite
2024-08-20 22:57:10 +01:00
Nuno Maduro
b6bf01148f
feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides
2024-08-09 00:24:24 +01:00
Nuno Maduro
45cce6ce93
Style
2024-07-24 21:54:52 +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
9d02b649e2
feat: adds toUseTraits expectation
2024-06-25 21:56:08 +01:00
Nuno Maduro
04c39bae2e
Adjust style
2024-06-25 21:02:52 +01:00
Morten Harders
3c6c89a6ad
Added test to toBeList
2024-05-21 08:15:32 +02:00
Morten Harders
55f6b5696e
Added toBeList expectation
2024-05-21 08:13:20 +02: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
1153531104
Merge pull request #1055 from mapon-com/feature/string-comparison-expectations
...
[2.x] Allow string type in greaterThan/lessThan expectations
2024-01-25 16:48:27 +00:00
Nuno Maduro
95cd550524
fix: pipes not allowing to modify original value
2024-01-25 16:10:16 +00:00
Nuno Maduro
0aecd5d5d7
Merge pull request #974 from erikgaal/expect-to-contain-equals
...
[2.x] Add `toContainEquals` expectation
2024-01-25 14:38:55 +00:00
Nuno Maduro
e95c4ee636
feat(toContainEqual): adds method name
2024-01-25 14:38:44 +00:00
Pauls Nartišs
b1c59ec2e6
feat: allow string type in gt/lt expectations
2024-01-05 16:21:02 +02:00
markhuot
2a54b5819d
#1017 adds early return toSnapshot test
2023-11-28 20:59:45 -05:00
JonPurvis
2e01776272
add to be backed enum expectation
2023-11-18 03:31:35 +00:00
Erik Gaal
15cd7187e9
Update toContainEquals.php
2023-11-06 10:31:48 +01:00
JonPurvis
5101b9dce3
add to be url expectation
2023-10-09 20:02:11 +01:00
Nuno Maduro
6068ef6150
feat: adds support for PHPUnit 10.4
2023-10-06 13:33:31 +01:00
Erik Gaal
79f5973e5a
Add tests
2023-10-03 11:09:26 +02:00
JonPurvis
be0d9e964b
add toBeBetween() expectation
2023-09-22 01:55:06 +01:00
Nuno Maduro
0d114e21fd
chore: updates snapshots
2023-09-19 10:48:23 +01:00
JonPurvis
6c73a3d90b
initial commit
2023-09-18 01:00:50 +01:00
Thai Nguyen Hung
42323e27b1
fix: correct method name
2023-09-06 08:21:42 +07:00
Thai Nguyen Hung
038fd80428
feat: toBeUUID expectation
2023-09-05 08:25:02 +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