Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2754

Composer: "cat doctrine >> doctrine.php doctrine.php.bat"


    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Tools
    • Environment:
      Win7 x64, PHP 5.5.3, Composer v2013-10-21 (triggered via NetBeans 7.4)


      If one is triggering a Composer update, doctrine file content overwrites doctrine.php content and creates doctrine.php.bat with the same content. Before the update, none of these files were existent.

      (The summary of this issue suggests what actually happens, not what has been executed by Composer or me, neither it appears in the logs!)

      The reason why I reported here first is that these files are only in your repository, from all repositories I have chosen.

      Composer Setup was:

          "require": {
              "php": ">=5.3.3",
              "zendframework/zendframework": "2.2.*",
              "doctrine/doctrine-module": "0.8.*@dev",
              "doctrine/doctrine-orm-module": "0.8.*@dev"

      ...and few requirements were recursively solved on executing update:

          symfony/console (v2.3.6)
          doctrine/orm (v2.4.0)

      My first suggest would be that composer can't handle unsuffixed files on Windows. If you can confirm this instead of a bug in Doctrine 2, the Composer project may gets a line dropped?

      Possible workaround could be the renaming of doctrine to doctrine.sh.



        There are no comments yet on this issue.


          • Assignee:
            beberlei Benjamin Eberlei
            dguhl Dominic Guhl
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: