sausin / laravel-ovh

Wrapper for OVH Object Storage integration with laravel
MIT License
37 stars 12 forks source link

Package Incompatability with PHP 8.0 #78

Closed Elycin closed 3 years ago

Elycin commented 3 years ago

Hello,

While attempting to use this package in one of my projects, I encountered the following errors:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sausin/laravel-ovh[v4.0.0, ..., v4.0.2] require illuminate/support ^5.4|^6.0|^7.0 -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.19, v7.0.0, ..., v7.30.4] but these were not loaded, likely because it conflicts with another require.
    - sausin/laravel-ovh[v4.0.3, ..., v4.1.0] require php ^7.2 -> your php version (8.0.3) does not satisfy that requirement.
    - Root composer.json requires sausin/laravel-ovh ^4.0 -> satisfiable by sausin/laravel-ovh[v4.0.0, ..., v4.1.0].

I can easily get around this by providing the --ignore-platform-deps when executing composer, but I wanted to mention that this could be worked around with the following change in your composer.json and would enable further compatability

"require": {
    "php": "^7.4|^8.0",
},

Thanks, Ely

sausin commented 3 years ago

Closed in #80