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

Well, that explains everything for .

jaapio, to php Dutch
@jaapio@phpc.social avatar

discovered livetechhelper.com, while the initiative could be positive explained, the execution is horrible! I found https://livetechhelper.com/repos/jaapio/phpunit
I can help with #phpunit but obviously any income should go to the original maintainers not to me because I created a fork!

Same applies to other projects, should we stop this?! #php #foss?

cspray, to php
@cspray@phpc.social avatar

I found myself needing to write tests for code that throw an exception with domain-specific information. I actually need access to the exception thrown in my test. So, I created a testing utility that will do just that.

https://github.com/cspray/assert-throws

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) for that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn , , and . Perhaps some minor , however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is .

Anyone knows something that checks these boxes?

mmoya, to php

A filter to prepend Hello world! to /etc/passwd, source https://www.ambionics.io/blog/iconv-cve-2024-2961-p1

jclermont, to php
@jclermont@phpc.social avatar

It's best practice to always use the config helper in our application code, except for one place: Don't use the config helper in config files.

Here's an explanation as to why. #php #laravel https://masteringlaravel.io/daily/2024-05-27-dont-use-the-config-helper-in-a-config-file

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

foreach() works on arrays and objects. On objects, it skips uninitialized properties, which may be very convenient with readonly properties : otherwise, it is a fatal error!

https://php-tips.readthedocs.io/en/latest/tips/foreach_skips_uninitialized.html

carbontwelve, to php
@carbontwelve@notacult.social avatar

Ooh look is getting some more JavaScript array functions https://laravel-news.com/php-8-4-array-find-functions

ollieread, to php
@ollieread@phpc.social avatar

So, I’m building a #php dependency-injection package, and it’s a lot of fun. I’ve gone a route that I don’t really see many, if any, following. I suspect it may be that a lot of the solutions out there are old, and while they have been updated, they’re still going to inherit certain approaches.

martijn, to fediverse
@martijn@ieji.de avatar

Writing the most basic #activitypub implementation in #php that is compatible with shared hosting. I've seen some other great projects, but I needed a "call this function with a simple message" functionality for some existing websites

phpc, to php
@phpc@phpc.social avatar

WHAT IS HAPPENING, MY PHPEOPLE!

thomastospace, to php
@thomastospace@phpc.social avatar

Making PDF's in #PHP makes me cry.

phpdoc, to php
@phpdoc@phpc.social avatar

phpDocumentor 3.5 is here! With better Guides support and now fully functional RST! Automatic generated class diagrams by querying your code base and much more!

Let us know what you like in this new release!

#php #documentation

https://github.com/phpDocumentor/phpDocumentor/releases/tag/v3.5.0

michael, to Laravel
@michael@thms.uk avatar

So, it really annoyed me that in Laravel 11 you cannot have multiple listeners for the same event in an array like you could in Laravel 10.

It's not like it's a big deal, as it's simple enough to implement, but just seems like a step backwards.

What do you think?

https://blog.thms.uk/2024/05/event-listeners-laravel-11?utm_source=mastodon

#Laravel #PHP

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

Excited to welcome Erik Erskine to 🥳

The session by Erik Erskine at is aimed at developers getting started with testing!

🔗 Learn more about the session at https://ddd2024.drupalcamp.bg/drupal-dev-days-2024/session/retrofitting-tests-existing-project

reactphp, to php
@reactphp@phpc.social avatar

Just released v3.2.0 of our Promise component! 🎉

Today's release adds initial support for the upcoming PHP 8.4 release, improves reporting unhandled promise rejections and more 🚀

https://github.com/reactphp/promise/releases/tag/v3.2.0

Enjoy! #async #php

SymfonyStation, to Symfony
@SymfonyStation@drupal.community avatar

Have an idea for an article for us to write on Symfony Station? Contact us here on the Fediverse! And please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. https://symfonystation.mobileatom.net/Contact #Symfony #PHP #Drupal

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar

Have an idea for an article for us to write on Symfony Station? Contact us here on the Fediverse! And please sign up for our “newsletter” to get the latest news communiques and original content delivered to your inbox.

https://symfonystation.mobileatom.net/Contact

#Symfony #PHP #Drupal

https://newsletter.mobileatom.net/have-an-idea-for-an-article/

#Drupal #PHP #symfony

cooptilleuls, to php French
@cooptilleuls@mastodon.online avatar

Nous sommes à l' Lille mais nous participons également à l'édition lyonnaise ! Près de 270 personnes sont présentes aujourd'hui à la CPE Lyon, à l'occasion de ce rassemblement d'expert·es . Bravo et merci @afup pour l'orga !

Photo de l'AFUP Day Lyon

JustineSC9, to php French
@JustineSC9@mamot.fr avatar
ramsey, to php
@ramsey@phpc.social avatar

Opinions/thoughts/advice on monorepos with . Is anyone working within this problem space? What tools do you use?

I know is a . Are the tools they use specific to them, or can others use them?

ntha, to php
@ntha@mastodon.social avatar

Re: Primitive Obsession (https://acairns.co.uk/posts/primitive-obsession)

I like the idea, but has anybody performance tested this? What happens when you're dealing with thousands of rows of data that pass every item along as class instants vs primitive types?

#php

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