<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 02:19:45 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DCOM&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DCOM</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="187" total="187"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DCOM-194] Creating Proxy class failure for own __get method</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-194</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Nette framework (&lt;a href=&quot;http://nette.org&quot; class=&quot;external-link&quot;&gt;http://nette.org&lt;/a&gt;) has got own Nette\Object as a base of other objects. It also rewrite the default __get method in PHP object but it uses definition with pointer:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function &amp;amp;__get($name)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Doctrine Common creates Proxy classes with __get method too but not with reference. It causes an error using strict warning:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Declaration of Proxy\__CG__\MyEntityObject::__get() should be compatible with &amp;amp; Nette\&lt;span class=&quot;code-object&quot;&gt;Object&lt;/span&gt;::__get($name)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is in ProxyGenerator. Locally I&apos;ve patched it in my Doctrine repository clone but don&apos;t know how to resolve it globally.&lt;/p&gt;</description>
                <environment>using Nette framework (&lt;a href=&quot;http://nette.org),&quot;&gt;http://nette.org),&lt;/a&gt; PHP 5.4</environment>
            <key id="14979">DCOM-194</key>
            <summary>Creating Proxy class failure for own __get method</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="honzap">Jan Pecek</reporter>
                        <labels>
                        <label>proxy</label>
                    </labels>
                <created>Wed, 22 May 2013 09:29:45 +0000</created>
                <updated>Wed, 22 May 2013 09:49:28 +0000</updated>
                                    <version>2.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20420" author="ocramius" created="Wed, 22 May 2013 09:48:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/common/blob/2.4.0-RC2/lib/Doctrine/Common/Proxy/ProxyGenerator.php#L386-L403&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/blob/2.4.0-RC2/lib/Doctrine/Common/Proxy/ProxyGenerator.php#L386-L403&lt;/a&gt; could be patched to verify if the method is byref/byval.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-193] [GH-275] Improve code to throw exception getting parents class instead of php warning</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-193</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of entering:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/275&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/275&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Related to &lt;a href=&quot;https://github.com/doctrine/common/pull/274&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/274&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14848">DCOM-193</key>
            <summary>[GH-275] Improve code to throw exception getting parents class instead of php warning</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 16:32:40 +0000</created>
                <updated>Thu, 9 May 2013 21:35:40 +0000</updated>
                    <resolved>Thu, 9 May 2013 21:35:40 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20256" author="doctrinebot" created="Thu, 9 May 2013 21:35:31 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-275&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/275&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/275&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-192] [GH-274] Improve code on loadMetadata() to verify if class exists</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-192</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of entering:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/274&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/274&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Improve code on loadMetadata() to verify if class exists, avoid a later warning when calling class_parents()&lt;/p&gt;

&lt;p&gt;Instead throws a \RuntimeException if class doesn&apos;t exists.&lt;/p&gt;

&lt;p&gt;Before changing code, just after add test:&lt;br/&gt;
```&lt;br/&gt;
1) Doctrine\Tests\Common\Persistence\Mapping\ClassMetadataFactoryTest::testGetMetadataForAbsentClass&lt;br/&gt;
class_parents(): Class Doctrine\Tests\Common\Persistence\Mapping\AbsentClass does not exist and could not be loaded&lt;/p&gt;

&lt;p&gt;/home/www/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php:38&lt;br/&gt;
/home/www/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:257&lt;br/&gt;
/home/www/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:281&lt;br/&gt;
/home/www/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:212&lt;br/&gt;
/home/www/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php:44&lt;br/&gt;
```&lt;/p&gt;</description>
                <environment></environment>
            <key id="14840">DCOM-192</key>
            <summary>[GH-274] Improve code on loadMetadata() to verify if class exists</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 22:37:58 +0000</created>
                <updated>Wed, 8 May 2013 17:45:33 +0000</updated>
                    <resolved>Wed, 8 May 2013 17:45:33 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20228" author="doctrinebot" created="Wed, 8 May 2013 17:44:23 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-274&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/274&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/274&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20229" author="ocramius" created="Wed, 8 May 2013 17:45:33 +0000"  >&lt;p&gt;Merged &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-191] Wrong inflection for &quot;identity&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-191</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;console doctrine:generate:entities&lt;/p&gt;

&lt;p&gt;For an association named &quot;identities&quot;, the code generator creates the two methods&lt;br/&gt;
addIdentitie() and removeIdentitie() - apparently the inflector doesn&apos;t catch that it should be addIdentity and removeIdentity.&lt;/p&gt;</description>
                <environment>OS X and Linux, PHP 5.4.x</environment>
            <key id="14838">DCOM-191</key>
            <summary>Wrong inflection for &quot;identity&quot;</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="tom">Tom Vogt</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 17:43:28 +0000</created>
                <updated>Tue, 7 May 2013 17:43:28 +0000</updated>
                                    <version>2.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-190] [GH-273] Added visibility in the methods Interfaces</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-190</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ramonornela:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/273&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/273&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This adjustment aims to bring to the default PSR2.&lt;br/&gt;
I see more alerts and warnings this is only a part.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ramon&lt;/p&gt;</description>
                <environment></environment>
            <key id="14834">DCOM-190</key>
            <summary>[GH-273] Added visibility in the methods Interfaces</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 May 2013 03:29:39 +0000</created>
                <updated>Tue, 21 May 2013 03:40:10 +0000</updated>
                    <resolved>Tue, 21 May 2013 03:40:09 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20403" author="doctrinebot" created="Tue, 21 May 2013 02:44:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-273&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/273&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/273&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20404" author="ocramius" created="Tue, 21 May 2013 03:40:10 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-189] Doctrine Proxies may conflict with interfaced constructors</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-189</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The Doctrine ProxyGenerator generates for a proxy a constructor. The documentation of Doctrine states that the constructor is never called. For a project, I created a group of entities with a interfaced constructor in order to enforce a common interface. This results in a incompatible proxy and so a fatal error.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14825">DCOM-189</key>
            <summary>Doctrine Proxies may conflict with interfaced constructors</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="harmenm">Harmen M</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 May 2013 09:05:15 +0000</created>
                <updated>Fri, 3 May 2013 13:05:24 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="20193" author="ocramius" created="Fri, 3 May 2013 09:08:16 +0000"  >&lt;p&gt;Cannot fix this - the constructor is required to override instantiation logic&lt;/p&gt;</comment>
                    <comment id="20194" author="harmenm" created="Fri, 3 May 2013 09:10:51 +0000"  >&lt;p&gt;Edit: added the correct description. I accidentially submitted the form before editing the description.&lt;/p&gt;</comment>
                    <comment id="20195" author="ocramius" created="Fri, 3 May 2013 09:13:13 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=harmenm&quot; class=&quot;user-hover&quot; rel=&quot;harmenm&quot;&gt;Harmen M&lt;/a&gt; why do you have a constructor in an interface? That&apos;s a very bad practice, and it makes things quite hard to handle.&lt;/p&gt;

&lt;p&gt;I can think of a workaround, but I first want to be sure there&apos;s a real advantage in changing the current implementation to use &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;unserialize()&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; just to handle this specific use case.&lt;/p&gt;</comment>
                    <comment id="20196" author="beberlei" created="Fri, 3 May 2013 09:31:11 +0000"  >&lt;p&gt;Adding __construct to an interface is an anti pattern and shouldn&apos;t be done.&lt;/p&gt;</comment>
                    <comment id="20197" author="harmenm" created="Fri, 3 May 2013 10:20:29 +0000"  >&lt;p&gt;Ok, then I change my implementation.&lt;/p&gt;

&lt;p&gt;But, maybe it is an idea to update the documentation of the ORM and state that constructor interfacing is not possible?&lt;br/&gt;
&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/architecture.html&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/architecture.html&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-188] [GH-272] MappingDriverChain: the default driver wasn&apos;t called for getAllClassNames()</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-188</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mnapoli:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/272&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/272&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;`MappingDriverChain::getAllClassNames()` would call and merge sub-drivers `getAllClassNames()` results, but not for the default driver.&lt;/p&gt;

&lt;p&gt;I added a test that reproduced the problem, and then fixed it.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14783">DCOM-188</key>
            <summary>[GH-272] MappingDriverChain: the default driver wasn&apos;t called for getAllClassNames()</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Apr 2013 13:59:57 +0000</created>
                <updated>Tue, 16 Apr 2013 21:52:33 +0000</updated>
                    <resolved>Tue, 16 Apr 2013 21:52:33 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20035" author="doctrinebot" created="Tue, 16 Apr 2013 21:50:36 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-272&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/272&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/272&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20036" author="ocramius" created="Tue, 16 Apr 2013 21:52:33 +0000"  >&lt;p&gt;Merged&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-187] [GH-270] Allow empty arrays in annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-187</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of kitsunet:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/270&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/270&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;an empty array so far is impossible as it either results in a parse error if you just do the obvious {} or if you try &lt;/p&gt;
{&quot;&quot;}
&lt;p&gt; it will create an empty entry which in turn will cause errors depending on the annotation.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14743">DCOM-187</key>
            <summary>[GH-270] Allow empty arrays in annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Mar 2013 22:42:25 +0000</created>
                <updated>Fri, 29 Mar 2013 22:42:25 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-186] [GH-269] ProxyGenerator eval() proxy code when $autoGenerate is true</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-186</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mnapoli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/269&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/269&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;ProxyGenerator eval() proxy code instead of writing it to disk when $autoGenerate is true.&lt;/p&gt;

&lt;p&gt;Related to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2210&quot; title=&quot;PHP warning in ProxyFactory when renaming proxy file&quot;&gt;DDC-2210&lt;/a&gt;(&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2210&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2210&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;The idea of eval() the proxy code was suggested by @ocramius in response to the fact that in dev environment, concurrent file writes create errors.&lt;/p&gt;

&lt;p&gt;This would also simplify the setup for a dev environment: no more proxy directory to create and make writeable.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14737">DCOM-186</key>
            <summary>[GH-269] ProxyGenerator eval() proxy code when $autoGenerate is true</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Mar 2013 15:51:02 +0000</created>
                <updated>Thu, 28 Mar 2013 15:51:02 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-185] DQL errors when attempting to use GROUP BY MAX(field)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-185</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Attempting to run DQL similar to:&lt;br/&gt;
SELECT a FROM ClassName a GROUP BY MAX(a.depth)&lt;/p&gt;

&lt;p&gt;Throws error:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Semantical Error&amp;#93;&lt;/span&gt; line 0, col 250 near &apos;MAX(ao.depth)&apos;: Error: Cannot group by undefined identification or result variable.&lt;/p&gt;


&lt;p&gt;Per docs, MAX is allowed within GROUP BY: &lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#aggregate-functions&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#aggregate-functions&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;If this error is due to some omission on my part, then perhaps the docs should be extended to show a valid GROUP BY MAX() usage, or the error message expanded for a better hint.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14730">DCOM-185</key>
            <summary>DQL errors when attempting to use GROUP BY MAX(field)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="intel352">Jon Langevin</reporter>
                        <labels>
                        <label>dql</label>
                        <label>groupby</label>
                        <label>max</label>
                    </labels>
                <created>Tue, 26 Mar 2013 22:41:29 +0000</created>
                <updated>Tue, 26 Mar 2013 22:41:29 +0000</updated>
                                    <version>2.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-184] [GH-266] Add a new method to use a filter before extracting the metadata</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-184</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of nicolasTheodo:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/266&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/266&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I have notice that, when you use the doctrine:mapping:convert and doctrine:mapping:import command in symfony, the filter is added after all the metadata are extracting from the database.&lt;br/&gt;
In this case, when you have a table with no primary key for example, you cannot extract the mapping for only one entity.&lt;/p&gt;

&lt;p&gt;I have also made a pull-request into the doctrineBundle and doctrine2 to fix this issue.&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/DoctrineBundle/pull/161&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/DoctrineBundle/pull/161&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/603&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/603&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What are your thought about my issue?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14687">DCOM-184</key>
            <summary>[GH-266] Add a new method to use a filter before extracting the metadata</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 21:36:17 +0000</created>
                <updated>Tue, 12 Mar 2013 21:36:17 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-183] [GH-262] Fixed travis build</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-183</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pborreli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/262&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/262&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;since composer/composer#1005 composer updates --dev by default.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14682">DCOM-183</key>
            <summary>[GH-262] Fixed travis build</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 00:16:55 +0000</created>
                <updated>Mon, 11 Mar 2013 01:56:51 +0000</updated>
                    <resolved>Mon, 11 Mar 2013 01:56:51 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19822" author="beberlei" created="Mon, 11 Mar 2013 00:20:23 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-262&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/262&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/262&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-182] [GH-261] Fixed typos</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-182</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pborreli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/261&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/261&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14680">DCOM-182</key>
            <summary>[GH-261] Fixed typos</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 00:05:00 +0000</created>
                <updated>Mon, 11 Mar 2013 01:56:33 +0000</updated>
                    <resolved>Mon, 11 Mar 2013 01:56:33 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19821" author="beberlei" created="Mon, 11 Mar 2013 00:05:05 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-261&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/261&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/261&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19824" author="beberlei" created="Mon, 11 Mar 2013 00:27:16 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-261&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/261&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/261&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-181] [GH-260] Hotfix/issue #259</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-181</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/260&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/260&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Hotfix for doctrine/common#259&lt;/p&gt;</description>
                <environment></environment>
            <key id="14677">DCOM-181</key>
            <summary>[GH-260] Hotfix/issue #259</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Mar 2013 19:29:01 +0000</created>
                <updated>Fri, 8 Mar 2013 07:41:05 +0000</updated>
                    <resolved>Fri, 8 Mar 2013 07:41:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19818" author="beberlei" created="Thu, 7 Mar 2013 21:30:09 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-260&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/260&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/260&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-180] Entity with field $key passes orm:validate but db create will fail</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-180</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;There should be a warning if you name a field $key.&lt;/p&gt;</description>
                <environment>apache2 php mysql</environment>
            <key id="14660">DCOM-180</key>
            <summary>Entity with field $key passes orm:validate but db create will fail</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="exoon">exoon</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Mar 2013 23:09:24 +0000</created>
                <updated>Sun, 3 Mar 2013 23:09:24 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-179] Underscore at the end of a label is not working with annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-179</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;use Zend\Form\Annotation;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;works:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;@Annotation\Options(
{&quot;label&quot;:Namespace\Entity::LABEL}
&lt;p&gt;)&lt;br/&gt;
or&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;@Annotation\Options(
{&quot;label&quot;:Namespace\Entity::_LABEL}
&lt;p&gt;)&lt;br/&gt;
or&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;@Annotation\Options(
{&quot;label&quot;:Namespace\Entity::LA_BEL}
&lt;p&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;works not:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;@Annotation\Options(
{&quot;label&quot;:Namespace\Entity::LABEL_}
&lt;p&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Error message:&lt;/p&gt;

&lt;p&gt;/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php:52&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Semantical Error&amp;#93;&lt;/span&gt; Couldn&apos;t find constant Namespace\Entity\::LABEL, property ...&lt;/p&gt;

&lt;p&gt;The _ at the end is missing.&lt;/p&gt;</description>
                <environment>apache2, php 5.4, mysql</environment>
            <key id="14658">DCOM-179</key>
            <summary>Underscore at the end of a label is not working with annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="exoon">exoon</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Mar 2013 10:13:57 +0000</created>
                <updated>Sun, 3 Mar 2013 10:16:00 +0000</updated>
                                    <version>2.3</version>
                                <fixVersion>2.3</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-178] [GH-258] Add an prefix to ApcCache</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-178</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of NoUseFreak:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/258&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/258&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;In shared hosting I ran into cache-collision. This gives users the option to avoid this problem.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14655">DCOM-178</key>
            <summary>[GH-258] Add an prefix to ApcCache</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Mar 2013 00:12:38 +0000</created>
                <updated>Sun, 3 Mar 2013 00:52:49 +0000</updated>
                    <resolved>Sun, 3 Mar 2013 00:52:44 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19794" author="beberlei" created="Sun, 3 Mar 2013 00:17:40 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-258&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/258&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/258&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-177] [GH-257] Add an prefix to ApcCache</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-177</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of NoUseFreak:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/257&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/257&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;In shared hosting I ran into cache-collision. This gives users the option to avoid this problem.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14654">DCOM-177</key>
            <summary>[GH-257] Add an prefix to ApcCache</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Mar 2013 00:08:03 +0000</created>
                <updated>Sun, 3 Mar 2013 00:11:05 +0000</updated>
                    <resolved>Sun, 3 Mar 2013 00:10:55 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19793" author="beberlei" created="Sun, 3 Mar 2013 00:08:13 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-257&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/257&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/257&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-176] [GH-256] Refactored AnnotationDriver to handle only required classes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-176</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mattcockayne:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/256&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/256&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Whilst debugging an issue I was having I found that the AnnotationDriver uses get_declared_classes() and iterates over the result to identify classes that should be handled.&lt;/p&gt;

&lt;p&gt;This seems like a ridiculous overhead especially as it then instantiated a ReflectionClass for each declared class. As an example my current project was iterating over 522 items when it needed to only handle 6.&lt;/p&gt;

&lt;p&gt;I&apos;ve kept the alterations to a minimum but it now takes a snapshot of the declared classes before and after the require for the files and then uses array_diff to get only the classes we are targeting.&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14646">DCOM-176</key>
            <summary>[GH-256] Refactored AnnotationDriver to handle only required classes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 13:36:41 +0000</created>
                <updated>Fri, 1 Mar 2013 14:41:06 +0000</updated>
                    <resolved>Fri, 1 Mar 2013 14:00:55 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19788" author="ocramius" created="Fri, 1 Mar 2013 14:01:00 +0000"  >&lt;p&gt;Patch breaks logic when files where already included&lt;/p&gt;</comment>
                    <comment id="19789" author="beberlei" created="Fri, 1 Mar 2013 14:41:06 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-256&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/256&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/256&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-175] Proxies return private properties in __sleep, which is not supported by PHP.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-175</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;__sleep should not return private parent property names (see &lt;a href=&quot;http://php.net/__sleep&quot; class=&quot;external-link&quot;&gt;http://php.net/__sleep&lt;/a&gt;) this raises notices, and also results in the value of the property being &apos;N&apos; (null) instead of keeping its value.&lt;/p&gt;

&lt;p&gt;I am unfortunately stuck having to serialize proxies in my revision tracking, as doctrine seems to be currently ignoring the fetch=&quot;EAGER&quot; I set on the related properties.&lt;/p&gt;

&lt;p&gt;Proxies should use the Serializable interface, and not __sleep, or not return parent property names which are private, it serves no purpose, and is not supported by PHP itself anyway.&lt;/p&gt;

&lt;p&gt;Also, if you keep __sleep, but do not return the parent property names, then it will only include the items you return, so it would be better to simply drop the __sleep method, I cannot actually see any useful purpose it serves.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13562">DCOM-175</key>
            <summary>Proxies return private properties in __sleep, which is not supported by PHP.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="bittarman">Ryan Mauger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Mar 2012 13:25:56 +0000</created>
                <updated>Fri, 19 Apr 2013 12:06:43 +0000</updated>
                                    <version>2.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17663" author="bittarman" created="Tue, 27 Mar 2012 13:32:12 +0000"  >&lt;p&gt;just updated the issue body, realised that I worded something badly.&lt;/p&gt;</comment>
                    <comment id="19386" author="ocramius" created="Wed, 23 Jan 2013 22:29:56 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=bittarman&quot; class=&quot;user-hover&quot; rel=&quot;bittarman&quot;&gt;Ryan Mauger&lt;/a&gt; I think that&apos;s a limitation we have. We use `__sleep` to avoid serializing fields like the initializers and the persisters of course.&lt;/p&gt;

&lt;p&gt;Even by implementing serializable, it would only work if the end user implemented it in the parent class.&lt;/p&gt;

&lt;p&gt;Tempted to mark it as &quot;can&apos;t fix&quot;&lt;/p&gt;</comment>
                    <comment id="19397" author="ocramius" created="Thu, 24 Jan 2013 08:59:23 +0000"  >&lt;p&gt;I think there&apos;s a solution by having something like following:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
