Skip to content

Commit

Permalink
chore: solve PHPUnit 10 deprecations (#918)
Browse files Browse the repository at this point in the history
* Bump PHPUnit dependencies

* Adopt PHP attributes in test classes

* Declare data providers as `static`

* Add return types to test methods

* Define test classes as `final`

* chore: make static dataproviders work

* chore: attempt to make tests pass on prefer-lowest

* chore: camel case variables

---------

Co-authored-by: Shift <shift@laravelshift.com>
  • Loading branch information
jordyvanderhaegen and laravel-shift authored Nov 27, 2024
1 parent ff6bcf8 commit fea226d
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 201 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"require-dev": {
"orchestra/testbench-browser-kit": "^8.5|^9.0",
"phpunit/phpunit": "^9.5.10|^10.0"
"phpunit/phpunit": "^10.1"
},
"suggest": {
"ext-intl": "*"
Expand Down
Loading

0 comments on commit fea226d

Please sign in to comment.