> ask questions like "should there be a FIG standard for defining generics
types, or is the current status of PHPStan and Psalm having slightly
different versions acceptable?"

I think you hit the nail on the head there Larry. While PhpStan and Psalm
have similar standards that differ for their own use cases, there are
others that also want to contribute to this space.

For example, Ryan Chandler is building a subset of PHP in Rust. He is also
building tooling for PHP in Rust, and mentioned static analysis several
times. If there was a PSR for generics etc, it would enable the wider
community structured guidance for anything they wanted to work on.

PhpDocs are slowly becoming less and less valuable as attributes become the
norm. Having PSRs in place to handle the move from doc blocks to whatever
is next, would be a good move by the FIG

Kind Regards
Steve McDougall

On Fri, 22 Mar 2024, 01:49 , <[email protected]> wrote:

> [email protected]
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/topics>
>  Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Topic digest
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/topics>
>
>    - Digest for [email protected] - 1 update in 1 topic
>    <#m_8657885140353798039_group_thread_0> - 1 Update
>
> Digest for [email protected] - 1 update in 1 topic
> <http://groups.google.com/group/php-fig/t/ac18f0b8b9f4d812?utm_source=digest&utm_medium=email>
> "Larry Garfield" <[email protected]>: Mar 21 04:31PM
>
> On Wed, Mar 20, 2024, at 5:43 PM, Jaap van Otterdijk wrote:
>
> > But I'm open to talking about this topic.
>
> > Regards
> > Jaap
>
> Clarification: PSR-5/19 were proposed as a way to standardize and update
> the old phpdoc convention, which *currently has no official standard*. That
> effort has stalled numerous times over the last decade, for various reasons.
>
> The landscape has also changed in that time, such that attributes can now
> replace virtually all library-specific doc tags, and the language's ability
> to represent types now covers basically everything except array shapes and
> generics. That makes the relevant scope for PSR-5 much smaller, but also
> means it should ask questions like "should there be a FIG standard for
> defining generics types, or is the current status of PHPStan and Psalm
> having slightly different versions acceptable?" (I am not answering that
> question now, just noting it as the sort of thing the WG should discuss.)
>
> --Larry Garfield
> Back to top <#m_8657885140353798039_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to [email protected].
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/CACB5p2u_b%2BMu-vEHnu3RW4zES6KUAZW_kazfo-Znf%3Dhh%3Dte9Lw%40mail.gmail.com.
  • Re: Diges... 'Martin at MHCreations' via PHP Framework Interoperability Group

Reply via email to