class SomeGeneratedProxyName &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; RealName &lt;span class=&quot;code-keyword&quot;&gt;implements&lt;/span&gt; \Serializable
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function unserialize($data)
    {
        $reflectionClass = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ReflectionClass($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
        foreach ($reflectionClass-&amp;gt;getProperties(ReflectionProperty::IS_PRIVATE) as $privateProp) {
            $privateProp-&amp;gt;setAccessible(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
            $privateProp-&amp;gt;setValue($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;, $data[$privateProp-&amp;gt;getName()]);
        }
        &lt;span class=&quot;code-comment&quot;&gt;// ... other props ...
&lt;/span&gt;    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function serialize()
    {
        $data = array();
        $reflectionClass = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ReflectionClass($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
        foreach ($reflectionClass-&amp;gt;getProperties(ReflectionProperty::IS_PRIVATE) as $privateProp) {
            $privateProp-&amp;gt;setAccessible(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
            $data[$privateProp-&amp;gt;getName()] = $privateProp-&amp;gt;getValue($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
        }
        &lt;span class=&quot;code-comment&quot;&gt;// ... other props ...
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $data;
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="19676" author="ocramius" created="Sat, 23 Feb 2013 03:15:26 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=bittarman&quot; class=&quot;user-hover&quot; rel=&quot;bittarman&quot;&gt;Ryan Mauger&lt;/a&gt; I started implementing this one at &lt;a href=&quot;https://github.com/Ocramius/common/compare/hotfix;DCOM-175&quot; class=&quot;external-link&quot;&gt;https://github.com/Ocramius/common/compare/hotfix;DCOM-175&lt;/a&gt; and so far it looks promising. &lt;/p&gt;

&lt;p&gt;The only doubts so far are with handling cases like following:&lt;/p&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
class MyEntity &lt;span class=&quot;code-keyword&quot;&gt;implements&lt;/span&gt; Serializable
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function serialize()
    {
        &lt;span class=&quot;code-comment&quot;&gt;// [...]
&lt;/span&gt;    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function unserialize($serialized)
    {
        &lt;span class=&quot;code-comment&quot;&gt;// [...]
&lt;/span&gt;    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __sleep()
    {
        &lt;span class=&quot;code-comment&quot;&gt;// [...]
&lt;/span&gt;    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __wakeup()
    {
        &lt;span class=&quot;code-comment&quot;&gt;// [...]
&lt;/span&gt;    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;So far I didn&apos;t get to write tests that demonstrate the exact behaviour for this case, but it looks like when `Serializable` is implemented, `_&lt;em&gt;sleep` and `&lt;/em&gt;_wakeup` are ignored. Any thoughts on this?&lt;/p&gt;</comment>
                    <comment id="20067" author="ocramius" created="Fri, 19 Apr 2013 12:06:43 +0000"  >&lt;p&gt;A possible solution is to use something like &lt;a href=&quot;http://eval.in/16806&quot; class=&quot;external-link&quot;&gt;http://eval.in/16806&lt;/a&gt;, and thus exploiting the ability of php to retrieve an object&apos;s private properties by using the special &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;chr(0) . &apos;Foo&apos; . chr(0) . &apos;bar&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;trick.&lt;/p&gt;

&lt;p&gt;This can be abstracted by using &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;array_keys((array) $object);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, which retrieves also those special keys&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-174] [GH-255] Hotfix/dcom 173 tests</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-174</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/255&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/255&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This PR introduces tests to avoid epic fails such as #254 and #253&lt;/p&gt;</description>
                <environment></environment>
            <key id="14493">DCOM-174</key>
            <summary>[GH-255] Hotfix/dcom 173 tests</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Feb 2013 15:09:34 +0000</created>
                <updated>Tue, 19 Feb 2013 09:37:41 +0000</updated>
                    <resolved>Mon, 18 Feb 2013 15:13:06 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19557" author="ocramius" created="Mon, 18 Feb 2013 15:13:06 +0000"  >&lt;p&gt;Handled in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-173&quot; title=&quot;Add test assets and tests for proxy generators&quot;&gt;&lt;del&gt;DCOM-173&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19566" author="beberlei" created="Tue, 19 Feb 2013 09:37:41 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-255&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/255&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/255&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-173] Add test assets and tests for proxy generators</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-173</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Need to add tests assets to check __isset __get __set, etc. Currently only code generation for proxies inheriting __sleep is tested.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14492">DCOM-173</key>
            <summary>Add test assets and tests for proxy generators</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Feb 2013 11:01:01 +0000</created>
                <updated>Thu, 21 Feb 2013 10:01:43 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 10:01:43 +0000</resolved>
                            <version>2.4</version>
                                <fixVersion>2.4</fixVersion>
                                        <due>Mon, 18 Feb 2013 00:00:00 +0000</due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19558" author="ocramius" created="Mon, 18 Feb 2013 15:13:36 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://github.com/doctrine/common/pull/255&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/255&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19578" author="ocramius" created="Thu, 21 Feb 2013 10:01:43 +0000"  >&lt;p&gt;Merged&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-172] [GH-254] Update lib/Doctrine/Common/Proxy/ProxyGenerator.php</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-172</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mmarksnippety:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/254&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/254&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added missed semicolon&lt;/p&gt;</description>
                <environment></environment>
            <key id="14491">DCOM-172</key>
            <summary>[GH-254] Update lib/Doctrine/Common/Proxy/ProxyGenerator.php</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Feb 2013 10:47:52 +0000</created>
                <updated>Tue, 19 Feb 2013 09:37:42 +0000</updated>
                    <resolved>Tue, 19 Feb 2013 09:31:58 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19555" author="beberlei" created="Mon, 18 Feb 2013 10:47:54 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-254&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/254&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/254&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19556" author="beberlei" created="Mon, 18 Feb 2013 10:57:10 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-254&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/254&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/254&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19565" author="ocramius" created="Tue, 19 Feb 2013 09:31:59 +0000"  >&lt;p&gt;Continuing in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-173&quot; title=&quot;Add test assets and tests for proxy generators&quot;&gt;&lt;del&gt;DCOM-173&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19567" author="beberlei" created="Tue, 19 Feb 2013 09:37:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-255&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/255&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/255&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-171] [GH-253] Proxy Generation Bug</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-171</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of odiaseo:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/253&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/253&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added missing semi colon and removed backslashes previously used to escape function arguments&lt;/p&gt;</description>
                <environment></environment>
            <key id="14486">DCOM-171</key>
            <summary>[GH-253] Proxy Generation Bug</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Feb 2013 16:40:43 +0000</created>
                <updated>Sat, 16 Feb 2013 21:17:25 +0000</updated>
                    <resolved>Sat, 16 Feb 2013 21:17:23 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19548" author="beberlei" created="Sat, 16 Feb 2013 16:48:35 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-253&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/253&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/253&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-170] [GH-250] Adding export attributes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-170</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/250&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/250&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14427">DCOM-170</key>
            <summary>[GH-250] Adding export attributes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 27 Jan 2013 19:22:29 +0000</created>
                <updated>Tue, 16 Apr 2013 08:00:41 +0000</updated>
                    <resolved>Tue, 16 Apr 2013 08:00:41 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20026" author="doctrinebot" created="Tue, 16 Apr 2013 07:56:25 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-250&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/250&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/250&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20028" author="ocramius" created="Tue, 16 Apr 2013 08:00:41 +0000"  >&lt;p&gt;No good positive feedback - no need to force it in&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-169] [GH-249] Namespaced the PR246 test case</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-169</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/249&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/249&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Sorry, I&apos;ve forgot the namespace in the test case of my previous PR, which has just been merged.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14425">DCOM-169</key>
            <summary>[GH-249] Namespaced the PR246 test case</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 27 Jan 2013 10:37:16 +0000</created>
                <updated>Tue, 29 Jan 2013 12:53:23 +0000</updated>
                    <resolved>Tue, 29 Jan 2013 12:53:23 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19434" author="beberlei" created="Tue, 29 Jan 2013 12:49:03 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-249&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/249&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/249&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-168] ignoredAnnotationNames doesn&apos;t work in Annotation loop</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-168</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I&apos;m just starting out with Doctrine, so my setup is a bit messy, but hopefully someone can figure out what is relevant from all my code.&lt;/p&gt;

&lt;p&gt;Basically, I&apos;m using Annotations on Doctrine ORM, and am integrating with Gedmo for several of their extensions.&lt;/p&gt;

&lt;p&gt;I can run the CLI tool and update the schema, but when running via my web server, I&apos;m getting the following error:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
object(Doctrine\Common\Annotations\AnnotationException)[150]
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;message&apos; =&amp;gt; string &apos;[Semantical Error] The annotation &lt;span class=&quot;code-quote&quot;&gt;&quot;@Entity&quot;&lt;/span&gt; in class Innertube\Models\Device was never imported. Did you maybe forget to add a &lt;span class=&quot;code-quote&quot;&gt;&quot;use&quot;&lt;/span&gt; statement &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; annotation?&apos; (length=163)
  &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &apos;string&apos; (Exception) =&amp;gt; string &apos;&apos; (length=0)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;code&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 0
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php&apos; (length=211)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 52
  &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &apos;trace&apos; (Exception) =&amp;gt; 
    array
      0 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/DocParser.php&apos; (length=201)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 592
          &apos;function&apos; =&amp;gt; string &apos;semanticalError&apos; (length=15)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\AnnotationException&apos; (length=47)
          &apos;type&apos; =&amp;gt; string &apos;::&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      1 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/DocParser.php&apos; (length=201)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 533
          &apos;function&apos; =&amp;gt; string &apos;Annotation&apos; (length=10)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\DocParser&apos; (length=37)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      2 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/DocParser.php&apos; (length=201)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 297
          &apos;function&apos; =&amp;gt; string &apos;Annotations&apos; (length=11)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\DocParser&apos; (length=37)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      3 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationReader.php&apos; (length=208)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 151
          &apos;function&apos; =&amp;gt; string &apos;parse&apos; (length=5)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\DocParser&apos; (length=37)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      4 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Annotations/CachedReader.php&apos; (length=204)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 86
          &apos;function&apos; =&amp;gt; string &apos;getClassAnnotations&apos; (length=19)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\AnnotationReader&apos; (length=44)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      5 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php&apos; (length=205)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 61
          &apos;function&apos; =&amp;gt; string &apos;getClassAnnotations&apos; (length=19)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Annotations\CachedReader&apos; (length=40)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      6 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php&apos; (length=202)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 112
          &apos;function&apos; =&amp;gt; string &apos;loadMetadataForClass&apos; (length=20)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\ORM\Mapping\Driver\AnnotationDriver&apos; (length=44)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      7 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php&apos; (length=228)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 302
          &apos;function&apos; =&amp;gt; string &apos;doLoadMetadata&apos; (length=14)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\ORM\Mapping\ClassMetadataFactory&apos; (length=41)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      8 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php&apos; (length=228)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 205
          &apos;function&apos; =&amp;gt; string &apos;loadMetadata&apos; (length=12)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory&apos; (length=64)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      9 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/orm/lib/Doctrine/ORM/EntityManager.php&apos; (length=187)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 268
          &apos;function&apos; =&amp;gt; string &apos;getMetadataFor&apos; (length=14)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory&apos; (length=64)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      10 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/libraries/lerteco_framework/libraries/vendor-composer/doctrine/orm/lib/Doctrine/ORM/EntityManager.php&apos; (length=187)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 682
          &apos;function&apos; =&amp;gt; string &apos;getClassMetadata&apos; (length=16)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\ORM\EntityManager&apos; (length=26)
          &apos;type&apos; =&amp;gt; string &apos;-&amp;gt;&apos; (length=2)
          &apos;args&apos; =&amp;gt; 
            array
              ...
      11 =&amp;gt; 
        array
          &apos;file&apos; =&amp;gt; string &apos;/Users/jshannon/Documents/Work/Projects/InnerTube/Repo/web/packages/lerteco_innertube/api/routes/devices.php&apos; (length=108)
          &apos;line&apos; =&amp;gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; 16
          &apos;function&apos; =&amp;gt; string &apos;getRepository&apos; (length=13)
          &apos;class&apos; =&amp;gt; string &apos;Doctrine\ORM\EntityManager&apos; (length=26)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The call that initiates this is getRepository(), which IS NOT in the CLI.&lt;/p&gt;

&lt;p&gt;I&apos;ve tracked it down to the fact that DocParser is not getting the list of names to ignore.&lt;/p&gt;

&lt;p&gt;Oddly, it gets it the first time that it&apos;s called by AnnotationReader. However, DocParser-&amp;gt;parse() calls $this-&amp;gt;Annotations(), which calls $this-&amp;gt;Annotation(), calls $this-&amp;gt;collectAnnotationMetadata(), which then creates a new parser &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;self::$metadataParser = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; self();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; and eventually parses it &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;self::$metadataParser-&amp;gt;parse()&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, but DOES NOT pass its ignorednames. &lt;/p&gt;

&lt;p&gt;This seems like an oversight, but it clearly works for a lot of people. My configuration code is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (self::$isDevMode) {
			$cache = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Cache\ArrayCache;
		} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
			$cache = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Cache\ApcCache;
		}

		\Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredName(&apos;&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt;&apos;);

		AnnotationRegistry::registerFile(__DIR__ . &lt;span class=&quot;code-quote&quot;&gt;&quot;/vendor-composer/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php&quot;&lt;/span&gt;);
		\Gedmo\DoctrineExtensions::registerAnnotations();

		

		$annotationReader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Annotations\AnnotationReader();
		$cachedAnnotationReader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Annotations\CachedReader($annotationReader, $cache);



		$annotationDriver = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Mapping\Driver\AnnotationDriver($cachedAnnotationReader, self::$namespaceArray);

		$config = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Configuration;
		$config-&amp;gt;setProxyNamespace(&apos;Proxy&apos;);
		$config-&amp;gt;setAutoGenerateProxyClasses(self::$isDevMode); &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; can be based on production config.
&lt;/span&gt;		&lt;span class=&quot;code-comment&quot;&gt;// register metadata driver
&lt;/span&gt;		$config-&amp;gt;setMetadataDriverImpl($annotationDriver);
		&lt;span class=&quot;code-comment&quot;&gt;// use our allready initialized cache driver
&lt;/span&gt;		$config-&amp;gt;setMetadataCacheImpl($cache);
		$config-&amp;gt;setQueryCacheImpl($cache);

		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (defined(&apos;DIR_FILES_CACHE&apos;)) {
			$config-&amp;gt;setProxyDir(DIR_FILES_CACHE);
		} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
			$config-&amp;gt;setProxyDir(sys_get_temp_dir());
		}

		&lt;span class=&quot;code-comment&quot;&gt;// create event manager and hook prefered extension listeners
&lt;/span&gt;		$evm = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\EventManager();

		$prefix = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; TablePrefix(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
		$prefix-&amp;gt;useNamespace(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
		$evm-&amp;gt;addEventListener(\Doctrine\ORM\Events::loadClassMetadata, $prefix);


		$blameableListener = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Gedmo\Blameable\BlameableListener();
		$blameableListener-&amp;gt;setAnnotationReader($config-&amp;gt;getMetadataDriverImpl()-&amp;gt;getReader());
		&lt;span class=&quot;code-comment&quot;&gt;//class_exists makes &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; usable with the command-line
&lt;/span&gt;		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (class_exists(&apos;\User&apos;) &amp;amp;&amp;amp; ($u = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \User()) != &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;) {
			$blameableListener-&amp;gt;setUserValue($u-&amp;gt;getUserID());
		}
		$evm-&amp;gt;addEventSubscriber($blameableListener);


		$timestampableListener = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Gedmo\Timestampable\TimestampableListener();
		$timestampableListener-&amp;gt;setAnnotationReader($config-&amp;gt;getMetadataDriverImpl()-&amp;gt;getReader());
		$evm-&amp;gt;addEventSubscriber($timestampableListener);

		$config-&amp;gt;addFilter(&apos;soft-deleteable&apos;, &apos;\Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter&apos;);


		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; EntityManager::create($connectionOptions, $config, $evm);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and the entity is (which sets up the repository) is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
namespace Innertube\Models;
defined(&apos;C5_EXECUTE&apos;) or die(&apos;Access Denied.&apos;);

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Gedmo\Mapping\Annotation as Gedmo;

/**
 * @ORM\Entity(repositoryClass=&lt;span class=&quot;code-quote&quot;&gt;&quot;DeviceRepository&quot;&lt;/span&gt;) @ORM\Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;Devices&quot;&lt;/span&gt;)
 * @Gedmo\SoftDeleteable(fieldName=&lt;span class=&quot;code-quote&quot;&gt;&quot;deletedOn&quot;&lt;/span&gt;)
 **/
class Device {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and the repository is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
namespace Innertube\Models;
defined(&apos;C5_EXECUTE&apos;) or die(&apos;Access Denied.&apos;);

use Doctrine\ORM\EntityRepository;

class DeviceRepository &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; EntityRepository {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Mac OSX 10.6.8</environment>
            <key id="14424">DCOM-168</key>
            <summary>ignoredAnnotationNames doesn&apos;t work in Annotation loop</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jshannon">James S</reporter>
                        <labels>
                    </labels>
                <created>Sun, 27 Jan 2013 01:31:25 +0000</created>
                <updated>Sun, 27 Jan 2013 01:35:02 +0000</updated>
                                    <version>2.3</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-167] [GH-248] Hotfix/doctrine/common#247 fixes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-167</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/248&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/248&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Includes fixes suggested for #247 (plus a weird fix on a failure with `array_map` on PHP &amp;lt;5.4)&lt;/p&gt;</description>
                <environment></environment>
            <key id="14422">DCOM-167</key>
            <summary>[GH-248] Hotfix/doctrine/common#247 fixes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 26 Jan 2013 17:15:49 +0000</created>
                <updated>Sat, 26 Jan 2013 23:52:34 +0000</updated>
                    <resolved>Sat, 26 Jan 2013 23:52:34 +0000</resolved>
                                            <fixVersion>2.1.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19421" author="beberlei" created="Sat, 26 Jan 2013 23:52:22 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-248&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/248&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/248&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-166] [GH-246] Undefined variable fix</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-166</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/246&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/246&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;



</description>
                <environment></environment>
            <key id="14411">DCOM-166</key>
            <summary>[GH-246] Undefined variable fix</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Jan 2013 11:03:39 +0000</created>
                <updated>Sat, 26 Jan 2013 16:17:46 +0000</updated>
                    <resolved>Sat, 26 Jan 2013 16:17:46 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19419" author="beberlei" created="Sat, 26 Jan 2013 16:04:51 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-246&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/246&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/246&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-165] Entities seems not be recognized by AnnotationDriver</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-165</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Problem:&lt;br/&gt;
--------&lt;br/&gt;
&quot;$em-&amp;gt;getMetadataFactory()-&amp;gt;getAllMetadata()&quot;&lt;br/&gt;
Will result in an empty array. The entitiy manager is correctly configured and the entities files are loaded (echo&apos;s in the files will be displayed).&lt;/p&gt;


&lt;p&gt;Debug steps:&lt;br/&gt;
------------&lt;br/&gt;
Looking in the code for the problem I created the following debug points first:&lt;/p&gt;

&lt;p&gt;file AnnotationDriver.php method getAllClassNames()&lt;br/&gt;
after the line: &quot;$includedFiles[] = $sourceFile;&quot;&lt;br/&gt;
add: &quot;echo $sourceFile . &apos; is loaded&apos; . PHP_EOL;&quot;&lt;/p&gt;

&lt;p&gt;file AnnotationDriver.php method getAllClassNames()&lt;br/&gt;
after the line: &quot;$sourceFile = $rc-&amp;gt;getFileName();&quot;&lt;br/&gt;
add: &quot;echo $className . &apos; is loaded from: &apos; . $sourceFile . &apos; in the includedFiles array? &apos; . (in_array($sourceFile, $includedFiles) ? &apos;YES&apos; : &apos;not found &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/sad.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&apos;) . PHP_EOL;&quot;&lt;/p&gt;


&lt;p&gt;the following output will be displayed:&lt;br/&gt;
...&lt;br/&gt;
f:\workspace\nl.markei.posto-2.3\lib\relaties\Contact.php is loaded&lt;br/&gt;
...&lt;br/&gt;
nl\markei\posto\relaties\Contact is loaded from: F:\workspace\nl.markei.posto-2.3\lib\relaties\Contact.php in the includedFiles array? not found &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/sad.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;It seems that Doctrine includes the file from f: but ReflectionClass say it is loaded from F:. The in_array() will fail and Doctrine will not recognized the entity.&lt;/p&gt;

&lt;p&gt;But this is not the full problem. I created a new debug point:&lt;/p&gt;

&lt;p&gt;file AnnotationDriver.php method getAllClassNames()&lt;br/&gt;
after the line: &quot;foreach ($this-&amp;gt;_paths as $path) {&quot;&lt;br/&gt;
add: &quot;echo &apos;path: &apos; . $path . &apos; after realpath: &apos; . realpath($path) . PHP_EOL;&quot;&lt;/p&gt;

&lt;p&gt;This will result in the following output:&lt;br/&gt;
&quot;path: F:\domains\markei.nl\lib\nl.markei.posto\ after realpath: f:\workspace\nl.markei.posto-2.3\lib&quot;&lt;/p&gt;

&lt;p&gt;So the conversion of the F: to f: is done by realpath; its look like &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;A simple fix should be in AnnotationDriver.php / getAllClassNames()&lt;br/&gt;
replace: &quot;$sourceFile = $rc-&amp;gt;getFileName();&quot;&lt;br/&gt;
by: &quot;$sourceFile = realpath($rc-&amp;gt;getFileName());&quot;&lt;/p&gt;

&lt;p&gt;After I did that, the problem still exists. So I add to echo&apos;s (one with realpath and one without at the part of the code). And both echo&apos;s result in a path starting with &quot;F:&quot;.&lt;/p&gt;

&lt;p&gt;So my first reaction was freaky!&lt;/p&gt;

&lt;p&gt;After some frustrating hours I found the problem in the symlink I used.&lt;br/&gt;
&quot;F:\domains\markei.nl\lib\nl.markei.posto&quot; was a symlink to &quot;f:\workspace\nl.markei.posto-2.3\lib&quot; and realpath will not convert the driver char in the target of the symlink for some freaky reason. After changing the symlink target to &quot;F:\workspace....&quot; everything works fine.&lt;/p&gt;


&lt;p&gt;Summary:&lt;br/&gt;
--------&lt;br/&gt;
realpath results are not consistent on Windows. This will resulting in problems under Windows.&lt;/p&gt;


&lt;p&gt;Possible solutions:&lt;br/&gt;
-------------------&lt;br/&gt;
Saying &quot;this is a PHP bug&quot;.&lt;br/&gt;
It is possible that there are more case sensitive problems hidding here on Windows. Maybe it is better to use (for Windows only!) a case insensitive in_array-alternative in AnnotationDriver.php getAllClassNames() (or convert all paths for to lowercase for Windows)&lt;/p&gt;</description>
                <environment>Windows 7 Profesional, Enterprise and Windows Server 2003 and 2008; Common: 2.2.3 DBAL: 2.2.2 ORM: 2.2.3; PHP 5.4.5 and 5.3.5</environment>
            <key id="14007">DCOM-165</key>
            <summary>Entities seems not be recognized by AnnotationDriver</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="maartendekeizer">Maarten de Keizer</reporter>
                        <labels>
                        <label>annotationdriver</label>
                        <label>realpath</label>
                        <label>symlink</label>
                        <label>windows</label>
                    </labels>
                <created>Sun, 2 Sep 2012 20:07:14 +0000</created>
                <updated>Wed, 23 Jan 2013 23:07:12 +0000</updated>
                                    <version>2.2</version>
                <version>2.3</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19394" author="ocramius" created="Wed, 23 Jan 2013 23:06:56 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=maartendekeizer&quot; class=&quot;user-hover&quot; rel=&quot;maartendekeizer&quot;&gt;Maarten de Keizer&lt;/a&gt; looks like the issue is still there in doctrine/annotations. Are you able to come up with a failing test case?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-164] @type phpdoc annotations are not ignored (@type == @var)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-164</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;phpDocumentor guys wrote their own PSR to define how to use phpdoc properly (&lt;a href=&quot;https://github.com/phpDocumentor/phpDocumentor2/blob/develop/docs/PSR.md&quot; class=&quot;external-link&quot;&gt;https://github.com/phpDocumentor/phpDocumentor2/blob/develop/docs/PSR.md&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;They deprecate the @var annotation and recommend using @type instead.&lt;/p&gt;

&lt;p&gt;The @type (phpdoc) annotation is not blacklisted/ignored by the AnnotationReader. Code that uses this annotation raises errors with Doctrine/Annotations.&lt;/p&gt;

&lt;p&gt;@type should be blacklisted/ignored, but may that create BC breaks for users?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14402">DCOM-164</key>
            <summary>@type phpdoc annotations are not ignored (@type == @var)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="mnapoli">Matthieu Napoli</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Jan 2013 21:21:00 +0000</created>
                <updated>Tue, 22 Jan 2013 21:28:53 +0000</updated>
                                    <version>2.3</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19357" author="mnapoli" created="Tue, 22 Jan 2013 21:28:38 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/doctrine/annotations/pull/2&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/annotations/pull/2&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-163] [GH-245] Documentation fixes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-163</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/245&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/245&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Documentation fixes, continuing the work done on &lt;span class=&quot;error&quot;&gt;&amp;#91;ORM&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/528&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/528&lt;/a&gt;) and &lt;span class=&quot;error&quot;&gt;&amp;#91;DBAL&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/doctrine/dbal/pull/243&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/243&lt;/a&gt;).&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Missing docblocks&lt;/li&gt;
	&lt;li&gt;Missing / incorrect `@param` / `@return` / `@throws` annotations&lt;/li&gt;
	&lt;li&gt;Missing newlines between annotations&lt;/li&gt;
	&lt;li&gt;Incorrect vertical alignment of `@param` annotations&lt;/li&gt;
	&lt;li&gt;Incorrect doctrine-project.org links&lt;/li&gt;
	&lt;li&gt;SVN leftovers cleanup&lt;/li&gt;
	&lt;li&gt;Licensing (LGPL =&amp;gt; MIT)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="14398">DCOM-163</key>
            <summary>[GH-245] Documentation fixes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 20 Jan 2013 18:20:09 +0000</created>
                <updated>Sun, 20 Jan 2013 18:20:09 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-162] [GH-244] return parameter for debug method</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-162</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of sethunath:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/244&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/244&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added $return as 4th parameter to specify whether to return the debug text or print it. It works similar to print_r function&lt;/p&gt;</description>
                <environment></environment>
            <key id="14383">DCOM-162</key>
            <summary>[GH-244] return parameter for debug method</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jan 2013 11:02:12 +0000</created>
                <updated>Mon, 14 Jan 2013 11:02:12 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-161] [GH-243] Update composer.json</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-161</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of stloyd:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/243&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/243&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Add `provide` part as `doctrine/common` &amp;gt;=2.2,&amp;lt;2.4 has cache in it.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14377">DCOM-161</key>
            <summary>[GH-243] Update composer.json</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jan 2013 18:15:12 +0000</created>
                <updated>Fri, 11 Jan 2013 18:15:12 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-160] [GH-242] adds a simple manager registry</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-160</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of schmittjoh:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/242&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/242&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This registry adds some sane defaults and just requires a simple callable to be fully functional.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14369">DCOM-160</key>
            <summary>[GH-242] adds a simple manager registry</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Jan 2013 09:21:48 +0000</created>
                <updated>Thu, 10 Jan 2013 09:21:48 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-159] [GH-241] Minor performance optimization for lookups of `ArrayCollection#contains()`</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-159</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/241&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/241&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14362">DCOM-159</key>
            <summary>[GH-241] Minor performance optimization for lookups of `ArrayCollection#contains()`</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Jan 2013 17:00:21 +0000</created>
                <updated>Tue, 8 Jan 2013 17:30:18 +0000</updated>
                    <resolved>Tue, 8 Jan 2013 17:30:18 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19258" author="beberlei" created="Tue, 8 Jan 2013 17:23:59 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-241&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/241&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/241&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-158] [GH-240] [Cache/CouchbaseCache] Return false instead of null for compat.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-158</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of daschl:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/240&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/240&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This changeset fixes and verifies that instead of null, false is returned&lt;br/&gt;
from the fetch method. This fixes a bug which causes CouchbaseCache not&lt;br/&gt;
to work in combination with the ORM library. Test added.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14353">DCOM-158</key>
            <summary>[GH-240] [Cache/CouchbaseCache] Return false instead of null for compat.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Jan 2013 10:57:23 +0000</created>
                <updated>Mon, 7 Jan 2013 23:05:04 +0000</updated>
                    <resolved>Mon, 7 Jan 2013 23:05:04 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19253" author="beberlei" created="Mon, 7 Jan 2013 22:57:21 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-240&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/240&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/240&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-157] [GH-239] Update lib/Doctrine/Common/Cache/Cache.php</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-157</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of lmammino:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/239&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/239&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Typo in interface documentation&lt;/p&gt;</description>
                <environment></environment>
            <key id="14351">DCOM-157</key>
            <summary>[GH-239] Update lib/Doctrine/Common/Cache/Cache.php</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 6 Jan 2013 19:25:03 +0000</created>
                <updated>Sun, 6 Jan 2013 22:28:00 +0000</updated>
                    <resolved>Sun, 6 Jan 2013 22:28:00 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19240" author="beberlei" created="Sun, 6 Jan 2013 19:39:26 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-239&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/239&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/239&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-156] [GH-238] fix to solve fatal error: apc_exist() does not exist</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-156</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of uran1980:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/238&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/238&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Hi, folks. I&apos;m running *&lt;b&gt;Zend Server CE 5.6.0 5.6.0 SP4&lt;/b&gt;* with *&lt;b&gt;PHP Version 5.3.14&lt;/b&gt;* and APC builtin:&lt;br/&gt;
!&lt;span class=&quot;error&quot;&gt;&amp;#91;2013-01-04-15-15-sshot-1&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://f.cloud.github.com/assets/1616795/43026/86d0516e-5668-11e2-8342-10972e9bb214.png&quot; class=&quot;external-link&quot;&gt;https://f.cloud.github.com/assets/1616795/43026/86d0516e-5668-11e2-8342-10972e9bb214.png&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Now when I run in my project based on Symfony 2.1.6 comand:&lt;br/&gt;
```&lt;br/&gt;
console doctrine:fixtures:load --verbose&lt;br/&gt;
```&lt;br/&gt;
 I am stack with fatal error:&lt;br/&gt;
```&lt;br/&gt;
Fatal error: Call to undefined function Doctrine\Common\Cache\apc_exists()&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;!&lt;span class=&quot;error&quot;&gt;&amp;#91;2013-01-04-15-20-sshot-1&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://f.cloud.github.com/assets/1616795/43037/742fe1f4-5669-11e2-815b-dccc9a0f4fb4.png&quot; class=&quot;external-link&quot;&gt;https://f.cloud.github.com/assets/1616795/43037/742fe1f4-5669-11e2-815b-dccc9a0f4fb4.png&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;Possible solution are in my pull request.&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;As I descovered I am not alone with this problem: &lt;a href=&quot;http://stackoverflow.com/questions/9125904/apc-exist-does-not-exist&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/9125904/apc-exist-does-not-exist&lt;/a&gt;(&lt;a href=&quot;http://stackoverflow.com/questions/9125904/apc-exist-does-not-exist&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/9125904/apc-exist-does-not-exist&lt;/a&gt;)&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14348">DCOM-156</key>
            <summary>[GH-238] fix to solve fatal error: apc_exist() does not exist</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Jan 2013 12:33:09 +0000</created>
                <updated>Thu, 10 Jan 2013 23:29:15 +0000</updated>
                    <resolved>Thu, 10 Jan 2013 23:29:15 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19275" author="beberlei" created="Thu, 10 Jan 2013 23:04:56 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-238&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/238&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/238&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19277" author="ocramius" created="Thu, 10 Jan 2013 23:29:15 +0000"  >&lt;p&gt;This issue affects older versions of APC. If a fix is needed, a legacy APC cache class shall be implemented.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-155] [GH-237] Update tests/Doctrine/Tests/Common/Annotations/Fixtures/NamespaceWithClo...</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-155</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of vincequeiroz:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/237&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;...sureDeclaration.php&lt;/p&gt;

&lt;p&gt;Statement duplicate&lt;/p&gt;

&lt;p&gt;$var = 1;&lt;br/&gt;
function () use ($var) {};&lt;/p&gt;</description>
                <environment></environment>
            <key id="14346">DCOM-155</key>
            <summary>[GH-237] Update tests/Doctrine/Tests/Common/Annotations/Fixtures/NamespaceWithClo...</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Jan 2013 12:40:08 +0000</created>
                <updated>Thu, 10 Jan 2013 23:27:57 +0000</updated>
                    <resolved>Thu, 10 Jan 2013 23:27:57 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19276" author="beberlei" created="Thu, 10 Jan 2013 23:05:43 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-237&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/237&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-154] [GH-236] Adding Support for Couchbase as Caching Infrastructure.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-154</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of daschl:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/236&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/236&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This changeset brings in support for Couchbase Server 2.0 as&lt;br/&gt;
the caching layer. The interface is identical to the memcached&lt;br/&gt;
one, but using ext/couchbase allows to take advantage of the&lt;br/&gt;
automatic cluster discovery and failover functionality provided.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14328">DCOM-154</key>
            <summary>[GH-236] Adding Support for Couchbase as Caching Infrastructure.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 08:57:35 +0000</created>
                <updated>Sun, 6 Jan 2013 19:13:22 +0000</updated>
                    <resolved>Sun, 6 Jan 2013 19:13:22 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-153] [GH-235] Improve performance of if key exists in the array</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-153</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of basico:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/235&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/235&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;So, here are few indications:&lt;br/&gt;
&lt;a href=&quot;http://php.net/manual/en/function.array-key-exists.php#107786&quot; class=&quot;external-link&quot;&gt;http://php.net/manual/en/function.array-key-exists.php#107786&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://php.net/manual/en/function.array-key-exists.php#104474&quot; class=&quot;external-link&quot;&gt;http://php.net/manual/en/function.array-key-exists.php#104474&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14319">DCOM-153</key>
            <summary>[GH-235] Improve performance of if key exists in the array</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2012 23:07:25 +0000</created>
                <updated>Tue, 18 Dec 2012 08:23:24 +0000</updated>
                    <resolved>Tue, 18 Dec 2012 08:23:23 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19155" author="beberlei" created="Tue, 18 Dec 2012 00:45:10 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-235&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/235&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/235&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-152] [GH-234] Criteria filtering doesn&apos;t work with DateTime instance</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-152</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ludekstepan:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/234&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/234&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Filtering associations doesn&apos;t work with DateTime instance as a comparison value because filtering uses === operator. It works with SQL backed filtering, but not on PHP collection level.&lt;/p&gt;

&lt;p&gt;```php&lt;br/&gt;
$criteria = Criteria::create()&lt;br/&gt;
    &lt;del&gt;&amp;gt;where(Criteria::expr()&lt;/del&gt;&amp;gt;eq(&quot;birthday&quot;, new \DateTime(&quot;1982-02-17&quot;)))&lt;br/&gt;
    -&amp;gt;orderBy(array(&quot;username&quot; =&amp;gt; &quot;ASC&quot;))&lt;br/&gt;
    -&amp;gt;setFirstResult(0)&lt;br/&gt;
    -&amp;gt;setMaxResults(20)&lt;br/&gt;
;&lt;br/&gt;
```&lt;/p&gt;</description>
                <environment></environment>
            <key id="14317">DCOM-152</key>
            <summary>[GH-234] Criteria filtering doesn&apos;t work with DateTime instance</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="10000" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/needinfo.png">Awaiting Feedback</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2012 19:33:51 +0000</created>
                <updated>Tue, 30 Apr 2013 16:46:40 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-151] [GH-233] [DocParser] Fix trying include classes if its must be ignored.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-151</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Stroitel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/233&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/233&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I recreate pull request (add test). Without fix  test is failure.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14302">DCOM-151</key>
            <summary>[GH-233] [DocParser] Fix trying include classes if its must be ignored.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Dec 2012 21:08:11 +0000</created>
                <updated>Mon, 10 Dec 2012 21:08:11 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-150] [GH-232] [DocParser] Don&apos;t check class exists if annotation name is ignored  </title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-150</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Stroitel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/232&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/232&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;DocParser checks for the exist of all the annotation names even if they are ignored. Maybe this is feature , but i don&apos;t  sure.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14300">DCOM-150</key>
            <summary>[GH-232] [DocParser] Don&apos;t check class exists if annotation name is ignored  </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Dec 2012 09:18:27 +0000</created>
                <updated>Mon, 14 Jan 2013 01:47:35 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:47:35 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19119" author="beberlei" created="Mon, 10 Dec 2012 20:46:13 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-232&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/232&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/232&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19312" author="ocramius" created="Mon, 14 Jan 2013 01:47:35 +0000"  >&lt;p&gt;Superseded by &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-151&quot; title=&quot;[GH-233] [DocParser] Fix trying include classes if its must be ignored.&quot;&gt;DCOM-151&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-149] [GH-231] Fixing CS</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-149</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ruian:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/231&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/231&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14292">DCOM-149</key>
            <summary>[GH-231] Fixing CS</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Dec 2012 14:38:26 +0000</created>
                <updated>Mon, 14 Jan 2013 01:46:39 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:46:39 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19105" author="beberlei" created="Tue, 4 Dec 2012 14:57:41 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-231&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/231&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/231&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-148] [GH-229] Decorator base class for object manager decorators</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-148</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of lstrojny:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/229&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/229&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;As discussed on IRC, the first PR for decorator base classes. This time for ObjectManager.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14271">DCOM-148</key>
            <summary>[GH-229] Decorator base class for object manager decorators</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Nov 2012 23:29:28 +0000</created>
                <updated>Sun, 20 Jan 2013 19:01:12 +0000</updated>
                    <resolved>Sun, 20 Jan 2013 19:01:12 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-147] [GH-227] [DDC-2160] Smart Pluralize/Singularize support for Doctrine/Common/Util/Inflector</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-147</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jbergler:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/227&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/227&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Doctrine/ORM/Tools/EntityGenerator should pluralize/signularize correctly.&lt;/p&gt;

&lt;p&gt;This PR adds functionality to Doctrine/Common/Util/Inflector to singularize/pluralize. The code is largely borrowed from a similar class in the CakePHP project - I&apos;m not sure if the updates to the class doc covers the requirements for this.&lt;/p&gt;

&lt;p&gt;Test coverage also added.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14261">DCOM-147</key>
            <summary>[GH-227] [DDC-2160] Smart Pluralize/Singularize support for Doctrine/Common/Util/Inflector</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Nov 2012 01:23:26 +0000</created>
                <updated>Mon, 14 Jan 2013 01:45:37 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:45:37 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-146] [GH-226] Added error suppression to unlink() calls</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-146</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of SalmanPK:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/226&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added error suppression to unlink() calls in the getPropertyAnnotations and getMethodAnnotations methods to be consistent with the getClassAnnotations method.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14259">DCOM-146</key>
            <summary>[GH-226] Added error suppression to unlink() calls</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Nov 2012 19:28:30 +0000</created>
                <updated>Thu, 22 Nov 2012 19:55:37 +0000</updated>
                    <resolved>Thu, 22 Nov 2012 19:55:37 +0000</resolved>
                                                                    <due></due>
                    <votes>1</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="19031" author="beberlei" created="Thu, 22 Nov 2012 19:41:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-226&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19032" author="fabio.bat.silva" created="Thu, 22 Nov 2012 19:55:37 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/common/commit/a836c86c13e964051549e234250cf665a5f5a190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/a836c86c13e964051549e234250cf665a5f5a190&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-145] [GH-225] Replace file_exists() calls with is_file() where it is needed</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-145</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of fruit:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/225&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/225&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The function `file_exists()` checks whether file or directory exists. And `is_file()` checks only files for the existence. All places, where `file_exists()` is replaced with `is_file()` needs only to check for file existence.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14250">DCOM-145</key>
            <summary>[GH-225] Replace file_exists() calls with is_file() where it is needed</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Nov 2012 23:44:09 +0000</created>
                <updated>Wed, 21 Nov 2012 00:04:58 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 00:04:58 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19014" author="beberlei" created="Tue, 20 Nov 2012 23:50:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-225&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/225&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/225&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-144] [GH-224] Use preg_quote() to escape text before inserting into regexp</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-144</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of fruit:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/224&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/224&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;PHP has build-in function `preg_quote()` in order to escape strings witch are dynamically inserted into regular expression.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14249">DCOM-144</key>
            <summary>[GH-224] Use preg_quote() to escape text before inserting into regexp</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Nov 2012 23:39:09 +0000</created>
                <updated>Wed, 21 Nov 2012 08:42:20 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 08:42:20 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19015" author="beberlei" created="Wed, 21 Nov 2012 02:32:56 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-224&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/224&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/224&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-143] [GH-223] Fix for DCOM-106</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-143</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of nemekzg:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/223&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/223&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Both fixme and TODO become ignored.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14248">DCOM-143</key>
            <summary>[GH-223] Fix for DCOM-106</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Nov 2012 19:01:42 +0000</created>
                <updated>Wed, 21 Nov 2012 00:06:09 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 00:06:09 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19013" author="beberlei" created="Tue, 20 Nov 2012 19:11:14 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-223&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/223&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/223&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-142] [GH-222] make Base LifecycleEventArgs usable in orm and odm</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-142</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of docteurklein:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/222&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/222&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Pull requests are to come for both orm and odm to make use of this.&lt;/p&gt;

&lt;p&gt;The main goal is to make more abstract listeners, compatible with both orm and odm.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14244">DCOM-142</key>
            <summary>[GH-222] make Base LifecycleEventArgs usable in orm and odm</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Nov 2012 09:25:57 +0000</created>
                <updated>Wed, 5 Dec 2012 12:20:09 +0000</updated>
                    <resolved>Wed, 5 Dec 2012 12:20:09 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19106" author="florian.klein" created="Wed, 5 Dec 2012 10:31:53 +0000"  >&lt;p&gt;@Benjamin Eberlei, any news on this ?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-141] [GH-221] strip invalid characters</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-141</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/221&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/221&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch is proposal to fix #180 &lt;br/&gt;
by replace invalid characters and hashing the filename as sub directories to create a unique path.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14241">DCOM-141</key>
            <summary>[GH-221] strip invalid characters</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 17 Nov 2012 17:37:33 +0000</created>
                <updated>Mon, 14 Jan 2013 01:44:55 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:44:55 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-139] [GH-220] replaced silence operator by is_file() check</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-139</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jakoch:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/220&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/220&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14234">DCOM-139</key>
            <summary>[GH-220] replaced silence operator by is_file() check</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Nov 2012 12:07:59 +0000</created>
                <updated>Thu, 21 Feb 2013 10:43:21 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 10:43:21 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-138] [GH-219] BC breaking constant name fix</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-138</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jakoch:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/219&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/219&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;fixed typo on constant name (STATS_MEMORY_AVAILIABLE =&amp;gt; STATS_MEMORY_AVAILABLE)&lt;/p&gt;</description>
                <environment></environment>
            <key id="14233">DCOM-138</key>
            <summary>[GH-219] BC breaking constant name fix</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Nov 2012 12:07:39 +0000</created>
                <updated>Fri, 16 Nov 2012 12:07:39 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-137] [GH-218] hotfix cache</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-137</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jakoch:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/218&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/218&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;a) replaced silence operator by is_file() check.&lt;br/&gt;
If there is a lock or permission problem while unlinking a file, the error should pop up.&lt;br/&gt;
b) replaced little typo in constant name (availiable =&amp;gt; available)&lt;/p&gt;</description>
                <environment></environment>
            <key id="14232">DCOM-137</key>
            <summary>[GH-218] hotfix cache</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Nov 2012 10:48:04 +0000</created>
                <updated>Mon, 14 Jan 2013 01:50:32 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:50:32 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18996" author="beberlei" created="Fri, 16 Nov 2012 12:09:39 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-218&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/218&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/218&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19313" author="ocramius" created="Mon, 14 Jan 2013 01:50:32 +0000"  >&lt;p&gt;Moved to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-138&quot; title=&quot;[GH-219] BC breaking constant name fix&quot;&gt;DCOM-138&lt;/a&gt; and &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-139&quot; title=&quot;[GH-220] replaced silence operator by is_file() check&quot;&gt;&lt;del&gt;DCOM-139&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-136] [GH-216] Adding failing test for silent autoloaders</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-136</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/216&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/216&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Fixing support for silent autoloaders&lt;/p&gt;</description>
                <environment></environment>
            <key id="14229">DCOM-136</key>
            <summary>[GH-216] Adding failing test for silent autoloaders</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Nov 2012 14:53:38 +0000</created>
                <updated>Thu, 10 Jan 2013 23:26:54 +0000</updated>
                    <resolved>Thu, 10 Jan 2013 23:26:54 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-135] [GH-214] [WIP] [Cache] Move cache ID namespacing to CacheNamespace class</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-135</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of CHH:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/214&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/214&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14213">DCOM-135</key>
            <summary>[GH-214] [WIP] [Cache] Move cache ID namespacing to CacheNamespace class</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="4">Incomplete</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Nov 2012 08:50:26 +0000</created>
                <updated>Thu, 21 Feb 2013 10:06:48 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 10:06:48 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-134] [GH-213] Added sort option for array collection</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-134</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of andrewtarry:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/213&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/213&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I have added a sorter class and sortBy method for the ArrayCollection class. It gives the option to reorder the ArrayCollection after someone has gotten it from the database, e.g. from a relationship. It takes an array of method names to sort by in order to priority and it takes an optional boolean to set the order to ascending. Here is an example:&lt;/p&gt;

&lt;p&gt;`$arraycollection-&amp;gt;sortBy(array(&apos;getName()&apos;, &apos;getAddress()&apos;));`&lt;/p&gt;

&lt;p&gt;It will recursively loop the collection change the order. Each time it will look to see if the previous matching option is the same as for the previous element and then store those elements in list to be reordered. &lt;/p&gt;

&lt;p&gt;Once it has looped all the elements it will reorder the elements it has matched and if there is another option to reorder by it will loop only the elements it matched last time so it is not looping the whole array each time.&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14211">DCOM-134</key>
            <summary>[GH-213] Added sort option for array collection</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 11 Nov 2012 16:29:39 +0000</created>
                <updated>Mon, 14 Jan 2013 01:43:21 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:43:21 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19311" author="ocramius" created="Mon, 14 Jan 2013 01:43:21 +0000"  >&lt;p&gt;Can&apos;t change because of BC, and the performance impact is too high&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-133] [GH-212] Issue/gh #135</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-133</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/212&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/212&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Fixes #135&lt;/p&gt;</description>
                <environment></environment>
            <key id="14207">DCOM-133</key>
            <summary>[GH-212] Issue/gh #135</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Nov 2012 09:07:51 +0000</created>
                <updated>Fri, 9 Nov 2012 09:35:01 +0000</updated>
                    <resolved>Fri, 9 Nov 2012 09:09:01 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18961" author="beberlei" created="Fri, 9 Nov 2012 09:34:08 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-212&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/212&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/212&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-132] [GH-211] Cache interface fix</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-132</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of szicsu:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/211&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/211&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The CacheProvider contained more public methods,&lt;br/&gt;
which were not defined in the Cache interface.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14180">DCOM-132</key>
            <summary>[GH-211] Cache interface fix</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Nov 2012 12:08:23 +0000</created>
                <updated>Mon, 14 Jan 2013 01:42:09 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:42:09 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18962" author="beberlei" created="Fri, 9 Nov 2012 10:49:44 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-211&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/211&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/211&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-131] [GH-210] MappingDriverChain::getAllClassNames should load all classes from the defaultDriver</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-131</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of rnijveld:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/210&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/210&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I actually tried working around this by adding a driver using an empty string as the namespace, only to find out that `strpos()` doesn&apos;t accept an empty delimiter.&lt;/p&gt;

&lt;p&gt;Anyway, this makes sure that all loadable classes for the defaultDriver are actually returned by MappingDriverChain as well.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14172">DCOM-131</key>
            <summary>[GH-210] MappingDriverChain::getAllClassNames should load all classes from the defaultDriver</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 27 Oct 2012 23:17:51 +0000</created>
                <updated>Sat, 27 Oct 2012 23:17:51 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-130] Paths in Doctrine\Common\Cache\FileCache could create large directory indexes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-130</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The way paths are created within FileCache currently, there is a theoretical maximum of 16^12 directories in the cache directory, which is quite a large number. Usually schemes like this are used to restrict the number of files in one directory.&lt;/p&gt;

&lt;p&gt;Comparing with git, for example, the dirs are arranged&lt;/p&gt;

&lt;p&gt;00/&lt;br/&gt;
1c/&lt;br/&gt;
...&lt;br/&gt;
ff/&lt;/p&gt;

&lt;p&gt;and then the object store within those directories, which is a lot more manageable, say if you happen to type ls in the cache directory, you will get a maximum listing of 256 dirs. PhpThumb does something similar when caching images.&lt;/p&gt;

&lt;p&gt;How about something like this for getFilename():&lt;/p&gt;

&lt;p&gt;    $idHash = md5($id);&lt;br/&gt;
    $path = substr($idHash, 0, 2) . DIRECTORY_SEPARATOR . substr($idHash, 2, 2) . DIRECTORY_SEPARATOR . substr($idHash, 4);&lt;br/&gt;
    $path = $this-&amp;gt;directory . DIRECTORY_SEPARATOR . $path;&lt;/p&gt;

&lt;p&gt;    return $path . $id . $this-&amp;gt;extension;&lt;/p&gt;

&lt;p&gt;Not nearly so elegant, but I think this has better properties for the file system. Also I would be tempted to use one of the sha family hashes and not to include the $id within the filename, but perhaps this is helpful for debugging?&lt;/p&gt;</description>
                <environment>Any</environment>
            <key id="14159">DCOM-130</key>
            <summary>Paths in Doctrine\Common\Cache\FileCache could create large directory indexes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="terrapin">R Churchill</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Oct 2012 01:05:16 +0000</created>
                <updated>Fri, 10 May 2013 15:45:04 +0000</updated>
                                    <version>2.3</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20267" author="jhigman" created="Fri, 10 May 2013 15:36:36 +0000"  >&lt;p&gt;We hit this problem in a live system - with a lot of cached items, the number of subdirectories that FileCache creates can exceed the number that an ext3 filesystem allows in a single directory (about 32000). &lt;/p&gt;

&lt;p&gt;After that, an attempt to cache a new item can get an error like this:&lt;/p&gt;

&lt;p&gt;    mkdir() &lt;span class=&quot;error&quot;&gt;&amp;#91;function.mkdir&amp;#93;&lt;/span&gt;: Too many links&lt;/p&gt;


&lt;p&gt;Our solution was similar to that suggested: &lt;/p&gt;




&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; function getFilename($id) {
        $path = implode(str_split(md5($id), 2), DIRECTORY_SEPARATOR);
        $path = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;directory . DIRECTORY_SEPARATOR . $path;
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $path . DIRECTORY_SEPARATOR . $id . $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;extension;
    }

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It splits the md5 of the item id into parts of length 2, rather than the original 12. This creates a deeply nested structure, but which won&apos;t ever exceed the limit on number of subdirectories in any one directory. It&apos;s the same subdirectory pattern used by default by Apache mod_disk_cache, as well.&lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-129] Annotation parser matches colon after annotation</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-129</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Code&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/**
* Removes given $node from the tree and reparents its descendants
*
* @todo may be improved, to issue single query on reparenting
* @param object $node
* @&lt;span class=&quot;code-keyword&quot;&gt;throws&lt;/span&gt; RuntimeException - &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; something fails in transaction
* @&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; void
*/
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function removeFromTree($node)
{
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;fails with `&lt;span class=&quot;error&quot;&gt;&amp;#91;Semantical Error&amp;#93;&lt;/span&gt; The annotation &quot;@todo:&quot; in method Gedmo\Tree\Entity\Repository\ClosureTreeRepository::removeFromTree() was never imported. Did you maybe forget to add a &quot;use&quot; statement for this annotation?`.&lt;/p&gt;

