Let's assume this condition:

- we have a PHP file that defines some variables, but don't actually "use" 
them

- another PHP file includes that file, and uses the variables defined there.

Intelligent IDEs would mark the variables in the first file as "unused", 
and the variables in the second file as "undefined".

In the second case, we can add "@var" tags to tell the IDE that those 
variables are actually defined.

But what about the first file? Which tag could be used to tell the IDEs 
that a variable will be used elsewhere?

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/12ea397c-b3e8-4ca6-8884-e00d9676c5e3%40googlegroups.com.
  • [PSR-19] Tag ... Michele Locati
    • Re: [PSR... 'Alexander Makarov' via PHP Framework Interoperability Group

Reply via email to