Skip to content

Commit

Permalink
Use PHPUnit attributes
Browse files Browse the repository at this point in the history
Replace all `@covers` and `@dataProvider` annotations with PHPUnit
attributes.

Update Coding style to 10.1 to ignore missing `@covers` attribute (it's
now checked by PHPUnit itself).

This commit makes the repository ready for PHPUnit 11.

Ticket: https://phabricator.wikimedia.org/T359971
  • Loading branch information
gbirke committed Apr 5, 2024
1 parent dff48a2 commit c4d13fc
Show file tree
Hide file tree
Showing 52 changed files with 459 additions and 262 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"phpstan/phpstan": "^1.10",
"phpmd/phpmd": "~2.6",
"mikey179/vfsstream": "~1.6",
"wmde/fundraising-phpcs": "~9.0.0",
"wmde/fundraising-phpcs": "~10.1.0",
"wmde/psr-log-test-doubles": "~3.0",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-doctrine": "~1.3.62"
Expand Down
Loading

0 comments on commit c4d13fc

Please sign in to comment.