&lt;p&gt;As you see it tryes find annotation with name &quot;@todo:&quot;. Don&apos;t know, maybe rtrim($name, &apos;:&apos;) would enough.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14154">DCOM-129</key>
            <summary>Annotation parser matches colon after annotation</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="koc">Konstantin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Oct 2012 15:18:35 +0000</created>
                <updated>Sun, 21 Oct 2012 15:18:35 +0000</updated>
                                    <version>2.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-128] RedisCache uses IGBINARY which is not always available</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-128</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The RedisCache uses Redis::SERIALIZER_IGBINARY. See &lt;a href=&quot;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Cache/RedisCache.php&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Cache/RedisCache.php&lt;/a&gt; line 47.&lt;/p&gt;

&lt;p&gt;The problem is that the php Redis extension can be compiled without IGBINARY support. In that case, this code causes a fatal error because the constant does not exist.&lt;/p&gt;

&lt;p&gt;The DotDeb package of php5-redis (often used on Debian systems) for example comes compiled without IGBINARY support.&lt;/p&gt;

&lt;p&gt;The code should probably check if the constant exists. If not, the default to Redis::SERIALIZER_PHP&lt;/p&gt;</description>
                <environment></environment>
            <key id="14151">DCOM-128</key>
            <summary>RedisCache uses IGBINARY which is not always available</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="sandermarechal">Sander Marechal</reporter>
                        <labels>
                    </labels>
                <created>Sat, 20 Oct 2012 17:04:02 +0000</created>
                <updated>Sat, 20 Oct 2012 17:04:02 +0000</updated>
                                    <version>2.3</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-127] [GH-206] Debug::export ArrayIterator dumps the internal storage variable</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-127</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Slamdunk:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/206&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/206&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Following my previous PR &lt;a href=&quot;https://github.com/doctrine/common/pull/191&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/191&lt;/a&gt; I found also ArrayIterator needs special behaviour.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14142">DCOM-127</key>
            <summary>[GH-206] Debug::export ArrayIterator dumps the internal storage variable</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Oct 2012 07:35:21 +0000</created>
                <updated>Mon, 14 Jan 2013 01:41:27 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:41:27 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-126] [GH-205] Fixed a typo in PHPdoc</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-126</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of michaelperrin:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/205&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/205&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;A unnecessary new line was inserted in ClassLoader.php&lt;/p&gt;</description>
                <environment></environment>
            <key id="14138">DCOM-126</key>
            <summary>[GH-205] Fixed a typo in PHPdoc</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Oct 2012 16:14:51 +0000</created>
                <updated>Mon, 14 Jan 2013 01:40:57 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:40:57 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18843" author="beberlei" created="Wed, 17 Oct 2012 16:27:00 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-205&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/205&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/205&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-125] [GH-204] Bad function call in Debug::toString()</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-125</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of touki653:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/204&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/204&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Fixed an (obviously) over used function which were calling &lt;span class=&quot;error&quot;&gt;&amp;#91;method_exists&amp;#93;&lt;/span&gt;(&lt;a href=&quot;http://php.net/method_exists&quot; class=&quot;external-link&quot;&gt;http://php.net/method_exists&lt;/a&gt;) function the wrong way.&lt;/p&gt;

&lt;p&gt;In `Doctrine\Common\Util\Debug::toString($obj)`&lt;br/&gt;
From `method_exists(&apos;__toString&apos;,$obj)`&lt;br/&gt;
To  `method_exists($obj,&apos;__toString&apos;)`&lt;/p&gt;
</description>
                <environment></environment>
            <key id="14137">DCOM-125</key>
            <summary>[GH-204] Bad function call in Debug::toString()</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Oct 2012 15:47:40 +0000</created>
                <updated>Mon, 14 Jan 2013 01:40:44 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:40:44 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18844" author="beberlei" created="Wed, 17 Oct 2012 16:30:33 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-204&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/204&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/204&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-124] [GH-203] Added deleteByPregix, deleteBySuffix, deleteByRegex in CacheProvider</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-124</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of masarliev:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/203&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/203&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I found that this feature is missing.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14135">DCOM-124</key>
            <summary>[GH-203] Added deleteByPregix, deleteBySuffix, deleteByRegex in CacheProvider</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Oct 2012 18:04:20 +0000</created>
                <updated>Mon, 14 Jan 2013 01:40:25 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:40:25 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-123] [GH-202] Add sqlite cache driver</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-123</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Baachi:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/202&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/202&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14106">DCOM-123</key>
            <summary>[GH-202] Add sqlite cache driver</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="4">Incomplete</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Oct 2012 18:04:15 +0000</created>
                <updated>Thu, 23 May 2013 22:28:23 +0000</updated>
                    <resolved>Thu, 23 May 2013 22:28:23 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20430" author="doctrinebot" created="Thu, 23 May 2013 19:47:07 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-202&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/202&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/202&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-122] [GH-200] ClassMetadataFactory child classes can now filter the metadata when calling getAllMetadata</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-122</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of theUniC:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/200&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/200&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This is due mainly, because we have found performance issues when trying to generate a complete schema (annotation based) from a legacy database with tons of tables with the ConvertMapping command.&lt;/p&gt;

&lt;p&gt;This will let filter table names to the ```Doctrine\ORM\Mapping\Driver\DatabaseDriver::getAllClassNames``` and ```Doctrine\ORM\Mapping\Driver\DatabaseDriver::loadMetadataForClass``` methods, and extract class metadata from a smaller subset of classes (I&apos;m doing another PR for this in the ORM repository).&lt;/p&gt;</description>
                <environment></environment>
            <key id="14103">DCOM-122</key>
            <summary>[GH-200] ClassMetadataFactory child classes can now filter the metadata when calling getAllMetadata</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 7 Oct 2012 09:57:01 +0000</created>
                <updated>Sun, 7 Oct 2012 10:37:41 +0000</updated>
                    <resolved>Sun, 7 Oct 2012 10:37:41 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18802" author="beberlei" created="Sun, 7 Oct 2012 10:37:14 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-200&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/200&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/200&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-121] [GH-198] [DCOM-118] fix for issue #195 </title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-121</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pscheit:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/198&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/198&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I&apos;m sorry, i have no idea why i got here now 23 commits .. i tried but no success.&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14093">DCOM-121</key>
            <summary>[GH-198] [DCOM-118] fix for issue #195 </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 17:46:24 +0000</created>
                <updated>Wed, 3 Oct 2012 17:46:24 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-120] [GH-197] Avoid a critical error when parsed class is not found</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-120</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of alphalemon:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/197&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/197&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Found a bug that returns a critical error when parsed class is not found. The new test explains exactly the situation found.&lt;/p&gt;

&lt;p&gt;This issue was found running this test suite: &lt;a href=&quot;https://github.com/alphalemon/AlphaLemonCmsBundle&quot; class=&quot;external-link&quot;&gt;https://github.com/alphalemon/AlphaLemonCmsBundle&lt;/a&gt;, running the following test; phpunit Tests/Functional/Controller/SecuryControllerTest.php&lt;/p&gt;</description>
                <environment></environment>
            <key id="14092">DCOM-120</key>
            <summary>[GH-197] Avoid a critical error when parsed class is not found</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 11:18:14 +0000</created>
                <updated>Mon, 8 Oct 2012 08:00:04 +0000</updated>
                    <resolved>Mon, 8 Oct 2012 08:00:04 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18803" author="beberlei" created="Sun, 7 Oct 2012 16:20:43 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-197&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/197&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/197&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-119] [GH-196] Make getNamespacedId protected instead of private</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-119</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jnonon:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/196&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/196&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;We want to extend the cache class provider MemcacheCache.php in order to set a custom namespace. However, because getNamespacedId is a private method, basically a complete rewrite and code duplication of the class is needed. &lt;br/&gt;
Is there any reason for this method to be private instead of protected? &lt;br/&gt;
Thanks in advace,&lt;/p&gt;

&lt;p&gt;--JN&lt;/p&gt;</description>
                <environment></environment>
            <key id="14087">DCOM-119</key>
            <summary>[GH-196] Make getNamespacedId protected instead of private</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 17:48:34 +0000</created>
                <updated>Mon, 14 Jan 2013 01:38:59 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:38:59 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18760" author="beberlei" created="Tue, 2 Oct 2012 18:14:04 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-196&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/196&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/196&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-118] [GH-195] Add failing test to demonstrate parse error when @ is present in the description</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-118</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Seldaek:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/195&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/195&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;If someone can take this and fix the issue it&apos;d be great. I couldn&apos;t figure it out at a quick glance and I don&apos;t really have time, but it&apos;s a pretty messed up bug and not so trivial to debug if you don&apos;t know what happens in the background so I&apos;d say it&apos;s pretty important.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14086">DCOM-118</key>
            <summary>[GH-195] Add failing test to demonstrate parse error when @ is present in the description</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 15:19:06 +0000</created>
                <updated>Wed, 3 Oct 2012 04:27:17 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18759" author="psc" created="Tue, 2 Oct 2012 17:35:51 +0000"  >&lt;p&gt;I digged a little deeper. The test case is a great one &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
The DocLexer cuts ut -1 position from the first @ (which is the @ in the @example.com). so that the lexer has to process:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
o@example.com&quot;
     * }
     *
     * @AnnotationTargetPropertyMethod(&lt;span class=&quot;code-quote&quot;&gt;&quot;Bar&quot;&lt;/span&gt;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So that the catchable pattern: (&quot;(?:&lt;span class=&quot;error&quot;&gt;&amp;#91;^&amp;quot;&amp;#93;&lt;/span&gt;|&quot;&quot;)*&quot;) matches here to greedy (it matches string in quotes):&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&quot;
     * }
     *
     * @AnnotationTargetPropertyMethod(&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As a result the lexer does not catch the correct @ from the Annotation&lt;/p&gt;

&lt;p&gt;I could not think of a fast fix for this. But maybe tomorrow.&lt;br/&gt;
(leaving quoted string pattern with an @ was a wrong idea)&lt;/p&gt;

&lt;p&gt;Its not a workaround to do more or less cutting in the parser, because not-well-formed quoted strings would break anyway&lt;/p&gt;</comment>
                    <comment id="18761" author="psc" created="Wed, 3 Oct 2012 04:27:17 +0000"  >&lt;p&gt;can someone think of a case, where a string (in some annotation) has a newline in it? Otherwise the tests do not fail, when I leave the string matching pattern with a newline.&lt;br/&gt;
I still had another idea to restrict the position of a annotation more strictly to:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the beginning of a new line (\s*&amp;#42;\s* before)&lt;/li&gt;
	&lt;li&gt;in another annotation&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;but the second is not solvable with the lexer itself and would transfer the quoted string matching to the parser, because it needs context.&lt;/p&gt;

&lt;p&gt;I&apos;ll let seldaek pull, what I have (is this the right way?)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-117] [GH-194] If that $element exists give it back</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-117</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of seltzlab:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/194&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/194&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I think it would very useful to get back the element that matched&lt;/p&gt;</description>
                <environment></environment>
            <key id="14079">DCOM-117</key>
            <summary>[GH-194] If that $element exists give it back</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2012 20:40:50 +0000</created>
                <updated>Mon, 14 Jan 2013 01:38:36 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:38:36 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18747" author="beberlei" created="Mon, 1 Oct 2012 21:54:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-194&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/194&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/194&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-116] [GH-193] Optimize autoload prefix in composer.json</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-116</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Slamdunk:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/193&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/193&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;By having more specific autoload prefixes it is possible to reduce the number of stat calls made.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14076">DCOM-116</key>
            <summary>[GH-193] Optimize autoload prefix in composer.json</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2012 06:57:41 +0000</created>
                <updated>Mon, 14 Jan 2013 01:34:42 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:34:41 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18739" author="beberlei" created="Fri, 28 Sep 2012 08:02:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-193&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/193&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/193&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-115] [GH-191] Debug::export ArrayObject dumps the internal storage variable</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-115</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Slamdunk:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/191&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/191&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Until now, exporting `ArrayObject` hid the internal storage variable, but `print_r` and `var_dump` show it.&lt;/p&gt;

&lt;p&gt;With this PR the `ArrayObject::storage` variable is exported too.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14071">DCOM-115</key>
            <summary>[GH-191] Debug::export ArrayObject dumps the internal storage variable</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Sep 2012 08:35:36 +0000</created>
                <updated>Mon, 1 Oct 2012 09:20:02 +0000</updated>
                    <resolved>Mon, 1 Oct 2012 09:20:02 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18745" author="beberlei" created="Mon, 1 Oct 2012 09:20:00 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-191&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/191&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/191&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-114] [GH-190] Test new3</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-114</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;something master test?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14062">DCOM-114</key>
            <summary>[GH-190] Test new3</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 19:40:20 +0000</created>
                <updated>Mon, 14 Jan 2013 01:34:25 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:34:25 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18717" author="beberlei" created="Mon, 24 Sep 2012 19:41:05 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18718" author="beberlei" created="Mon, 24 Sep 2012 20:22:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18719" author="beberlei" created="Mon, 24 Sep 2012 20:24:13 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18720" author="beberlei" created="Mon, 24 Sep 2012 20:29:44 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18721" author="beberlei" created="Mon, 24 Sep 2012 20:34:28 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18722" author="beberlei" created="Mon, 24 Sep 2012 20:37:58 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18723" author="beberlei" created="Mon, 24 Sep 2012 20:38:12 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-190&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/190&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19308" author="ocramius" created="Mon, 14 Jan 2013 01:34:25 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-113] [GH-189] Test new3</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-113</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/189&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/189&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;last test i hope &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/biggrin.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14061">DCOM-113</key>
            <summary>[GH-189] Test new3</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 19:26:48 +0000</created>
                <updated>Mon, 14 Jan 2013 01:34:07 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:34:07 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18716" author="beberlei" created="Mon, 24 Sep 2012 19:28:28 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-189&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/189&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/189&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19307" author="ocramius" created="Mon, 14 Jan 2013 01:34:07 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-112] [GH-188] Test new3</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-112</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;trying against 2.3&lt;/p&gt;</description>
                <environment></environment>
            <key id="14060">DCOM-112</key>
            <summary>[GH-188] Test new3</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 18:24:51 +0000</created>
                <updated>Mon, 14 Jan 2013 01:33:05 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:33:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18711" author="beberlei" created="Mon, 24 Sep 2012 18:51:59 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-188&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18712" author="beberlei" created="Mon, 24 Sep 2012 18:52:58 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-188&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18713" author="beberlei" created="Mon, 24 Sep 2012 18:57:47 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-188&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18714" author="beberlei" created="Mon, 24 Sep 2012 19:12:19 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-188&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18715" author="beberlei" created="Mon, 24 Sep 2012 19:13:48 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-188&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19303" author="ocramius" created="Mon, 14 Jan 2013 01:33:05 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-111] [GH-187] Test new3</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-111</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/187&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/187&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;test 3&lt;/p&gt;</description>
                <environment></environment>
            <key id="14059">DCOM-111</key>
            <summary>[GH-187] Test new3</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 18:02:00 +0000</created>
                <updated>Mon, 14 Jan 2013 01:33:40 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:33:40 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18708" author="beberlei" created="Mon, 24 Sep 2012 18:07:18 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-187&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/187&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/187&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18709" author="beberlei" created="Mon, 24 Sep 2012 18:10:39 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-187&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/187&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/187&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18710" author="beberlei" created="Mon, 24 Sep 2012 18:18:10 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-187&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/187&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/187&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19305" author="ocramius" created="Mon, 14 Jan 2013 01:33:40 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-110] [GH-186] Test new2</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-110</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/186&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/186&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;new pull test&lt;/p&gt;</description>
                <environment></environment>
            <key id="14058">DCOM-110</key>
            <summary>[GH-186] Test new2</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 17:29:20 +0000</created>
                <updated>Mon, 14 Jan 2013 01:33:24 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:33:24 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18707" author="beberlei" created="Mon, 24 Sep 2012 17:58:03 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-186&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/186&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/186&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19304" author="ocramius" created="Mon, 14 Jan 2013 01:33:24 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-109] [GH-185] Test new</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-109</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/185&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/185&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;test&lt;/p&gt;</description>
                <environment></environment>
            <key id="14057">DCOM-109</key>
            <summary>[GH-185] Test new</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 16:11:21 +0000</created>
                <updated>Mon, 14 Jan 2013 01:33:54 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:33:54 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18706" author="beberlei" created="Mon, 24 Sep 2012 16:13:26 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-185&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/185&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/185&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19306" author="ocramius" created="Mon, 14 Jan 2013 01:33:54 +0000"  >&lt;p&gt;Was a test for the GH bot&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-108] [GH-184] Fix bug in classExists when using multiple autoloaders (i.e. ZF2)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-108</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of bramstroker:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/184&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/184&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The autoloading routine in the classExists method makes the assumption the autoload method always returns a value (i.e. no void) when the autoloading of a class is succesfull. When you have multiple autoloaders registered to the spl stack this can lead to problems. In my case I&apos;m using ZF2 ClassmapAutoloader and StandardAutoloader as fallback. The classmapAutoloader returns nothing so the autoload method in the StandardAutoloader is called as well, because the for loop is continued. This results in a second include, and a fatal error &quot;Cannot redeclare class&quot; is triggered.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14043">DCOM-108</key>
            <summary>[GH-184] Fix bug in classExists when using multiple autoloaders (i.e. ZF2)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Sep 2012 09:12:51 +0000</created>
                <updated>Mon, 14 Jan 2013 01:36:51 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:36:50 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18665" author="beberlei" created="Mon, 17 Sep 2012 12:31:06 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-184&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/184&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/184&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18679" author="beberlei" created="Tue, 18 Sep 2012 19:54:27 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-184&amp;#93;&lt;/span&gt; was reopened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/184&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/184&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19309" author="ocramius" created="Mon, 14 Jan 2013 01:36:51 +0000"  >&lt;p&gt;Handled in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-136&quot; title=&quot;[GH-216] Adding failing test for silent autoloaders&quot;&gt;&lt;del&gt;DCOM-136&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-107] [GH-183] Fix bug in classExists when using multiple autoloaders (i.e. ZF2)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-107</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of bramstroker:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/183&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/183&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The autoloading routine in the classExists method makes the assumption the autoload method always returns a value (i.e. no void) when the autoloading of a class is succesfull. When you have multiple autoloaders registered to the spl stack this can lead to problems. In my case I&apos;m using ZF2 ClassmapAutoloader and StandardAutoloader as fallback. The classmapAutoloader returns nothing so the autoload method in the StandardAutoloader is called as well, because the for loop is continued. This results in a second include, and a fatal error &quot;Cannot redeclare class&quot; is triggered.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14042">DCOM-107</key>
            <summary>[GH-183] Fix bug in classExists when using multiple autoloaders (i.e. ZF2)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Sep 2012 07:57:42 +0000</created>
                <updated>Mon, 14 Jan 2013 01:37:17 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:37:17 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18654" author="beberlei" created="Mon, 17 Sep 2012 08:06:48 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-183&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/183&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/183&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19310" author="ocramius" created="Mon, 14 Jan 2013 01:37:17 +0000"  >&lt;p&gt;Handled in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-136&quot; title=&quot;[GH-216] Adding failing test for silent autoloaders&quot;&gt;&lt;del&gt;DCOM-136&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-106] Add @todo and @fixme to AnnotationReader::$globalIgnoredNames</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-106</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I was wondering if you would consider adding @todo and @fixme&lt;/p&gt;

&lt;p&gt;After doing some research, I&apos;m not sure if @fixme is used anywhere other than being in Eclipse&apos;s PDT. However, @todo is definitely on the common tags of wiki page about PHPdoc as well as the phpDoc manual.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/PHPDoc#Tags&quot; class=&quot;external-link&quot;&gt;http://en.wikipedia.org/wiki/PHPDoc#Tags&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.todo.pkg.html&quot; class=&quot;external-link&quot;&gt;http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.todo.pkg.html&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14028">DCOM-106</key>
            <summary>Add @todo and @fixme to AnnotationReader::$globalIgnoredNames</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="isleshocky77">Stephen Ostrow</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Sep 2012 15:33:01 +0000</created>
                <updated>Wed, 21 Nov 2012 00:06:25 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 00:06:25 +0000</resolved>
                            <version>2.3</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18630" author="ocramius" created="Wed, 12 Sep 2012 15:41:48 +0000"  >&lt;p&gt;Todo is already built in:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Annotations/AnnotationReader.php#L63&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Annotations/AnnotationReader.php#L63&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18631" author="isleshocky77" created="Wed, 12 Sep 2012 15:54:07 +0000"  >&lt;p&gt;Sorry about that. I normally write them as @TODO so the standout more. Then when I got that exception and started doing research I swear I had tried @todo.  But now looking back, I bet I tried @todo and still got exceptions which were from other bugs I had going on. I guess we can close this unless anyone thinks @fixme should be in there as well. &lt;/p&gt;

&lt;p&gt;But like I said in the description, I&apos;m not sure if @fixme is a common or just from Eclipse.&lt;/p&gt;</comment>
                    <comment id="18632" author="ocramius" created="Wed, 12 Sep 2012 16:00:46 +0000"  >&lt;p&gt;Netbeans matches that one too&lt;/p&gt;</comment>
                    <comment id="19012" author="nemek_zg" created="Tue, 20 Nov 2012 19:04:31 +0000"  >&lt;p&gt;I&apos;ve prepared a fix for this issue that makes both @fixme and @TODO ignored. Pull request: &lt;a href=&quot;https://github.com/doctrine/common/pull/223&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/223&lt;/a&gt;.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-105] Common base exception class</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-105</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Per our discussion on IRC/Twitter.&lt;/p&gt;

&lt;p&gt;It would be nice if all exceptions thrown had a common base, so something like this is possible to catch all exceptions from Doctrine:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
    &lt;span class=&quot;code-comment&quot;&gt;// some code here
&lt;/span&gt;} &lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (\Doctrine\Common\BaseException $e) {
    &lt;span class=&quot;code-comment&quot;&gt;// something in Doctrine threw an exception, handle it here
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;(The name is just an example.)&lt;/p&gt;

&lt;p&gt;For reference:&lt;br/&gt;
&lt;a href=&quot;https://wiki.php.net/pear/rfc/pear2_exception_policy&quot; class=&quot;external-link&quot;&gt;https://wiki.php.net/pear/rfc/pear2_exception_policy&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13988">DCOM-105</key>
            <summary>Common base exception class</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="till">Till</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Aug 2012 13:12:08 +0000</created>
                <updated>Thu, 21 Feb 2013 10:09:58 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 10:09:58 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18545" author="stof" created="Mon, 27 Aug 2012 13:20:20 +0000"  >&lt;p&gt;Instead of a base class (which forbids extending the SPL exception), I would go the same way than Symfony2 and ZF: using an interface.&lt;/p&gt;</comment>
                    <comment id="18547" author="till" created="Mon, 27 Aug 2012 17:09:47 +0000"  >&lt;p&gt;That&apos;s basically what the PEAR2 RFC is doing.&lt;/p&gt;</comment>
                    <comment id="19579" author="ocramius" created="Thu, 21 Feb 2013 10:09:58 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-80&quot; title=&quot;Add common exceptions into Doctrine\Common&quot;&gt;DCOM-80&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-104] Dump() has side-effects or is unreliable</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-104</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;after setting a one-to-one bi-directional relationship, I am hunting a bug and trying this:&lt;/p&gt;

&lt;p&gt;		\Doctrine\Common\Util\Debug::Dump($this-&amp;gt;lord, 1);&lt;br/&gt;
		\Doctrine\Common\Util\Debug::Dump($this, 2);&lt;br/&gt;
		\Doctrine\Common\Util\Debug::Dump($this-&amp;gt;lord, 1);&lt;/p&gt;

&lt;p&gt;The first Dump() shows $this-&amp;gt;lord as being NULL.&lt;br/&gt;
The third Dump() shows it as NOT being null, just like the 2nd one also shows it as having a value.&lt;/p&gt;</description>
                <environment>Debian Squeeze, MySQL 5</environment>
            <key id="13907">DCOM-104</key>
            <summary>Dump() has side-effects or is unreliable</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="tom">Tom Vogt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Aug 2012 08:08:28 +0000</created>
                <updated>Fri, 11 Jan 2013 18:21:57 +0000</updated>
                                    <version>2.2.2</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18425" author="tom" created="Thu, 2 Aug 2012 09:22:39 +0000"  >&lt;p&gt;More analysis found the issue being caused by an overloaded setLord() method:&lt;/p&gt;

&lt;p&gt;	public function setLord($NewLord) {&lt;br/&gt;
		// overwriting the setter because we also want to update the lord days counter&lt;br/&gt;
		if ($NewLord!=$this-&amp;gt;lord) &lt;/p&gt;
{
			$this-&amp;gt;lord-&amp;gt;setFief(null); // this is the line causing the issue
			if ($NewLord) $NewLord-&amp;gt;setFief($this);
			$this-&amp;gt;lord = $NewLord;
			$this-&amp;gt;lordDays = 0;
		}
&lt;p&gt;		return $this;&lt;br/&gt;
	}&lt;/p&gt;

&lt;p&gt;without the marked line, everything works as expected, but of course the inverse side doesn&apos;t get updated without it.&lt;/p&gt;</comment>
                    <comment id="18426" author="tom" created="Thu, 2 Aug 2012 09:24:34 +0000"  >&lt;p&gt;it ate the newlines in the comment above. The problematic line is:&lt;/p&gt;

&lt;p&gt; $this-&amp;gt;lord-&amp;gt;setFief(null);&lt;/p&gt;

&lt;p&gt;i.e. the update of the inverse side.&lt;/p&gt;</comment>
                    <comment id="18475" author="stof" created="Tue, 7 Aug 2012 15:49:29 +0000"  >&lt;p&gt;I confirm that the dump command has some side effects. It initializes the persistent collections too&lt;/p&gt;</comment>
                    <comment id="19282" author="tom" created="Fri, 11 Jan 2013 18:21:57 +0000"  >&lt;p&gt;Could this for the time being be fixed with a notice in the documentation warning of possible side-effects of Dump() ?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-103] Debug::toString issue with swapped parameters</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-103</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Debug::toString has an issue with swapped parameters:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
method_exists(&apos;__toString&apos;, $obj)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;should be&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
method_exists($obj, &apos;__toString&apos;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13910">DCOM-103</key>
            <summary>Debug::toString issue with swapped parameters</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="deatheriam">Oleg Namaka</reporter>
                        <labels>
                    </labels>
                <created>Sat, 4 Aug 2012 23:22:12 +0000</created>
                <updated>Fri, 28 Dec 2012 09:24:03 +0000</updated>
                    <resolved>Fri, 28 Dec 2012 09:24:03 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19189" author="ocramius" created="Fri, 28 Dec 2012 09:24:03 +0000"  >&lt;p&gt;Fixed in master @ &lt;a href=&quot;https://github.com/doctrine/common/commit/301228e3a52d5259a341423daf75b25366895f17&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/301228e3a52d5259a341423daf75b25366895f17&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-102] Updates for Fedora packaging</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-102</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I am packaging the DoctrineDBAL PEAR package for Fedora and would like to have the following updates:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;package.xml role for LICENSE changed from &quot;data&quot; to &quot;doc&quot;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>PEAR, Fedora, RHEL</environment>
            <key id="13828">DCOM-102</key>
            <summary>Updates for Fedora packaging</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="siwinski">Shawn Iwinski</reporter>
                        <labels>
                    </labels>
                <created>Sat, 7 Jul 2012 03:26:37 +0000</created>
                <updated>Sat, 24 Nov 2012 21:44:22 +0000</updated>
                                    <version>2.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-101] Implement FilesystemCache</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-101</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Implement FilesystemCache, storing var exported pieces that could be loaded on demand.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13761">DCOM-101</key>
            <summary>Implement FilesystemCache</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="guilhermeblanco">Guilherme Blanco</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jun 2012 09:55:48 +0000</created>
                <updated>Mon, 25 Jun 2012 13:01:48 +0000</updated>
                    <resolved>Mon, 25 Jun 2012 13:01:48 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18138" author="fabio.bat.silva" created="Mon, 25 Jun 2012 13:01:48 +0000"  >&lt;p&gt;Fixed By : &lt;a href=&quot;https://github.com/doctrine/common/commit/8df9cdf3b921a3b59bbba51d5ba9063509ef6a1a&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/8df9cdf3b921a3b59bbba51d5ba9063509ef6a1a&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-100] bad filename for WincacheCahe</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-100</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;object WincacheCache object resides in file WinCacheCache.php and it confuses autoloading.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13750">DCOM-100</key>
            <summary>bad filename for WincacheCahe</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="naprstek">Vladim&#237;r N&#225;prstek</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Jun 2012 11:48:39 +0000</created>
                <updated>Sat, 9 Jun 2012 11:52:59 +0000</updated>
                    <resolved>Sat, 9 Jun 2012 11:52:59 +0000</resolved>
                            <version>2.2</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18068" author="guilhermeblanco" created="Sat, 9 Jun 2012 11:52:59 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/doctrine/common/commit/380ca1d2dcf353a7a768f8086bd0fe05199fbb56&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/380ca1d2dcf353a7a768f8086bd0fe05199fbb56&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-99] Variable Support in DQL</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-99</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;sometimes in complex queries need to use variable, &lt;br/&gt;
