Hi all,
I'm trying to contribute to a doctrine project (doctrine/KeyValueStore) but 
I have some questions before starting.
I was reading this: 
http://www.doctrine-project.org/contribute.html#project-dependencies

   1. *"Project dependencies between Doctrine projects are handled through 
   git submodules."*
   Why not Composer?
   2. *"The code of the particular Doctrine project you have cloned is 
   located under **lib/Doctrine**."*
   Working with PSR-4 this is not a requirement. Is it a decision, a good 
   practice or a requirement?
   3. (if PSR-4 is permitted) I use the following directory structure, is 
   it permitted and a good/bad practice (please don't kill me if it's a too 
   bad practice hehe)?

directories and files
/
- /Tests
-- LibraryTest.php
- Library.php

in the composer.json (located under the same path of Library.php)
{
  "autoload": {
    "psr-4": {
      "Vendor\\": "."
    }
  }
}

and in phpunit.xml.dist (located under the same path of Library.php)
<phpunit bootstrap="vendor/autoload.php">
    <testsuites>
        <testsuite name="Library Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>
</phpunit>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to