Larry Garfield
Anything worth doing is worth doing well.
Anything worth doing well is worth teaching others to do well.
Author of Thinking Functionally in PHP, now on LeanPub: https://leanpub.com/thinking-functionally-in-php
- 2 Posts
- 5 Comments
Larry Garfield@phpc.socialOPto
JetBrains•I like products, but why in the hell does CLion, which you'd use to work on php-src, not support phpt files, which you would only need to use if you're working on php-src? It instead tells
1·8 months ago@ramsey @jetbrains That’s what I do! But there’s no CLion equivalent plugins that I can find.
Larry Garfield@phpc.socialto
PHP@kbin.social•Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev
0·2 years ago@symfonystation You forgot the benefits of anonymous classes. I almost never use a mocking framework anymore since they were added.
@zdl @thenexusofprivacy @fediverse @fediversenews
- Protecting the users of your service and fostering the culture you want is a responsibility. If you’re not up for that responsibility, you should not be a moderator.
cf: https://peakd.com/community/@crell/why-you-can-t-just-ignore-them
- Do we want ActivityPub to go the way of XMPP? Neither ignoring Threads nor outright blocking will help to avoid that fate. Getting a different outcome takes work.
@thenexusofprivacy @fediverse @fediversenews Simply blocking Threads won’t actually accomplish anything, except leave people stuck on Threads. If we want to actually help people, we need to take active actions beyond boycotts. We need to bleed users off of Threads, and we cannot do that if we block them outright.

@dominik False. Readonly properties can be set outside the constructor. In 8.3 they can only be set within the class (private scope). In 8.4, they’re protected set by default, but you can change it, even make them public write.
The “only in the constructor” thing was invented by PHPstan and Psalm. It’s not part of the language. It’s a stupid add-on that 2 dudes came up with for their tools and refuse to change.