Commit Graph

203 Commits

Author SHA1 Message Date
c6244a8712 Release 3.8.2 2025-04-17 11:53:02 +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
970e16e949 Ignores 2024-09-23 14:08:30 +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
e6823679dd feat: adds not->toHavePrivateMethods and related 2024-09-04 11:18:41 +01:00
e2d360b1b5 chore: adjusts tests 2024-09-03 14:09:03 +01:00
dde943b993 refacto: toHaveMethod and toHaveMethods 2024-09-02 19:38:38 +01:00
2c6c3119d2 Merge branch '2.x' into 3.x 2024-08-22 21:21:52 +01:00
cbcfa2c5e2 Merge pull request #1100 from faissaloux/fix-use-strict-types
Fix `toUseStrictTypes`
2024-08-22 20:32:21 +01:00
b6bf01148f feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides 2024-08-09 00:24:24 +01:00
33d36d77cb Merge branch '2.x' into 3.x 2024-08-02 23:53:26 +01:00
5e41e546a0 chore: style changes 2024-08-02 11:53:24 +01:00
45cce6ce93 Style 2024-07-24 21:54:52 +01:00
101e26749a fix: properties and methods documented 2024-07-20 17:45:41 +01:00
b3c8c24aea Reworks 2024-07-20 14:15:28 +01:00
ef29b4f091 Include method name in toHaveMethod error message 2024-07-19 15:30:43 +01:00
a7553b7593 feat(to-have-all*): improvements 2024-07-19 14:32:46 +01:00
f2691623cf feat: toHaveAllMethodsDocumented and toHaveAllPropertiesDocumented 2024-07-19 14:03:59 +01:00
99107544ff chore: fixes types 2024-07-18 20:45:47 +01:00
2e411893d2 feat: adds toHaveLineCountLessThan 2024-07-18 20:43:39 +01:00
0331a87be1 feat: adds toHaveFileSystemPermissions expectation 2024-07-14 23:16:04 +01:00
ee32f25485 feat: pr and issue 2024-07-04 00:53:58 +01:00
474b9b7e17 chore: adjusts tests 2024-06-27 01:41:34 +01:00
9d02b649e2 feat: adds toUseTraits expectation 2024-06-25 21:56:08 +01:00
1b64fef7ba fix toUseStrictTypes 2024-02-21 16:58:40 +01:00
cb1735f4d8 fix: removes process-isolation from --help output 2024-01-25 17:27:03 +00:00
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
95cd550524 fix: pipes not allowing to modify original value 2024-01-25 16:10:16 +00:00
e27d2e7394 Fix typo in toBeClass 2023-12-23 00:36:41 +00:00
453133d382 chore: code style changes 2023-12-15 11:42:09 +00:00
c743b10a87 Update Expectation.php
Removed @internal phpdoc
2023-11-23 13:15:50 -03:00
2e01776272 add to be backed enum expectation 2023-11-18 03:31:35 +00:00
6c73a3d90b initial commit 2023-09-18 01:00:50 +01:00
3927177b23 finishing the code 2023-09-05 20:36:18 -03: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
b9b90295fa Update Expectation.php
Typo
2023-09-01 18:39:37 +02:00
9dabecacbf Add toHaveMethod arch expectation 2023-09-01 18:32:40 +02:00
e69899559d refactor: generic attribute 2023-08-24 15:23:13 +07:00
678898efe7 feat: toHaveAttribute expectation 2023-08-24 14:26:54 +07:00
206548af2b Merge pull request #895 from cerbero90/feature/traversable-sequence
[2.x] Add support for nested traversable in sequence
2023-08-19 09:38:46 +00:00
f8dd286213 chore: skip array list 2023-08-19 10:27:02 +02:00
2db15af24a Merge branch '2.x' into feature/traversable-sequence 2023-08-18 12:33:09 +02:00
478144fb35 feat: add toHaveStudlyCaseKeys 2023-08-17 20:51:26 +02:00
5d81cf0d4c feat: add toHaveCamelCaseKeys 2023-08-17 20:51:14 +02:00
0b115230f9 feat: add toHaveKebabCaseKeys 2023-08-17 20:50:51 +02:00
0b246f7a76 feat: add toHaveSnakeCaseKeys 2023-08-17 20:50:26 +02:00
306b7eb2a6 feat: adds ddWhen and ddUnless 2023-08-09 12:14:32 +01:00
02f72aabb2 Merge pull request #860 from devajmeireles/feature/add-dd-conditionally
Feature: Introducing The Ability to Dump Conditionally
2023-08-09 10:50:53 +00:00
d94a6580f5 fix: type check 2023-08-02 20:49:27 +02:00