Undefined namespace FixturesBundle symfony project
Hello,
I'm new in symfony and PhpStorm.
All my project dev and production are in remote linux server. (company intranet)
"symfony/website-skeleton my_symfony_project_name" has been installed from ssh terminal with composer on the remote server.
The project is in saved on a bitbucket intranet server as describe below:
bitbucket_repository/my_symfony_project_name
So the git root of the repository is 'bitbucket_repository'
I have PhpStorm installed with git for windows in my windows computer to work on the remote project.
I 'm not allowed to install locally any php or mysql. (company restriction)
With PhpStorm I have created project from git and I have installed php symfony plugin.
PhpStorm deployment tool has been well configured in order to send to the remote sever all local changes.
I'm looking closely to have good synchronisation between local computer and remote because some times project is modify using helpful symfony php bin/console features.
In my code I have a new class UserFixtures extends Fixture with working perfectly, but PhpStorm highlight my code saying Undefined namespace FixturesBundle , Undefined class Fixture...
The namespace App\Entity\User and associated class are ok and all seter,getter methods are well proposed by PhpStorm.
What I need to do to fix it ?
Thanks
请先登录再写评论。
> PhpStorm highlight my code saying Undefined namespace FixturesBundle , Undefined class Fixture
Is it something from Doctrine\Bundle\FixturesBundle\.... ? Do you have a class in question locally? Could you please attach a screenshot showing this class in your project?