dillingham / nova-assertions

Laravel Nova assertions for your tests
MIT License
79 stars 16 forks source link

Update AssertFields.php #20

Closed asivaneswaran closed 3 years ago

asivaneswaran commented 3 years ago

Should fix this error when upgrading to PHP 8.0.

PHP Fatal error: During class fetch: Uncaught ErrorException: Required parameter $method follows optional parameter $value in

bdsoha commented 3 years ago

This issue has been merged but has yet to be published as an updated composer package. Any plans on pushing a new tag?

bdsoha commented 3 years ago

I circumvented the issue by adding the package requirement to composer.json as follows:

"require-dev": {
    "dillingham/nova-assertions": "master"
},
"repositories": [
    {
        "name": "dillingham/nova-assertions",
        "type": "vcs",
        "url": "https://github.com/dillingham/nova-assertions"
    }
]