but DQL not support Variable,&lt;/p&gt;</description>
                <environment></environment>
            <key id="13660">DCOM-99</key>
            <summary>Variable Support in DQL</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="msdmazarei">Masoud Mazarei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Apr 2012 11:40:43 +0000</created>
                <updated>Mon, 14 Jan 2013 01:31:26 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 01:31:26 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18049" author="ocramius" created="Thu, 7 Jun 2012 12:12:33 +0000"  >&lt;p&gt;Could you please provide more information to this? Otherwise, this issue is quite invalid...&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-98] Fix bug with memcache/memcached and 0 as expire</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-98</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13579">DCOM-98</key>
            <summary>Fix bug with memcache/memcached and 0 as expire</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Mar 2012 18:34:59 +0000</created>
                <updated>Fri, 30 Mar 2012 18:48:27 +0000</updated>
                    <resolved>Fri, 30 Mar 2012 18:48:27 +0000</resolved>
                                            <fixVersion>2.2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-97] phpParser.php and &apos;use&apos; keyword in anonymous functions</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-97</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;When i use the keyword &apos;use&apos; in anonymous function (like describe in page &lt;a href=&quot;http://php.net/manual/en/functions.anonymous.php&quot; class=&quot;external-link&quot;&gt;http://php.net/manual/en/functions.anonymous.php&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Exemple : &lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;/**&lt;br/&gt;
    *&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Extract event from all events for this day&lt;/li&gt;
	&lt;li&gt;&lt;/li&gt;
	&lt;li&gt;@param int $year&lt;/li&gt;
	&lt;li&gt;@param int $month&lt;/li&gt;
	&lt;li&gt;@param int $day&lt;/li&gt;
	&lt;li&gt;@return ArrayCollection&lt;br/&gt;
    */&lt;br/&gt;
   public function getEventsForDate($year, $month, $day)
   &lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {        $extractEvents = null;        // check if date of item is inside day given        $extractEvents =  $this-&amp;gt;events-&amp;gt;filter(                function ($item) use ($year, $month, $day)                {
                    $leftDate = new \DateTime($year.&apos;-&apos;.$month.&apos;-&apos;.$day.&apos; 00:00&apos;);
                    $rigthDate = new \DateTime($year.&apos;-&apos;.$month.&apos;-&apos;.$day.&apos; +1 day 00:00&apos;);

                    return ( ( $leftDate &amp;lt;= $item-&amp;gt;getDateStart() ) &amp;amp;&amp;amp; ( $item-&amp;gt;getDateStart() &amp;lt; $rigthDate ) );
                }        );        return $extractEvents;   }&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;...&lt;/p&gt;


&lt;p&gt;The phpParser generate error&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ErrorException&amp;#93;&lt;/span&gt;                                                                                                                         &lt;br/&gt;
  Notice: Undefined offset: -1 in /home/ent/project/Symfony/vendor/doctrine-common/lib/Doctrine/Common/Annotations/PhpParser.php line 117 &lt;/p&gt;

&lt;p&gt;It try to parse &apos;use ($year, $month, $day)&apos; as Class&lt;/p&gt;


</description>
                <environment>php 5.3, Symfony2, linux</environment>
            <key id="13442">DCOM-97</key>
            <summary>phpParser.php and &apos;use&apos; keyword in anonymous functions</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="totolehero">Thomas Lecarpentier</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Feb 2012 13:26:09 +0000</created>
                <updated>Fri, 30 Mar 2012 20:15:04 +0000</updated>
                    <resolved>Fri, 30 Mar 2012 20:15:04 +0000</resolved>
                            <version>2.1.4</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17653" author="fabio.bat.silva" created="Sun, 25 Mar 2012 14:07:44 +0000"  >&lt;p&gt;I think this is fixed on the php parser rewrite. (2.2)&lt;/p&gt;</comment>
                    <comment id="17655" author="fabio.bat.silva" created="Sun, 25 Mar 2012 18:29:46 +0000"  >&lt;p&gt;Coverage added : &lt;a href=&quot;https://github.com/doctrine/common/commit/7ec510dbb2279f76a00ecf3f911298879c6ba1a1&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/7ec510dbb2279f76a00ecf3f911298879c6ba1a1&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;I think this could be closed..&lt;/p&gt;</comment>
                    <comment id="17689" author="fabio.bat.silva" created="Fri, 30 Mar 2012 20:15:04 +0000"  >&lt;p&gt;Fixed on php parser rewrite. (2.2)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-96] Extract a common ProxyFactory</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-96</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Currently, each Doctrine project implements its own ProxyFactory. But the most part of the logic is simply copy-pasted from the ORM implementation (or from an older version of the ORM implementation). Extracting the common code would be a good idea to avoid having to maintain 4 places (or even more) containing the same logic&lt;/p&gt;</description>
                <environment></environment>
            <key id="13435">DCOM-96</key>
            <summary>Extract a common ProxyFactory</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="stof">Christophe Coevoet</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Feb 2012 01:38:44 +0000</created>
                <updated>Thu, 10 Jan 2013 22:25:47 +0000</updated>
                    <resolved>Thu, 10 Jan 2013 22:25:47 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18862" author="ocramius" created="Mon, 22 Oct 2012 01:45:03 +0000"  >&lt;p&gt;I have a working implementation of public properties lazy loading at &lt;a href=&quot;https://github.com/Ocramius/doctrine2/compare/master...DCOM-96-restarted&quot; class=&quot;external-link&quot;&gt;https://github.com/Ocramius/doctrine2/compare/master...DCOM-96-restarted&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am still trying to figure out performance issues, since this PR adds 5% overhead on top of Hydrators/Persisters/UnitOfWork, since it turned out that &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$reflectionProperty-&amp;gt;getValue($object);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;actually triggers PHP&apos;s magic __get method.&lt;br/&gt;
I&apos;ve worked this around by assuming nulls when values are not set, but this adds some conditionals that obviously slow down all the extraction of values process.&lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-94] Support for constants on annotation reader</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-94</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Would be nice get support for constants on annotation reader.&lt;/p&gt;

&lt;p&gt;Usage : &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
* @SomeAnnotation(PHP_EOL)
* @SomeAnnotation(SomeClass::SOME_VALUE)
* @SomeAnnotation({SomeClass::VALUE1,SomeClass::VALUE2})
* @SomeAnnotation({SomeClass::SOME_KEY = SomeClass::SOME_VALUE})
*/
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13421">DCOM-94</key>
            <summary>Support for constants on annotation reader</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="fabio.bat.silva">Fabio B. Silva</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Feb 2012 19:01:34 +0000</created>
                <updated>Thu, 15 Mar 2012 17:41:02 +0000</updated>
                    <resolved>Thu, 15 Mar 2012 17:41:02 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17479" author="gabrielnn77" created="Wed, 22 Feb 2012 11:20:43 +0000"  >&lt;p&gt;file doctrine-2.2.0/Doctrine/Common/Lexer.php&lt;br/&gt;
line 214&lt;br/&gt;
	@patch : para poder usar constantes &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;definidas con define como param de las anotaciones&lt;/li&gt;
	&lt;li&gt;las constantes deben empesar por &apos;_&apos; para evitar conflictos con &apos;false&apos; y &apos;true&apos;&lt;/li&gt;
	&lt;li&gt;esto solo soporta constantes en los valores de las anotaciones&lt;/li&gt;
	&lt;li&gt;ej:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;			 		define(&apos;_db_clase_05&apos;, &apos;&quot;test.Clase_05&quot;&apos;);&lt;br/&gt;
			 		...&lt;br/&gt;
			  		/** @Table(name=_db_clase_05) &lt;br/&gt;
			 		... */&lt;br/&gt;
					class Clase_05&lt;/p&gt;
{
			 		...
			 		}


&lt;p&gt;			if(is_string($match&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;) &amp;amp;&amp;amp; ($match&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; == &apos;_&apos;) &amp;amp;&amp;amp; defined($match&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;))&lt;/p&gt;
{
				$aux_val = constant($match[0]);
				$match[0] = $aux_val;
			}</comment>
                    <comment id="17481" author="fabio.bat.silva" created="Wed, 22 Feb 2012 12:47:51 +0000"  >&lt;p&gt;hello gabriel,&lt;/p&gt;

&lt;p&gt;I have a pull request opened : &lt;a href=&quot;https://github.com/doctrine/common/pull/104&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/104&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;feel free to join us and comment ...&lt;br/&gt;
in inglesh please &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="17596" author="fabio.bat.silva" created="Thu, 15 Mar 2012 17:41:02 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/common/commit/970912eec0a1371e03de7010556d9280c26d8083&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/970912eec0a1371e03de7010556d9280c26d8083&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-93] Add Reflection Abstraction</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-93</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The Reflection code in ClassMetadata(Info*)s is getting out of control.&lt;/p&gt;

&lt;p&gt;I want to remove the dependency by introducing a ReflectionService interface:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; ReflectionService
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getClassShortName($class);
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getClassNamespace($class);
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getClass($class);
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getAccessibleProperty($class, $property);
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function hasPublicMethod($class, $method);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The reflection methods are specifically allowed to return NULL, so that we can create a StaticReflectionService that works without the classes actually existing.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13317">DCOM-93</key>
            <summary>Add Reflection Abstraction</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Dec 2011 20:23:37 +0000</created>
                <updated>Tue, 3 Jan 2012 21:56:55 +0000</updated>
                    <resolved>Mon, 2 Jan 2012 21:06:10 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17136" author="beberlei" created="Wed, 28 Dec 2011 23:50:03 +0000"  >&lt;p&gt;This issue is referenced in Github Pull-Request GH-89&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/89&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/89&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17137" author="beberlei" created="Thu, 29 Dec 2011 09:15:05 +0000"  >&lt;p&gt;Related Pull Request was closed: &lt;a href=&quot;https://github.com/doctrine/common/pull/89&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/89&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17169" author="beberlei" created="Mon, 2 Jan 2012 21:06:10 +0000"  >&lt;p&gt;Implemented&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                                <inwardlinks description="is referenced by">
                            <issuelink>
            <issuekey id="13327">DDC-1577</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-92] CouchDB, MongoDB caches</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-92</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Very simple persisntent caches for query/view results now that result cache is actually useful&lt;/p&gt;</description>
                <environment></environment>
            <key id="13306">DCOM-92</key>
            <summary>CouchDB, MongoDB caches</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Dec 2011 11:16:49 +0000</created>
                <updated>Sun, 25 Dec 2011 11:16:49 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-91] GH-87: typos</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-91</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/common/pull/87&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/87&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/wink.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13302">DCOM-91</key>
            <summary>GH-87: typos</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Dec 2011 16:29:04 +0000</created>
                <updated>Mon, 16 Jan 2012 05:52:06 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 05:52:06 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17272" author="guilhermeblanco" created="Mon, 16 Jan 2012 05:52:06 +0000"  >&lt;p&gt;Fixed as per PR resolution&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-90] GH-86: class_exists is great, use it.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-90</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/common/pull/86&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/86&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
            <key id="13288">DCOM-90</key>
            <summary>GH-86: class_exists is great, use it.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Dec 2011 15:09:06 +0000</created>
                <updated>Mon, 16 Jan 2012 05:45:21 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 05:45:21 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17271" author="guilhermeblanco" created="Mon, 16 Jan 2012 05:45:21 +0000"  >&lt;p&gt;As per PR&apos;s resolution&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-89] GH-85: php annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-89</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/common/pull/85&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/85&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;This patch add support for php annotations, I think that is very useful to collect class metadata.&lt;br/&gt;
This patch support just 3 annotations ```@var, @param, @return```. but any annotation could be added.&lt;/p&gt;


&lt;p&gt;@schmittjoh can you take a look please ?&lt;/p&gt;


&lt;p&gt;Any suggestion are welcome.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment></environment>
            <key id="13273">DCOM-89</key>
            <summary>GH-85: php annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Dec 2011 16:11:04 +0000</created>
                <updated>Sat, 9 Jun 2012 11:56:17 +0000</updated>
                    <resolved>Sat, 9 Jun 2012 11:56:17 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18069" author="guilhermeblanco" created="Sat, 9 Jun 2012 11:56:17 +0000"  >&lt;p&gt;Synchronizing with PR. It was closed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-88] GH-84: Fixed phpdoc for the persistence interfaces</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-88</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/common/pull/84&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/84&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
            <key id="13264">DCOM-88</key>
            <summary>GH-84: Fixed phpdoc for the persistence interfaces</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Dec 2011 20:41:13 +0000</created>
                <updated>Mon, 16 Jan 2012 06:12:05 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 06:12:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17274" author="guilhermeblanco" created="Mon, 16 Jan 2012 06:12:05 +0000"  >&lt;p&gt;Fixed since &lt;a href=&quot;https://github.com/doctrine/common/commit/52c3882633b3cf11a694f2e8d9aaacb449bf5c6c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/52c3882633b3cf11a694f2e8d9aaacb449bf5c6c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-87] Add a method to retrieve the identifier values in the Common interfaces</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-87</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Currently, &lt;a href=&quot;https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php&quot; class=&quot;external-link&quot;&gt;https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php&lt;/a&gt; is tied to the ORM, forcing bundle integrating other Doctrine projects to reimplement it.&lt;/p&gt;

&lt;p&gt;The only place which is not (or cannot be) implemented using only methods from the Common interfaces is retrieving the current id. `getIdentifierValues` is now implemented by the ClassMetadata in all ORM, MongoDB and CouchDB but not in the interface.&lt;/p&gt;

&lt;p&gt;Note that the tricky point about adding it is the fact that the DisconnectedMetadataFactory (used when generating entities) returns a ClassMetadataInfo instead, which does not contain this method (as it relies on the existence of the class) but implements the interface.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13255">DCOM-87</key>
            <summary>Add a method to retrieve the identifier values in the Common interfaces</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="stof">Christophe Coevoet</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Dec 2011 23:35:26 +0000</created>
                <updated>Mon, 2 Jan 2012 14:21:07 +0000</updated>
                    <resolved>Mon, 2 Jan 2012 14:21:07 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17167" author="beberlei" created="Mon, 2 Jan 2012 14:21:07 +0000"  >&lt;p&gt;This was implemented&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-86] k-fish</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-86</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;When parsing a class the DocParser uses class_exists() to check for annotation classes (this triggers autoloading) - only afterwards the annotation is ignored if it should be ignored.&lt;/p&gt;

&lt;p&gt;At least for simple unqualified names the check against the ignored annotations could be done earlier. This already goes a long way:&lt;/p&gt;

&lt;p&gt; ----- DocParser.php, at about line 555 -----&lt;br/&gt;
        // only process names which are not fully qualified, yet&lt;br/&gt;
        // fully qualified names must start with a \&lt;br/&gt;
        $originalName = $name;&lt;br/&gt;
        if (&apos;&lt;br class=&quot;atl-forced-newline&quot; /&gt;&apos; !== $name&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;) {&lt;br/&gt;
            // check early and return before further inspections&lt;br/&gt;
            if (isset($this-&amp;gt;ignoredAnnotationNames&lt;span class=&quot;error&quot;&gt;&amp;#91;$name&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
                return FALSE;
            }
&lt;p&gt;            $alias = (false === $pos = strpos($name, &apos;&lt;br class=&quot;atl-forced-newline&quot; /&gt;&apos;))? $name : substr($name, 0, $pos);&lt;/p&gt;

&lt;p&gt; ----- DocParser.php, at about line 555 -----&lt;/p&gt;</description>
                <environment></environment>
            <key id="13246">DCOM-86</key>
            <summary>k-fish</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="k-fish">Karsten Dambekalns</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Dec 2011 13:09:46 +0000</created>
                <updated>Fri, 30 Dec 2011 14:44:59 +0000</updated>
                    <resolved>Fri, 30 Dec 2011 14:44:59 +0000</resolved>
                                                            <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17152" author="fabio.bat.silva" created="Fri, 30 Dec 2011 14:44:59 +0000"  >&lt;p&gt;Other explanations :  &lt;a href=&quot;https://github.com/doctrine/common/pull/90#issuecomment-3313175&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/90#issuecomment-3313175&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-85] GH-81: Add Proxy#__load()</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-85</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/common/pull/81&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/81&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
            <key id="13237">DCOM-85</key>
            <summary>GH-81: Add Proxy#__load()</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 3 Dec 2011 23:28:24 +0000</created>
                <updated>Mon, 12 Dec 2011 19:19:46 +0000</updated>
                    <resolved>Mon, 12 Dec 2011 19:19:46 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16972" author="beberlei" created="Mon, 12 Dec 2011 19:19:46 +0000"  >&lt;p&gt;Implemented in &lt;a href=&quot;https://github.com/doctrine/common/pull/83&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/83&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-84] Improve Proxy Naming</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-84</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;see &lt;a href=&quot;https://gist.github.com/b493493ecdb22c21590e&quot; class=&quot;external-link&quot;&gt;https://gist.github.com/b493493ecdb22c21590e&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13233">DCOM-84</key>
            <summary>Improve Proxy Naming</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Dec 2011 13:34:39 +0000</created>
                <updated>Tue, 13 Dec 2011 20:41:05 +0000</updated>
                    <resolved>Mon, 12 Dec 2011 19:18:46 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16971" author="beberlei" created="Mon, 12 Dec 2011 19:18:46 +0000"  >&lt;p&gt;Implemented in &lt;a href=&quot;https://github.com/doctrine/common/pull/83&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/83&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16977" author="beberlei" created="Tue, 13 Dec 2011 20:41:05 +0000"  >&lt;p&gt;This issue is referenced in Github Pull-Request GH-83&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/83&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/83&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-83] Rename ComparableInterface</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-83</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;see &lt;a href=&quot;https://github.com/doctrine/common/commit/fce661a041aa1dc3634bd1c04cacd684619579fc&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/fce661a041aa1dc3634bd1c04cacd684619579fc&lt;/a&gt; for reasoning&lt;/p&gt;

&lt;p&gt;I didn&apos;t want to do it myself, don&apos;t know what depends on this.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13232">DCOM-83</key>
            <summary>Rename ComparableInterface</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Dec 2011 13:33:42 +0000</created>
                <updated>Mon, 12 Dec 2011 19:29:13 +0000</updated>
                    <resolved>Mon, 12 Dec 2011 19:29:13 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16974" author="beberlei" created="Mon, 12 Dec 2011 19:29:13 +0000"  >&lt;p&gt;Fixed in 3ee9aea&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-82] Fix composer.json in 2.1.x releases missing autoloader</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-82</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13222">DCOM-82</key>
            <summary>Fix composer.json in 2.1.x releases missing autoloader</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 26 Nov 2011 08:09:52 +0000</created>
                <updated>Sat, 26 Nov 2011 08:10:34 +0000</updated>
                    <resolved>Sat, 26 Nov 2011 08:10:34 +0000</resolved>
                            <version>2.1.3</version>
                                <fixVersion>2.1.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-81] Attempt to create Annotation File Cache directory</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-81</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13215">DCOM-81</key>
            <summary>Attempt to create Annotation File Cache directory</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Nov 2011 18:52:32 +0000</created>
                <updated>Wed, 23 Nov 2011 19:50:38 +0000</updated>
                    <resolved>Wed, 23 Nov 2011 19:50:38 +0000</resolved>
                                                            <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16910" author="fabio.bat.silva" created="Wed, 23 Nov 2011 19:50:38 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/common/pull/77&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/77&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-80] Add common exceptions into Doctrine\Common</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-80</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Following the ZF and SF2 Standard for Exceptions we should have base exceptions in Common&lt;/p&gt;</description>
                <environment></environment>
            <key id="13203">DCOM-80</key>
            <summary>Add common exceptions into Doctrine\Common</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Nov 2011 10:27:24 +0000</created>
                <updated>Tue, 20 Dec 2011 22:48:42 +0000</updated>
                                                    <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-79] Move Lifecycle Events into Doctrine\Common\Persistence\Events</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-79</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13202">DCOM-79</key>
            <summary>Move Lifecycle Events into Doctrine\Common\Persistence\Events</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Nov 2011 10:26:43 +0000</created>
                <updated>Mon, 12 Dec 2011 19:21:59 +0000</updated>
                    <resolved>Mon, 12 Dec 2011 19:21:59 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16973" author="beberlei" created="Mon, 12 Dec 2011 19:21:59 +0000"  >&lt;p&gt;Implemented in 29dbb7070058c8e7bb81bc5f9ef79d877b058887&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-78] ZendDataCache, Can&apos;t use method return value in write context</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-78</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;On line 70, empty($this-&amp;gt;getNamespace()).&lt;/p&gt;

&lt;p&gt;empty() works only with variables so you need to assign the namespace to something before using empty().&lt;/p&gt;

&lt;p&gt;Fatal error: Can&apos;t use method return value in write context in Doctrine/Common/Cache/ZendDataCache.php on line 70&lt;/p&gt;</description>
                <environment></environment>
            <key id="13201">DCOM-78</key>
            <summary>ZendDataCache, Can&apos;t use method return value in write context</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ambis">Matti Niemel&#228;</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Nov 2011 03:57:14 +0000</created>
                <updated>Sat, 19 Nov 2011 13:24:50 +0000</updated>
                    <resolved>Sat, 19 Nov 2011 13:24:50 +0000</resolved>
                            <version>2.2</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16889" author="beberlei" created="Sat, 19 Nov 2011 13:24:50 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-77] add a method to force removal of any unmapped data on flush for a given object</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-77</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;in order to ensure that any unmapped fields are set to their defaults or removed in the case of nosql right now there is no way to do this except with 2 flush calls: aka remove+flush, persist+flush&lt;/p&gt;

&lt;p&gt;there should be some way to do this in one flush&lt;/p&gt;</description>
                <environment></environment>
            <key id="13192">DCOM-77</key>
            <summary>add a method to force removal of any unmapped data on flush for a given object</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Nov 2011 22:28:14 +0000</created>
                <updated>Wed, 16 Nov 2011 22:28:14 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-76] switch license to MIT</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-76</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;since common was mostly written by a small group of people and not based on Doctrine 1.x it seems possible to switch the license which imho would really boost the use cases.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13168">DCOM-76</key>
            <summary>switch license to MIT</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Nov 2011 22:26:42 +0000</created>
                <updated>Sat, 9 Jun 2012 11:59:05 +0000</updated>
                    <resolved>Sat, 9 Jun 2012 11:59:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18070" author="guilhermeblanco" created="Sat, 9 Jun 2012 11:59:05 +0000"  >&lt;p&gt;Successfully migrated to MIT!!! \o/&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-75] remove leading backslash from class name before comparing to namespace in annotation autoloading</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-75</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I am figuring a problem with Symfony Validator constraints (I use annotations to define the constraint rules).&lt;/p&gt;

&lt;p&gt;As I don&apos;t use Symfony&apos;s framework, I create the validator service by myself.&lt;br/&gt;
Somewhere in its factory, I put the following code:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;         
AnnotationRegistry::registerAutoloadNamespaces(array(
    &apos;\Symfony\Component\Validator\Constraints&apos; =&amp;gt; APPLICATION_ROOT . &apos;/library&apos;
));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Then, in my entities, I have annotations such as:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;use Symfony\Component\Validator\Constraints as Assert;

