The successor to PhpStorm 2016.3. It was released on March 23, 2017. Use this tag for version-specific issues relating to specifically to PhpStorm 2017.1
Questions tagged [phpstorm-2017.1]
51 questions
15
votes
3 answers
PHPUnit installation on PhpStorm
I am trying to use PHPUnit with PhpSTORM by loading it from autoloader file. But, as you can see in the below screenshot, PHPUnit version: is not installed, i am getting the same even if i choose other two options. i.e. Path to phpunit.phar and Load…

Fshamri
- 1,346
- 4
- 17
- 32
10
votes
2 answers
Expand use block in PhpStorm
How to expand "use block" at the top of class in PhpStorm 2017.1 by default to see all imported namespaces? Is there any setting?

Timur
- 488
- 4
- 14
9
votes
1 answer
Chop down function arguments, but keep as-is if one argument is a multi line array and line is not to long
I have been playing with all the PhpStorm formatting options, but can't find a way to have if behave the way I want.
So basically I want PhpStorm to:
1. turn this:
myfunction('hello',
'world');
Into this:
myfunction(
'hello',
…

Korri
- 657
- 7
- 22
6
votes
1 answer
Retrieve saved (hidden) SSH password from PhpStorm 2017.1
I have forgotten SSH password from Remote Server, but it is saved in IDE (PhpStorm 2017.1) in hidden way:
Is there any way to view hidden password?

ilya_direct
- 501
- 1
- 6
- 13
4
votes
1 answer
PhpStorm Deployment - asks for login credentials every time
I setup deployment to sync my project code with the project on the FTP server where my website is stored.
However, I always have to login each time when I try to sync.
I even checked remember, but it does not work!
I am using the latest PhpStorm…

Black
- 18,150
- 39
- 158
- 271
4
votes
2 answers
Shortcut key for commit and push in PhpStorm 2017 - Windows
What I do now in PhpStorm is press:
Ctrl + K to commit
Ctrl + Enter to confirm the Commit dialog
Ctrl + Shift + K to push
Ctrl + Enter to confirm the Push dialog
What I want to accomplish is after I completed the commit massage, PhpStorm will…

Ali Kazemi
- 606
- 4
- 12
3
votes
0 answers
Git version empty
I have just had my PC re-built and am trying to re-install PhpStorm and Git. In PhpStorm I have opened the settings panel and navigated to "Version Control > Git". In the "Path to Git executable" field, I have entered the path to Git - C:\Program…

Typhoon101
- 2,063
- 8
- 32
- 49
3
votes
2 answers
Unable to enable Chrome xdebug helper on REST API endpoint page
I'm working on creating a custom REST API endpoint in my Drupal site, and for some reason I am unable to enable debugging at my REST API URL with the Chrome Xdebug Helper plugin; clicking on the icon displays the options, but clicking has no effect.…

wonder95
- 3,825
- 8
- 45
- 74
2
votes
1 answer
PhpStorm : How to comment shortcut on notebook AZERTY?
I don't know how to use the shortcut (Ctrl + Slash) on my notebook. I don't have any numberpad.
I tried ctrl, ctrl shift, ctrl alt,... Nothing works.
Can you help me ?

Pierre
- 490
- 1
- 7
- 26
2
votes
1 answer
PhpStorm debug with Laravel Homestead not working
I'm trying to setup PhpStorm to debug correctly within a Vagrant Homestead environment. Xdebug is correctly installed and I'm running PHP 7.1
After setting a breakpoint in my app the script passes through any breakpoints and I get this message:…

Ray
- 3,018
- 8
- 50
- 91
2
votes
1 answer
Open recent project in new window stay behind
Since the last version of PhpStorm (2017.1) when we opening recent project or directory in new window, the new window stay behind the current one.
Is there any way to avoid this ?
I went into the settings Appearance & Behavior > System Settings, I…

Eric Fressange
- 23
- 3
1
vote
3 answers
Is there a logic problem or a bug in PhpStorm?
Is there a logic error/case that I'm not seeing?
I'm using PhpStorm 2017.1 with PHP language level 7.1 and CLI Interpreter PHP 7.1.8
I tried the following cases:
User with carrinho(DB) and with and without carrinho_id on request
User without…

Alberto Guilherme
- 338
- 2
- 13
1
vote
2 answers
PhpStorm - copy & paste removes indentation
If I copy paste indented text e.g.:
foo
bar
123
to PhpStorm, then the formatting and indentation gets lost.
My PhpStorm is fresh installed

Black
- 18,150
- 39
- 158
- 271
1
vote
0 answers
Is it possible to force PhpStorm autocompletion to show only fields or only methods available to an object?
It happens when working with objects that we want to get access only to fields (or methods) available but the rest overshadows our needs in autocompletion.
It would be really convienient if I could force PhpStorm autocompletion to show me only…

Jacek Dziurdzikowski
- 2,015
- 2
- 13
- 20
1
vote
1 answer
PhpStorm - Some warnings on Laravel facades
I make right usage of Laravel's facades and PhpStorm gives me warnings, why is that?
And on image I pointed "x" for some...types of data? In functions I use, why do I have these? How to remove them?

Krystian Polska
- 77
- 2
- 6