Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

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

Heartbreaking news from long time Symfony core team member Ryan Weaver:

"So.... I have incurable brain cancer and I'm asking for your love & support 💖"
https://twitter.com/weaverryan/status/1777326885292114048

Ryan is the most welcoming, supportive, passionate and dedicated person I know in the community. I'm 100% sure he has supported every person in Symfony through his work.

Please give back some support to Ryan, Leanna and Beckett and show the warmth of the PHP family! https://gofund.me/f8e28d5f

#PHP #Symfony #SymfonyCasts

wouterj, to Symfony
@wouterj@phpc.social avatar

Played a bit with statistics this week: The average age of PHP code lines in

75% of the lines are edited within the past 4 years. That's pretty amazing for a codebase that is 15 years old!

Also interesting to see some components that were more or less feature complete from the start (Mime, RateLimiter, etc.) and needed very few changes after their release.

sebastian,
@sebastian@phpc.social avatar

@wouterj How did you calculate this and how did you render this chart? Thanks!

wouterj,
@wouterj@phpc.social avatar

@sebastian I gathered the information per line using find+git-blame.
The data analysis is done with a small PHP script that generates JSON.
Finally, the diagram is rendered as SVG by some custom JavaScript code.

I might one day streamline the process more and publish it to GitHub.

wouterj, to Symfony
@wouterj@phpc.social avatar
wouterj,
@wouterj@phpc.social avatar

@thepanz this is a PR I'm preparing for Symfony. The scrollbar code is incredibly badly written at the moment. Once it's cleared up and the last bugs are fixed, I'll open a PR.

The list itself is a decoupled class, which you should be able to use for your use-case as well (actually, I was planning on improving Symfony's autocomplete question feature using this class as well in a future PR).

wouterj,
@wouterj@phpc.social avatar

@graphite thanks!

The colors are from a list of HTML colors supported by browsers. Unfortunately, graphite is not yet one of them

wouterj, to Symfony
@wouterj@phpc.social avatar

Almost missed the day Symfony 7 was released!

Check out the huge effort the past 2 years by the Symfony community at https://symfony.com/7

Also, we've spent more time on the UPGRADE guide. If you're removing deprecations from your 6.4 app, make sure to take a look at https://github.com/symfony/symfony/blob/7.0/UPGRADE-7.0.md

wouterj, to random
@wouterj@phpc.social avatar

⚠️ Still using docker-compose locally? (mind the dash!)

That's Docker Compose V1 which reached EOL in July 2023. Switch to Docker Compose V2 asap (https://docs.docker.com/compose/migrate/).

I find it really worrying how many devs are not aware of this.

And while we're add it: rename docker-compose.yaml to compose.yaml

This is the new preferred name and a Docker-agnostic specification (https://compose-spec.io), ready to be used by tools like Helm, Podman or k8s.

wouterj,
@wouterj@phpc.social avatar

@simon_lucy I'm not sure I get what you want to say. There are things to say against Docker, e.g. the need of running a daemon.

But switching because they released a new version and comply with an industry standard? Not sure 🙂

simon_lucy,
@simon_lucy@mastodon.social avatar

@wouterj

As I said it's not just Docker.

I'm not sure what industry standard means, V2 is generally sold as being in Go, Gee Whiz.

I'm glad I don't have to rework a bunch of tiny changes, not that I don't accumulate my own Tech Debt.

Keep tools small, and keep them as agnostic tools they don't have to become platforms and eco systems to persist.

wouterj, to Symfony
@wouterj@phpc.social avatar

It has been a long time, but I wrote a blogpost again:

📝 Combatting Login CSRF with Symfony
https://wouterj.nl/2023/10/combatting-login-csrf-with-symfony

wouterj, to Symfony
@wouterj@phpc.social avatar

https://symfony.com/blog/symfony-7-0-type-declarations

If you're maintaining an open source library that uses : Please test 6.4/7.0 support as early as possible and give us feedback.
We have 3 more months to fix anything that might be blocking you!

  • 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