3 weeks ago I created 3 PRs at https://github.com/php-fig/log-test/pulls. no reviewed yet... 🥲 I'd like to have someone of the @phpfig members check this out. #phpfig
Pull requests · php-fig/log-test

Repository for fig/log-test. Contribute to php-fig/log-test development by creating an account on GitHub.

GitHub
If #PHPFIG, I think it’d work like a registry (like the IANA registries that IETF RFCs can create). A PSR would define the registry & process for adding attributes to it. That could allow changes in a much more fluid way. #PHP

I think some collection of community-approved attributes might be beneficial for PHP.

I’m thinking in terms of attributes like `#[Internal]` that might not make sense to add directly to the language but would be good to have so that static analysis tools and IDEs could standardize on them (like with phpdoc annotations).

Is this something @phpfig would take on? If not them, who?

#PHP #PHPFIG

"Users can provide both encoded and decoded query characters. Implementations ensure the correct encoding as outlined in getQuery()." —UriInterface, PSR-7

If I'm building a library that uses PSR-7 interfaces, how do I know whether I can provide encoded or decoded query characters to the implementation, since my library doesn't know what implementation(s) it's dealing with?

#PHP #PHPFIG #PSR7

OMG! WTF kind of AI abomination is this?!

https://www.youtube.com/watch?v=ZnoRf9o9YUI

#PHP #PSR7 #PHPFIG

PSR 7 Tutorial Simplifying HTTP Messages with PHP FIG

YouTube

I've made a few small changes to this draft and have updated it to 0.2.1. It's only been 2 years and 4 months since the 0.1.0 draft. 😳

Maybe I should try to do something with this, like approach #PHPFIG about it. I'm just not sure I have the energy to do much more than present a draft.

https://php-identifier.readthedocs.io/en/0.2.1/

Common Interfaces and Factories for Identifiers — identifier/identifier 0.2.1 Manual

Hey #PHP. When you use union and intersection types, do you include spaces?

(RT for reach, etc. This is survey data for @phpfig. If you know of any official policies by major projects already, please note/link in the replies.)

#codingstyle #phpfig

Foo|Bar, Foo&Bar, (Foo&Bar)|Baz
59.4%
Foo | Bar, Foo & Bar, (Foo & Bar) | Baz
39.6%
Other (specify)
1%
Poll ended at .

@jrf_nl Do you know of any phpcs sniffs that implement the newer #PHPFig PER Coding Style 2.0?

In particular, I'm thinking about: “If a function or method contains no statements or comments (such as an empty no-op implementation or when using constructor property promotion), then the body SHOULD be abbreviated as {} and placed on the same line as the previous symbol, separated by a space.”

And the similar rule for classes.

https://www.php-fig.org/per/coding-style/

PER Coding Style 3.0 - PHP-FIG

We're a group of established PHP projects whose goal is to talk about commonalities between our projects and find ways we can work better together.

@danb @EdGrosvenor If we were able to set up some kind of governance structure like #PHPFig, then we could have community projects apply for “representation,” which would get them a voting seat, but we’d need to define a level of active participation their voter needs to maintain. They’d be the liaison for the project and would need to participate in discussions relevant to their project’s interests.

How does a screen reader read a hashtag that includes an acronym and a pronounceable word, like #PHPFig? I would say this as “P-H-P fig,” for example. How does a screen reader read it? I’d like to make my hashtags as accessible as possible.

#accessibility