From 2dec9708043b7ba3bedce2df3cfb060bf445468d Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Tue, 6 Feb 2024 07:50:43 +0000 Subject: [PATCH] fix issue #203 : BOX v5/v6 is now able to build PHAR version of PHPLint 9.1 --- .changes/unreleased/Fixed-20240206-074917.yaml | 4 ++++ box.json.dist | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixed-20240206-074917.yaml diff --git a/.changes/unreleased/Fixed-20240206-074917.yaml b/.changes/unreleased/Fixed-20240206-074917.yaml new file mode 100644 index 00000000..a71fd401 --- /dev/null +++ b/.changes/unreleased/Fixed-20240206-074917.yaml @@ -0,0 +1,4 @@ +kind: Fixed +body: '[#203](https://github.com/overtrue/phplint/issues/203) : Uncaught Error: Failed + opening required "phar:///usr/local/bin/phplint/config/bootstrap.php"' +time: 2024-02-06T07:49:17.431082697Z diff --git a/box.json.dist b/box.json.dist index 60d7afc0..a36c1ee6 100644 --- a/box.json.dist +++ b/box.json.dist @@ -11,5 +11,7 @@ ], "compactors": [ "KevinGH\\Box\\Compactor\\PhpScoper" - ] + ], + "force-autodiscovery": true, + "files": ["config/bootstrap.php"] }