@stevegrunwell@sarah There’s actually a micro-optimization reason for either importing or using \ in front of internal functions/classes, and that’s because PHP will first look in the current namespace to try to resolve the symbol. It falls back to the global namespace, if it can’t find it. If you tell it exactly where it is, PHP doesn’t have to do that work.
When running tests “with Coverage” in any #JetBrains IDE, where does it store the coverage files?
My project is running in containers with docker compose, and this is all set up properly. In fact, the tests run, and presumably, the coverage report is generated, but the IDE doesn’t show the coverage, and I think it’s because it must be storing the coverage report on the container somewhere, and the IDE can’t access it when trying to display the lines covered.
@julesbl I think it’s not a PhpStorm issue, now. I think there’s some issue inside the container. I tried running PHPUnit directly in the container with --coverage-html and again with --coverage-text. Both times, the tests run and pass, but then there’s just the word “Killed” that appears where the code coverage messages are supposed to appear.
I haven’t said it in a while, but I want to make sure everyone knows that I really appreciate what @eric and @john are doing at @phparch. I think the work they’re doing is awesome!
If people are not going to the movies anymore I have a crazy idea, hear me out, what if studios start doing small, well thought-out romantic comedies and dramas instead of the 300 million dollar CGI shit fest we have been getting during the last decade?
Is it appropriate for lawyers to appear on national news talk shows and spread unfounded conspiracy theories that would cause massive distrust in our legal system? That seems like something you should be disbarred for doing, right? #uspol
@cam Right, but some professional associations have rules against causing harm to the profession. I’m not sure whether that’s a rule for admission to the bar, though, and they could also argue that they believe they’re telling the truth, and if so, their opposition is causing the harm. 🤷♂️
I have just been informed that Plex has a bug where if you upload to your Plex server an album either credited to "Various Artists" or containing a mix of artists on each track, it will list that album in the UI as being by "KONAMI". This is apparently a known issue.
@ralphschindler@heiglandreas The real problem comes when you have extensions. For example, PHPStan has a Phar distribution you can require using Composer, but when you also require one of its extensions, they depend on the main package (not the Phar package), so you get the full version with all its dependencies anyway. I’m also not sure how feasible it is for a self-encapsulated Phar to reach outside itself to include extensions that also might have dependencies.
This is why you shouldn't be obsessed with Linus Torvalds, Richard Stallman (RMS), Stormy Peters, Alan Cox, and other figures in the open-source or Unix or Linux communities. 😂
@nixCraft@lisamelton Is it celebrity worship that causes us to be less intelligent, or is it the less intelligent who are more prone to celebrity worship? 🤔
Actually, that's an interesting last sentence in that last thread: "Maybe I shoulda fought more."
One of the challenges of being an elder in the geek trades is this.
When you look at stuff in the trade, geek stuff, and you're appalled, you have to constantly wonder: is the problem really the problem you see, or is the problem the fact that you're just aging out?