Anahkiasen / underscore-php

A redacted PHP port of Underscore.js with additional functions and goodies – Available for Composer and Laravel
http://anahkiasen.github.com/underscore-php/
1.12k stars 88 forks source link

Annotation @mixin in Arrays needs to be imported #18

Closed stiggg closed 9 years ago

stiggg commented 10 years ago

I get a following error when trying to use version 1.2.2: "[Semantical Error] The annotation "@mixin" in class Underscore\Types\Arrays was never imported. Did you maybe forget to add a "use" statement for this annotation?"

It seems Arrays class needs a correct use statement?

Anahkiasen commented 10 years ago

Who throws that error, is that a PHPDoc error ? You can send a PR for it if your want, I'm having trouble seeing what you mean.

velosipedist commented 9 years ago

i suppose, it is Symfony 2 annotations parser bug. AFAIK @mixin is documented standard PHPDoc tag, therrefore it is Symfony related bug.