From 10eb8469f4f53d17da883ab8006b76fcc737c245 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Tue, 17 Mar 2026 07:49:52 +0000 Subject: [PATCH] 537: fix deprecated output when using Box - PIE issue: https://github.com/php/pie/issues/537 - Upstream box issue: https://github.com/box-project/box/issues/1577 Can probably be reverted once the Box issue is fixed & released :) --- box.json.dist | 1 + phar-stub.php | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 phar-stub.php diff --git a/box.json.dist b/box.json.dist index 453105b..fa3b348 100644 --- a/box.json.dist +++ b/box.json.dist @@ -2,6 +2,7 @@ "alias": "pie.phar", "output": "pie.phar", "git": "pie_version", + "stub": "phar-stub.php", "force-autodiscovery": true, "directories": [ "resources" diff --git a/phar-stub.php b/phar-stub.php new file mode 100644 index 0000000..79c9db6 --- /dev/null +++ b/phar-stub.php @@ -0,0 +1,19 @@ +#!/usr/bin/env php +