What about introducing a new tag? What about @export ?

--
Michele

Il giorno giovedì 9 gennaio 2020 11:45:39 UTC+1, Alexander Makarov ha 
scritto:
>
> That's valid use case for PHP templates and I don't think there's 
> currently a tag for the purpose.
>
> On Tuesday, December 31, 2019 at 8:11:03 PM UTC+3, Michele Locati wrote:
>>
>> 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/8eb2c53b-dc4f-46f4-9620-ecf2500f2423%40googlegroups.com.

Reply via email to