shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

259
active users

#phpstorm

0 posts0 participants0 posts today

I haven’t had many problems with #PhpStorm’s #Xdebug integration in a long time. Most of the time, it Just Works, but today, it decided it doesn’t like me, and so now, my afternoon has been spent trying to get it to work again.

This is the error I see in the step debugging console. The only thing I know has changed is PhpStorm (it upgraded).

```
Cannot find file '/path/to/ramsey/uuid/Standard input code' locally.
```

Dear #PhpStorm, WTF is wrong with you? Why would you run background processes occupying all of 12 of my CPU cores without even indicating what these processes are and letting me cancel them? My fan is spinning like crazy. You're sus.

I've not been this frustrated with a new version of PhpStorm in a long time. There are so many tiny, irksome issues, and they keep piling up. I've come to expect some rough patches each year when they release a new major version, but this time, it's really impacting my productivity and making me think about looking at alternatives. I can't be the only one experiencing these issues, and it's too cumbersome to stop what I'm doing to file support requests or bugs.

Replied in thread

This is merely annoying for creating new files, but when I move files in the tests/ directory, it completely mangles the namespaces. I think this is new in 2025.1.0.1, but I’m curious if others are seeing it before I spend time opening a ticket. Maybe I’m just missing some new setting.

Replied in thread

@digitalcraftsman I found the setting, and that didn’t fix things. Whenever I create a new file in the tests/ directory, it starts out in the global namespace, and I have to manually change it. If I create a file in tests/Foo/, the namespace is simply Foo. It’s not respecting my PSR-4 prefix set in autoload-dev.

Continued thread

It turns out I had my PHP CodeSniffer settings set to "By default project interpreter," but I didn't have `phpcs` configured with the default project interpreter?

I'm not sure how the UI was showing me code style warnings, based on my `phpcs.xml` file settings, but it was.

When I added a `phpcs` configuration for "By default project interpreter," things began working as expected.

Free #Phpstorm improvement idea: an inspection that highlights variables with implicit `mixed` type. Consider: a variable storing the result of an unknown method call, a variable that is undefined and referenced more than once, an untyped object property, and so on.

saw a colleague of mine coding #PHP on VsCode today

so yeah, once you have spent a couple of hours searching and installing plugins (hardest part being to find the good one) it works, kinda...

but it remains a shiny text editor IMHO
definitely missing the power of a real IDE and there is like NO BLOODY WAY I'm leaving #PhpStorm for that

granted, launching a project or building an index takes a little time
but it is by far compensated by the productivity it offers