idea-php-annotation-plugin icon indicating copy to clipboard operation
idea-php-annotation-plugin copied to clipboard

Add PHP annotation support for PhpStorm and IntelliJ

Results 36 idea-php-annotation-plugin issues
Sort by recently updated
recently updated
newest added

Provide Entity / Doctrine Doctrine generator for PHP 8 Attributes ``` /** * @ORM\Entity(repositoryClass=CrossFarmRepository::class) * @ORM\Table(name="cross_farm") */ class CrossFarm {} ``` Based on "a decision" allow generate Attributes instead of...

todo

PhpStorm provides the ability to add a metadata file and describe the expected parameters for methods in it. https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html If we describe the arguments for the [constructor](https://github.com/FriendsOfMagento/module-annotations/blob/e19a52c4e48b6320b3239b1b8a68db18b7912de5/.phpstorm.meta.php#L6-L28), and then when...

todo

The following code doesn't show any usages. ```php // assume there's an annotation called Foo with a public field called "fields" // file StatusEnum.php class StatusEnum { public const ACCEPTED...

``` 2020-01-27 19:10:42,490 [8299698] ERROR - .intellij.psi.PsiReferenceBase - PhpStorm 2019.3.2 Build #PS-193.6015.48 2020-01-27 19:10:42,490 [8299698] ERROR - .intellij.psi.PsiReferenceBase - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 2020-01-27...

I really miss the ability to collapse the code of nested annotations. Such long annotations make it very difficult to fully evaluate the entire code. I don't mean collapsing the...

During checkout of a branch for pull request this plugin is failing due to outdated stub in index Error from the plugin: ![MergeError](https://user-images.githubusercontent.com/50157700/101670332-436c7080-3a10-11eb-836e-c19652cfc60c.gif) Steps leading up to the failure: ![Merge](https://user-images.githubusercontent.com/50157700/101670336-44050700-3a10-11eb-8876-ce0767d6f6b3.gif)...

This feature enables better syntax validation of complex annotations. It detects for example common syntax errors like missing commas in a list or a missing quotation mark. See the test...

I personally love the PHPStorm highlighting off corresponding brackets. Unfortunately this feature does not work for brackets inside PHP Annotations. I've implemented that feature for annotations. Unfortunately I did not...

Hello, I would like PHP Storm to show me if I wrote duplicate annotations. When I write something like... ---------------------------------------------------------------------------- /** * @ORM\Entity(repositoryClass="SomeRepositoryClass") * @ORM\Entity */ class SomeEntityClass ---------------------------------------------------------------------------- ......

For Doctrine annotations I prefer use `::class` constants over strings: ```php namespace App\Entity; use App\Entity\User; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() */ class Post { /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="posts")...