Did #PhpStorm recently change the way it connects to #Xdebug when executing tests from PhpStorm? I’m no longer able to get the debugger panel to work for a project that I’ve never had a problem using Xdebug in.
Suddenly VSCode and PHPStorm’s Laravel Tinker stop executing code. CLI still worked fine. After the loss of much hair, I realized I had inadvertently clicked on the itsy bitsy little bug in PHPStorm and had enabled debugging. It was at this point I learned that enabling #xdebug in #PHPStorm also enabled it in #VSCode!
Most of my #PhpStorm projects handle indentation of comment blocks properly, but sometimes, I’ll create a project in which PhpStorm behaves oddly. Like here.
How do I tell PhpStorm to properly indent these comment blocks automatically?
Figured it out! Turns out, it’s because I had this setting set to “PHP Code Beautifier and Fixer.” When I set it to “No External Formatter,” it works as expected. 🤷♂️ #PhpStorm#PHP
hey #phpstorm friends! Is there a way to mark errors more prominent? I always miss them, because in vscode I had a red underline. 🤓 Thanks very much! #php
Today marks the first time looking at #PHP#Opcode. Used #phpdgb which was already installed. Is there a better/preferred way? Perhaps @derickr PECL extension would be better? For the truly lazy me, I looked for a #PHPStorm plugin to view opcode in the IDE, but nothing came up. Is there such a thing, or CLI is the way to go? Thank you mastodon for surfacing this subject and giving me something to learn. Eons ago I studied 370360 assembler, it all seems vaguely familiar…
Whether feel right at home with PHPStorm or are just starting out, Laracasts has a free 18 part series (2h35m) to help you learn how to make PHPStorm do the work for you. Check it out:
Setting up #PHPStorm to handle #PHPStan / #Larastan, Laravel Pint, Code Sniffer and CS_Fixer (not sure if this is needed with Laravel Pint). What is the best way to set this up so I don't have to set this up for every project? Tried to point to a globally installed version of each but wasn't able to easily do this.
Suggestions or a pointer to a tutorial would be fabuluous!
Love #Tinkerwell for those that have used it you’ll know why. But… sadly, I find the direction it is going in for my uses is not a good fit. Too many features, and AI… ick. Yeah I know, just don’t use those.
There is also 3v4l Integration from JetBrains, but I can’t help think… why?
I have several PHP versions running locally, why can’t I run test code locally? In VisualCode I used to do this a lot. Perhaps time to just go back to Tinker in my #laravel projects?
Perhaps answered my own question. There is a #PHPStorm plugin for #Laravel#Tinker. This has the option of running on 3v4l.org or locally. Appears to run locally just fine right from within PHPStorm. Perhaps good enough?
First time listening to the ‘No Compromises’ podcast (not a big podcast person here). As a #PHPStorm user, ‘A couple handy features in PHPStorm’ had some nice tips on tools in PHPStorm. At least one I didn’t know existed before.
I finally took a look at writing a custom live template with PhpStorm. I've used them several times to automate scaffolding a foreach statement or other random suggestions that a Tab keypress leads to automated scaffolded code. But I never really dove in to see how they work or could be customized. Then, I had to fix some of my...
Does #PhpStorm have any tools to help with resolving merge/rebase conflicts? I’m not finding anything, but maybe I’m searching for the wrong terms. #PHP
Does anyone using #PHPStorm or any of the #JetBrains editors know if you can stop this absolutely crazy code folding line-wrap behaviour?
I fold code to get it out of the way, and yet this is the only editor I've seen that then moves the indentation of the block to become out-dented, and also spams the entire line with highlight and text. It's awful.
#PhpStorm 2023.2 is here. And it comes with so many really nice new features. Used the preview version of it. You now have native support for #Laravel Pint, an #AI Assistant whose integration is nice, many little UI improvements and so much more. Time to update – or to try it out. Read more about all the new features here: https://blog.jetbrains.com/phpstorm/2023/08/phpstorm-2023-2-is-now-available/#PHP
PhpStorm live templates to automate the boring things (mglaman.dev)
I finally took a look at writing a custom live template with PhpStorm. I've used them several times to automate scaffolding a foreach statement or other random suggestions that a Tab keypress leads to automated scaffolded code. But I never really dove in to see how they work or could be customized. Then, I had to fix some of my...