From 7dc3e15abb81d67be771751c3ca828332a3884d2 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 15 Apr 2015 02:31:56 +0200 Subject: [PATCH] Revert the addition of the wrong bin script The bin/doctrine-dbal.php file is not an executable file. Adding them as a bin in composer.json means that any composer install will trigger changes in the source when using symlinks because of the chmod. This makes things a pain when installing from source. Thus, there is no valid reason to add it. It is absolutely not necessary when using a composer install. The issue requesting it previously is actually an issue in Laravel which replaces the proxy file/symlink generated by Composer with a copy of the original file, which of course cannot work because of paths used in require. But copying a second file does not help for that (unless in very specific cases). It only moves the issue until the next require call. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef009cf10aa..9d9e7d3b1c5 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." }, - "bin": ["bin/doctrine-dbal", "bin/doctrine-dbal.php"], + "bin": ["bin/doctrine-dbal"], "autoload": { "psr-0": { "Doctrine\\DBAL\\": "lib/" } },