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.
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!
I probably get flooded by asking this but welp, here I go:
I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, 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 #programming.
#PHP 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!
I once described my ideal coding environment to a colleague as "telneting directly into prod and damn the consequences!" I jest. But only a little. When I build for myself I treat best practices and coding styles as harmful. Chaotic evil but, hey, it's only myself I'm hurting. Anyway, my wife and I run a […]
Thanks to kochen and jankal on GitHub (don’t think either are here in the Fediverse), there’s a new version of ramsey/uuid-doctrine (v2.1.0), with support for doctrine/dbal v4 and binary types in PostgreSQL. 🎉🎊🥳
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
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.
@html5test@jimw This can happen if the underlying random number generator forks and reuses the same process state. This happened with OpenSSL years back, and became a big issue for a #UUID library I maintain in #PHP.
Is it just me or is #phpstorm getting worse by the day?
I'm runnig 2024.1 (Build #PS-241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there... #fail#ensh11n
Finished client work for the week so spending a bit of time on side projects. Just closed two outstanding issues on my repository for bootstrapping PHP applications using the Slim framework, bringing the total down to zero.