class Author {
    /**
     * @Assert\NotBlank()
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $name;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In this configuration, I get the following error:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Semantical Error&amp;#93;&lt;/span&gt; The annotation &quot;@Symfony\Component\Validator\Constraints\NotBlank&quot;&lt;br/&gt;
in property Domain\Entity\Author::$name does not exist, or could not be auto-loaded.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I was able to trace it down to the Doctrine\Common\Annotations\AnnotationRegistry#loadAnnotationClass($class) where we can find the following test:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (strpos($class, $namespace) === 0) {
        require ...;
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which means &quot;if the namespace can be found at the beginning of the FQCN, require it&quot;.&lt;br/&gt;
But those namespaces come from &quot;use&quot; statements where there is no leading backslash.&lt;br/&gt;
That&apos;s why the test fails.&lt;/p&gt;

&lt;p&gt;Christophe Coevoet answered:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;you should remove the leading backslash. Fully qualified class names used as string don&apos;t include it in PHP. &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Benjamin Eberlei suggested to remove the leading backslash before comparing the class to the namespace.&lt;br/&gt;
I would follow Benjamin suggestion and would like to add a comment about leading backslashes:&lt;/p&gt;

&lt;p&gt;When I add a &lt;tt&gt;use&lt;/tt&gt; statement to my code for a class, I can then use its alias to get an instance of that class.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;use Doctrine\ORM\Mapping\ClassMetadata;
...
$metadata = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ClassMetadata();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;The same is true with:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;use Doctrine\ORM\Mapping as Foo;
...
$metadata = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Foo\ClassMetadata();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;This is not a fully qualified class name&lt;/b&gt;.&lt;br/&gt;
In that sense, I do understand such an annotation: &lt;tt&gt;@ORM\Entity&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;But I find the syntax of a fully-qualified annotation (&lt;tt&gt;@My\Annotation\Whatever&lt;/tt&gt;) erroneous (or at least counter-intuitive) as it doesn&apos;t start with a backslash.&lt;/p&gt;</description>
                <environment>not relevant</environment>
            <key id="13146">DCOM-75</key>
            <summary>remove leading backslash from class name before comparing to namespace in annotation autoloading</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="goriol">Guillaume ORIOL</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Nov 2011 15:54:22 +0000</created>
                <updated>Thu, 3 Nov 2011 15:54:22 +0000</updated>
                                    <version>2.1.2</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-74] Ideas for Event Manager Improvements</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-74</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I have two ideas for improving the event manager.&lt;/p&gt;

&lt;p&gt;1. Add a lazy-loading implementation as we discussed on IRC already (helpful for keeping the overhead of post generation schema listener down for example)&lt;br/&gt;
2. Providing better debugging information of what is going on (which listeners have been called for which event, similar to Symfony2&apos;s event dispatcher)&lt;/p&gt;</description>
                <environment></environment>
            <key id="13136">DCOM-74</key>
            <summary>Ideas for Event Manager Improvements</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Oct 2011 16:30:48 +0000</created>
                <updated>Wed, 6 Feb 2013 23:25:47 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="17275" author="guilhermeblanco" created="Mon, 16 Jan 2012 06:15:16 +0000"  >&lt;p&gt;I&apos;m still a huge fan of DOM2 Events.&lt;/p&gt;

&lt;p&gt;I even have the code somewhere here, but that would break BC.&lt;/p&gt;</comment>
                    <comment id="19481" author="marijn" created="Wed, 6 Feb 2013 23:25:47 +0000"  >&lt;p&gt;Would you care to elaborate on your DOM2 Events implementation Guilherme?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-73] CodeGeneration using Doctrine\Common\Persistence\Mapping\ObjectMetadata</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-73</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Currently we have tons of code in the ODM/ORMs regarding code generation that are ugly to extend and maintain. We should extract all them into a new component, for example named: doctrine-code-generator&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;It should be feed by only instances of Doctrine\Common\Persistence\Mapping\ObjectMetadata into a twig template.&lt;/li&gt;
	&lt;li&gt;A base template for an entity/document is shipped&lt;/li&gt;
	&lt;li&gt;Maybe ORM/ODM specific child templates or twig traits are necessary to handle writing annotations. This could also be done by adding hooks into the code-generation somehow.&lt;/li&gt;
	&lt;li&gt;Each entity of the user can provide its own template, for examples from a configurable directory &quot;code_templates/Vendor.ProjectBundle.Entity.User.twig&quot; to extend the base template and add own code.&lt;/li&gt;
	&lt;li&gt;As a perspective we should aim for 5.4 generating a trait so that you can have your entity &quot;class User 
{ use UserBase; }
&lt;p&gt;&quot;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="13121">DCOM-73</key>
            <summary>CodeGeneration using Doctrine\Common\Persistence\Mapping\ObjectMetadata</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Oct 2011 07:07:23 +0000</created>
                <updated>Thu, 16 Feb 2012 19:27:38 +0000</updated>
                                                    <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-72] Change CommonException to interface and use it everywhere!</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-72</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13118">DCOM-72</key>
            <summary>Change CommonException to interface and use it everywhere!</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 Oct 2011 17:21:31 +0000</created>
                <updated>Thu, 21 Feb 2013 10:11:38 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 10:11:38 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16688" author="beberlei" created="Sat, 22 Oct 2011 17:23:00 +0000"  >&lt;p&gt;This is also necessary for everything else that accepts a class name, we should compile a list of the most important methods.&lt;/p&gt;</comment>
                    <comment id="19580" author="ocramius" created="Thu, 21 Feb 2013 10:11:38 +0000"  >&lt;p&gt;See &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-80&quot; title=&quot;Add common exceptions into Doctrine\Common&quot;&gt;DCOM-80&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-71] Add save get_class() to Debug Util</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-71</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13117">DCOM-71</key>
            <summary>Add save get_class() to Debug Util</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 Oct 2011 17:17:05 +0000</created>
                <updated>Sun, 23 Oct 2011 06:36:00 +0000</updated>
                    <resolved>Sun, 23 Oct 2011 06:36:00 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16689" author="beberlei" created="Sun, 23 Oct 2011 06:36:00 +0000"  >&lt;p&gt;Added.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-70] [CacheProvider] missing functions</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-70</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Why delete functions in CacheProvider like deleteByPrefix deleteByPostfix deleteByRegex ?&lt;br/&gt;
DeleteAll and FlushAll do not replace them. Please revert for these functions.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13049">DCOM-70</key>
            <summary>[CacheProvider] missing functions</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="jforet">J&#233;r&#244;me For&#234;t</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Sep 2011 16:23:20 +0000</created>
                <updated>Tue, 6 Mar 2012 18:36:15 +0000</updated>
                    <resolved>Mon, 3 Oct 2011 04:03:53 +0000</resolved>
                            <version>2.2</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16540" author="guilhermeblanco" created="Mon, 3 Oct 2011 04:03:53 +0000"  >&lt;p&gt;The deleteBy*() aswell as getIds() methods cannot be brought back.&lt;br/&gt;
Some drivers do not support the getIds(), because (and I agree with) they consider the keys retrieval as a security issue.&lt;/p&gt;

&lt;p&gt;Since we keep the Least Common Multiple (LCM) in our Cache platform, these drivers started to be affected in latest *NIX releases (like for example, Memcache 1.6.5+ that does not bring cachedump anymore).&lt;/p&gt;

&lt;p&gt;We started to have many reports here because cache was not working, or they were not clearing or even they were getting partially cleared. So we re-worked on Cache package to bring the LCM again.&lt;/p&gt;

&lt;p&gt;Based on that, individual drivers like APC may still support the cache Id retrieval, but our approach differed and we can&apos;t bring this back. You may override into your own driver (composition) extending our ApcCache and implemented your desired functions.&lt;/p&gt;

&lt;p&gt;Marking the ticket as won&apos;t fix.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;</comment>
                    <comment id="17531" author="peterjmit" created="Tue, 6 Mar 2012 18:36:15 +0000"  >&lt;p&gt;The documentation still refers to these deprecated elements which is a little confusing as there is no indication of this in the Abstract Classes/Interfaces&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-69] [APC Cache] doFlush does not clear user cache</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-69</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;&lt;b&gt;lib\Doctrine\Common\Cache\ApcCache.php&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The function &quot;doFlush&quot; only clears opcode cache.&lt;br/&gt;
The user cache is never cleared.&lt;/p&gt;

&lt;p&gt;To correct it, one solution should be :&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; function doFlush()
{
    $res = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;    
    $bool1 = apc_clear_cache();
    $bool2 = apc_clear_cache(&apos;user&apos;);
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($bool1 &amp;amp;&amp;amp; $bool2)
    {
        $res = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
    }
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $res;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13047">DCOM-69</key>
            <summary>[APC Cache] doFlush does not clear user cache</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="jforet">J&#233;r&#244;me For&#234;t</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Sep 2011 15:31:36 +0000</created>
                <updated>Mon, 3 Oct 2011 04:13:30 +0000</updated>
                    <resolved>Mon, 3 Oct 2011 04:13:30 +0000</resolved>
                            <version>2.2</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16541" author="guilhermeblanco" created="Mon, 3 Oct 2011 04:13:30 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/doctrine/common/commit/d6e4c8b22af9800db4fd9d679ce98538da028168&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/d6e4c8b22af9800db4fd9d679ce98538da028168&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-68] Add @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd to annotation ignore map</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-68</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="13043">DCOM-68</key>
            <summary>Add @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd to annotation ignore map</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Sep 2011 14:27:37 +0000</created>
                <updated>Sun, 25 Sep 2011 14:36:26 +0000</updated>
                    <resolved>Sun, 25 Sep 2011 14:36:26 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.1.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16507" author="beberlei" created="Sun, 25 Sep 2011 14:36:26 +0000"  >&lt;p&gt;Done&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-67] Introduce immutable DateTime with __toString()</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-67</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="12977">DCOM-67</key>
            <summary>Introduce immutable DateTime with __toString()</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 27 Aug 2011 12:53:42 +0000</created>
                <updated>Sun, 29 Jan 2012 16:30:23 +0000</updated>
                                                    <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16384" author="beberlei" created="Sat, 27 Aug 2011 14:39:38 +0000"  >&lt;p&gt;Implemented&lt;/p&gt;</comment>
                    <comment id="17219" author="miau" created="Wed, 11 Jan 2012 13:49:01 +0000"  >&lt;p&gt;Though it is implemented once on &lt;a href=&quot;https://github.com/doctrine/common/commit/7140ad3ba0ba2a94238976dd7f310ff92b478c96&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/7140ad3ba0ba2a94238976dd7f310ff92b478c96&lt;/a&gt;,&lt;br/&gt;
the class is removed on &lt;a href=&quot;https://github.com/doctrine/common/commit/f845c1e267abf9069422eba8addfa976bc8d8685&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/f845c1e267abf9069422eba8addfa976bc8d8685&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I think this issue must be reopened.&lt;/p&gt;</comment>
                    <comment id="17220" author="beberlei" created="Wed, 11 Jan 2012 14:33:19 +0000"  >&lt;p&gt;Code was removed due to implementation problems.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-66] Github-PR-55 by shesek: Use stream_resolve_include_path</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-66</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of &lt;/p&gt;
{username}
&lt;p&gt;:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/55&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/55&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;`Doctrine\Common\ClassLoader::fileExistsInIncludePath` behaves the same as `stream_resolve_include_path`, use that instead when available (PHP &amp;gt;= 5.3.2). It should be faster than doing that manually.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12969">DCOM-66</key>
            <summary>Github-PR-55 by shesek: Use stream_resolve_include_path</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Aug 2011 18:02:50 +0000</created>
                <updated>Sun, 28 Aug 2011 03:31:11 +0000</updated>
                    <resolved>Sun, 28 Aug 2011 03:31:11 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16392" author="guilhermeblanco" created="Sun, 28 Aug 2011 03:31:11 +0000"  >&lt;p&gt;Fixed in trunk.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-63] CacheReader does not take in account parent classes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-63</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;As the title says, Doctrine\Common\Annotations\CachedReaded is buggy. &lt;/p&gt;

&lt;p&gt;It takes in account only modification time of file of the class it processes. But it ignores it&apos;s parents.&lt;/p&gt;

&lt;p&gt;Pull: &lt;a href=&quot;https://github.com/doctrine/common/pull/54&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/54&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Shoud I change the commit message or something?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12952">DCOM-63</key>
            <summary>CacheReader does not take in account parent classes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="hosiplan">Filip Proch&#225;zka</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Aug 2011 16:39:40 +0000</created>
                <updated>Wed, 14 Sep 2011 16:25:25 +0000</updated>
                    <resolved>Wed, 14 Sep 2011 16:25:25 +0000</resolved>
                            <version>2.1</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16466" author="guilhermeblanco" created="Wed, 14 Sep 2011 16:25:25 +0000"  >&lt;p&gt;As per Johannes Smith comment: &quot;Since we are only reading the annotations of one file, I don&apos;t see why we need this.&quot;&lt;/p&gt;

&lt;p&gt;Closed as won&apos;t fix.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-62] Github-PR-53 by shawndellysse: ArrayCollection#join</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-62</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of &lt;/p&gt;
{username}
&lt;p&gt;:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/common/pull/53&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/53&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added the `join` method to `ArrayCollection`.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12949">DCOM-62</key>
            <summary>Github-PR-53 by shawndellysse: ArrayCollection#join</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Aug 2011 14:46:24 +0000</created>
                <updated>Wed, 14 Sep 2011 16:54:17 +0000</updated>
                    <resolved>Wed, 14 Sep 2011 16:54:17 +0000</resolved>
                                            <fixVersion>2.1.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16470" author="guilhermeblanco" created="Wed, 14 Sep 2011 16:54:17 +0000"  >&lt;p&gt;This can&apos;t be easily implemented by ORM because join() would require more than a single delimiter.&lt;br/&gt;
Marking ticket as won&apos;t fix. If you have a better solution, please reopen the issue with more details about how would you like to achieve it.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-61] Class annotation is not setting annotation properties</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-61</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;My annotations were working fine with v2.0.5.  Once I upgraded to v2.1 they stopped working.  Using this condensed code based on the v2.1 documentation on Annotations (&lt;a href=&quot;http://www.doctrine-project.org/docs/common/2.1/en/reference/annotations.html):&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/docs/common/2.1/en/reference/annotations.html):&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;require &apos;c:/dev/library/doctrine-orm/Doctrine/Common/&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.php&apos;;

$classLoader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;(&apos;Doctrine&apos;, &apos;c:/dev/library/doctrine-orm&apos;);
$classLoader-&amp;gt;register();
$classLoader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;(&apos;Symfony&apos;, &apos;c:/dev/library/doctrine-orm/Doctrine&apos;);
$classLoader-&amp;gt;register();

$reader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Annotations\AnnotationReader();
$reader-&amp;gt;setIgnoreNotImportedAnnotations(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
$reader-&amp;gt;setEnableParsePhpImports(&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;);
$className = &apos;User&apos;;
$reflectionClass = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \ReflectionClass($className);

$classAnnotations = $reader-&amp;gt;getClassAnnotations($reflectionClass);
echo &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-object&quot;&gt;Class&lt;/span&gt; Annotations - $className:\n&quot;&lt;/span&gt;;
print_r($classAnnotations);

/**
* @Annotation
*/
class Foo {
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $bar;
}

/**
* @Foo(bar=&lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;)
*/
class User {
    
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The result is:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;Class&lt;/span&gt; Annotations - User:
Array
(
    [0] =&amp;gt; Foo &lt;span class=&quot;code-object&quot;&gt;Object&lt;/span&gt;
        (
            [bar] =&amp;gt;
        )

)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Why is bar empty?  If I remove the @Foo annotation from the docblock for the User class, then the result is an empty array.  So it&apos;s clearly detecting the annotation, it&apos;s just not setting the annotation property.&lt;/p&gt;</description>
                <environment>Windows 7 64-bit, PHP v5.3.1</environment>
            <key id="12933">DCOM-61</key>
            <summary>Class annotation is not setting annotation properties</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jreed">James Reed</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Aug 2011 19:48:01 +0000</created>
                <updated>Thu, 25 Aug 2011 18:42:50 +0000</updated>
                    <resolved>Thu, 25 Aug 2011 18:42:50 +0000</resolved>
                            <version>2.1</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16374" author="jreed" created="Thu, 25 Aug 2011 18:35:39 +0000"  >&lt;p&gt;This is blocking me from upgrading to v2.1&lt;/p&gt;</comment>
                    <comment id="16375" author="jreed" created="Thu, 25 Aug 2011 18:42:50 +0000"  >&lt;p&gt;Got the same result with v2.0.6.  Must be something I&apos;m missing here.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-60] SimpleAnnotationReader get*Annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-60</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;&amp;lt;br /&amp;gt;&lt;br/&gt;
&amp;lt;b&amp;gt;Notice&amp;lt;/b&amp;gt;:  Undefined variable: class in &amp;lt;b&amp;gt;/usr/home/gym/doctrine2-common/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php&amp;lt;/b&amp;gt; on line &amp;lt;b&amp;gt;45&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br/&gt;
&amp;lt;br /&amp;gt;&lt;br/&gt;
&amp;lt;b&amp;gt;Fatal error&amp;lt;/b&amp;gt;:  Call to a member function getName() on a non-object in &amp;lt;b&amp;gt;/usr/home/gym/doctrine2-common/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php&amp;lt;/b&amp;gt; on line &amp;lt;b&amp;gt;45&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;Doctrine/Common/Annotations/SimpleAnnotationReader.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getMethodAnnotations(\ReflectionMethod $method)
    {
-        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parser-&amp;gt;parse($method-&amp;gt;getDocComment(), &apos;method &apos;.$class-&amp;gt;getName().&apos;::&apos;.$method-&amp;gt;getName().&apos;()&apos;);
+        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parser-&amp;gt;parse($method-&amp;gt;getDocComment(), &apos;method &apos;.$method-&amp;gt;getName().&apos;::&apos;.$method-&amp;gt;getName().&apos;()&apos;);
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getPropertyAnnotations(\ReflectionProperty $property)
    {
-        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parser-&amp;gt;parse($property-&amp;gt;getDocComment(), &apos;property &apos;.$class-&amp;gt;getName().&apos;::$&apos;.$property-&amp;gt;getName());
+        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parser-&amp;gt;parse($property-&amp;gt;getDocComment(), &apos;property &apos;.$property-&amp;gt;getName().&apos;::$&apos;.$property-&amp;gt;getName());
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="12917">DCOM-60</key>
            <summary>SimpleAnnotationReader get*Annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="rhutchison">Ryan Hutchison</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Aug 2011 05:20:02 +0000</created>
                <updated>Sun, 28 Aug 2011 14:21:33 +0000</updated>
                    <resolved>Sun, 28 Aug 2011 14:21:33 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16394" author="guilhermeblanco" created="Sun, 28 Aug 2011 14:21:33 +0000"  >&lt;p&gt;This issue is already fixed in master. Closing the ticket.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-59] ArrayCollection contains function - switch from in_array to foreach</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-59</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The function contains uses in_array to determine if an element provided as parameter is found in the array $this-&amp;gt;_elements, and performs a strict comparison.&lt;br/&gt;
There might be a way to improve the performances of this function by using a foreach + if&lt;/p&gt;

&lt;p&gt;In attachement you can find a small bench file to show the  differences between in_array and foreach on object search.&lt;br/&gt;
You might want to run the bench with a doctrine Object to verify if this changes anything to the result.&lt;br/&gt;
For simple Objects, foreach is much faster when the array has less than 30k elements. Over 30k the difference flattens, and might revert around 50k (meaning that in_array might start being faster when the array has more than 50k entries).&lt;/p&gt;

&lt;p&gt;Maybe we could provide two functions, one for smaller than 40-50k items (using foreach), and one for bigger arrays (using in_array) ?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12910">DCOM-59</key>
            <summary>ArrayCollection contains function - switch from in_array to foreach</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="pem">PEM</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Aug 2011 08:09:36 +0000</created>
                <updated>Sun, 28 Aug 2011 03:21:33 +0000</updated>
                    <resolved>Sun, 28 Aug 2011 03:21:33 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16391" author="guilhermeblanco" created="Sun, 28 Aug 2011 03:21:33 +0000"  >&lt;p&gt;I created more test cases and indeed foreach is around 40% faster than in_array. I applied the change in our suite, this should be available in new versions of Doctrine Common.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11045" name="inArray_vs_foreach.php" size="1729" author="pem" created="Wed, 10 Aug 2011 08:09:36 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-58] Having class named Entity in the global namespace, interferes with the new annotation reader.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-58</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Having a class named Entity in the global namespace, results in exceptions: &quot;Class xxx is not a valid entity or mapped super class.&quot;&lt;br/&gt;
The problem is not present in 2.0&lt;/p&gt;

&lt;p&gt;The problem:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;\Doctrine\Common\Annotations\DocParser.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;line 421: $reflClass = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \ReflectionClass($name);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;$name is &quot;Entity&quot;, and the reflection finds the non-doctrine Entity-class in the global namespace, and so doesn&apos;t find the &quot;@Annotation&quot; it&apos;s looking for when it examines the class.&lt;/p&gt;

&lt;p&gt;If I force it to reflect on \Doctrine\ORM\Mapping\Entity instead, the next problem is instantiation:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;\Doctrine\Common\Annotations\DocParser.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;line 435: &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; $name($values);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Forcing that to the right class, brings a &quot;Failed opening required &apos;Doctrine/ORM/Mapping/Doctrine/ORM/Mapping/Id.php&apos; &quot; - I haven&apos;t investigated further (yet at least).&lt;/p&gt;

&lt;p&gt;/Michael&lt;/p&gt;</description>
                <environment>Ubuntu 10.04, Zend Server CE 5.1.0 (Apache 2.2.14, PHP 5.3.5), Doctrine 2.1</environment>
            <key id="12899">DCOM-58</key>
            <summary>Having class named Entity in the global namespace, interferes with the new annotation reader.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="napsi">Michael Nielsen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Aug 2011 10:16:11 +0000</created>
                <updated>Wed, 7 Sep 2011 22:14:24 +0000</updated>
                    <resolved>Wed, 7 Sep 2011 22:14:24 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16452" author="guilhermeblanco" created="Wed, 7 Sep 2011 22:14:24 +0000"  >&lt;p&gt;Fixed &lt;a href=&quot;https://github.com/doctrine/common/commit/481083226477b325decfd7202ff59c252397c392&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/481083226477b325decfd7202ff59c252397c392&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-57] Doctrine\Common\Cache\AbstractCache::deleteAll()  does not take the namespace into account</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-57</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The deleteAll() function delete all keys with no respect of the namespace.&lt;/p&gt;

&lt;p&gt;Using orm:clear-cache:metadata with memcache result in the deletion of all memcache keys. (including keys unrelated to the orm)&lt;/p&gt;</description>
                <environment>Memcached</environment>
            <key id="12829">DCOM-57</key>
            <summary>Doctrine\Common\Cache\AbstractCache::deleteAll()  does not take the namespace into account</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="rickdt">Eric Durand-Tremblay</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jul 2011 15:03:54 +0000</created>
                <updated>Thu, 8 Sep 2011 17:16:21 +0000</updated>
                    <resolved>Sat, 27 Aug 2011 20:30:47 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.2</fixVersion>
                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16172" author="rickdt" created="Thu, 14 Jul 2011 15:26:22 +0000"  >&lt;p&gt;See pull request : &lt;a href=&quot;https://github.com/doctrine/common/pull/46&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/46&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think  the best way to fix this problem is to check for the namespace in the getIds()  function.&lt;/p&gt;

&lt;p&gt;Unfortunately, that would break the interface of AbstractCache&lt;/p&gt;

&lt;p&gt;Split the function in getIds() and abstract _getIds().  Do the namespace check in getIds()&lt;/p&gt;

&lt;p&gt;I can do  pull request on github if necessary.&lt;/p&gt;


&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;br/&gt;
I checked on master branch and the probleme is not fixed by commit &lt;br/&gt;
786deeae264ae03061d6aa92c681afa4344f18b9 : Fixed AbstractCache where delete* functions were incorrectly being prepended by namespace if any is defined. This was causing a double p&lt;/p&gt;</comment>
                    <comment id="16390" author="guilhermeblanco" created="Sat, 27 Aug 2011 20:30:47 +0000"  >&lt;p&gt;Fixed in master since this commit: &lt;a href=&quot;https://github.com/doctrine/common/commit/486169851ea87b3e14ed45d5bfd7d07b1d41af65&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/486169851ea87b3e14ed45d5bfd7d07b1d41af65&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16457" author="beberlei" created="Thu, 8 Sep 2011 17:16:21 +0000"  >&lt;p&gt;Merged into 2.1.x for next release&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-56] Remote autoloading from annotations completly, replacing it with its own loading mechanism</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-56</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This is a mail from me to the symfony-dev mailing-list:&lt;/p&gt;

&lt;p&gt;I am sorry it is very late to bring this up again, but given the nasty problems I faced today with the way annotationreader works with autoload = true I have to share them (and blow of some steam). While i guess its to late to change this again before 2.0, we might still have to discuss to go away from autoload = true for 2.1. Now for the reasons:&lt;/p&gt;

&lt;p&gt;AnnotationReader with autoload = true (which Symfony2 uses) will not only require a silent autoloader, it requires ALL autoloaders used to be silent. While this is the case for the Symfony Universal loader its not the case for the Doctrine one, and not for many others - and its not even a PSR-0 requirement. For a simple reason: Supporting silent failure means using file_exists, means a file stat, which means apc.stat = 0 is useless. While I don&apos;t care so much about it in Doctrine context, because the AnnotationReader default is NOT to autoload annotations this will cause problems for Symfony: Not every library in any Symfony2 app will be included through a silent autoloader. That means given the context users might run into problems using annotations that they have absolutely no way of fixing. And since the AnnotationReader does not know this upfront, potential failures become very real issue.&lt;/p&gt;

&lt;p&gt;Example: I use SecurityExtraBundle and happen to have my SuperDuperLibrary XYZ. That library was developed by my company and contains tons of important business logic but unfortunately uses a non-silent autoloader (for whatever reasons). However i use Symfony to secure access to it by generating secure proxies. Now what happens if an annotation reader runs over that library? Because the current namespace is always considered, for every @var _&lt;em&gt;NAMESPACE&lt;/em&gt;.&quot;&lt;br class=&quot;atl-forced-newline&quot; /&gt;var&quot; is class_exists&apos;ed and then your code fatal errors. I didn&apos;t see this problem before, because i don&apos;t use annotations myself so much and always in the BC Doctrine 2.0.x way and that slipped my mind. Same goes for Validation with Annotations on external code, or maybe in the future services definitions through annotations.&lt;/p&gt;

&lt;p&gt;All this trouble we are getting into with autoloading annotations is just because we wanted to validate that the annotations used actually exist. But since we changed to a use/import approach rather then re-using namespaces we don&apos;t even have the clashing problem anymore that got us into the trouble with class_exists before. The autoloading however also got us and users into other problems:&lt;/p&gt;

&lt;p&gt;1. We have to maintain a rather large map of &quot;blacklisted&quot; annotations that never throw failure exceptions because they are actually used as doc documentations. As with blacklists this is never a complete list. &lt;br/&gt;
2. Users with intensive doc-block usage are punished by Symfony having to maintain their own blacklist of annotations that never throw exceptions so that their code actually works.&lt;br/&gt;
3. Libraries have to handle the case that a reader is either using autoloading or not through special code.&lt;/p&gt;

&lt;p&gt;While I do think it would have been nice to offer validation for annotation this is a task that should be put on IDEs and developers, since it turns out that its not possible flawlessly within the library itself. The AnnotationReader should always use class_exists($name, false). Docblocks are still comments and the code shouldn&apos;t fail because classes are not available that are not even relevant in the context of the current AnnotationReader. Each part of the code that uses an AnnotationReader should require_once the annotations that it can potentially need upfront. That even works for Validation as you can grab the tags from the DIC. That way we have a single mode of operation for the AnnotationReader and not two different ones that are 180 degrees different. OF course one could argue ALWAYS to use class_exists($name, true) instead, but i hope my mail showed why this is not a good idea.&lt;/p&gt;

&lt;p&gt;If for some reason we do want autoloading for annotations then it should be a mechanism different from the PHP one, because they are both not compatible. The reader could have hooks for autoloading and validation mechanisms. Nothing we want to add for Doctrine Common 2.1, but something we could easily play around with for Common 3.&lt;/p&gt;

&lt;p&gt;Next a mail with implementation details:&lt;/p&gt;

&lt;p&gt; I propose to change the following on AnnotationReader:&lt;/p&gt;

&lt;p&gt; 1. Add a method to register annotation classes: &lt;br/&gt;
 $reader-&amp;gt;registerAnnotation(&quot;Symfony\Bridge\Doctrine\Validator\UniqueEntity&quot;); &lt;br/&gt;
 and $reader-&amp;gt;registerAnnotations(array(..));&lt;br/&gt;
 2. Add a method to register files that contain annotations: &lt;br/&gt;
 $reader-&amp;gt;registerAnnotationFile(&quot;..&quot;), directly loading them via &lt;br/&gt;
 require_once;&lt;br/&gt;
 3. Add a method to register annotation namespaces: &lt;br/&gt;
 $reader-&amp;gt;registerAnnotationNamespace(&quot;Symfony\Component\Validator\Constraint&quot;, &lt;br/&gt;
 $dir). This is used to create a silently failing PSR-0 &quot;autoloader&quot; for &lt;br/&gt;
 this path + directories. It can be automatically populated from data in &lt;br/&gt;
 the UniversalClassLoader.&lt;br/&gt;
 4. Change the class_exists check to never use autoload = true. If a &lt;br/&gt;
 class is part of a registered annotation namespace try load the file based on a silent &lt;br/&gt;
 PSR-0 autoload for it using an autoloader impl. contained in the &lt;br/&gt;
 AnnotationReader (not the php autoloading mechanism), before triggering &lt;br/&gt;
 the class_exists($name, false)&lt;/p&gt;

&lt;p&gt; This way for symfony only the UniversalClassLoader data has to be used &lt;br/&gt;
 to populate the registered annotation namespaces.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="12781">DCOM-56</key>
            <summary>Remote autoloading from annotations completly, replacing it with its own loading mechanism</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jul 2011 18:23:43 +0000</created>
                <updated>Sat, 2 Jul 2011 19:15:15 +0000</updated>
                    <resolved>Sat, 2 Jul 2011 19:15:15 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16106" author="beberlei" created="Sat, 2 Jul 2011 19:15:15 +0000"  >&lt;p&gt;Implemented&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-55] Ugly problems with default import __NAMESPACE__ when it contains non-annotation classes that are docblock props</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-55</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Say you have a class &quot;Entity&quot;.&lt;/p&gt;

&lt;p&gt;Then /** @Entity */ on a class in the same namespace will try to instantiate Entity.&lt;/p&gt;

&lt;p&gt;We should avoid this by testing if Entity is a subclass of  \Doctrine\Common\Annotations\Annotation&lt;/p&gt;</description>
                <environment></environment>
            <key id="12764">DCOM-55</key>
            <summary>Ugly problems with default import __NAMESPACE__ when it contains non-annotation classes that are docblock props</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Jun 2011 21:10:34 +0000</created>
                <updated>Wed, 29 Jun 2011 22:01:14 +0000</updated>
                    <resolved>Wed, 29 Jun 2011 22:01:14 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16098" author="beberlei" created="Wed, 29 Jun 2011 21:55:31 +0000"  >&lt;p&gt;Actually this problem is more problematic, we have to enforce extending \Doctrine\Common\Annotations\Annotation for ALL annotations.&lt;/p&gt;</comment>
                    <comment id="16099" author="beberlei" created="Wed, 29 Jun 2011 22:01:14 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-54] ClassLoader protected properties</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-54</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;It would be great if the members of ClassLoader($fileExtension, $namespace, $includePath,  $namespaceSeparator) where protected instead of private.  In order to work around &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-20&quot; title=&quot;ClassLoader should check before require()...&quot;&gt;&lt;del&gt;DCOM-20&lt;/del&gt;&lt;/a&gt; I was going to extend and override loadClass but the private members mean I need to copy a lot of other code.&lt;br/&gt;
Didn&apos;t seem worth the overhead of creating a patch - but I can if you prefer.&lt;/p&gt;</description>
                <environment>na</environment>
            <key id="12713">DCOM-54</key>
            <summary>ClassLoader protected properties</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="uopjohnson">Jon Johnson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jun 2011 17:00:41 +0000</created>
                <updated>Sun, 17 Jul 2011 15:13:25 +0000</updated>
                    <resolved>Sun, 17 Jul 2011 15:13:25 +0000</resolved>
                                            <fixVersion>2.1.1</fixVersion>
                                <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16176" author="guilhermeblanco" created="Sun, 17 Jul 2011 15:13:25 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/doctrine/common/commit/c614a20e02cb8fd5531bce1adcb34a1210f79ac6&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/c614a20e02cb8fd5531bce1adcb34a1210f79ac6&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-53] PhpParser doesn&apos;t ignore commented keywords</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-53</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The PhpParser makes a too optimistic assumption about code convention...&lt;/p&gt;

&lt;p&gt;If you have the word &apos;class&apos; or &apos;interface&apos; in the comment before the class definition, preg_match_all finds wrong slice of code and PHP complains with a Warning about &quot;Unterminated comment&quot;. This occurs only once after the cache is cleared.&lt;/p&gt;</description>
                <environment>PhpParser class provided with Symfony2 BETA 2&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/blob/18518814c0f4e11fe90a0ec56919d4d2315565ef/lib/Doctrine/Common/Annotations/PhpParser.php&quot;&gt;https://github.com/doctrine/common/blob/18518814c0f4e11fe90a0ec56919d4d2315565ef/lib/Doctrine/Common/Annotations/PhpParser.php&lt;/a&gt;</environment>
            <key id="12665">DCOM-53</key>
            <summary>PhpParser doesn&apos;t ignore commented keywords</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="mdhooge">Michel D&apos;HOOGE</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 May 2011 20:53:06 +0000</created>
                <updated>Sun, 4 Sep 2011 08:34:00 +0000</updated>
                    <resolved>Sun, 4 Sep 2011 08:34:00 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16415" author="fabio.bat.silva" created="Sat, 3 Sep 2011 18:00:31 +0000"  >&lt;p&gt;Hello all&lt;br/&gt;
I tested this issue.&lt;/p&gt;

&lt;p&gt;After rewriting the php parser does not happen. : &lt;a href=&quot;https://github.com/doctrine/common/commit/d274bd7fe9e8f5657c670ed8a22a31024544eeeb&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/d274bd7fe9e8f5657c670ed8a22a31024544eeeb&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think that can be closed&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="16416" author="mdhooge" created="Sun, 4 Sep 2011 08:34:00 +0000"  >&lt;p&gt;Unfortunately, I can&apos;t remember when the problem disappeared but it is no longer here for sure.&lt;br/&gt;
And since the call to preg_match_all has been removed, we can close the issue.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-52] Doctrine\Common\Util\Debug::dump(): Why strip_tags dumps ?</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-52</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I use Doctrine\Common\Util\Debug::dump() for debugging my entities, but original method call strip_tags from the output generated by var_dump, so i got a nasty debug which is a very long line not formatted.&lt;br/&gt;
I commented the strip_tags call, so my debug is more human readable.&lt;br/&gt;
Is it possible to remove the strip_tags call, or let the developper to choose if debug method should call it or not ?&lt;/p&gt;</description>
                <environment>Doctrine 2.1Beta with php_xdebug-2.1.0-5.3-vc6</environment>
            <key id="12651">DCOM-52</key>
            <summary>Doctrine\Common\Util\Debug::dump(): Why strip_tags dumps ?</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="benoit">Jonathan Clus</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 May 2011 13:34:03 +0000</created>
                <updated>Sun, 17 Jul 2011 15:03:21 +0000</updated>
                    <resolved>Sun, 17 Jul 2011 15:03:21 +0000</resolved>
                            <version>2.1</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16175" author="guilhermeblanco" created="Sun, 17 Jul 2011 15:03:21 +0000"  >&lt;p&gt;This issue is not fixed in &lt;a href=&quot;https://github.com/doctrine/common/commit/8dc338afaa8d2e94fbecd80b439341d0ffb9c7e7&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/8dc338afaa8d2e94fbecd80b439341d0ffb9c7e7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-51] Support parsing of single quotes</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-51</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;It&apos;d be great to support single quotes, this limitation doesn&apos;t make sense from a user point of view and in php context single quotes are so commonly used that it&apos;s easy to slip and then get some funny Exception message out of it.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12611">DCOM-51</key>
            <summary>Support parsing of single quotes</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="seldaek">Jordi Boggiano</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 May 2011 10:55:20 +0000</created>
                <updated>Thu, 5 May 2011 04:26:13 +0000</updated>
                    <resolved>Thu, 5 May 2011 04:26:13 +0000</resolved>
                            <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15802" author="seldaek" created="Tue, 3 May 2011 10:56:19 +0000"  >&lt;p&gt;Patch against master is at &lt;a href=&quot;https://github.com/doctrine/common/pull/17&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/17&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="15806" author="guilhermeblanco" created="Thu, 5 May 2011 04:26:13 +0000"  >&lt;p&gt;Merged the pull request.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-50] Unable to use &apos;@&apos; in combination with a number (example: email@3domain.tld) in comment block</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-50</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;My tld contains a number at the beginning (8points.de). &lt;br/&gt;
I&apos;m not able to use it in the @author section (@author Florian Preusner &amp;lt;florian.preusner@8points.de&amp;gt;) cause after the &quot;@&quot; the next letter is a number.&lt;/p&gt;

&lt;p&gt;Exception:&lt;br/&gt;
AnnotationException: &lt;span class=&quot;error&quot;&gt;&amp;#91;Syntax Error&amp;#93;&lt;/span&gt; Expected Doctrine\Common\Annotations\Lexer::T_IDENTIFIER, got &apos;8&apos; at position 118 in method Blog\MainBundle\Controller\MainController::indexAction().&lt;br/&gt;
n /var/www/floeh/vendor/doctrine-common/lib/Doctrine/Common/Annotations/AnnotationException.php at line 41&lt;/p&gt;

&lt;p&gt;I think this is a bug?!&lt;/p&gt;</description>
                <environment></environment>
            <key id="12589">DCOM-50</key>
            <summary>Unable to use &apos;@&apos; in combination with a number (example: email@3domain.tld) in comment block</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="floeh">Florian Preusner</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Apr 2011 05:44:15 +0000</created>
                <updated>Fri, 13 May 2011 04:13:18 +0000</updated>
                    <resolved>Fri, 13 May 2011 04:13:18 +0000</resolved>
                                                            <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15835" author="guilhermeblanco" created="Fri, 13 May 2011 04:13:18 +0000"  >&lt;p&gt;Fixed on master.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/common/commit/42029e6327f6ffc00a268cb61892b8ecbba49278&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/42029e6327f6ffc00a268cb61892b8ecbba49278&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-49] Debug::dump/export for ODM documents</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-49</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Doctrine\Common\Util\Debug has code to deal with Proxy objects from the ORM, but nothing for other Doctrine projects.&lt;/p&gt;

&lt;p&gt;Maybe the Common package should introduce a base Proxy interface so the Debug class isn&apos;t dependant on the ORM? This would also mean standardising Proxy objects, particularly the private property names...&lt;/p&gt;

&lt;p&gt;ORM proxy objects have $&lt;em&gt;identifier and $_entityPersister while ODM proxy objects have $&lt;/em&gt;&lt;em&gt;identifier&lt;/em&gt;_ and $_&lt;em&gt;documentPersister&lt;/em&gt;&lt;em&gt;. I think they should both use $&lt;/em&gt;&lt;em&gt;identifier&lt;/em&gt;_ and $_&lt;em&gt;persister&lt;/em&gt;_ and $_&lt;em&gt;isInitialized&lt;/em&gt;_.&lt;/p&gt;

&lt;p&gt;I suppose the team is wait for Doctrine ODM to become stable before changing this?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12584">DCOM-49</key>
            <summary>Debug::dump/export for ODM documents</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="cobby">Andrew Cobby</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Apr 2011 21:38:00 +0000</created>
                <updated>Mon, 16 Jan 2012 06:10:05 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 06:10:05 +0000</resolved>
                            <version>2.0.2</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16975" author="stof" created="Mon, 12 Dec 2011 23:27:19 +0000"  >&lt;p&gt;This should be closed as &lt;a href=&quot;https://github.com/doctrine/common/pull/83&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/83&lt;/a&gt; decouples the Debug util from the ORM (the ODM does not uses the new interface but this is not a Doctrine Common issue)&lt;/p&gt;</comment>
                    <comment id="17273" author="guilhermeblanco" created="Mon, 16 Jan 2012 06:10:05 +0000"  >&lt;p&gt;Fixed since &lt;a href=&quot;https://github.com/doctrine/common/commit/97d9ef41a2f8dc0ee23670b4eb6ea74a780878b8&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/97d9ef41a2f8dc0ee23670b4eb6ea74a780878b8&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-48] Autoloading with a namespace is very restricted</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-48</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Sorry for the vague title of the issue, but here is the problem:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;$classLoader = new ClassLoader(&apos;Tests&apos;, &apos;/basePath/tests&apos;);&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;If I want to autoload &lt;b&gt;&lt;tt&gt;\Tests\Class1&lt;/tt&gt;&lt;/b&gt;, it will look for &lt;b&gt;&lt;tt&gt;/basePath/tests/Tests/Class1.php&lt;/tt&gt;&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;I would like it to load: &lt;b&gt;&lt;tt&gt;/basePath/tests/Class1.php&lt;/tt&gt;&lt;/b&gt;. i.e., the namespace registered is removed from the path.&lt;/p&gt;

&lt;p&gt;Do you see what I mean ? Zend Framework autoloader allow this behavior, I am surprised the Doctrine autoloader doesn&apos;t allow that.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment></environment>
            <key id="12551">DCOM-48</key>
            <summary>Autoloading with a namespace is very restricted</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="matthieu">Matthieu Napoli</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Apr 2011 17:03:21 +0000</created>
                <updated>Sun, 17 Jul 2011 15:25:30 +0000</updated>
                    <resolved>Sun, 17 Jul 2011 15:22:37 +0000</resolved>
                                                            <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15752" author="matthieu" created="Fri, 29 Apr 2011 14:06:10 +0000"  >&lt;p&gt;Hi, any news on this ?&lt;/p&gt;

&lt;p&gt;I&apos;d like to know if this is going to be corrected some day, or if I should not wait for it and find another solution ?&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;</comment>
                    <comment id="16178" author="guilhermeblanco" created="Sun, 17 Jul 2011 15:22:37 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Zend Framework (v1) does not follow PSR-0 (&lt;a href=&quot;http://groups.google.com/group/php-standards/web/psr-0-final-proposal&quot; class=&quot;external-link&quot;&gt;http://groups.google.com/group/php-standards/web/psr-0-final-proposal&lt;/a&gt;) so it does whatever it wants.&lt;br/&gt;
Second version of Zend Framework is PSR-0 compliant, so your wish will probably fail too.&lt;/p&gt;

&lt;p&gt;Let me explain what is the deal: Every single project, no matter what it is, can be contained in a package (aka. namespace in PHP). This means that:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;library
- Controller.php
- Controller/
  - Action.php
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is plain wrong. Why? Because it&apos;s part of a project (Your app (Application), Zend, Doctrine, Symfony, etc).&lt;br/&gt;
Due to this, PSR-0 stricts that it only loads namespaced classes, and nothing else. It was an agreement between 18 big PHP projects, including ZF, Symfony, Lithium, CodeIgniter, etc.&lt;/p&gt;


&lt;p&gt;Cheers,&lt;/p&gt;</comment>
                    <comment id="16179" author="beberlei" created="Sun, 17 Jul 2011 15:25:30 +0000"  >&lt;p&gt;You can use any autoloader you want for your own classes, the Doctrine one is just focused on namespaces becuse Doctrine only uses namespaces.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-47] When using different class loaders</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-47</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;ClassLoader::classExists($class); will fail if different class loader is used which does not return any boolean value. This includes Symfony2 UniversalClassLoader&lt;/p&gt;

