Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Uses inside Comment are threat as unused
Uses inside Comment are threat as unused [message #1774697] Wed, 18 October 2017 16:47
Hans Mackowiak is currently offline Hans MackowiakFriend
Messages: 2
Registered: October 2017
Junior Member
for example if i got a symfony Entity

<?php
namespace Bundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Bundle\Entity\X;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity
 */
class Y
{
    /**
     * @ORM\Column(name="email", type="string", nullable=true)
     * @Assert\Email()
     * @var string
     */
    protected $email;
    /**
     * @var X $x
     */
    protected $x;
}


all three uses are threat as not used because it does'nt detect them as used inside comments as Annotations
Previous Topic:import existing project from remote server and sync it later on
Next Topic:PHP Code that worked before has stopped working
Goto Forum:
  


Current Time: Fri Apr 26 06:00:54 GMT 2024

Powered by FUDForum. Page generated in 0.02714 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top