7,608 questions
1
vote
2
answers
119
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
177
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
169
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
43
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
141
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
132
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
118
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
98
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
44
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
57
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
47
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
124
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 ...
0
votes
0
answers
25
views
How to show near with CVS changed file/subdirectory some icon?
In my PhpStorm 2024 I have set 2 settings options
File | Settings | Version Control | Confirmation | "Highlight directories that contain modified files in the Project tree"
"and ...
0
votes
1
answer
77
views
PhpStorm freezes on startup with 400+ TypeScript files
I am having an issue where the IDE freezes on startup when having a project open.
It seems the issue is related to the problems in the 400+ TypeScript files, as it freezes after starting to try and ...
0
votes
1
answer
137
views
How to change background color of “Show History” block?
Where can I to change background color of “Show History” utility in PhpStorm 2024 :
?
As some colors are hardly to distinguish...
I tried to search under Settings, but did not find such options...
...