php-semver-checker icon indicating copy to clipboard operation
php-semver-checker copied to clipboard

BOX v4.x support to build PHAR version

Open llaville opened this issue 2 years ago • 1 comments

Hello,

  1. Explains given on https://github.com/tomzx/php-semver-checker#building-php-semver-checkerphar is outdated now with BOX v4.x

The BOX build command was replaced by the compile command.

  1. The box.json is now invalid with BOX v4 support. The compactors namespaces are different !

Here is the patch to fix it !

diff --git a/box.json b/box.json
index fb5f4ad..16ae65f 100644
--- a/box.json
+++ b/box.json
@@ -1,6 +1,6 @@
 {
     "alias": "php-semver-checker.phar",
-    "compactors": ["Herrera\\Box\\Compactor\\Php"],
+    "compactors": ["KevinGH\\Box\\Compactor\\Php"],
     "compression": "GZ",
     "directories": ["src"],
     "files": ["LICENSE"],

llaville avatar Oct 13 '23 06:10 llaville

No activity since a very long time. Hope you're fine !

llaville avatar Mar 11 '24 05:03 llaville