annotations icon indicating copy to clipboard operation
annotations copied to clipboard

Annotations Docblock Parser

Results 46 annotations issues
Sort by recently updated
recently updated
newest added

At the moment constant parsing doesn't read `self::` constants and I have a use case where that would be the most practical solution: I would like to pass serialization groups...

Right now when separate test the class: AnnotationReaderTest. Test will fail because it depends other test must run first. I fix that and add some test case.

A parser used to collect parsing metadata basically ignores a known list of globally ignored annotation names, goes through loops checking annotations that do not need any checking. Let's fix...

Hello! My stack: php: 8.0.0 symfony: 5.2 doctrine/orm: 2.8.1 doctrine/doctrine-bundle: 2.2.2 I have the next entitity: ![entity](https://d.radikal.ru/d24/2012/42/2f22392ea15f.jpg) I try to request a user by his login through the repository ```php...

**How to reproduce** Create the following class and traits using doctrine/orm: ```php namespace App\Behaviour; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Embeddable() */ class State { } ``` ```php namespace App\Behaviour;...

I noticed in our codebase after updating to 1.10.1 and removing the deprecated `registerLoader('class_exists')` call that our custom annotations were not recognized anymore. Getting a _"The annotation [...] was never...

### Bug Report | Q | A |------------ | ------ | BC Break | No | Version | All #### Summary I found an error trying to validate the doctrine...

Is there interest in the library in supporting annotations tied to method parameters? I think there are several cases where annotating method parameters would be useful for library developers. Below...

New Feature
can't fix

Apologies if that has already been discussed. In the [php-enum](https://github.com/myclabs/php-enum) project we recently added Psalm annotations (https://github.com/myclabs/php-enum/pull/111). For example `@template T` for generics support. Users are now reporting Doctrine Annotations...

question