PHPStorm – How to fix declaration Not Found ?

I found 3 solutions to this problem

Solution one

-> go to phpStorm->preferences

then select PHP and add your workingspace path into the include path

Solution 2

Got to file->invalidate Caches and choose the option that fits you need

Solution 3 (optional)

Do not forget to get latest file from you git or FTP repository