Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOX v4.x support to build PHAR version #182

Open
llaville opened this issue Oct 13, 2023 · 1 comment
Open

BOX v4.x support to build PHAR version #182

llaville opened this issue Oct 13, 2023 · 1 comment

Comments

@llaville
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant