<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 26 07:17:22 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/si/jira.issueviews:issue-xml/DCOM-94/DCOM-94.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<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>
</channel>
</rss>