sarah, to php
@sarah@phpc.social avatar

Thanks to @phpday for a great conference. Hope to see everybody next year! #php

doefom, to php
@doefom@mastodon.social avatar

8.4 introducing "Property Hooks". This means you will be able to hook into the default read and write behavior of your class properties. The design also allows for more hooks in the future. Really looking forward to this one!

Read more about this feature in the RFC:
https://wiki.php.net/rfc/property-hooks

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

bobmagicii,
@bobmagicii@phpc.social avatar

@Crell remove the old one?!?!?!? i shout yolo unzip that shi on top boiiiiiiiiiiiiii 🤣 🤣 🤣 🤣

velkuns,
@velkuns@phpc.social avatar

@Crell @acelaya I created a deployer component.

I can integrate it in my app to deploy it in production.
I need to have a git repo on the server (mainly for private repo). And it configurable with y'all config.

But with a cli command, the component will:

  • creates an export of given tag
  • extracts it in some place
  • runs composer install
  • can run some other commands
  • copies secret files into app dir
  • create a symlink (for apache)

In case of problem, I redo a symlink on previous version

Schrank, to php
@Schrank@phpc.social avatar

Preparing a talk „from url in browser to first byte“ in context of .
What little, not obvious things, do you think are a good addition?

Like: a correct time is important for proper encryption

heiglandreas,
@heiglandreas@phpc.social avatar

@Schrank And if it's only to say "These also exist but we do not care about them unless you have another 5 hours to spare!"

Schrank,
@Schrank@phpc.social avatar

@heiglandreas @derickr yea, it is hard to find a line. But depending on audience and time slot, it case be totally different. I even have BGP on the list, but don’t know what to do with it yet 😂

sarah, to php
@sarah@phpc.social avatar

Waiting at the airport. Still basking in the post-conference glow. Thanks @phpday!

airwhale,
@airwhale@mastodon.social avatar

@sarah

Ah, just hope you got some time to enjoy that wonderful place.

Safe travels home!

sarah,
@sarah@phpc.social avatar

@airwhale it was lovely.

Now approaching North American airspace.

sarah, to random
@sarah@phpc.social avatar

PHP needs a code of conduct for the project itself. Is there anyone willing to push for an RFC to add one with me?

Alister,
@Alister@mastodon.cloud avatar

@maccath @Crell I found another couple of sites on the same host, and that's got the same spam links added. I think the entire server/Cpanel has been compromised.

kboyd,
@kboyd@phpc.social avatar

@sarah I'm not in a headspace where i can contribute to side projects at the moment, but I do think a CoC would be great. I saw how things went last time around & was not pleased with how some folks reacted to the idea, so I want to speak up and offer a clear thumbs up this time. :)

sarah, to php
@sarah@phpc.social avatar

For those who made my keynote at @phpday, thank you. I worked hard and shared my heart and your warm reception meant the world.

Hope to see you all next year!

mobileatom, to php
@mobileatom@flipboard.com avatar
Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

donatj, to php
@donatj@mastodon.social avatar

You know, while we’re dropping parentheses on things in #PHP I’d like it if we dropped them from control structures like if/for/while

End the argument of

if($foo) {

vs

if ($foo){

once and for all

if $foo {

to rule them all

alessandrolai,
@alessandrolai@phpc.social avatar

@donatj you're skipping the "right" approach, the one with spaces on both sides, which is the one required by PSRs, and PER-CS lately: https://www.php-fig.org/per/coding-style/#5-control-structures

ramsey,
@ramsey@phpc.social avatar

@donatj If you’re arguing over that, you have other problems than language syntax. 😉

sarah, to php
@sarah@phpc.social avatar

Working on a cool new project.

Can't wait to share more details!

#php

tobiaskoengeter, to php German
@tobiaskoengeter@sueden.social avatar

We have released a new library: TypoRules for 🎉

It is not actually new, as we have been working with it for years to enable outstanding in our and applications. What is new is that all functionalities are now available in a bundled form and as .

You can find it at https://github.com/BitAndBlack/typorules

The library currently contains 42 rules and 5 rule sets, with more being added all the time.

Give it a try and let us know how you get on with it! 😇

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@ramsey Not yet, no. The library is currently conceived from the perspective of a designer who has to take care of things like dashes and quotation marks. The rules you mentioned might be a little more difficult to implement, as some of them require context. Something like consistently capitalising the name of a month would of course be easy, but putting certain information in a certain order, for example, would be much more difficult. Do you see a need for this?

ramsey,
@ramsey@phpc.social avatar

@tobiaskoengeter I misunderstood the point of the library, and now I understand why it refers to typography instead of of style. 🙂

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore today's @SymfonyStation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://symfonystation.mobileatom.net/Symfony-Station-Communique-17-May-2024 🇺🇦

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • thenastyranch
  • Durango
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • cisconetworking
  • Youngstown
  • mdbf
  • slotface
  • osvaldo12
  • GTA5RPClips
  • kavyap
  • megavids
  • InstantRegret
  • everett
  • cubers
  • vwfavf
  • normalnudes
  • tacticalgear
  • tester
  • ethstaker
  • khanakhh
  • modclub
  • Leos
  • anitta
  • JUstTest
  • All magazines