Skip to content

Commit

Permalink
Extend to more
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Feb 13, 2025
1 parent a84f720 commit 82a3345
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Allow multiple `Ignore_Deprecation`/`Ignore_Incorrect_Usage` attribute usages on the same method.
- Allow multiple
`Ignore_Deprecation`/`Ignore_Incorrect_Usage`/`Expected_Deprecation`/`Expected_Incorrect_Usage`
attributes on a test method/class.

## v1.5.2 - 2025-02-06

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* Used to mark a test as expecting a deprecation notice.
*/
#[Attribute]
#[Attribute( Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE )]
class Expected_Deprecation {
/**
* Constructor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* Used to mark a test as expecting a specific doing it wrong call. Supports * as a wildcard.
*/
#[Attribute]
#[Attribute( Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE )]
class Expected_Incorrect_Usage {
/**
* Constructor.
Expand Down

0 comments on commit 82a3345

Please sign in to comment.