&lt;p&gt;I have never used this function before because native PHP method class_exits($class, true) first will try to autoload. But if the class does not exist&lt;br/&gt;
and you are using Doctrine\Common::ClassLoader and you call class_exists($class) it will trigger fatal error. This behavior makes it impossible to make code compatible&lt;br/&gt;
with different class loading mechanisms for Doctrine2 &lt;/p&gt;</description>
                <environment>all</environment>
            <key id="12543">DCOM-47</key>
            <summary>When using different class loaders</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="gediminasm">Gediminas Morkevicius</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2011 05:20:09 +0000</created>
                <updated>Tue, 27 Dec 2011 23:21:04 +0000</updated>
                    <resolved>Wed, 14 Sep 2011 16:28:07 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.2</fixVersion>
                                <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15705" author="stof" created="Thu, 7 Apr 2011 05:37:11 +0000"  >&lt;p&gt;This is known and documented in the code: &lt;a href=&quot;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Annotations/Parser.php#L110&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Annotations/Parser.php#L110&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16467" author="guilhermeblanco" created="Wed, 14 Sep 2011 16:28:07 +0000"  >&lt;p&gt;Since Annotations package changed a lot since the bug was opened and today, I&apos;m closing the ticket as &quot;Cannot reproduce&quot;.&lt;/p&gt;

&lt;p&gt;Please reopen it if the issue is still valid with a testcase.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;</comment>
                    <comment id="17110" author="beberlei" created="Tue, 27 Dec 2011 20:50:04 +0000"  >&lt;p&gt;This issue is referenced in Github Pull-Request GH-88&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/88&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/88&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17111" author="juzna" created="Tue, 27 Dec 2011 20:50:08 +0000"  >&lt;p&gt;Still a problem! Especially since this is used by ORM (&lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/3aea203b9ca77df65f55f036080a9af653194cbf&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/3aea203b9ca77df65f55f036080a9af653194cbf&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Class loader doesn&apos;t have to return bool (and usually DOES NOT), so even though it has loaded the class, classExists will return false. Please pull this &lt;a href=&quot;https://github.com/doctrine/common/pull/88&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/88&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17113" author="beberlei" created="Tue, 27 Dec 2011 23:21:04 +0000"  >&lt;p&gt;Related Pull Request was closed: &lt;a href=&quot;https://github.com/doctrine/common/pull/88&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/88&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-46] Make annotation index configurable</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-46</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;So, this is another improvement that I&apos;d like to make. Right now all annotations are indexed by their name which has the limitation that on the top level annotations with the same name are only gathered once.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * @param mixed $a
 * @param mixed $a
 * @param mixed $a
 */
function ($a, $b, $c) { }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In the above case the annotation parser would only pick up one &quot;param&quot; annotation. My guess is that this was done for fast lookups, but I think we need to make this configurable (I know you hate this word &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;) as the workaround here is needlessly bloated.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * @params({@param, @param, @param})
 */
function($a, $b, $c) {}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This only requires two lines to be changed/made conditional, see&lt;br/&gt;
&lt;a href=&quot;https://github.com/schmittjoh/SecurityExtraBundle/blob/master/Mapping/Driver/AnnotationParser.php#L63&quot; class=&quot;external-link&quot;&gt;https://github.com/schmittjoh/SecurityExtraBundle/blob/master/Mapping/Driver/AnnotationParser.php#L63&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/schmittjoh/SecurityExtraBundle/blob/master/Mapping/Driver/AnnotationParser.php#L72&quot; class=&quot;external-link&quot;&gt;https://github.com/schmittjoh/SecurityExtraBundle/blob/master/Mapping/Driver/AnnotationParser.php#L72&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;p.s. If you want me to provide a patch for this, just tell me.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12542">DCOM-46</key>
            <summary>Make annotation index configurable</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2011 04:16:51 +0000</created>
                <updated>Fri, 13 May 2011 04:26:13 +0000</updated>
                    <resolved>Fri, 13 May 2011 04:26:13 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15836" author="guilhermeblanco" created="Fri, 13 May 2011 04:26:13 +0000"  >&lt;p&gt;Implemented on master.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/common/commit/59910f53fad7ce08a1ec840d9874a74cefcf32b8&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/59910f53fad7ce08a1ec840d9874a74cefcf32b8&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-45] Allow different namespaces for the same alias</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-45</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Right now, it is only possible to register one namespace per annotation alias. This might lead to problems since we now throw exceptions if an annotation is not found in that namespace (&lt;a href=&quot;https://github.com/doctrine/common/commit/8967f476ddcdb7b9017a8be7f774979ca4c72247&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/8967f476ddcdb7b9017a8be7f774979ca4c72247&lt;/a&gt;). &lt;/p&gt;

&lt;p&gt;This improvement would be a necessary first step in order to overcome the problem we talked about on IRC (FrameworkExtra/SecurityExtra both using the &quot;extra&quot; alias).&lt;/p&gt;</description>
                <environment></environment>
            <key id="12541">DCOM-45</key>
            <summary>Allow different namespaces for the same alias</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2011 04:06:33 +0000</created>
                <updated>Tue, 26 Apr 2011 12:42:18 +0000</updated>
                    <resolved>Tue, 26 Apr 2011 12:42:18 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15746" author="johannes" created="Tue, 26 Apr 2011 12:42:18 +0000"  >&lt;p&gt;I&apos;ll close this as there is a better solution now.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-44] Throw exception if known namespaced annotation is not found</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-44</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;If we know that an annotation is namespaced and that the namespace exists we should throw an exception if the annotation specified does not exist, currently its just skipped which can be very nasty to debug.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12538">DCOM-44</key>
            <summary>Throw exception if known namespaced annotation is not found</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Apr 2011 14:44:15 +0000</created>
                <updated>Wed, 6 Apr 2011 10:15:54 +0000</updated>
                    <resolved>Tue, 5 Apr 2011 14:50:36 +0000</resolved>
                                            <fixVersion>2.1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15689" author="beberlei" created="Tue, 5 Apr 2011 14:50:36 +0000"  >&lt;p&gt;Implemented&lt;/p&gt;</comment>
                    <comment id="15693" author="gediminasm" created="Wed, 6 Apr 2011 09:47:20 +0000"  >&lt;p&gt;For example my extensions are using same alias&lt;span class=&quot;error&quot;&gt;&amp;#91;vendor name&amp;#93;&lt;/span&gt; for all annotations. In this case each extension can be used independetly from others. And after this &quot;fix&quot; it couples all extensions and forces to autoload all annotations because in other case it will simply throw a fatal error, since class_exists now uses require without even checking if file exists. &lt;br/&gt;
Instead of fatal error ClassLoader maybe could throw an exception.&lt;/p&gt;</comment>
                    <comment id="15694" author="beberlei" created="Wed, 6 Apr 2011 10:15:54 +0000"  >&lt;p&gt;This change should not fatal through class_exists(). I dont change the autoloading behavior at all, i just throw an exception if the class was not found and annotation is namesapced&lt;/p&gt;

&lt;p&gt;Johannes complained about this for the same reason (reusing vendor prefixes).&lt;/p&gt;

&lt;p&gt;I find this quite annoying, because i constantly misstype annotations and get no error messages at all, the number of bug reports in this regard is also quite high. We have to find a solution for this&lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-43] Cache Stats</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-43</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Doctrine should be able to retrieve stats from cache providers, such as Memcache and APC. Stats may list cache hits, cache misses, memory, and so forth.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12536">DCOM-43</key>
            <summary>Cache Stats</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="otaviofff">Otavio Ferreira</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Apr 2011 13:31:26 +0000</created>
                <updated>Wed, 21 Sep 2011 14:57:26 +0000</updated>
                    <resolved>Wed, 21 Sep 2011 14:57:26 +0000</resolved>
                            <version>2.0.1</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16497" author="guilhermeblanco" created="Wed, 21 Sep 2011 14:57:26 +0000"  >&lt;p&gt;Implemented this support since this commit: &lt;a href=&quot;https://github.com/doctrine/common/commit/34e060309ee1ae06f4be610d39d8721d2cfb1b90&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/34e060309ee1ae06f4be610d39d8721d2cfb1b90&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-42] Sort in ArrayCollection</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-42</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Needed a sort function in ArrayCollection, made it. Simple but works for me at least.&lt;/p&gt;

&lt;p&gt;Pull request: &lt;a href=&quot;https://github.com/doctrine/common/pull/12&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/12&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12485">DCOM-42</key>
            <summary>Sort in ArrayCollection</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="thomasez">Thomas Lundquist</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Mar 2011 07:30:14 +0000</created>
                <updated>Sun, 17 Jul 2011 15:16:17 +0000</updated>
                    <resolved>Sun, 17 Jul 2011 15:16:17 +0000</resolved>
                                                            <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16177" author="guilhermeblanco" created="Sun, 17 Jul 2011 15:16:17 +0000"  >&lt;p&gt;As per github comment.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-41] Make annotation parser a bit cleverer</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-41</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;From an initial look that I had at the annotation parser, it simply search for anything starting with an &quot;@&quot; somewhere in the doc comment and assumes that it is an annotation. Now, if someone uses the @ somewhere in his doc comment but not as an annotation, the parser breaks.&lt;/p&gt;

&lt;p&gt;An example for this can be found in the Doctrine code base, the following comment will result in a parse error:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    /**
     * Annotation     ::= &lt;span class=&quot;code-quote&quot;&gt;&quot;@&quot;&lt;/span&gt; AnnotationName [&lt;span class=&quot;code-quote&quot;&gt;&quot;(&quot;&lt;/span&gt; [Values] &lt;span class=&quot;code-quote&quot;&gt;&quot;)&quot;&lt;/span&gt;]
     * AnnotationName ::= QualifiedName | SimpleName | AliasedName
     * QualifiedName  ::= NameSpacePart &lt;span class=&quot;code-quote&quot;&gt;&quot;\&quot;&lt;/span&gt; {NameSpacePart &lt;span class=&quot;code-quote&quot;&gt;&quot;\&quot;&lt;/span&gt;}* SimpleName
     * AliasedName    ::= Alias &lt;span class=&quot;code-quote&quot;&gt;&quot;:&quot;&lt;/span&gt; SimpleName
     * NameSpacePart  ::= identifier
     * SimpleName     ::= identifier
     * Alias          ::= identifier
     *
     * @&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; mixed False &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; it is not a valid annotation.
     */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Obviously the first @ is not used to refer to an annotation here. I think it makes sense to allow new annotations only to start at a new line, what do you think?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12463">DCOM-41</key>
            <summary>Make annotation parser a bit cleverer</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="johannes">Johannes Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Mar 2011 08:50:47 +0000</created>
                <updated>Thu, 7 Apr 2011 14:22:01 +0000</updated>
                    <resolved>Thu, 7 Apr 2011 14:22:01 +0000</resolved>
                                            <fixVersion>2.0.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15476" author="johannes" created="Wed, 9 Mar 2011 09:29:52 +0000"  >&lt;p&gt;The pull request is here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/9&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/9&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="15477" author="beberlei" created="Wed, 9 Mar 2011 09:47:51 +0000"  >&lt;p&gt;Does this still work with nested annotations?&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * @annot({@annot2})
 */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="15478" author="johannes" created="Wed, 9 Mar 2011 09:51:47 +0000"  >&lt;p&gt;Sure, my patch only changes the way how the first @ is found.&lt;/p&gt;</comment>
                    <comment id="15480" author="romanb" created="Wed, 9 Mar 2011 15:09:24 +0000"  >&lt;p&gt;First of all, thanks for the patch. I&apos;m just not sure whether the added complexity (nontrivial regexp vs substr/strpos)  and performance penalty (to be tested) can justify fixing these such edge-cases where an @ appears in the comment block that is not one of the already stripped inline docblocks. Just my two cents, I think this needs further investigation and more extensive testing.&lt;/p&gt;

&lt;p&gt;Edit: Since the regex is &quot;only&quot; applied once per parsed docblock the perf. difference might be negligible but should be tested anyway. Remains the verification of the correctness of the regex, given more extensive testing and test-cases.&lt;/p&gt;</comment>
                    <comment id="15481" author="johannes" created="Wed, 9 Mar 2011 15:30:34 +0000"  >&lt;p&gt;I think performance should not be an issue since this data is cached anyway. &lt;/p&gt;

&lt;p&gt;As for the necessity of this, it&apos;s a pain if you parse third party files and they use @ somewhere which then breaks the parser. Since Symfony2 is heavily relying on the annotation parser not only for Doctrine metadata, but for annotation metadata in general, imo this needs to be fixed. I&apos;m not 100% happy with my solution since it covers not all, but only the most likely cases. Ideally, the lexer would have a better way to detect if an @ is used to mark the beginning of an annotation, and simply ignore the @ if it does not. I&apos;m not familar with the lexer code, but you probably have a better understand of how it works and whether this would make sense.&lt;/p&gt;

&lt;p&gt;EDIT: I&apos;ve made an alternative implementation which you can find here: &lt;a href=&quot;https://github.com/schmittjoh/common/commit/123315e21aff6d7bce7cb77ab798660d0e68b139&quot; class=&quot;external-link&quot;&gt;https://github.com/schmittjoh/common/commit/123315e21aff6d7bce7cb77ab798660d0e68b139&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="15690" author="beberlei" created="Tue, 5 Apr 2011 14:53:51 +0000"  >&lt;p&gt;Fixed formatting of code block&lt;/p&gt;</comment>
                    <comment id="15710" author="beberlei" created="Thu, 7 Apr 2011 14:22:01 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-40] Using shared references with the SharedFixtureInterface with the DataFixtures extension will not work.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-40</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I did not know where to issue that component, but since this extension using the Doctrine Common namespace I thought it relevant to issue the bug here.&lt;/p&gt;

&lt;p&gt;Consider the following shared fixures (as stated on jwage&apos;s github repo here: &lt;a href=&quot;https://github.com/doctrine/data-fixtures&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/data-fixtures&lt;/a&gt;)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In case if fixture objects have relations to other fixtures, it is now possible to easily add a reference to that object by name and later reference it to form a relation. Here is an example fixtures for Role and User relation&lt;/p&gt;&lt;/blockquote&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;namespace MyDataFixtures;

use Doctrine\Common\DataFixtures\AbstractFixture;

class LoadUserRoleData &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; AbstractFixture
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function load($manager)
    {
        $adminRole = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Role();
        $adminRole-&amp;gt;setName(&apos;admin&apos;);

        $anonymousRole = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Role;
        $anonymousRole-&amp;gt;setName(&apos;anonymous&apos;);

        $manager-&amp;gt;persist($adminRole);
        $manager-&amp;gt;persist($anonymousRole);
        $manager-&amp;gt;flush();

        &lt;span class=&quot;code-comment&quot;&gt;// store reference to admin role &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; User relation to Role
&lt;/span&gt;        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;addReference(&apos;admin-role&apos;, $adminRole);
    }
}

namespace MyDataFixtures;

use Doctrine\Common\DataFixtures\AbstractFixture;

class LoadUserData &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; AbstractFixture
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function load($manager)
    {
        $user = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; User();
        $user-&amp;gt;setUsername(&apos;jwage&apos;);
        $user-&amp;gt;setPassword(&apos;test&apos;);
        $user-&amp;gt;setRole(
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;getReference(&apos;admin-role&apos;) &lt;span class=&quot;code-comment&quot;&gt;// load the stored reference
&lt;/span&gt;        );

        $manager-&amp;gt;persist($user);
        $manager-&amp;gt;flush();

        &lt;span class=&quot;code-comment&quot;&gt;// store reference of admin-user &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; other Fixtures
&lt;/span&gt;        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;addReference(&apos;admin-user&apos;, $user);
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will not use the last reference as a MANAGED entity but whether as a NEW one since the manager gets cleared (thus the unit of work) on each call to load() for the AbstractExecutor and thus marking any new references to the &apos;admin-user&apos; considered a NEW entity, which should not be the case.&lt;/p&gt;

&lt;p&gt;The current workaround is to directly fetch the entity using the EM&apos;s find() function, but that completely eliminates the main goal SharedFixtures&apos; references are bringing.&lt;/p&gt;

&lt;p&gt;I have provided the small patch that adress this issue, tests still pass.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12456">DCOM-40</key>
            <summary>Using shared references with the SharedFixtureInterface with the DataFixtures extension will not work.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="ratius">Steven Rosato</reporter>
                        <labels>
                    </labels>
                <created>Sun, 6 Mar 2011 20:56:52 +0000</created>
                <updated>Wed, 14 Sep 2011 16:48:36 +0000</updated>
                    <resolved>Wed, 14 Sep 2011 16:48:36 +0000</resolved>
                                            <fixVersion>2.1.2</fixVersion>
                                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15468" author="ratius" created="Sun, 6 Mar 2011 20:59:39 +0000"  >&lt;p&gt;Added patch that addresses the issue.&lt;/p&gt;</comment>
                    <comment id="16469" author="guilhermeblanco" created="Wed, 14 Sep 2011 16:48:36 +0000"  >&lt;p&gt;Not related to Common package (do we have a project for that?), but it seems this issue was already addressed when I looked at data-fixture repository.&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/data-fixtures/blob/master/lib/Doctrine/Common/DataFixtures/Executor/AbstractExecutor.php#L79&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/data-fixtures/blob/master/lib/Doctrine/Common/DataFixtures/Executor/AbstractExecutor.php#L79&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Closing as fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10952" name="0001-DCOM-40-Fixed-an-issue-where-shared-fixtures-where-n.patch" size="935" author="ratius" created="Sun, 6 Mar 2011 20:59:39 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-39] It is not possible to load multiple directories under the same namespace</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-39</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Consider the following code snippet:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$loader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;(&apos;DoctrineExtensions&apos;,
   &lt;span class=&quot;code-quote&quot;&gt;&quot;/path/to/vendor/doctrine2-extensions-beberlei/lib&quot;&lt;/span&gt;);
$loader-&amp;gt;register();

$loader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;(&apos;DoctrineExtensions&apos;,
   &lt;span class=&quot;code-quote&quot;&gt;&quot;/path/to/vendor/doctrine2-extensions-srosato/lib&quot;&lt;/span&gt;);
$loader-&amp;gt;register();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The latter will not be able to be loaded since the documentation specifies (with good reason) that class loaders do not fail silently. Is there a workaround for this issue?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12445">DCOM-39</key>
            <summary>It is not possible to load multiple directories under the same namespace</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ratius">Steven Rosato</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Mar 2011 01:57:58 +0000</created>
                <updated>Fri, 4 Mar 2011 03:31:50 +0000</updated>
                    <resolved>Fri, 4 Mar 2011 03:31:50 +0000</resolved>
                            <version>2.0.1</version>
                                                <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15442" author="ratius" created="Fri, 4 Mar 2011 02:59:49 +0000"  >&lt;p&gt;Or maybe this is intentional, such as authors that write separate doctrine extensions (according to this exemple) must define their own namespace.&lt;/p&gt;</comment>
                    <comment id="15443" author="beberlei" created="Fri, 4 Mar 2011 03:31:50 +0000"  >&lt;p&gt;This is desired behavior, you need to pass a more specific path like &quot;DoctrineExtensions/Versionable&quot; + &quot;DoctrineExtensions/Paginate&quot; and so on...&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-38] Annotation parser plain value types</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-38</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I posted this question in doctrine user group(&lt;a href=&quot;https://groups.google.com/forum/?fromgroups#!topic/doctrine-user/QhAz-Yr70T0&quot; class=&quot;external-link&quot;&gt;https://groups.google.com/forum/?fromgroups#!topic/doctrine-user/QhAz-Yr70T0&lt;/a&gt;), but with no response, so I&apos;d like to open it up here as the solution is trivial and would save me either a lot of sub-classing or prevent me from changing the doctrine library files.&lt;/p&gt;

&lt;p&gt;This annotation&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;class SomeGrid {
    /**
     *  @GRID:Column(header=&lt;span class=&quot;code-quote&quot;&gt;&quot;Reg. plate&quot;&lt;/span&gt;, width=80, editable=TRUE, hidden=FALSE, tooltip=&lt;span class=&quot;code-quote&quot;&gt;&quot;Registration plate&quot;&lt;/span&gt;, align=&lt;span class=&quot;code-quote&quot;&gt;&quot;left&quot;&lt;/span&gt;, sortable=TRUE)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $regPlate;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;produces the following object:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(object) Grid\Annotations\Column {
    &lt;span class=&quot;code-quote&quot;&gt;&quot;header&quot;&lt;/span&gt;   =&amp;gt; (string) &lt;span class=&quot;code-quote&quot;&gt;&quot;Reg. plate&quot;&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;width&quot;&lt;/span&gt;    =&amp;gt; (string) &lt;span class=&quot;code-quote&quot;&gt;&quot;80&quot;&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;editable&quot;&lt;/span&gt; =&amp;gt; (bool)   &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;hidden&quot;&lt;/span&gt;   =&amp;gt; (bool)   &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;tooltip&quot;&lt;/span&gt;  =&amp;gt; (string) &lt;span class=&quot;code-quote&quot;&gt;&quot;Registration plate&quot;&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;align&quot;&lt;/span&gt;    =&amp;gt; (string) &lt;span class=&quot;code-quote&quot;&gt;&quot;left&quot;&lt;/span&gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;sortable&quot;&lt;/span&gt; =&amp;gt; (bool)   &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;You can see the value of the width property is string even I didn&apos;t use quotes in the annotation.&lt;br/&gt;
The same happens with float values, but true and false values become, correctly, bool.&lt;/p&gt;

&lt;p&gt;I found this happens because of the following fragment of code in \Doctrine\Common\Annotations\Parser and could be easily corrected by prefixing the value with the corresponding type cast (marked in red).&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; Lexer::T_STRING:
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;match(Lexer::T_STRING);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;token[&apos;value&apos;];
    &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; Lexer::T_INTEGER:
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;match(Lexer::T_INTEGER);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;)$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;token[&apos;value&apos;];
    &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; Lexer::T_FLOAT:
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;match(Lexer::T_FLOAT);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;)$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;token[&apos;value&apos;];
    &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; Lexer::T_TRUE:
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;match(Lexer::T_TRUE);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
    &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; Lexer::T_FALSE:
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;match(Lexer::T_FALSE);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The point is, in our app, some of the values go directly to browser and are processed by JavaScript. Having those values as strings breaks all kinds of mathematical operations on the client or would require additional (unnecessary) string to int/float conversions.&lt;/p&gt;</description>
                <environment>any</environment>
            <key id="12424">DCOM-38</key>
            <summary>Annotation parser plain value types</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="cicovec">Martin Ivi&#269;i&#269;</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Feb 2011 09:42:28 +0000</created>
                <updated>Thu, 7 Apr 2011 15:37:15 +0000</updated>
                    <resolved>Thu, 7 Apr 2011 15:37:15 +0000</resolved>
                            <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15711" author="beberlei" created="Thu, 7 Apr 2011 15:37:15 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-37] orm:convert-d1-schema not working</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-37</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;orm:convert-d1-schema ~/schema.yml yml ~/newyml returns The helper &quot;em&quot; is not defined&lt;/p&gt;</description>
                <environment>Ubuntu 10.04 PEAR install of DoctrineORM</environment>
            <key id="12412">DCOM-37</key>
            <summary>orm:convert-d1-schema not working</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="uopjohnson">Jon Johnson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Feb 2011 11:22:49 +0000</created>
                <updated>Wed, 14 Sep 2011 16:32:11 +0000</updated>
                    <resolved>Wed, 14 Sep 2011 16:32:11 +0000</resolved>
                            <version>2.0.1</version>
                                <fixVersion>2.1.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16468" author="guilhermeblanco" created="Wed, 14 Sep 2011 16:32:11 +0000"  >&lt;p&gt;You are not providing the EntityManagerHelper to Symfony Console.&lt;/p&gt;

&lt;p&gt;Marking as invalid. Please reopen if you have already addressed that and issue is still valid.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-36] Declare annotation namespaces in the class&apos; doc comment</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-36</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I would like to declare my default annotation namespace and namespace aliases in my class&apos; doc comment. This will ensure my class can be understood by the annotation reader regardless of its configuration.&lt;/p&gt;

&lt;p&gt;An example of how I would use this:&lt;br/&gt;
&lt;a href=&quot;https://gist.github.com/821412&quot; class=&quot;external-link&quot;&gt;https://gist.github.com/821412&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12375">DCOM-36</key>
            <summary>Declare annotation namespaces in the class&apos; doc comment</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="7">Can&apos;t Fix</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="kriswallsmith">Kris Wallsmith</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Feb 2011 17:02:20 +0000</created>
                <updated>Tue, 15 Feb 2011 22:55:26 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 22:55:26 +0000</resolved>
                                                            <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15253" author="jwage" created="Fri, 11 Feb 2011 11:39:45 +0000"  >&lt;p&gt;I don&apos;t think implementing this is possible in any easy way.&lt;/p&gt;</comment>
                    <comment id="15321" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:55:26 +0000"  >&lt;p&gt;This cannot be done without adding a lot of WTF factor to Doctrine codebase.&lt;/p&gt;

&lt;p&gt;For individual docblocks there&apos;s a simple way, but it is impossible to make they interchange definitions (like declare namespace on class docblock and take advantage of it on method docblock).&lt;/p&gt;

&lt;p&gt;Marking it as can&apos;t fix, since our structure cannot support it without a complete rewrite (which would collide with our current interests).&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-35] Change AnnotationReader cache salt</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-35</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Our current AnnotationReader::$_CACHE_SALT conflicts with Symfony2 Console.&lt;/p&gt;

&lt;p&gt;The solution is to change the CACHE_SALT from:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; $CACHE_SALT = &apos;@&amp;lt;Annot&amp;gt;&apos;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; $CACHE_SALT = &apos;@[Annot]&apos;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="12344">DCOM-35</key>
            <summary>Change AnnotationReader cache salt</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="guilhermeblanco">Guilherme Blanco</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Feb 2011 18:01:47 +0000</created>
                <updated>Tue, 15 Feb 2011 22:08:10 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 22:08:10 +0000</resolved>
                            <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15316" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:08:10 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-34] calling setAutoloadAnnotationClasses on doctrine annotations reader causes fatal error</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-34</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;When I try to set setAutoloadAnnotationClasses(true) gives me a fatal error, call to undefined method&lt;/p&gt;

&lt;p&gt;PHP Fatal error:  Call to undefined method Doctrine\Common\Annotations\AnnotationReader::setAutoloadAnnotationClasses() &lt;/p&gt;</description>
                <environment>Snow leopard, intel </environment>
            <key id="12285">DCOM-34</key>
            <summary>calling setAutoloadAnnotationClasses on doctrine annotations reader causes fatal error</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="hashinp">Hash Panak</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Jan 2011 06:15:05 +0000</created>
                <updated>Tue, 15 Feb 2011 22:46:06 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 22:46:06 +0000</resolved>
                            <version>2.0.0</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15317" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:13:16 +0000"  >&lt;p&gt;The correct method name is: setAutoloadAnnotations&lt;/p&gt;

&lt;p&gt;We need to fix the documentation of Common package.&lt;/p&gt;</comment>
                    <comment id="15318" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:46:06 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-33] Allow to register callbacks in the EventManager</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-33</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="12271">DCOM-33</key>
            <summary>Allow to register callbacks in the EventManager</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 1 Jan 2011 06:16:39 +0000</created>
                <updated>Sat, 1 Jan 2011 06:28:47 +0000</updated>
                                                                    <component>Event System</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15079" author="beberlei" created="Sat, 1 Jan 2011 06:28:47 +0000"  >&lt;p&gt;Consider to add a second queue for callbacks. Its not possible to simulate this by doing something like:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function addCallbackListener($event, Closure $callback)
{
    $eventListener = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; stdClass();
    $eventListener-&amp;gt;$event = $callback;
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;addEventListener($event, $eventListener);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;sad &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-32] Memcache cache relies on deprecated functions</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-32</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The method getIds() in MemcacheCache relies on the old &quot;cachedump&quot; stat type.&lt;/p&gt;

&lt;p&gt;But as you can read here: &lt;a href=&quot;http://de2.php.net/manual/en/memcache.getextendedstats.php&quot; class=&quot;external-link&quot;&gt;http://de2.php.net/manual/en/memcache.getextendedstats.php&lt;/a&gt; this has been removed due to security reasons.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12243">DCOM-32</key>
            <summary>Memcache cache relies on deprecated functions</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="sebastian.hoitz">Sebastian Hoitz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Dec 2010 10:51:14 +0000</created>
                <updated>Wed, 28 Mar 2012 15:14:23 +0000</updated>
                    <resolved>Sat, 27 Aug 2011 20:30:20 +0000</resolved>
                            <version>2.0.0-RC2</version>
                                <fixVersion>2.2</fixVersion>
                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="14991" author="sebastian.hoitz" created="Tue, 21 Dec 2010 11:21:51 +0000"  >&lt;p&gt;Adding this to memcached before getting the extended stats cachedump fixed this issue for me:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;(!is_int($slabId)) {
    &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="15322" author="guilhermeblanco" created="Tue, 15 Feb 2011 23:13:55 +0000"  >&lt;p&gt;This issue doesn&apos;t seen to be valid anymore based on commit of @hobodave on Jan 29th.&lt;/p&gt;

&lt;p&gt;Please reopen if it is still valid. I could not reproduce.&lt;/p&gt;</comment>
                    <comment id="15738" author="guilhermeblanco" created="Mon, 18 Apr 2011 11:24:07 +0000"  >&lt;p&gt;Memcache daemon 1.4.5 do not provide cachedump and triggers a couple of issues all around.&lt;br/&gt;
Here is a link that gives more information: &lt;a href=&quot;http://www.pecl.php.net/bugs/bug.php?id=20375&amp;amp;edit=3&quot; class=&quot;external-link&quot;&gt;http://www.pecl.php.net/bugs/bug.php?id=20375&amp;amp;edit=3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We need to think on a workaround since current state of Doctrine 2 is unusable with recent memcache.&lt;/p&gt;</comment>
                    <comment id="15813" author="ddebernardy" created="Sat, 7 May 2011 14:12:41 +0000"  >&lt;p&gt;There additionally seems to be a hard-coded limit to the size of the dump:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://stackoverflow.com/questions/4363904/is-there-any-length-limitation-of-result-by-stats-cachedump-in-memcached&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/4363904/is-there-any-length-limitation-of-result-by-stats-cachedump-in-memcached&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://lists.danga.com/pipermail/memcached/2007-April/003906.html&quot; class=&quot;external-link&quot;&gt;http://lists.danga.com/pipermail/memcached/2007-April/003906.html&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16389" author="guilhermeblanco" created="Sat, 27 Aug 2011 20:30:20 +0000"  >&lt;p&gt;Fixed in master by this commit: &lt;a href=&quot;https://github.com/doctrine/common/commit/486169851ea87b3e14ed45d5bfd7d07b1d41af65&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/486169851ea87b3e14ed45d5bfd7d07b1d41af65&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17666" author="sobstel" created="Wed, 28 Mar 2012 15:14:23 +0000"  >&lt;p&gt;@Guilherme, your fix introduced big performance issue as now for each fetch() call there are always 2 additional calls, which is kind of big overhead. See &lt;a href=&quot;https://github.com/doctrine/common/pull/125&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/125&lt;/a&gt; for details.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-31] setAutoloadAnnotationClasses() within AnnotationReader fails</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-31</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;When calling setAutoloadAnnotationClasses() from within AnnotationReader, it fails because setAutoloadAnnotationClasses() is not implemented in Doctrine\Common\Annotations\Parser.&lt;/p&gt;

&lt;p&gt;This should be fixed, or at least a FeatureNotImplementedException or such.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12100">DCOM-31</key>
            <summary>setAutoloadAnnotationClasses() within AnnotationReader fails</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="felicitus">Timo A. Hummel</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Nov 2010 16:23:09 +0000</created>
                <updated>Mon, 15 Nov 2010 13:05:49 +0000</updated>
                    <resolved>Mon, 15 Nov 2010 13:05:49 +0000</resolved>
                                            <fixVersion>2.0.0-RC2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14736" author="beberlei" created="Mon, 15 Nov 2010 13:05:49 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-25&quot; title=&quot;method setAutoloadAnnotationClasses-fails&quot;&gt;&lt;del&gt;DCOM-25&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-30] Documentation Bug regarding setAnnotationNamespaceAlias</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-30</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;In the documentation on &lt;a href=&quot;http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:namespace-aliases&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:namespace-aliases&lt;/a&gt; I&apos;m given the following example:&lt;/p&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$reader-&amp;gt;setAnnotationNamespaceAlias(&apos;MyCompany\Annotations&apos;, &apos;my&apos;);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, this only works here if I do it that way:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$reader-&amp;gt;setAnnotationNamespaceAlias(&apos;MyCompany\Annotations\\&apos;, &apos;my&apos;);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If the latter one is correct, it should be documented as such.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12099">DCOM-30</key>
            <summary>Documentation Bug regarding setAnnotationNamespaceAlias</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="felicitus">Timo A. Hummel</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Nov 2010 16:20:14 +0000</created>
                <updated>Tue, 15 Feb 2011 22:51:53 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 22:51:53 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15320" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:51:53 +0000"  >&lt;p&gt;Already fixed in documentation.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-28] Extract Common Persistance Interfaces</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-28</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I discussed this with jwage on symfony day cologne and this also came up during discussions with @dzuelke at IPC yesterday. So i hacked up a first patch for discussion that adds a Doctrine\Common\Persistance namespace and extracts the functionality all our 3 layers implement with regards to EntityManager/EntityRepository (and equivalents).&lt;/p&gt;

&lt;p&gt;Additionally i think it might make sense to also add an interface &quot;ObjectMetadata&quot; that has several getters-only that allow access to the field, identifier and association mapping information. This stuff is not necessarly compatible across layers when returned as its &quot;array&quot; representation, but for libraries hooking into the metadata (symfony admin generator) this might not even be necessary.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12002">DCOM-28</key>
            <summary>Extract Common Persistance Interfaces</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Oct 2010 02:50:50 +0000</created>
                <updated>Sat, 30 Jul 2011 13:03:50 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>4</watches>
                        <comments>
                    <comment id="15315" author="jwage" created="Tue, 15 Feb 2011 21:04:25 +0000"  >&lt;p&gt;Added the interfaces here &lt;a href=&quot;https://github.com/doctrine/common/commit/59e6b8c6edcb271622923035b687a063c2b47ce8&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/59e6b8c6edcb271622923035b687a063c2b47ce8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I implemented them here in the mongodb-odm &lt;a href=&quot;https://github.com/doctrine/mongodb-odm/commit/8d02e8439fb6737de1e23e1953a643858a8a6c68&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/mongodb-odm/commit/8d02e8439fb6737de1e23e1953a643858a8a6c68&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and the ORM &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/68a40996841b1dbec3b8de5c1038809e5db512b7&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/68a40996841b1dbec3b8de5c1038809e5db512b7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think we can add a few more methods to ClassMetadata interface that are always gonna exist between the different persistence layers. Let me know what you think and what you want to add.&lt;/p&gt;</comment>
                    <comment id="15324" author="guilhermeblanco" created="Tue, 15 Feb 2011 23:24:31 +0000"  >&lt;p&gt;Jon is working on this.&lt;/p&gt;</comment>
                    <comment id="15515" author="lsmith" created="Sat, 19 Mar 2011 15:44:47 +0000"  >&lt;p&gt;CouchDB ODM also has DocumentRepositry::findMany(array $ids)&lt;br/&gt;
Should we add that to the interface?&lt;/p&gt;</comment>
                    <comment id="15516" author="beberlei" created="Sat, 19 Mar 2011 17:44:01 +0000"  >&lt;p&gt;No, that method is only on the repository because CouchDB doesn&apos;t need persisters (yet). Its not part of the interfaceable public methods.&lt;/p&gt;</comment>
                    <comment id="15517" author="lsmith" created="Sat, 19 Mar 2011 17:52:48 +0000"  >&lt;p&gt;Not sure I understand. The method is used in DocumentRepository::findBy() as well as in PersistentIdsCollection::load. Seems unnecessary for that method to be public just for this. At any rate imho the method seems convenient and also allows for more efficient access in many RDBMS compared to the generic findBy($criteria) method. So it seems worthwhile adding it.&lt;/p&gt;</comment>
                    <comment id="15520" author="beberlei" created="Sun, 20 Mar 2011 05:23:35 +0000"  >&lt;p&gt;It doesn&apos;t matter what CouchDB uses internally on the DocumentRepository, i don&apos;t think this method is particularly useful in another context than CouchDBs use of Collections. In any case the method is just a proxy for findBy(array(&quot;id&quot; =&amp;gt; array(1, 2, 3, 4, 5, 6))); and i am not sure we need such a method on an interface just for convenience, Repository::find() use-case is much broader.&lt;/p&gt;</comment>
                    <comment id="15521" author="lsmith" created="Sun, 20 Mar 2011 05:30:18 +0000"  >&lt;p&gt;Actually using findMany($ids) ias clearly more efficient in CouchDB than using  findBy(array(&quot;id&quot; =&amp;gt; $ids));&lt;br/&gt;
The same applies to PHPCR, since going by the node path means you can go via the normal node API, rather than the search API.&lt;br/&gt;
So this is already 2 out of 3 examples and I do not know MongoDB enough to tell if they also have some specific API advantage.&lt;/p&gt;</comment>
                    <comment id="15522" author="beberlei" created="Sun, 20 Mar 2011 05:39:38 +0000"  >&lt;p&gt;Hm, you might be right. Ok, this should be included.&lt;/p&gt;

&lt;p&gt;What i am still pondering with is adding array $orderBy and $firstResult, $maxResults to findOneBy() and findBy() and findAll().&lt;/p&gt;

&lt;p&gt;@Jon: Would this be possible for MongoDB?&lt;/p&gt;

&lt;p&gt;It would not be possible for all use-cases in CouchDB, but for some it can work.&lt;/p&gt;</comment>
                    <comment id="15544" author="lsmith" created="Sun, 20 Mar 2011 15:35:45 +0000"  >&lt;p&gt;Just a super trivial pull to add this to the interface:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/11&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/11&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="15548" author="lsmith" created="Mon, 21 Mar 2011 05:15:03 +0000"  >&lt;p&gt;also wondering if we want to include the idgenerator API in the interface?&lt;/p&gt;</comment>
                    <comment id="15549" author="beberlei" created="Mon, 21 Mar 2011 05:25:09 +0000"  >&lt;p&gt;Hm yes, i think that is necessary. At least the differentation between assigned and auto-generated ids is relevant for metadata queries.&lt;/p&gt;</comment>
                    <comment id="15559" author="jwage" created="Mon, 21 Mar 2011 09:18:12 +0000"  >&lt;p&gt;Yes, findMany() is possible with MongoDB.&lt;/p&gt;

&lt;p&gt;I think it would just be a proxy to:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function findMany(array $ids)
{
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;findBy(array(&apos;_id&apos; =&amp;gt; array(&apos;$in&apos; =&amp;gt; $ids)));
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="15560" author="beberlei" created="Mon, 21 Mar 2011 09:47:18 +0000"  >&lt;p&gt;Hm, What is this syntax? This is not conforming to the EntityRepository interface.&lt;/p&gt;

&lt;p&gt;The only two allowed methods are:&lt;/p&gt;

&lt;p&gt;IN Query:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$ids = array(...);
findBy(array(&apos;_id&apos; =&amp;gt; $ids)); 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Equals = Query:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$ids = 1234;
findBy(array(&apos;_id&apos; =&amp;gt; $id)); 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Everything else is not portable accross implementations and should only be able through DocumentManager::CreateQuery* sort of apis.&lt;/p&gt;</comment>
                    <comment id="15561" author="jwage" created="Mon, 21 Mar 2011 10:26:31 +0000"  >&lt;p&gt;To find by things in MongoDB you just give an array of key =&amp;gt; value pairs. It gets passed straight through to MongoDB. The $in syntax is just soemthing mongodb supports. It&apos;s not anything specific to Doctrine.&lt;/p&gt;</comment>
                    <comment id="16236" author="lsmith" created="Sat, 30 Jul 2011 13:03:50 +0000"  >&lt;p&gt;i want to heat this topic back up:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;findMany()&lt;/li&gt;
	&lt;li&gt;id generator API&lt;/li&gt;
&lt;/ul&gt;
</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="11832">DCOM-23</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="10824" name="dcom_persistence.diff" size="1992" author="beberlei" created="Wed, 13 Oct 2010 02:50:50 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-27] Method Next from ArrayCollection needs to return something!</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-27</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I think this method needs to return something...&lt;/p&gt;

&lt;p&gt;    /**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Moves the internal iterator position to the next element.&lt;br/&gt;
     *&lt;/li&gt;
	&lt;li&gt;@return mixed&lt;br/&gt;
     */&lt;br/&gt;
    public function next()
    {
        next($this-&amp;gt;_elements);
    }&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;doctrine-common/lib/Doctrine/Common/Collections/ArrayCollection.php&lt;/p&gt;</description>
                <environment></environment>
            <key id="11995">DCOM-27</key>
            <summary>Method Next from ArrayCollection needs to return something!</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="hgirardi">Henrique Girardi dos Santos</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Oct 2010 13:42:26 +0000</created>
                <updated>Sun, 31 Oct 2010 03:48:18 +0000</updated>
                    <resolved>Sun, 31 Oct 2010 03:48:06 +0000</resolved>
                            <version>2.0.0-RC1</version>
                                <fixVersion>2.0.0-RC2</fixVersion>
                                <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14637" author="beberlei" created="Sun, 31 Oct 2010 03:48:06 +0000"  >&lt;p&gt;resolved&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-26] Notice when using an alias that is not registered</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-26</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;If you have an annotation that uses an alias that is not registered like:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;  /**
   * @foo:SomeAnnot
   */
  ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then, the Parser will throw a PHP Notice:&lt;/p&gt;

&lt;p&gt;Notice: Undefined index: foo in .../lib/Doctrine/Common/Annotations/Parser.php line 317&lt;/p&gt;</description>
                <environment></environment>
            <key id="11973">DCOM-26</key>
            <summary>Notice when using an alias that is not registered</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="fabpot">Fabien Potencier</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Oct 2010 08:38:36 +0000</created>
                <updated>Mon, 1 Nov 2010 20:52:47 +0000</updated>
                    <resolved>Mon, 1 Nov 2010 20:52:47 +0000</resolved>
                                                            <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14522" author="fabpot" created="Mon, 4 Oct 2010 13:42:04 +0000"  >&lt;p&gt;When a &quot;normal&quot; annotation is not found, Doctrine just ignore it:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * @Entityyyy
 */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, the behavior should be the same when an alias does not exist.&lt;/p&gt;

&lt;p&gt;Here is a simple patch that fixes the issue:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;diff --git a/lib/Doctrine/Common/Annotations/Parser.php b/lib/Doctrine/Common/Annotations/Parser.php
index 3af7841..00df32b 100644
--- a/lib/Doctrine/Common/Annotations/Parser.php
+++ b/lib/Doctrine/Common/Annotations/Parser.php
@@ -315,6 +315,10 @@ class Parser
         &lt;span class=&quot;code-comment&quot;&gt;// Effectively pick the name of the class (append &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; NS &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; none, grab from NS alias, etc)
&lt;/span&gt;         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (strpos($nameParts[0], &apos;:&apos;)) {
             list ($alias, $nameParts[0]) = explode(&apos;:&apos;, $nameParts[0]);
+            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!isset($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;namespaceAliases[$alias])) {
+                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;skipUntil(Lexer::T_AT);
+                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
+            }
             $name = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;namespaceAliases[$alias] . implode(&apos;\\&apos;, $nameParts);
         } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (count($nameParts) == 1) {
             $name = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;defaultAnnotationNamespace . $nameParts[0];
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="14638" author="beberlei" created="Sun, 31 Oct 2010 03:50:53 +0000"  >&lt;p&gt;Which version of Common is that? I think this is already fixed in Common RC1.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-25] method setAutoloadAnnotationClasses-fails</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-25</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;$reader = new Doctrine\Common\Annotations\AnnotationReader();&lt;br/&gt;
$reader-&amp;gt;setAutoloadAnnotationClasses(true);&lt;/p&gt;

&lt;p&gt;above code is trying use default parser&apos;s setAutoloadAnnotationClasses-method, which isn&apos;t found, instead parser has setAutoloadAnnotations.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11954">DCOM-25</key>
            <summary>method setAutoloadAnnotationClasses-fails</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="margus">Margus Sipria</reporter>
                        <labels>
                    </labels>
                <created>Sat, 25 Sep 2010 06:13:24 +0000</created>
                <updated>Sun, 31 Oct 2010 03:57:26 +0000</updated>
                    <resolved>Sun, 31 Oct 2010 03:57:26 +0000</resolved>
                            <version>2.0.0-RC1</version>
                                <fixVersion>2.0.0-RC2</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14639" author="beberlei" created="Sun, 31 Oct 2010 03:57:26 +0000"  >&lt;p&gt;fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-24] Documentation about Default Namespace has error.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-24</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;$reader-&amp;gt;setDefaultAnnotationNamespace(&apos;Doctrine\Common\Annotations&apos;);&lt;/p&gt;

&lt;p&gt;I used above code to test annotations without namespaces just to find out that there there is missing \ (or 2 if you count escaping) at the end of that string.&lt;/p&gt;

&lt;p&gt;This works: $reader-&amp;gt;setDefaultAnnotationNamespace(&apos;Doctrine\\Common\\Annotations&lt;br class=&quot;atl-forced-newline&quot; /&gt;&apos;);&lt;/p&gt;

&lt;p&gt;reference guide where I found error is here: &lt;a href=&quot;http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:default-namespace&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:default-namespace&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="11953">DCOM-24</key>
            <summary>Documentation about Default Namespace has error.</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="margus">Margus Sipria</reporter>
                        <labels>
                    </labels>
                <created>Sat, 25 Sep 2010 06:06:33 +0000</created>
                <updated>Tue, 15 Feb 2011 22:51:00 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 22:51:00 +0000</resolved>
                            <version>2.0.0-RC1</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15319" author="guilhermeblanco" created="Tue, 15 Feb 2011 22:51:00 +0000"  >&lt;p&gt;Already fixed on documentation.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-23] Add interface for ObjectManager</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-23</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Add a ObjectManager interface so it is possible to write code that supports the EntityManager and DocumentManager at the same time.&lt;/p&gt;

&lt;p&gt;Ornicar (Thibault Duplessis) did this gist: &lt;a href=&quot;http://gist.github.com/545320&quot; class=&quot;external-link&quot;&gt;http://gist.github.com/545320&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="11832">DCOM-23</key>
            <summary>Add interface for ObjectManager</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="henrikbjorn">Henrik Bjornskov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Aug 2010 14:41:04 +0000</created>
                <updated>Sun, 31 Oct 2010 03:58:54 +0000</updated>
                    <resolved>Sun, 31 Oct 2010 03:58:38 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14640" author="beberlei" created="Sun, 31 Oct 2010 03:58:38 +0000"  >&lt;p&gt;Mark as duplicate for &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-28&quot; title=&quot;Extract Common Persistance Interfaces&quot;&gt;DCOM-28&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="12002">DCOM-28</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-22] Cache should support an array of options.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-22</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Currently the overall code to instantiate Cache drivers cannot be generic.&lt;br/&gt;
This can be noticed when you compare APCCache and MemcacheCache drivers.&lt;/p&gt;

&lt;p&gt;The first one is simply a no argument instantiation. The second, even after isntantiation, it still requires you to call a method (-&amp;gt;setMemcache) in order to work.&lt;br/&gt;
This is not optimal for generic approaches, creating unreliable conditional situations. Also it is not extendable, allowing user to build his own driver.&lt;/p&gt;

&lt;p&gt;Please consider these sample codes:&lt;br/&gt;
&lt;a href=&quot;http://pastie.org/1103439&quot; class=&quot;external-link&quot;&gt;http://pastie.org/1103439&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php#L419&quot; class=&quot;external-link&quot;&gt;http://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php#L419&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A suggested approach could be a CacheManager as a fatory.&lt;br/&gt;
Another one would be Cache interface assigning a contract to receive an array of options.&lt;/p&gt;

&lt;p&gt;Anyway, this should be fixed &lt;b&gt;VERY&lt;/b&gt; soon.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11807">DCOM-22</key>
            <summary>Cache should support an array of options.</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="guilhermeblanco">Guilherme Blanco</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Aug 2010 23:34:40 +0000</created>
                <updated>Mon, 30 Aug 2010 17:29:26 +0000</updated>
                    <resolved>Mon, 30 Aug 2010 17:29:26 +0000</resolved>
                                                            <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14022" author="romanb" created="Sat, 21 Aug 2010 05:48:00 +0000"  >&lt;p&gt;After our discussion yesterday, can we close this?&lt;/p&gt;</comment>
                    <comment id="14180" author="guilhermeblanco" created="Mon, 30 Aug 2010 17:29:26 +0000"  >&lt;p&gt;As discussed, we won&apos;t fix this.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-21] Bug with annotations parser and tags that are not annotations (stripped tags)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-21</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description></description>
                <environment></environment>
            <key id="11798">DCOM-21</key>
            <summary>Bug with annotations parser and tags that are not annotations (stripped tags)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="jwage">Jonathan H. Wage</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Aug 2010 14:33:58 +0000</created>
                <updated>Wed, 18 Aug 2010 14:34:29 +0000</updated>
                    <resolved>Wed, 18 Aug 2010 14:34:29 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                <fixVersion>2.0.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14010" author="jwage" created="Wed, 18 Aug 2010 14:34:29 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;http://github.com/doctrine/common/commit/df50f65ee707bb148682232c516d5168cf46d987&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/df50f65ee707bb148682232c516d5168cf46d987&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-20] ClassLoader should check before require()...</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-20</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;I noticed that prior to the require function call in loadClass(), no attempt is made to see if the file can be loaded, or to trap the result of the require attempt.&lt;/p&gt;

