thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

“Haha lol banks use 60 year old programming languages!”

Yes, young whippersnapper, that’s because they need things to be reliable and not change all the time, the code probably has to run for another 60 years.

“Modern” devs could learn a lot from not trying chase every trendy new framework and every shiny new programming language.

devnull,
@devnull@crag.social avatar

@thomasfuchs @nattiegoogie Sheesh, people love to rag on so much and turn a wilful blind eye towards all the effort put to improve the language.

Wouldn't you agree that ES6 is nothing like the JS of yesteryear, just as 8 is nothing like the php 5.4 shit I had to write when I first entered the industry?

People still love to rag on php though 😺

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Explore this week's @symfonystation newsletter for the latest Symfony, Drupal, PHP, Cybersecurity, and Fediverse news! If you like what you see please subscribe via the button in the top left corner. And do us a solid by boosting this post. https://mailchi.mp/488073b4d2ad/enjoy-this-weeks-symfony-drupal-php-and-fediverse-news :symfony: drupal: php:

AstraKernel, to php

🪲 PHP developers and other developers, can you identify what is the issue in this code?

(No comment like "PHP". Save it for some other time 😀. This can happen in any language)

array, to php
@array@fosstodon.org avatar

As a consequence of using a single monitor setup, I'm generally trying to have my code lines as narrow as possible, so I can avoid as much as I can doing horizontal scrolling. Luckily formatters are pretty OK with having, say, one array item or function parameter per line, the splitting options are very liberal and IMO it keeps being pretty legible. I just hope this is considered "good" (or "acceptable" at least) practice. :D

symfony, to Symfony
@symfony@mastodon.social avatar

🌟 Symfony 6.3.0 has been released! Many thanks to all contributors 😍
https://symfony.com/blog/symfony-6-3-0-released
🆕 Have a look at this blog post summarizing all the major changes in this new version: https://symfony.com/blog/symfony-6-3-curated-new-features

dgoosens, to php
@dgoosens@phpc.social avatar


Am I the only one that does not understand this does not at least trigger a warning ?

I mean, I would expect $baz should have been declared nullable (?string) to be correct... Or am I missing something ?

https://onlinephp.io/c/71e55

Synchro, to php
@Synchro@phpc.social avatar

Yay! I'm going to be speaking at the international Conference in Munich in October.

og, to php

Going to be learning some

syntaxseed, to php
@syntaxseed@phpc.social avatar

Bathing in the docs these days and they have just an avalanche of low-level information & docs but what I really need is a high-level "these are the general steps you'll take" which then lead into those detail pages.

dgoosens, to php
@dgoosens@phpc.social avatar

« My mom always said our Legacy Code was like a box of chocolates. You never know what you're gonna get.»
Forrest Gump, 1994

headdesk.... ie facepalm that hurts

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Do you own or work for an organization looking for promotion opportunities in the PHP, Drupal, and Symfony communities? If so, please contact us. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony #Drupal #PHP

symfonystation, to Symfony
@symfonystation@phpc.social avatar
syntaxseed, to php
@syntaxseed@phpc.social avatar

I find myself in the #PHP docs less and in the #Symfony docs more these days.

Wish there was more example code but all in all they're excellent.

Edent, to php
@Edent@mastodon.social avatar

I sent a small PR to fix a library for
https://github.com/Eleirbag89/MastodonBotPHP
Thanks to @eleirbag for merging it.

dseguy, to php French
@dseguy@phpc.social avatar

Next round of deprecations for 8.3 is starting.

As for each version, one of the important RFC to monitor.

https://wiki.php.net/rfc/deprecations_php_8_3

kaiserkiwi, (edited ) to webdev
@kaiserkiwi@corteximplant.com avatar

Tried out a bit of today. A bit weird to write that less but get so much. I think I have to get used to this. But I see me writing more tests with Pest. Looking forward to work more with it!

symfonystation, to Symfony
@symfonystation@phpc.social avatar

We are now on /kbin as Symfony Station. It is a Reddit-like link sharing platform on the Fediverse. Follow us at https://kbin.social/u/symfonystation #kbin #Symfony #PHP #Drupal

symfony, to Symfony
@symfony@mastodon.social avatar

🚀 New in Symfony 6.3: Webhook Integration with Mailer and Notifier
➡️ https://symfony.com/blog/new-in-symfony-6-3-webhook-integration-with-mailer-and-notifier

dgoosens, to php
@dgoosens@phpc.social avatar
davidbisset, to php
@davidbisset@phpc.social avatar

Building a procedurally generated game with

https://stitcher.io/blog/procedurally-generated-game-in-php

freekmurze, to programming
@freekmurze@phpc.social avatar

🚀 We just released our newest package spatie/laravel-blade-comments

This one can add a comment before and after each rendered Blade include, making it easy to see which HTML is rendered by which view

Blogpost: https://freek.dev/2500-a-laravel-package-to-quickly-see-which-html-is-rendered-by-which-blade-view
Code: https://github.com/spatie/laravel-blade-comments

ramsey, to php
@ramsey@phpc.social avatar

was all, like, “I found some MissingParamType issues. I’ll be happy to fix the types for you.” So, I ran it with --alter, and it proceeded to change mixed parameter types (that conform to an interface) to stringd.

That’s not my typo; there is a “d” on that end of that type name.

I have no idea what Psalm thinks it’s doing.

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

Today I tried to setup a PHP ecosystem on my MacBook Pro M2 with Podman. It was a little bit difficult but I have done it ☺️

Now I have a isolated pod where my #php fpm #nginx and #postgres are running. The only published port is 8080 for the nginx.

But the best benefit is: Each container runs rootless ! #podman #devops

Here is the link to the #github repository:

https://github.com/vansari/podman-knowledge

phpfig, to php Italian
@phpfig@phpc.social avatar

We just extended the nomination deadline for this round of elections to June 10th. Do you want to be more involved in the #PHP community and help us pushing new interoperability standards?
This is your occasion!!

https://groups.google.com/g/php-fig/c/8phsKPEpG4c/m/WQjeu6U1AgAJ

ramsey, to random
@ramsey@phpc.social avatar

What is a ?

It’s some kind of identifier that AT Protocol appears to use, but I can’t find a definitive resource on what it is or how it’s defined, and it appears to be related somehow to cryptocurrency (maybe?).

To make matters worse, there doesn’t appear to be any libraries that will parse or create CIDs.

There’s this one, but it doesn’t appear to support all CID codecs (not sure I understand that correctly)? https://github.com/danny50610/php-cid

  • 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