Crell, (edited ) to php
@Crell@phpc.social avatar

Hey . 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.)

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

Over on the #phpc #communityCornerPodcast we just released an interview with @mbniebergall about his talks at #phptek 2024 and his work with the #phpfig

https://www.phparch.com/podcast/community-corner-mark-niebergall/

ramsey, to random
@ramsey@phpc.social avatar

@jrf_nl Do you know of any phpcs sniffs that implement the newer 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/

ramsey, to php
@ramsey@phpc.social avatar

Let’s get all controversial up in this #PHP

ramsey,
@ramsey@phpc.social avatar

@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.

ramsey, to accessibility
@ramsey@phpc.social avatar

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

ramsey, to php
@ramsey@phpc.social avatar

The @phpfig PSRs should also define the names of the packages that include the interfaces, as well as the name used to indicate implementations of the PSR.

i.e., PSR-17 would include psr/http-factory and psr/http-factory-implementation, so I don’t have to go searching for these names every time.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines