duncan3dc / dusk

Use Dusk browser automation without the full Laravel framework
Apache License 2.0
80 stars 12 forks source link

Updated composer.json for php 7.2 #9

Closed sunscreem closed 5 years ago

sunscreem commented 5 years ago

I've ran you test suite on my 7.2 (laravel homestead) and everything passes :)

duncan3dc commented 5 years ago

Hi again! ^7.1 means at least 7.1.0 but not 8.0.0 or higher. So it already declares compatibility with 7.2

sunscreem commented 5 years ago

Ah...

Must be a problem at my end then. I'll dig in.

$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for duncan3dc/dusk ^0.9.0 -> satisfiable by duncan3dc/dusk[0.9.0].
    - duncan3dc/dusk 0.9.0 requires php ^7.1 -> your PHP version (7.2.8) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
sunscreem commented 5 years ago

Yup - right there in MY (well CraftCMS's) composer.json.

10 year of being a coder and this basic stuff still makes me feel like an idiot!

Sorry to bug you dude.