We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 869d97b + ebb9d22 commit 49acca4Copy full SHA for 49acca4
1 file changed
bin/pie
@@ -24,7 +24,10 @@ use Symfony\Component\Console\Input\InputInterface;
24
use Symfony\Component\Console\Output\OutputInterface;
25
use Symfony\Component\EventDispatcher\EventDispatcher;
26
27
-error_reporting(error_reporting() & ~E_DEPRECATED);
+require_once __DIR__ . '/../src/Util/PieVersion.php';
28
+if (PieVersion::isPharBuild()) {
29
+ error_reporting(error_reporting() & ~E_DEPRECATED);
30
+}
31
32
/** @psalm-suppress UnresolvableInclude */
33
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
0 commit comments