Questions tagged [phpstorm-2021.1]
6 questions
1
vote
0 answers
Stop PhpStorm from changing line endings from LF to CRLF on file open
PhpStorm is opening some files saved with LF as CRLF. I've got Editor > Code Style > Line separator: Unix and maxOS (\n) and I've now turned on Editor > Inspections > General > Inconsistent line separators so at least PhpStorm warns me as soon as it…

CJ Dennis
- 4,226
- 2
- 40
- 69
1
vote
0 answers
XDebug broken pipe warning - PhpStorm or Docker closing connection?
Environment
I'm using
Windows 10
Docker Desktop 3 for Windows
With a container with the environment variable PHP_IDE_CONFIG=serverName=Docker
XDebug 3
PhpStorm 2021.1.2
With an entry in Settings > PHP > Servers called "Docker"
With these…

Phantom Watson
- 2,667
- 4
- 25
- 39
1
vote
1 answer
IntelliSense support for COM interfaces contained in a type library
Is there a way get normal IntelliSense functionality in PhpStorm for types contained in a COM type library?
In FoxPro I get full IntelliSense as soon as a variable is declared as a COM interface (it pulls the info from the registry); in Delphi and…

DarthGizka
- 4,347
- 1
- 24
- 36
0
votes
1 answer
How to use Xdebug function with PhpStorm?
I have Xdebug setup with PhpStorm. I would like to be able to use some of the Xdebug functions, specially xdebug_notify(). That function sends information to the debugging client. However, I don't see it anywhere in the debug window in PhpStorm.
How…

NealM
- 58
- 7
0
votes
1 answer
Issue with PhpStorm and REST call testing, File not found
I am having an issue testing a PHP-based REST API using PhpStorm. I am getting a file not found when doing the REST request using my localhost.
The call to the base file works as expected: http://localhost:61234/project/api/index.php The file is…

NealM
- 58
- 7
0
votes
0 answers
How can I disable the code coverage folder that PhpStorm creates when tests are run?
With the latest version (currently 2021.1) of PhpStorm when running tests it adds a coverage folder to my src directory.
It appears to be a code coverage report for all files. Is there a way to stop it doing that?
I have never used it and often…

nzmattman
- 465
- 3
- 15