From 23a94f02656fd97a185425202f4280f5c4da9aa5 Mon Sep 17 00:00:00 2001 From: PabloKowalczyk <11366345+PabloKowalczyk@users.noreply.github.com> Date: Sat, 21 May 2022 16:18:23 +0000 Subject: [PATCH] Detect version automatically (#21) --- bin/nvfc | 6 +++++- composer.json | 1 + composer.lock | 5 +++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/nvfc b/bin/nvfc index 8ebade8..6aed7d0 100755 --- a/bin/nvfc +++ b/bin/nvfc @@ -1,6 +1,7 @@ #!/usr/bin/env php add(new WatchCommand()); $application->run(); diff --git a/composer.json b/composer.json index 90aae1e..19b4e45 100644 --- a/composer.json +++ b/composer.json @@ -11,6 +11,7 @@ "require": { "php": "^8.1", "ext-pcntl": "*", + "composer-runtime-api": "^2.0", "react/child-process": "^0.6.1", "react/event-loop": "^1.1", "react/promise": "^2.7", diff --git a/composer.lock b/composer.lock index 2370d3e..f91b197 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e7fd34e34e7ddc63269a1f16f11f7d33", + "content-hash": "a5eb69c1219ceb1ef213999ba74c7488", "packages": [ { "name": "evenement/evenement", @@ -5385,7 +5385,8 @@ "prefer-lowest": false, "platform": { "php": "^8.1", - "ext-pcntl": "*" + "ext-pcntl": "*", + "composer-runtime-api": "^2.0" }, "platform-dev": [], "plugin-api-version": "2.3.0"