That sounds like a candidate for PSR-5, not for PSR-12.

On Tuesday, August 10, 2021 at 7:05:01 PM UTC+3 ezimuel wrote:

> Hi,
>
> While working with generated PHP files, I noticed we don't have a specific 
> phpDoc tag to inform us that a file/class/function has been generated.
>
> Right now, I'm using a simple comment like this: 
> https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Endpoints/Count.php#L25
> This information is really important because the generated file should not 
> be edited manually:-)
>
> My proposal is to add a @generated tag for PSR-12 as follows:
> /**
>  * @generated using util/GenerateEndpoints.php script
>  */
>
> What do you think? 
> Thanks!
>
> Regards,
> Enrico Zimuel
> https://zimuel.it
>
>

-- 
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/6d0cbf93-e8e4-4447-83b2-03f5d456a1can%40googlegroups.com.
  • [PSR-12] Prop... Enrico Zimuel
    • Re: [PSR... 'Alexander Makarov' via PHP Framework Interoperability Group

Reply via email to