&lt;p&gt;This means that when I chain together class loaders on the autoload stack, the first one that specifies a namespace of null effectively terminates the process, preventing any others from being run.&lt;/p&gt;</description>
                <environment>Ubuntu 10.04</environment>
            <key id="11756">DCOM-20</key>
            <summary>ClassLoader should check before require()...</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="omega">Alexander Trauzzi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Aug 2010 02:33:30 +0000</created>
                <updated>Thu, 12 Aug 2010 14:21:30 +0000</updated>
                    <resolved>Thu, 12 Aug 2010 14:21:30 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                                <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13929" author="omega" created="Thu, 12 Aug 2010 02:36:53 +0000"  >&lt;p&gt;One solution I propose (and have used in my own class loaders in the past) is to check and see if the file exists and/or is accessible prior to the require() or include().&lt;br/&gt;
It might be done something like this:&lt;/p&gt;

&lt;p&gt;&amp;#8212;&lt;br/&gt;
    public function loadClass($className)&lt;br/&gt;
    {&lt;br/&gt;
        if ($this-&amp;gt;namespace !== null &amp;amp;&amp;amp; strpos($className, $this-&amp;gt;namespace.$this-&amp;gt;namespaceSeparator) !== 0) &lt;/p&gt;
{
            return false;
        }

&lt;p&gt;        if ($this-&amp;gt;canLoadClass())&lt;/p&gt;
        {
                require ($this-&amp;gt;includePath !== null ? $this-&amp;gt;includePath . DIRECTORY_SEPARATOR : &apos;&apos;)
                       . str_replace($this-&amp;gt;namespaceSeparator, DIRECTORY_SEPARATOR, $className)
                       . $this-&amp;gt;fileExtension;
                return true;
        }

&lt;p&gt;        return false;&lt;/p&gt;

&lt;p&gt;    }&lt;br/&gt;
&amp;#8212;&lt;/p&gt;

&lt;p&gt;Another might be to catch any errors thrown by the require statement if possible.&lt;/p&gt;

&lt;p&gt;This effectively guarantees that in the event of a failure, the natural PHP mechanism of the class autoloader can follow up or terminate, resulting in a Class Not Found error, rather than a failed include - which might be potentially misleading??&lt;/p&gt;</comment>
                    <comment id="13934" author="omega" created="Thu, 12 Aug 2010 11:46:43 +0000"  >&lt;p&gt;I should note that it isn&apos;t up to ClassLoader to trigger a failure in class loading, otherwise class instantiation requires every call to the &quot;new&quot; keyword to be prefixed by a check to verify the class is available.&lt;/p&gt;

&lt;p&gt;ClassLoader should for the most part fail silently with the one exception of notifying the autoload stack with the boolean return value.  Any other errors force developers to get into the plumbing and breaks the contract between PHP&apos;s class loading behaviour and the autoload stack.&lt;/p&gt;</comment>
                    <comment id="13936" author="romanb" created="Thu, 12 Aug 2010 14:21:30 +0000"  >&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;This is by design. We consider the default &quot;contract&quot; for autoloaders inferior as checks for file existence are unnecessary and expensive in 99.9% of the classes loaded.&lt;/p&gt;

&lt;p&gt;The ClassLoader of the Common project &lt;b&gt;separates&lt;/b&gt; the responsibilities for a) checking whether a class can be loaded and b) actually loading the class.&lt;/p&gt;

&lt;p&gt;Furthermore, it is by design that each class loader is responsible for classes in a certain namespace. Only 1 classloader can thus be responsible for a single class. If a class loader is asked to load a class, and he is responsible for loading that class, any failure to do so is a fatal error. A missing class that is requested to be loaded is a fatal error. Silently ignoring such cases is a very bad approach from our point of view &lt;b&gt;and&lt;/b&gt; it requires slow(er) implementations due to checks for file existence.&lt;/p&gt;

&lt;p&gt;If you specify NULL as the namespace, that means this class loader should be responsible for &lt;b&gt;all&lt;/b&gt; classes. Thus it is obvious that a class loader that is configured as such can only be used a) as the only one or b) at the end of the autoload stack (as the last one).&lt;/p&gt;

&lt;p&gt;This approach to class loading and this implementation is designed for best efficiency.&lt;/p&gt;

&lt;p&gt;If you do not like this approach to class loading you are free to use any other implementations, Doctrine classes don&apos;t care which autoloader loads them.&lt;/p&gt;

&lt;p&gt;ps. return values don&apos;t matter at all in autoload functions for PHP, they only matter if you invoke them directly. The SPL autoload stack continues to invoke the next loader until the class is defined/loaded, then it stops, irrespective of what a loader returns. It only matters whether the class definition is now available to PHP.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-19] Transitive persistence on collections doesn&apos;t work when cascade is set to &quot;all&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-19</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;In documentation it says that cascade needs be set to persist for transitive persistence to work (&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-associations/en#transitive-persistence-/-cascade-operations:persistence-by-reachability:-cascade-persist&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-associations/en#transitive-persistence-/-cascade-operations:persistence-by-reachability:-cascade-persist&lt;/a&gt;) , but since &quot;all&quot; setting is a superset of &quot;persist&quot; it should work for that setting as well (but it doesn&apos;t )&lt;/p&gt;</description>
                <environment></environment>
            <key id="11751">DCOM-19</key>
            <summary>Transitive persistence on collections doesn&apos;t work when cascade is set to &quot;all&quot;</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="kanundrum">akeem philbert</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Aug 2010 23:11:02 +0000</created>
                <updated>Wed, 11 Aug 2010 08:22:32 +0000</updated>
                    <resolved>Wed, 11 Aug 2010 08:22:32 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                                <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13903" author="kanundrum" created="Wed, 11 Aug 2010 08:22:32 +0000"  >&lt;p&gt;It seems there is an issue with persisting new elements to a collection with existing elements and I&apos;ve created a separate ticket (&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-742&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-742&lt;/a&gt;) so this one is invalid. &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-18] ArrayCollection::removeElement() violates Interface Contract</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-18</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;It return the element, not true.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11744">DCOM-18</key>
            <summary>ArrayCollection::removeElement() violates Interface Contract</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Aug 2010 15:27:04 +0000</created>
                <updated>Mon, 9 Aug 2010 15:52:47 +0000</updated>
                    <resolved>Mon, 9 Aug 2010 15:52:47 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                <fixVersion>2.0.0-RC1</fixVersion>
                                <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13881" author="beberlei" created="Mon, 9 Aug 2010 15:52:47 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-17] Add Collection::slice($offset, $length)</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-17</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Since we are still at a point were bc breaks are potentially not so harming:&lt;/p&gt;

&lt;p&gt;We need a slice() method on the Collection for forward compatibility, the support for large and very large collections using FETCH_EXTRA would heavily benefit from a method like this.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * Extract a slice of $length elements starting at position $offset from the Collection.
 * 
 * If $length is &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; it returns all elements from $offset to the end of the Collection.
 * Keys have to be preserved by &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; method.
 * 
 * @param &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; $offset
 * @param &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; $length
 * @&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; array
 */
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function slice($offset, $length = &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The ArrayCollection implement would be:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function slice($offset, $length = &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
{
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; array_slice($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_elements, $offset, $length, &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;); &lt;span class=&quot;code-comment&quot;&gt;// preserve keys
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="11739">DCOM-17</key>
            <summary>Add Collection::slice($offset, $length)</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 8 Aug 2010 11:30:23 +0000</created>
                <updated>Fri, 14 Jan 2011 05:39:16 +0000</updated>
                    <resolved>Tue, 24 Aug 2010 15:49:22 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                <fixVersion>2.0.0-RC1</fixVersion>
                                <component>Collections</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13864" author="beberlei" created="Sun, 8 Aug 2010 11:32:03 +0000"  >&lt;p&gt;Updated preserve paragraph&lt;/p&gt;</comment>
                    <comment id="14058" author="beberlei" created="Tue, 24 Aug 2010 15:49:22 +0000"  >&lt;p&gt;Implemented&lt;/p&gt;</comment>
                    <comment id="15142" author="jpieper" created="Fri, 14 Jan 2011 05:39:16 +0000"  >&lt;p&gt;Is there any reason why slice() returns an array although methods like filter() and map() return an instance of Doctrine\Common\Collections\ArrayCollection?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-16] Doctrine\Cache\Cache\AbstractCache::deleteByPrefix() vs. cache namespace</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-16</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The methods deleteByPrefix() / deleteByRegExp() / deleteBySuffix() are based on the method getIds(), which returns unique identifiers with an added namespace in the front. That is why to be able to delete cells using these three methods, you have to know the namespace. &lt;br/&gt;
Example:&lt;/p&gt;

&lt;p&gt;$cacheDriver-&amp;gt;setNamespace(&apos;ns&apos;);&lt;br/&gt;
$cacheDriver-&amp;gt;save(&apos;data&apos;, &apos;name&apos;);&lt;br/&gt;
$cacheDriver-&amp;gt;deleteByPrefix(&apos;data&apos;);&lt;/p&gt;

&lt;p&gt;In this example the cell will not be deleted.&lt;/p&gt;</description>
                <environment>PHP 5.3.0 + memcache + xdebug; FreeBSD 6.4-RELEASE-p</environment>
            <key id="11723">DCOM-16</key>
            <summary>Doctrine\Cache\Cache\AbstractCache::deleteByPrefix() vs. cache namespace</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="xlite">xlite</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Aug 2010 00:53:32 +0000</created>
                <updated>Tue, 31 Aug 2010 22:24:24 +0000</updated>
                    <resolved>Tue, 31 Aug 2010 22:24:24 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                <version>2.0.0-BETA3</version>
                <version>2.0.0-BETA4</version>
                                                <component>Caching</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14207" author="guilhermeblanco" created="Tue, 31 Aug 2010 22:24:24 +0000"  >&lt;p&gt;In commit: &lt;a href=&quot;http://github.com/doctrine/common/commit/a2238b871c13cf0e195fa18f0b8744e38baabf48&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/a2238b871c13cf0e195fa18f0b8744e38baabf48&lt;/a&gt;&lt;br/&gt;
I committed a fix to this issue.&lt;/p&gt;

&lt;p&gt;Thanks for reporting that!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-15] ClassLoader does not autoload when namespace starts with \</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-15</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Instantiating a fully qualified namespace (with a prefixed &amp;#41; will not autoload modules, even while the canLoadClass reports it can and loadClass will load it...&lt;/p&gt;

&lt;p&gt;Will NOT work&lt;br/&gt;
$classLoader = new \Doctrine\Common\ClassLoader(&apos;\Application\Models&apos;, &apos;/some/path&apos;);&lt;br/&gt;
$classLoader-&amp;gt;register();&lt;br/&gt;
new \Application\Models\SomeClass();&lt;/p&gt;

&lt;p&gt;Will work&lt;br/&gt;
$classLoader = new \Doctrine\Common\ClassLoader(&apos;Application\Models&apos;, &apos;/some/path&apos;);&lt;br/&gt;
$classLoader-&amp;gt;register();&lt;br/&gt;
new \Application\Models\SomeClass();&lt;/p&gt;

&lt;p&gt;Some sanitization or an exception on this would improve things a bit.&lt;/p&gt;</description>
                <environment>osx, php5.3.2</environment>
            <key id="11709">DCOM-15</key>
            <summary>ClassLoader does not autoload when namespace starts with \</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="bas">Bas K</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Aug 2010 10:36:28 +0000</created>
                <updated>Wed, 1 Sep 2010 13:46:35 +0000</updated>
                    <resolved>Wed, 1 Sep 2010 13:46:35 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                                                <component>Class Loading</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14219" author="romanb" created="Wed, 1 Sep 2010 13:46:35 +0000"  >&lt;p&gt;I think this is a non-issue. You need to consider that the first argument is simply a namespace prefix that is checked against and PHP itself never passes class names with leading backslashes to an autoload function. Thus it is relatively obvious that a leading backslash in a namespace prefix for a ClassLoader makes no sense.&lt;/p&gt;

&lt;p&gt;ps. Leading backslashes in &lt;b&gt;strings&lt;/b&gt; in general are unnecessary, as namespaces in strings are always treated as &quot;absolute&quot; and never &quot;relative&quot;. That might also be the reason why PHP itself passes class names to autoload functions without a leading backslash.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-14] Exclude @throws annotation from parsing.</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-14</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;CLI doctrine tool fails when parsing entity sources (for example: doctrine orm:validate-schema) by following error:&lt;br/&gt;
Fatal error: Class &apos;throws\MemberAccessException&apos; not found in /usr/share/php/Doctrine/Common/Annotations/Parser.php on line 272&lt;br/&gt;
exception &apos;FatalErrorException&apos; with message &apos;Class &apos;throws\MemberAccessException&apos; not found&apos; in /usr/share/php/Doctrine/Common/Annotations/Parser.php:272&lt;/p&gt;

&lt;p&gt;This error appears when @HasLifecycleCallbacks annotation is added into entity.&lt;/p&gt;

&lt;p&gt;The solution is adding &quot;@throws&quot; annotation into strippedTags into Doctrine/Common/Annotations/Parser.php&lt;/p&gt;
</description>
                <environment>Ubuntu Linux 10.04 LTS Server, standard lamp instalation from repositories&lt;br/&gt;
w$ php -v&lt;br/&gt;
PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13 2010 20:01:00)&lt;br/&gt;
Copyright (c) 1997-2009 The PHP Group&lt;br/&gt;
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies</environment>
            <key id="11660">DCOM-14</key>
            <summary>Exclude @throws annotation from parsing.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="obrys">Jan Obr&#225;til</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Jul 2010 08:13:40 +0000</created>
                <updated>Tue, 31 Aug 2010 22:15:16 +0000</updated>
                    <resolved>Tue, 31 Aug 2010 22:15:16 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14087" author="romanb" created="Thu, 26 Aug 2010 08:22:00 +0000"  >&lt;p&gt;Can you confirm that this is still a problem with the latest code?&lt;/p&gt;</comment>
                    <comment id="14099" author="obrys" created="Fri, 27 Aug 2010 05:29:50 +0000"  >&lt;p&gt;I&apos;m using the latest Doctrine2 available thru pear:&lt;/p&gt;

&lt;p&gt;Installed packages, channel pear.doctrine-project.org:&lt;br/&gt;
======================================================&lt;br/&gt;
Package        Version    State&lt;br/&gt;
DoctrineCommon 2.0.0BETA4 beta&lt;br/&gt;
DoctrineDBAL   2.0.0BETA3 beta&lt;br/&gt;
DoctrineORM    2.0.0BETA3 beta&lt;/p&gt;

&lt;p&gt;I still have to alter Parser.php&lt;/p&gt;</comment>
                    <comment id="14206" author="guilhermeblanco" created="Tue, 31 Aug 2010 22:15:16 +0000"  >&lt;p&gt;This ticket is invalid. I added coverage to it on commit:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://github.com/doctrine/common/commit/7e7a06e9878a1a41a72a062fa18d71d6c64a600a&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/7e7a06e9878a1a41a72a062fa18d71d6c64a600a&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Seems you have a @throws definition that is connected to the returned class, and this is then considered an annotation.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-13] Better flexibility when the Annotation is created by the Parser</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-13</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The creation of the Annotation class is done at the end in Parser::Annotation(). It assumes that the Annotation class constructor takes an array of values. But if this is not the case, you are out of luck. So, I propose to move the logic of Annotation creation to is own method for better flexibility.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11678">DCOM-13</key>
            <summary>Better flexibility when the Annotation is created by the Parser</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="fabpot">Fabien Potencier</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Jul 2010 11:52:07 +0000</created>
                <updated>Mon, 2 Aug 2010 09:52:58 +0000</updated>
                    <resolved>Mon, 2 Aug 2010 09:52:58 +0000</resolved>
                                            <fixVersion>2.0.0-BETA4</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13746" author="jwage" created="Sat, 31 Jul 2010 14:08:15 +0000"  >&lt;p&gt;What is the reason your annotation class can&apos;t have a single argument array constructor?&lt;/p&gt;</comment>
                    <comment id="13747" author="jwage" created="Sat, 31 Jul 2010 14:14:40 +0000"  >&lt;p&gt;Currently it is by design that Annotation classes take a single argument array constructor and the Reader and Parser are not designed for inheritance.&lt;/p&gt;</comment>
                    <comment id="13752" author="fabpot" created="Sun, 1 Aug 2010 05:08:33 +0000"  >&lt;p&gt;To sum up:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;You force me to design my Annotation class is a certain way (for no obvious reason);&lt;/li&gt;
	&lt;li&gt;You don&apos;t want the Parser and Reader to be extensible.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So, basically, you say that the Doctrine Annotation library is not designed to be used outside Doctrine? That&apos;s fine, but then I will need to create my own Annotation component, which makes me sad.&lt;/p&gt;</comment>
                    <comment id="13753" author="romanb" created="Sun, 1 Aug 2010 05:45:23 +0000"  >&lt;p&gt;@&quot;You force me to design my Annotation class is a certain way (for no obvious reason)&quot;&lt;/p&gt;

&lt;p&gt;It is a contract of the implementation, nothing more, nothing less. An annotation class must have a single argument array constructor. Would you feel better if there were an interface with such a constructor? Any contract always &quot;forces&quot; you to design your class that implements that contract in a certain way.&lt;/p&gt;

&lt;p&gt;@&quot;You don&apos;t want the Parser and Reader to be extensible.&quot;&lt;/p&gt;

&lt;p&gt;They simply &lt;b&gt;are not designed to be inherited right now&lt;/b&gt; which simply means we don&apos;t care about backwards compatibility with regards to subclasses when changing these classes and we&apos;re not documenting and telling people it is a good idea to subclass them.  And frankly, inhertiance just to swap out the annotation construction process is a bad idea. It reveals &amp;amp; couples the subclasses to all the details of the parent class even though all they actually want is exchange the construction process. Moreover you would right now need to extend both, the parser &lt;b&gt;and&lt;/b&gt; and reader to swap out the construction process. At least the parser would then need to become an  (optional) constructor argument of a reader in order not to need to subclass the reader. Inheritance =&amp;gt; strong coupling =&amp;gt; hard to maintain backwards compatibility.&lt;/p&gt;

