doefom , to Random stuff
@doefom@mastodon.social avatar

8.4 is introducing newing up a class and accessing methods, properties, etc. on it without wrapping it in parentheses first. Another useful feature I will probably use on a daily basis. In my daily work with I often need to crawl some content from a website or an API. This feature will make my code a little less cluttered.

Here is the RFC if you want to learn more about it: https://wiki.php.net/rfc/new_without_parentheses

doefom , to Random stuff
@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

sarah , to Random stuff
@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!

tobiaskoengeter , to Random stuff 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! 😇

mobileatom , to Cybersecurity
@mobileatom@flipboard.com avatar
alessandrolai , to Random stuff Italian
@alessandrolai@phpc.social avatar

Just got down from the stage, wow! Thank you for all the questions!

Now after me at is time for @afilina to talk about her adventures in legacy codebase and upgrading them to the newest version!

alessandrolai , to Random stuff Italian
@alessandrolai@phpc.social avatar

In 5 minutes I'll be on stage with my talk " Messenger: the sharpest tool in your toolbox"

Come to see me, and please give me feedback on Joindin!

https://alessandrolai.dev/talks/2024-phpday-symfony-messenger/

mobileatom , to Cybersecurity
@mobileatom@flipboard.com avatar

Today's Payload newsletter is out with the latest Symfony, Drupal, PHP, Cybersecurity, and Fediverse news. If you like what you see please join our list or even make a small donation to help cover our fixed costs. Thanks for reading!

https://newsletter.mobileatom.net/?action=view&data=WzI2LCJlODBjNDRiMDkzY2MiLDEwMywiYWMwYjRlIiwyMiwxXQ&endpoint=view_in_browser&mailpoet_router&utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileat

sarah , to Random stuff
@sarah@phpc.social avatar

Check out my free book, Mastering Object-Oriented PHP, available at https://masteringobjectorientedphp.com

mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
menelion , to Random stuff
@menelion@dragonscave.space avatar

Dear #PHP community! Could someone with power please raise an RFC to make the strict parameter of the in_array() built-in function true by default? It's really annoying to remember putting true as the third parameter every time, and not doing it might potentially lead to weird bugs. Thanks!

mobileatom , to Cybersecurity
@mobileatom@flipboard.com avatar

Symfony Station covers the essential news in the Symfony, PHP, Cybersecurity, and Fediverse development communities with a focus on protecting democracy. Please make a small donation to help cover our out-of-pocket costs. Our labor is provided free of charge to support the communities we write about.

https://liberapay.com/SymfonyStation/donate?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileat

dgoosens , to Random stuff French
@dgoosens@phpc.social avatar
mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
preinheimer , to Random stuff
@preinheimer@phpc.social avatar

Hey PHP Folks, question for you!

Back in the early 2000s, I feel like there was two big PHP development methodologies.

The "Yahoo! System" where they did all their front end in PHP, and had a lot of built in extensions to handle their business logic.

The "Facebook System" that used PHP for everything.

Is anyone still using the Yahoo! system? Do they talk about it much?

ramsey , to Random stuff
@ramsey@phpc.social avatar

I’m really happy the Fediverse has so much community activity and content on it (and tech content, in general).

mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
mobileatom , to News from fediverse
@mobileatom@flipboard.com avatar

Symfony Station Communiqué - 10 May 2024.

https://symfonystation.mobileatom.net/Symfony-Station-Communique-10-May-2024?utm_source=flipboard&utm_medium=activitypub

Posted into Coding is Living @coding-is-living-mobileatom

ramsey , to Random stuff
@ramsey@phpc.social avatar

I was looking at this Sass (SCSS) compiler, written in , and I noticed something very odd.

Under “requires (dev)," it requires two packages, sass/sass-spec and thoughtbot/bourbon, both of which appear to be empty packages, containing only a composer.json file, which has no dependencies.

What’s the purpose of these packages? They otherwise appear suspicious, to me, but I can’t see that they're doing anything nefarious right now—they just appear pointless.

https://packagist.org/packages/scssphp/scssphp

mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
djumaka , to Programming
@djumaka@phpc.social avatar

Guys I need some helping hand. I need some good reading (book/article) on the proper way of writing OOP. I gave a project where we use classes, but they are more used as a package if functions then working like objects. Like a class of only statics, passing around IDs not the real objects of data (this sending SRP down the drain), arrays, generally functional programming with extra steps. I'd fancy even a discussion as I want to slowly explain all that to my teammates
TIA

mobileatom , to Cybersecurity
@mobileatom@flipboard.com avatar
mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
mobileatom , to Random stuff
@mobileatom@flipboard.com avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • supersentai
  • WatchParties
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • Mordhau
  • WarhammerFantasy
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • khanate
  • electropalaeography
  • neondivide
  • fandic
  • All magazines