givebutter/laravel-keyable

Laravel 10 Support - PHPUnit/Testbench dependency error

mwllgr opened this issue · 1 comments

Me again, now with Laravel 10. Can't upgrade my project because of this dependency.

When upgrading to PHPUnit 10 ("phpunit/phpunit": "^9.5"):

  Problem 1
    - Root composer.json requires givebutter/laravel-keyable 1.0.0 -> satisfiable by givebutter/laravel-keyable[1.0.0].
    - givebutter/laravel-keyable 1.0.0 requires phpunit/phpunit ^9.5 -> found phpunit/phpunit[9.5.0, ..., 9.6.7] but it conflicts with your root composer.json require (^10.0).

... and when you don't update to PHPUnit 10:

  Problem 1
    - orchestra/testbench[v7.6.0, ..., v7.7.1] require laravel/framework ^9.19 -> found laravel/framework[v9.19.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.8.0, ..., v7.8.1] require laravel/framework ^9.32 -> found laravel/framework[v9.32.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.9.0, ..., v7.10.2] require laravel/framework ^9.34 -> found laravel/framework[v9.34.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.11.0, ..., v7.14.1] require laravel/framework ^9.36 -> found laravel/framework[v9.36.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench v7.15.0 requires laravel/framework ^9.41 -> found laravel/framework[v9.41.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench v7.16.0 requires laravel/framework ^9.44 -> found laravel/framework[v9.44.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.17.0, ..., v7.20.0] require laravel/framework ^9.45 -> found laravel/framework[v9.45.0, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.21.0, ..., v7.22.0] require laravel/framework ^9.50.2 -> found laravel/framework[v9.50.2, ..., v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v7.22.1, ..., v7.24.1] require laravel/framework ^9.52.4 -> found laravel/framework[v9.52.4, v9.52.5, v9.52.6, v9.52.7] but it conflicts with your root composer.json require (^10.0).
    - givebutter/laravel-keyable 1.0.0 requires orchestra/testbench ^7.6 -> satisfiable by orchestra/testbench[v7.6.0, ..., v7.24.1].
    - Root composer.json requires givebutter/laravel-keyable 1.0.0 -> satisfiable by givebutter/laravel-keyable[1.0.0].

Used an old package version, my bad. It works as expected with the current state of this repository.