SymfonyUniverse Hot

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

michael, to php
@michael@thms.uk avatar

Got to say: Just been through upgrading an app from 8.1 to 8.3 and it's really nice and painfree.

Very few breaking changes, and the few that are there are stuff that a sensible person would've addressed a long time ago.

Unfortuantely that means that apart from readonly classes, there are also few exciting new things in there. But I guess these also are just point updates after all…

Almost boring 😉 (Not a bad thing! Stability is also nice.)

Crell,
@Crell@phpc.social avatar

@michael As a general rule, "well-behaved" code tends to upgrade very easily and quickly. Code that is not well-behaved... less so.

Mainly that's because older PHP versions allowed all sorts of stupid shit, and the list of allowed stupid shit has been steadily decreasing over the years. The less stupid shit your code does, the easier the upgrade process will be. 🙂

michael,
@michael@thms.uk avatar

@Crell yep I still got scars from when I upgraded my very first ever PHP application from 3 to 5. I was a kid when I started writing that app, so it definitely was full of stupid shit (still is, to be honest: always only ever stuck on band aids - the full rewrite is finally planned for later this year), so the upgrade was beyond hard.

But yeah, since then I’ve learned how to code properly (I think) so upgrades tend to be a lot simpler.

That first experience traumatised me for life though, so I’m still always scared when I start …

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! 😇

ramsey,
@ramsey@phpc.social avatar

@tobiaskoengeter Do you have any groups of rules for existing style guides, like MLA, APA, Chicago, etc.?

t3muc, to php German
@t3muc@typo3.social avatar

Peter Schuler hat uns von seinem Vortrag „Wie automatisierte Akzeptanztests Continuous Delivery
ermöglichen“ die Folien, ein Demo Repository und sogar eine Aufzeichnung zur Verfügung gestellt! 🧡

https://www.mtug.de/treffen/veranstaltungen-2024/mai.html#c992

Der Solr Vortrag musste leider kurzfristig auf das nächste Treffen im Juni verschoben werden.

phpday, to php
@phpday@phpc.social avatar

phpday 2024 is done! Thanks to the amazing speakers, sponsors and attendees! What a blast!

See you next year!

image/jpeg
image/jpeg

t3cm, to php German
@t3cm@phpc.social avatar

Endlich geht's los! Wir haben euch lange genug auf die Folter gespannt. 😆

Der Termin steht fest: 13. - 15. September
Die Location steht fest: Das FatCat München (ehem. Gasteig)
Und Tickets gibt es auch schon!

Alle Infos findet ihr auf unserer neuen Website: https://buff.ly/3jnS6PM

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
ultimike, to drupal
@ultimike@drupal.community avatar

Is there anyplace where organizations who pledged to support Starshot development are publicly listed?

alessandrolai, to Symfony 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/

alessandrolai,
@alessandrolai@phpc.social avatar

@rskuipers thank you! Yours was very good too!

rskuipers,
@rskuipers@phpc.social avatar

@alessandrolai much appreciated!

mobileatom, to drupal
@mobileatom@flipboard.com avatar

Save Time, Maintain Consistency: Bulk-Update Drupal Content Instantly with the Field Defaults Module.

https://imagexmedia.com/blog/bulk-update-drupal-content-field-defaults-module?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

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

SymfonyOnline June 2024: Using Git magic for the Symfony mono-repo.

https://symfony.com/blog/symfonyonline-june-2024-using-git-magic-for-the-symfony-mono-repo?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

drupalbe, to drupal
@drupalbe@drupal.community avatar

A whole week has already passed since Ghent wrapped up, yet it still feels like it just ended! The DrupalCamp Ghent 2024 organizing team is grateful to all the Sponsors, Volunteers, and Attendees for making this event a triumph. 🙇

💙

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