&lt;p&gt;If there is strong desire to replace the annotation construction process, a factory (method/closure) approach would be much better.&lt;br/&gt;
Can you maybe reveal your concrete use-case? That an annotation class must have a single-argument array constructor is not an unreasonable requirement and you&apos;re really exaggerating if you&apos;re saying that this simple requirement makes the annotation library unusable outside of Doctrine. That is ridiculous. The Symfony Validator component already uses it.&lt;/p&gt;

&lt;p&gt;Please try to be more constructive. Neither did you show concrete use-cases nor is your suggested solution a good idea as it is now because it requires 2 classes to be extended plus 1 constructor and 1 method to be overridden just to exchange the annotation construction process. This can surely be done simpler and &lt;b&gt;will&lt;/b&gt; be done simpler if there is enough need for this enhancement.&lt;/p&gt;</comment>
                    <comment id="13757" author="jwage" created="Mon, 2 Aug 2010 09:52:58 +0000"  >&lt;p&gt;This was fixed in &lt;a href=&quot;http://github.com/doctrine/common/commit/66dad3e22205d812911adeb32b9f8bab8879d4b7&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/66dad3e22205d812911adeb32b9f8bab8879d4b7&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10706" name="patch" size="920" author="fabpot" created="Sat, 24 Jul 2010 11:52:07 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-12] Annotation caching causes application instance mixups</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-12</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;Take a look at lib/Doctrine/Common/Annotations/AnnotationReader.php:137&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; 
    /**
     * Gets the annotations applied to a class.
     * 
     * @param string|ReflectionClass $class The name or ReflectionClass of the class from which
     * the class annotations should be read.
     * @&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; array An array of Annotations.
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getClassAnnotations(ReflectionClass $class)
    {
        $cacheKey = $class-&amp;gt;getName() . self::$CACHE_SALT;

        &lt;span class=&quot;code-comment&quot;&gt;// Attempt to grab data from cache
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (($data = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;cache-&amp;gt;fetch($cacheKey)) !== &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;) {
            &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $data;
        }
        
        $annotations = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parser-&amp;gt;parse($class-&amp;gt;getDocComment(), &apos;class &apos; . $class-&amp;gt;getName());
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;cache-&amp;gt;save($cacheKey, $annotations, &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
        
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $annotations;
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;It uses the class name and a static salt to create a cache key. Actually, everything in that class uses a class name to assemble a cache key.&lt;/p&gt;

&lt;p&gt;This makes it impossible to have mulitple instances of the same application in different states. Practically: it makes it impossible to have testing and staging, or staging and production versions on the same host if they use the same type of caching (which you sort of need in a staging environment).&lt;/p&gt;</description>
                <environment></environment>
            <key id="11620">DCOM-12</key>
            <summary>Annotation caching causes application instance mixups</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="jkleijn">John Kleijn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Jul 2010 10:18:54 +0000</created>
                <updated>Tue, 13 Jul 2010 12:51:29 +0000</updated>
                    <resolved>Tue, 13 Jul 2010 12:51:29 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                <version>2.0.0-BETA3</version>
                <version>2.0.0-BETA4</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13576" author="jkleijn" created="Tue, 13 Jul 2010 10:48:37 +0000"  >&lt;p&gt;Confused &quot;fix&quot; with &quot;affects&quot;, sorry&lt;/p&gt;</comment>
                    <comment id="13577" author="romanb" created="Tue, 13 Jul 2010 12:30:46 +0000"  >&lt;p&gt;Why not just use the namespacing facilities of the cache drivers?&lt;/p&gt;</comment>
                    <comment id="13580" author="jkleijn" created="Tue, 13 Jul 2010 12:50:57 +0000"  >&lt;p&gt;Cause I didn&apos;t read the caching docs?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-11] Impossible to skip annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-11</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;It is currently impossible to skip annotations of the form:&lt;br/&gt;
@annotation(&lt;/p&gt;

&lt;p&gt;When a doc block comment begins with an &quot;@&quot; and has an open parenthesis it is assumed to be an exist annotation even if the corresponding annotation class doesn&apos;t exist or can&apos;t be autoloaded.  If you are trying to use the AnnotationReader on a file, you have to make sure all annotations are loaded or can be autoloaded - even the ones you don&apos;t care about&lt;/p&gt;

&lt;p&gt;In a comment to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-2&quot; title=&quot;Annotation and autoloading&quot;&gt;&lt;del&gt;DCOM-2&lt;/del&gt;&lt;/a&gt;, Roman stated that his recommended way to load annotations is to load them manually via a require call.  This is done in Doctrine ORM and is absolutely necessary because ORM annotations are stored in an autoloader unfriendly way (multiple classes per file and namespace path different from filesystem path).&lt;/p&gt;

&lt;p&gt;So, if I want to add my own annotations and store them in a non-autoloader friendly way as Doctrine ORM does, I need to ensure that every AnnotationReader acting on that file knows about my annotations.  This is not always possible or desirable.&lt;/p&gt;

&lt;p&gt;Removing the parenthesis check and relying solely on class_exists fixes this problem.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11599">DCOM-11</key>
            <summary>Impossible to skip annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="blt04">Brandon Turner</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Jul 2010 18:26:02 +0000</created>
                <updated>Mon, 2 Aug 2010 17:28:15 +0000</updated>
                    <resolved>Mon, 2 Aug 2010 09:56:11 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                <fixVersion>2.0.0-BETA4</fixVersion>
                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="13586" author="merk" created="Thu, 15 Jul 2010 05:27:49 +0000"  >&lt;p&gt;I have come across another case where this bug causes a fatal PHP Error when you nest a non existant annotation:&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@Name&lt;/li&gt;
	&lt;li&gt;@NonExistant(&lt;/li&gt;
	&lt;li&gt;@InnerNonexistant(32)&lt;/li&gt;
	&lt;li&gt;)&lt;br/&gt;
 */&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;PHP Fatal error:  Doctrine\Common\ClassLoader::loadClass(): Failed opening required &apos;Doctrine/Tests/Common/Annotations/InnerNonexistant.php&apos;&lt;/p&gt;

&lt;p&gt;Test case and fix provided in github: &lt;a href=&quot;http://github.com/merk/common/commit/95388a5febee95dc0483cf35d991b2b227e89069&quot; class=&quot;external-link&quot;&gt;http://github.com/merk/common/commit/95388a5febee95dc0483cf35d991b2b227e89069&lt;/a&gt;&lt;/p&gt;
</comment>
                    <comment id="13593" author="jwage" created="Fri, 16 Jul 2010 13:13:34 +0000"  >&lt;p&gt;Roman, what are your thoughts on this issue? It has been a problem for us with the Symfony integration.&lt;/p&gt;</comment>
                    <comment id="13745" author="jwage" created="Sat, 31 Jul 2010 14:00:58 +0000"  >&lt;p&gt;Brandon, can you help me understand better? In your case why is the class not present and why can it not be autoloaded?&lt;/p&gt;</comment>
                    <comment id="13748" author="romanb" created="Sat, 31 Jul 2010 14:18:19 +0000"  >&lt;p&gt;@&quot;Removing the parenthesis check and relying solely on class_exists fixes this problem.&quot;&lt;/p&gt;

&lt;p&gt;The main problem with such an approach is that an AnnotationReader works (and caches) under the assumption that all annotations of a doc-block are processed at once. That means the &quot;undefined&quot; annotations would never be visible and not accessible if a cache is used unless the cache is cleared and the annotations requested again, this time with all annotations defined.&lt;/p&gt;</comment>
                    <comment id="13749" author="blt04" created="Sat, 31 Jul 2010 14:26:45 +0000"  >&lt;p&gt;Let&apos;s say I&apos;m writing an extension that supports annotations.  I want my extension to work on the same entity classes that Doctrine ORM uses.  It is not possible to hook in to the ORM to read my annotations (&lt;a href=&quot;http://groups.google.com/group/doctrine-dev/browse_thread/thread/4d478a32f8a12a57/c3fce8707becce5c?lnk=gst&amp;amp;q=brandon#c3fce8707becce5c&quot; class=&quot;external-link&quot;&gt;http://groups.google.com/group/doctrine-dev/browse_thread/thread/4d478a32f8a12a57/c3fce8707becce5c?lnk=gst&amp;amp;q=brandon#c3fce8707becce5c&lt;/a&gt;) so I will need to do it with my own code.  That is fine, but I&apos;ve got three problems:&lt;/p&gt;

&lt;p&gt;1) When I process my annotations, I have to make sure I load all the annotation classes needed by Doctrine ORM.  This is simple and easy.&lt;/p&gt;

&lt;p&gt;2) When Doctrine ORM trys to process entities with my custom annotations, it needs to be able to load my extension&apos;s annotation classes.  How does it know about them (if not autoloading)&lt;/p&gt;

&lt;p&gt;3) What happens if someone else writes an extension that uses custom annotations.  And say a user wants a single entity to implement my extension, another extension, and of course Doctrine ORM.  Now all three need to know about each other.&lt;/p&gt;

&lt;p&gt;Now we could make all classes able to be autoloaded and that may fix the problem, but Roman recommends against that here: &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-2?focusedCommentId=13070&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_13070&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DCOM-2?focusedCommentId=13070&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_13070&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So in summary, the annotation class would be present when &lt;b&gt;I&lt;/b&gt; process the entity, but not when Doctrine ORM does.&lt;/p&gt;</comment>
                    <comment id="13754" author="romanb" created="Sun, 1 Aug 2010 07:48:58 +0000"  >&lt;p&gt;After some discussion, the current consensus is that we will apply the suggested change and clearly document how caching works with an AnnotationReader.&lt;/p&gt;</comment>
                    <comment id="13758" author="jwage" created="Mon, 2 Aug 2010 09:56:11 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;http://github.com/doctrine/common/commit/5c90f7b513579bf14603621564db6b4da3fd5665&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/5c90f7b513579bf14603621564db6b4da3fd5665&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Commit updating the documentation is coming today.&lt;/p&gt;</comment>
                    <comment id="13761" author="jwage" created="Mon, 2 Aug 2010 17:28:15 +0000"  >&lt;p&gt;Added docs for annotations here: &lt;a href=&quot;http://github.com/doctrine/common-documentation/commit/896cc3bace84b6dc891a3d050a425fc99249359e&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common-documentation/commit/896cc3bace84b6dc891a3d050a425fc99249359e&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10694" name="0001-Always-look-for-Annotation-class.patch" size="1083" author="blt04" created="Thu, 8 Jul 2010 18:26:02 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-10] The annotation parser isn&apos;t EBNF compliant</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-10</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The EBNF allows passing multiple comma-separated annotations to an annotation:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Annotation ::= &lt;span class=&quot;code-quote&quot;&gt;&quot;@&quot;&lt;/span&gt; AnnotationName [&lt;span class=&quot;code-quote&quot;&gt;&quot;(&quot;&lt;/span&gt; [Values] &lt;span class=&quot;code-quote&quot;&gt;&quot;)&quot;&lt;/span&gt;]
Values ::= Array | Value {&lt;span class=&quot;code-quote&quot;&gt;&quot;,&quot;&lt;/span&gt; Value}*
Value ::= PlainValue | FieldAssignment
PlainValue ::= integer | string | &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; | &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; | Array | Annotation
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Therefore the following should be possible.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name(@Foo, @Bar) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This results in an error though.&lt;/p&gt;

&lt;p&gt;IMO,&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name(@Foo, @Bar) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;should be equivalent to&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name({@Foo, @Bar}) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;just like&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name(foo = &lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;, bar = &lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;is equivalent to&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name({foo = &lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;, bar = &lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;}) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>PHP 5.3.2, Linux Ubuntu 10.04</environment>
            <key id="11581">DCOM-10</key>
            <summary>The annotation parser isn&apos;t EBNF compliant</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="bschussek">Bernhard Schussek</reporter>
                        <labels>
                    </labels>
                <created>Sun, 4 Jul 2010 07:13:03 +0000</created>
                <updated>Wed, 16 Feb 2011 22:22:39 +0000</updated>
                    <resolved>Wed, 16 Feb 2011 22:22:39 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                                                <component>Annotations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="13505" author="bschussek" created="Sun, 4 Jul 2010 07:16:31 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;http://github.com/bschussek/doctrine-common/tree/DCOM-10&quot; class=&quot;external-link&quot;&gt;http://github.com/bschussek/doctrine-common/tree/DCOM-10&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="13506" author="bschussek" created="Sun, 4 Jul 2010 07:31:17 +0000"  >&lt;p&gt;As I&apos;ve just noticed, the statement that &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name(foo = &lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;, bar = &lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;equals&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @Name({foo = &lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;, bar = &lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;}) */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;is wrong. The first does field assignments, the second stores the array in the &quot;value&quot; field.&lt;/p&gt;

&lt;p&gt;Nevertheless, either Doctrine&apos;s implementation (as per my commit) or the EBNF have to be updated.&lt;/p&gt;</comment>
                    <comment id="15323" author="guilhermeblanco" created="Tue, 15 Feb 2011 23:22:04 +0000"  >&lt;p&gt;Your branch added another vulnerability, so I cannot merge.&lt;/p&gt;

&lt;p&gt;The problem appears when you do this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;@Name(@Foo, {bar=&lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;})
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;What would you expect on this situation? I&apos;d imagine this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;array(
    0 =&amp;gt; object&amp;lt;Foo&amp;gt;,
    1 =&amp;gt; array(
        &apos;bar&apos; =&amp;gt; &apos;bar&apos;
    )
)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But with your patch, the actual result is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;array(
    0 =&amp;gt; object&amp;lt;Foo&amp;gt;,
    &apos;bar&apos; =&amp;gt; &apos;bar&apos;
)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There&apos;s a way to fix it by changing how FieldAssignment returns. Instead of returning an array, it should return return an stdClass.&lt;br/&gt;
Then we could only update the Values grammar accordingly.&lt;/p&gt;

&lt;p&gt;I&apos;ll assign this issue to me, so I can work on it to be EBNF compatible. Too bad it took so many time for us to look at it. =(&lt;/p&gt;</comment>
                    <comment id="15326" author="bschussek" created="Wed, 16 Feb 2011 15:12:31 +0000"  >&lt;p&gt;Yes, I&apos;d expect the first result. Thanks for looking into this, I completely forgot about this issue.&lt;/p&gt;</comment>
                    <comment id="15329" author="guilhermeblanco" created="Wed, 16 Feb 2011 22:22:39 +0000"  >&lt;p&gt;This issue was fixed in: &lt;a href=&quot;https://github.com/doctrine/common/commit/4210fbd8b261c000c793461c4f815b4d43bcc362&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/4210fbd8b261c000c793461c4f815b4d43bcc362&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks a lot for the bug report.&lt;br/&gt;
EBNF and Code are now compliant with each other. Took some time to be fixed, but here it is. =)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-9] Annotation mapper tries to parse PHPDocblock annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-9</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;In the upgrade from DC2 beta1 to beta2 the annonation mapper now starts to try and parse a some of the PHPDocblock annotations such as @package @subpackage but also the email adress in @author&lt;/p&gt;

&lt;p&gt;Example of docblock&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/**
 * @author Antoine Hedgecock &amp;lt;antoine@pmg.se&amp;gt;
 * @version 1.0.0
 */


/**
 * @&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt; Models
 * @subpackage Default
 * 
 * @Entity(repositoryClass=&lt;span class=&quot;code-quote&quot;&gt;&quot;Default_Model_Mapper_Category&quot;&lt;/span&gt;)
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;categories&quot;&lt;/span&gt;)
 * @InheritanceType(&lt;span class=&quot;code-quote&quot;&gt;&quot;SINGLE_TABLE&quot;&lt;/span&gt;)
 * @DiscriminatorColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;type&quot;&lt;/span&gt;, type=&lt;span class=&quot;code-quote&quot;&gt;&quot;smallint&quot;&lt;/span&gt;)
 * @DiscriminatorMap({
 *  &lt;span class=&quot;code-quote&quot;&gt;&quot;0&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;Project_Model_Category&quot;&lt;/span&gt;
 * })
 */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;will cause it to try and load &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Doctrine/ORM/Mapping/package.php&lt;br/&gt;
Doctrine/ORM/Mapping/subpackage.php&lt;br/&gt;
Doctrine/ORM/Mapping/pmg.php&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;note pmg because its in the email of the author annotation&lt;/p&gt;</description>
                <environment>OS: Ubuntu, PHP version: 5.3.2</environment>
            <key id="11504">DCOM-9</key>
            <summary>Annotation mapper tries to parse PHPDocblock annotations</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="mac_nibblet">Antoine Hedgecock</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jun 2010 08:37:29 +0000</created>
                <updated>Wed, 16 Jun 2010 10:41:32 +0000</updated>
                    <resolved>Wed, 16 Jun 2010 10:41:32 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                                <fixVersion>2.0.0-BETA3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13338" author="romanb" created="Wed, 16 Jun 2010 08:45:45 +0000"  >&lt;p&gt;Please try with the latest version of Doctrine Common &lt;a href=&quot;http://github.com/doctrine/common&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See also &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-8&quot; title=&quot;Annotation Parser tries to Load Classes that don&amp;#39;t exist&quot;&gt;&lt;del&gt;DCOM-8&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="13341" author="mac_nibblet" created="Wed, 16 Jun 2010 08:57:47 +0000"  >&lt;p&gt;After comparing the source code version i found the following changes that could cause the issue&lt;/p&gt;

&lt;p&gt;Line 249 in Beta2&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;lookahead != &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; ! $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;lexer-&amp;gt;isNextToken(Lexer::T_OPEN_PARENTHESIS) &amp;amp;&amp;amp; ! &lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;::classExists($name)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="13344" author="romanb" created="Wed, 16 Jun 2010 10:41:32 +0000"  >&lt;p&gt;Fixed in the beta3 release that is already out now.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-8] Annotation Parser tries to Load Classes that don&apos;t exist</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-8</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;If i add the Annotation Tag @ignore to my model the Parser tries to load the Mapping class for that property. Since this class doesn&apos;t exist it fails with a fatal error.&lt;/p&gt;

&lt;p&gt;I attached the stripped down Entity with the @ignore annotation, the Error Text and a Possible Solution&lt;/p&gt;

&lt;p&gt;Greetings Marc&lt;/p&gt;</description>
                <environment></environment>
            <key id="11488">DCOM-8</key>
            <summary>Annotation Parser tries to Load Classes that don&apos;t exist</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="mneuhaus">Marc Neuhaus</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jun 2010 08:32:59 +0000</created>
                <updated>Mon, 14 Jun 2010 09:13:07 +0000</updated>
                    <resolved>Mon, 14 Jun 2010 09:13:07 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                                <fixVersion>2.0.0-BETA3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13307" author="romanb" created="Mon, 14 Jun 2010 09:13:07 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;http://github.com/doctrine/common/commit/f34d581f646b3d9b5f06c6c081ac3e568d8496ff&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/f34d581f646b3d9b5f06c6c081ac3e568d8496ff&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10646" name="Error.txt" size="565" author="mneuhaus" created="Mon, 14 Jun 2010 08:32:59 +0000" />
                    <attachment id="10647" name="Possible Solution.diff" size="699" author="mneuhaus" created="Mon, 14 Jun 2010 08:32:59 +0000" />
                    <attachment id="10648" name="Tag.php" size="371" author="mneuhaus" created="Mon, 14 Jun 2010 08:32:59 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-7] Slight Refactor of ClassLoader</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-7</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;This is a rather trivial issue: I&apos;d like to add a function to the Common\ClassLoader called getClassPath($className) or something named similarly so that we are able to find where an autoloader will look for the specified class. The autoloader doesn&apos;t check for file existence normally (as it shouldn&apos;t) but there are cases where the developer does need to make sure that the file exists before a class is attempted to be loaded.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a patch for the changes that I&apos;m proposing.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11322">DCOM-7</key>
            <summary>Slight Refactor of ClassLoader</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="mridgway">Michael Ridgway</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 May 2010 09:27:57 +0000</created>
                <updated>Sun, 13 Jun 2010 07:23:58 +0000</updated>
                    <resolved>Sun, 13 Jun 2010 07:23:58 +0000</resolved>
                                            <fixVersion>2.0.0-BETA2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="12858" author="romanb" created="Thu, 6 May 2010 09:45:31 +0000"  >&lt;p&gt;We have another idea for these issues (basically for the issue of using class_exists(..., true) and your new method may even complement this nicely. I will let you know what I mean here soon.&lt;/p&gt;</comment>
                    <comment id="13288" author="romanb" created="Sun, 13 Jun 2010 07:23:58 +0000"  >&lt;p&gt;There is now ClassLoader#classExists as well as ClassLoader#getClassLoader available.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10594" name="patch.diff" size="1194" author="mridgway" created="Thu, 6 May 2010 09:27:57 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-6] Non existant namespace alias throws a PHP Notice </title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-6</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;@nonalias:Annot results in a php notice.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="11419">DCOM-6</key>
            <summary>Non existant namespace alias throws a PHP Notice </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="merk">Tim Nagel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 May 2010 04:37:37 +0000</created>
                <updated>Wed, 1 Sep 2010 13:13:34 +0000</updated>
                    <resolved>Wed, 1 Sep 2010 13:13:34 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                                <fixVersion>2.0.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13068" author="merk" created="Thu, 27 May 2010 04:46:10 +0000"  >&lt;p&gt;Proposed tests and fix&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://github.com/merk/common/commit/65e8c10b74201c39dbe291c36230205d9b08ed65&quot; class=&quot;external-link&quot;&gt;http://github.com/merk/common/commit/65e8c10b74201c39dbe291c36230205d9b08ed65&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="14208" author="guilhermeblanco" created="Tue, 31 Aug 2010 22:43:00 +0000"  >&lt;p&gt;In commit: &lt;a href=&quot;http://github.com/doctrine/common/commit/ad49a676269af368563bd9a848c904b81a825622&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/common/commit/ad49a676269af368563bd9a848c904b81a825622&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I fixed this issue.&lt;br/&gt;
The validation on unexistent classes cannot be done correctly, otherwise it&apos;d conflict with phpDoc tags.&lt;/p&gt;</comment>
                    <comment id="14209" author="merk" created="Tue, 31 Aug 2010 23:03:57 +0000"  >&lt;p&gt;What will your change do if there are multiple implementations of the Reader working on entities that dont have common namespaces, but still use namespaces?&lt;/p&gt;

&lt;p&gt;Would it not make more sense to skip something that the Reader doesnt understand, rather than throwing an error?&lt;/p&gt;

&lt;p&gt;(For example, Symfony2&apos;s validator system might have namespaced validators, which would then cause the &apos;Doctrine&apos; reader to throw an exception)&lt;/p&gt;
</comment>
                    <comment id="14217" author="guilhermeblanco" created="Wed, 1 Sep 2010 13:06:56 +0000"  >&lt;p&gt;Yes, you&apos;re right...&lt;/p&gt;

&lt;p&gt;I think we&apos;ll have to silently bypass unknown aliases... this makes debug harder, but we don&apos;t have any other option. =(&lt;/p&gt;

&lt;p&gt;Reopening it&lt;/p&gt;</comment>
                    <comment id="14218" author="beberlei" created="Wed, 1 Sep 2010 13:13:34 +0000"  >&lt;p&gt;Fixed to skip the unknown alias annotation.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-4] Cannot use namespace separator and namespace alias at the same time for annotations</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-4</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;In the function Annotation() in \Doctrine\Common\Annotations\Parser.php (~line 225)&lt;/p&gt;

&lt;p&gt;There is a check for how many $nameParts there are, and the doctrine code will only append the namespace aliases if there are no namespace separators.&lt;/p&gt;

&lt;p&gt;There is also an argument against modification since the user of the code could just define more namespace aliases, but I feel that it should be able to cope with a namespace alias and a namespace separator at the same time.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11336">DCOM-4</key>
            <summary>Cannot use namespace separator and namespace alias at the same time for annotations</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="merk">Tim Nagel</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 May 2010 04:54:39 +0000</created>
                <updated>Mon, 24 May 2010 08:38:09 +0000</updated>
                    <resolved>Mon, 24 May 2010 08:38:09 +0000</resolved>
                                            <fixVersion>2.0.0-BETA2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="12881" author="beberlei" created="Sun, 9 May 2010 05:28:30 +0000"  >&lt;p&gt;From our discussion on IRC, the problems here are:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Annotations that don&apos;t have classes don&apos;t really throw an appropriate exception (error message)&lt;/li&gt;
	&lt;li&gt;The \ separator inside an annotation does not throw an appropriate exception.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    <comment id="13053" author="merk" created="Mon, 24 May 2010 04:28:04 +0000"  >&lt;p&gt;Proposed solution to the namespace separators: &lt;a href=&quot;http://github.com/merk/common/commit/b31166c6a85235e03935a4b41f5a54aa478f6c6b&quot; class=&quot;external-link&quot;&gt;http://github.com/merk/common/commit/b31166c6a85235e03935a4b41f5a54aa478f6c6b&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am unsure about throwing exception messages or doing anything too fancy in this area since there will be instances where other annotations are used for other purposes (phpdoc, etc) where you only want to ignore them.&lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-3] Public value property in Base annotation class</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-3</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;1) If our annotation doesn&apos;t need any parameters, it stll can accept one (&apos;value&apos;).&lt;br/&gt;
2) We can intercept set and get of annotation properties via __set and __get methods which is not final, but not for &apos;value&apos;.&lt;br/&gt;
Example of interception&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;class Annotation extends \Doctrine\Common\Annotations\Annotation
{

    private $someProperty;
    
    public function __set($name, $value)
    {
        $setMethod = &apos;set&apos; . ucfirst($name);
        if (method_exists($this, $setMethod)) {
            return $this-&amp;gt;{$setMethod}($value);
        }
        return parent::__set($name, $value);
    }
    
    public function __get($name)
    {
        $getMethod = &apos;get&apos; . ucfirst($name);
        if (method_exists($this, $getMethod)) {
            return $this-&amp;gt;{$getMethod}();
        }
        return parent::__get($name);
    }

    public function getSomeProperty()
    {
        //some logic
        return $this-&amp;gt;someProperty;
    }

    protected function setSomeProperty($someProperty)
    {
        //some logic
        $this-&amp;gt;someProperty = $someProperty;
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="11255">DCOM-3</key>
            <summary>Public value property in Base annotation class</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="chebba">Kirill chEbba Chebunin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Apr 2010 02:08:22 +0000</created>
                <updated>Mon, 14 Jun 2010 09:14:45 +0000</updated>
                    <resolved>Mon, 14 Jun 2010 09:14:45 +0000</resolved>
                                            <fixVersion>2.0.0-BETA2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="12728" author="beberlei" created="Thu, 22 Apr 2010 03:12:36 +0000"  >&lt;p&gt;Why is this even relevant? can&apos;t you just ignore the value property?&lt;/p&gt;</comment>
                    <comment id="12729" author="romanb" created="Thu, 22 Apr 2010 05:22:53 +0000"  >&lt;p&gt;I think there is something not clear here. __get and __set on Annotation are not used to set or get values but to intercept calls to non-existant values.&lt;br/&gt;
Annotations are populated through their constructors.&lt;/p&gt;

&lt;p&gt;Second, you don&apos;t need to extend from Annotation (not in HEAD at least). Any class can be used as an annotation as long as it has a constructor that takes an array with values.&lt;/p&gt;

&lt;p&gt;Annotation values are set through the constructor, not through setters or public properties. This allows you to even use immutable classes as annotations:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;class MyClass {
     &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; $a, $b;
     &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct(array $values) {
          $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;a = $values[&apos;a&apos;];
          $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;b = $values[&apos;b&apos;];
     }
    &lt;span class=&quot;code-comment&quot;&gt;//... only getters...
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @MyClass(a=&lt;span class=&quot;code-quote&quot;&gt;&quot;Hello&quot;&lt;/span&gt;, b=&lt;span class=&quot;code-quote&quot;&gt;&quot;World&quot;&lt;/span&gt;) */
class Other {
    &lt;span class=&quot;code-comment&quot;&gt;//...
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The default &quot;value&quot; will still be in $values&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;value&amp;#39;&amp;#93;&lt;/span&gt; if set. So this should work, too:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;class MyClass {
     &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; $value;
     &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct(array $values) {
          $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;value = $values[&apos;value&apos;];
     }
    &lt;span class=&quot;code-comment&quot;&gt;//...
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/** @MyClass(&lt;span class=&quot;code-quote&quot;&gt;&quot;Hello World&quot;&lt;/span&gt;) */
class Other {
    &lt;span class=&quot;code-comment&quot;&gt;//...
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="12730" author="romanb" created="Thu, 22 Apr 2010 05:25:53 +0000"  >&lt;p&gt;So my suggestion would be: Just don&apos;t extend from Doctrine\Common\Annotations\Annotation and you don&apos;t have the public $value property.&lt;/p&gt;</comment>
                    <comment id="12732" author="chebba" created="Thu, 22 Apr 2010 05:36:46 +0000"  >&lt;p&gt;Oh, i got it. It was my miss, because there was subclass checking in previous versions.&lt;br/&gt;
Also, is it a good idea not to have some base class or interface for all annotations, may be it will be better to have an interface with a constructor? based on this restriction &lt;br/&gt;
&quot;Any class can be used as an annotation as long as it has a constructor that takes an array with values&quot;. Of course using constructors in interfaces not really good, but if we have such restriction...&lt;br/&gt;
For example &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; SomeCommonAnnotationInterface
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct(array $values);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DCOM-2] Annotation and autoloading</title>
                <link>http://www.doctrine-project.org/jira/browse/DCOM-2</link>
                <project id="10043" key="DCOM">Doctrine Common</project>
                        <description>&lt;p&gt;The problem is that we need to load all annnotation classes before we read annotations from the target class.&lt;br/&gt;
So we need to require_once them at target class source, or just before reading.&lt;br/&gt;
It&apos;s not cool.&lt;/p&gt;

&lt;p&gt;The reason of this, is a fix of bug #77&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-77&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-77&lt;/a&gt;&lt;br/&gt;
and class_exists(..., false).&lt;/p&gt;

&lt;p&gt;Solutions:&lt;br/&gt;
1. Filter DocBlockTags, and think that all other @foo string is annotations (don&apos;t check with class_exists)&lt;br/&gt;
2. Use class_exists(..., true) but supress warnings with @ and try/catch operators.&lt;/p&gt;

&lt;p&gt;May be there are some another, better solutions.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11249">DCOM-2</key>
            <summary>Annotation and autoloading</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="chebba">Kirill chEbba Chebunin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Apr 2010 13:09:12 +0000</created>
                <updated>Mon, 14 Jun 2010 09:11:31 +0000</updated>
                    <resolved>Mon, 14 Jun 2010 09:11:31 +0000</resolved>
                                            <fixVersion>2.0.0-BETA3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="12731" author="romanb" created="Thu, 22 Apr 2010 05:34:32 +0000"  >&lt;p&gt;The class_exists check can maybe be removed altogether since is_subclass_of is no longer used.&lt;/p&gt;</comment>
                    <comment id="13054" author="merk" created="Mon, 24 May 2010 04:52:45 +0000"  >&lt;p&gt;Would removing the second parameter to class_exists solve the problem sufficiently?&lt;/p&gt;

&lt;p&gt;I would thing you would have to leave the class_exists check in, otherwise it will try to parse annotations that do not resolve to class names?&lt;/p&gt;</comment>
                    <comment id="13067" author="merk" created="Thu, 27 May 2010 04:32:59 +0000"  >&lt;p&gt;Changed:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://github.com/merk/common/commit/152fdecf11b7999262df0410b5584951de5191b3&quot; class=&quot;external-link&quot;&gt;http://github.com/merk/common/commit/152fdecf11b7999262df0410b5584951de5191b3&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="13069" author="romanb" created="Thu, 27 May 2010 05:28:01 +0000"  >&lt;p&gt;The fundamental problem with class_exists($blub) (which is the same as class_exists($blub, true) is that it basically &lt;b&gt;requires&lt;/b&gt; a class loader / autoloader that fails silently when a class file does not exist, which means it must use costly file_exists checks before loading &lt;b&gt;any&lt;/b&gt; class. The Doctrine\Common\ClassLoader does (on purpose) not check for file existance. If the class loader is responsible for a particular class and it is requested to load it, failing to do so is (and should be) a fatal error.&lt;/p&gt;

&lt;p&gt;We consider the fact that two responsibilities are mixed here, a) (auto)loading a class file and b) checking for the existance of a class (file), to be a design flaw in class_exists / autoloading. It means that you are required to check for file existance in a class loader and fail silently if the file does not exist which is completely unnecessary in 99% of the cases. Compare how many times class_exists(..., true) is usually used in a single request and how many classes, in total, are usually loaded per request. So just for the case that some code might use an occasional class_exists(..., true) check you have to check each single file for existance before loading it (and you must fail silently, it might be a class_exists check!).&lt;/p&gt;

&lt;p&gt;Even more, in a case where you really only want to check for class (file) existance, but you dont actually want to load it, you can&apos;t! class_exists(..., true) when the class file exists results in loading the class file, even if its completely unnecessary.&lt;/p&gt;

&lt;p&gt;We are planning to come up with a better approach that separates the 2 concerns.&lt;/p&gt;

&lt;p&gt;This is related to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-7&quot; title=&quot;Slight Refactor of ClassLoader&quot;&gt;&lt;del&gt;DCOM-7&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    <comment id="13070" author="romanb" created="Thu, 27 May 2010 05:30:37 +0000"  >&lt;p&gt;The recommended approach for annotations by the way, (recommended by me), is to load them manually via a require call. The ORM does exactly this. If you rely on class_exists(..., true) and silently failing autoloaders, this becomes costly considering how often class_exists would be invoked while parsing annotations.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>