7,608 questions
0 votes
1 answer
112 views
Parameter Info popup is extremely small and can’t be resized on macOS
I have an issue regarding the popup window size. When I press View Parameter Info (⌘P) in PhpStorm, the popup window that shows the function parameters is extremely small. Its height is about 20–30px, ...
-1 votes
0 answers
91 views
Code works when enabled but errors when Xdebug is disabled [closed]
Cloudlinux Opcache (disabled) This situation has me scratching my head, so hopefully someone can shed some light. I have Xdebug working on a cPanel/WHM server hosted site using PhpStorm as the IDE and ...
1 vote
1 answer
51 views
Why PHPStorm in laravel/vue/element-plus app shows '@' with error color?
At some moment my PHPStorm 2024.1.7 in laravel/vue/element-plus app became show '@' with error color : Which option have I to set to remove this feature ? I searched under Menu -> Settings -> ...
1 vote
2 answers
148 views
PHPUnit tests get awfully slow when all tests are run at once [closed]
I have a problem which I find awfully hard to debug: In my application, I currently have about 1000 tests, so not much. They are split across several directories (tests/someDir, tests/someOtherDir, ...
-3 votes
1 answer
231 views
autoformat with CS Fixer exited with non-zero code [closed]
I'm trying to set up PHP Coding Standards Fixer with PhpStorm but when I run the code auto formatter (Ctrl Alt L) I get an error: PHP External Formatter: Process exited with non-zero code Clicking ...
1 vote
0 answers
192 views
How to run tests of the same phpunit testcase class in parallel with ParaTest?
I have a contrived test case showcasing how multiple test cases can slow the entire execution time down, as even though each is quick on its own, they add up if waited for before executing the next. I ...
0 votes
0 answers
46 views
Can I use wildcards or regex in PhpStorm Deployment Mappings?
In PhpStorm, under Tools | Deployment | Configuration | Mappings, is it possible to use wildcards or regex when configuring paths? jetbrains doumentation
0 votes
3 answers
157 views
PhpStorm adding script to my GET responses
I'm responding to a GET request with JSON data (Content-Type application/json; charset=utf-8), but it keeps tacking on this random script to every response and I cannot get rid of it no matter what I ...
0 votes
1 answer
141 views
How can I insert HTML5 boilerplate into a .php file in PhpStorm/WebStorm using Emmet or Live Templates?
I'm working in WebStorm (PhpStorm) on a .php file, and I want to quickly insert the standard HTML5 boilerplate (the <!DOCTYPE html>…</html> structure). In an .html file, I can type ! and ...
1 vote
2 answers
131 views
How to tell JetBrains PhpStorm to inspect required PHP files?
Let's say we have a PHP script, thus: /main.php: <?php # this file generates a $string or other variable to use. # This file is required so must always successfully load. require "/path/to/...
0 votes
2 answers
104 views
Unable to debug my website on macOS with PhpStorm
My stack is nginx + php php-fpm + xDebug + PHPStorm I have put at the very beginning of my index.php echo "foobar"; exit; and placed a breakpoint on the very first line. If I run the script ...
0 votes
0 answers
46 views
Is It Possible to open the PhpStorm Keymap window using a keyboard shortcut?
I want to open the Keymap window directly in PhpStorm using a keyboard shortcut, without going through Settings > Keymap or without using the quick action menu. I know this is possible because the ...
0 votes
0 answers
58 views
MAMP & Xdebug Troubleshooting
I had Xdebug working on my MAMP Free installation but decided to purchase the full software. I saw in the menu unlike the free version I could enable Xdebug, so I did so, however the connection isn't ...
1 vote
0 answers
51 views
Persian typing issue in PhpStorm - any fixes?
When I try to type Persian text in PhpStorm (I'm using the latest version as of this post), the behavior is quite inconsistent. Some of the problems I've noticed include: Characters do not appear ...
0 votes
0 answers
127 views
Why does PhpStorm not recognize element-plus library elements?
On a Vuejs site I am using element-plus library. My PhpStorm shows in error background color as unknown component. I searched in available plugins and found some : Is some of these plugins relative ...