Questions tagged [phpstorm-2016.3]
18 questions
4
votes
1 answer
How to ignore `static method called as dynamic` inspection in tests only
PHPUnit has all assertions defined as static functions, but you are supposed to call them with object context1.
Apart from if this is a good practice or not, if you want to follow this practice you will get warnings in PhpStorm:
static method called…

Nanne
- 64,065
- 16
- 119
- 163
2
votes
3 answers
How to open phpstorm through ubuntu terminal in Ubuntu 16.x?
What are the steps to create a launcher files to open PhpStorm in Ubuntu?

Lokesh Das
- 423
- 5
- 9
2
votes
1 answer
PhpStorm - How to change default zoom level
The default zoom level is way too high as you can see in the following screenshot, how can I change it?
I already searched the whole settings but found nothing.

Black
- 18,150
- 39
- 158
- 271
1
vote
2 answers
php in html page doesn't work
I'm using PhpStorm 2016 with php language level 5.6 and the interpeter is PHP 5(5.6.24) and xampp version 3.2.2 .
I'm trying to add some php code in html page,
I created a file .htaccess in the same folder where my html file located, and put AddType…

zb22
- 3,126
- 3
- 19
- 34
1
vote
2 answers
PhpStorm - Mark multiple lines
Is it possible to mark multiple lines in PhpStorm?
e.g.
LineA
LineB
LineC
lets say I try to mark LineA and LineC to copy paste them to another place, is this possible?
LineA
LineC

Black
- 18,150
- 39
- 158
- 271
1
vote
1 answer
PhpStorm - Filename color extremely bad, how to change it?
I changed my theme to Darcula and I noticed that the file names on the left are not rendering. Maybe the color is just the same as the background. Some file names are visible, I can see the name if I select a file.
I was not able to find the option…

Black
- 18,150
- 39
- 158
- 271
1
vote
1 answer
Best practice for default function values in PHP using const values in classes
PhpStorm is highlighting $requestType in the following piece of code in red, which I don't understand why. Maybe a bug in PhpStorm? Maybe is just not a good practice to define like that default function values?
class HttpClient
{
const…

Alberto Roura
- 41
- 5
1
vote
1 answer
PHPStorm on ubuntu drag and drop cuts instead of moving
I have drag and drop enabled in the editor settings however when I highlight text and then try and move it the editor seems to perform the cut but not the paste. I can manually paste afterwards but it is really annoying.

Graham Dodgson
- 135
- 1
- 8
1
vote
0 answers
PhpStorm needs 777 permission to work
I used chmod -R 775 * to change the permission of all files in my project and chmod -R 777 storage/ to change the storage folder permissions to grant all rights.
Now If I edit a controller in /app/Http/Controllers and try to save, then I get Cannot…

Black
- 18,150
- 39
- 158
- 271
1
vote
1 answer
PhpStorm - show detailed doctag infos
In NetBeans we can show detailed infos about declarations if we hold CTRL and hover the mouse over the function name.
How does this work in PhpStorm?
I only get few infos on PhpStorm:
I only get more infos if I click on the function link in the…

Black
- 18,150
- 39
- 158
- 271
0
votes
3 answers
What is the shortcut key to show/hide tool buttons in PhpStorm?
I am unable to find the shortcut key for this button. And as I do not know the name of this button I cannot search for it.

Zuhayer Tahir
- 1,798
- 3
- 13
- 20
0
votes
1 answer
PhpStorm 2016 and 2017 very slow for php projects on MacOS
My PhpStorm 2016 start to slow down for php/js projects (laravel, angular, ionic).
First I try to change JDK do JetBrains JDK but this not help :(
Then I try to upgrade PhpStorm to 2017 - a little better but still not help (especially with php)
My…

Kamil Kiełczewski
- 85,173
- 29
- 368
- 345
0
votes
0 answers
Terminal plugin for IntelliJ and PhpStorm doesn't work
When I open the Terminal plugin in JetBrains IntelliJ or PhpStorm nothing seems to happen. Yes, I have, as is required in such circumstances, deployed ever increasing amounts of kinetic energy to my keyboard's return key - but nada:
The plugin is…

Kev
- 118,037
- 53
- 300
- 385
0
votes
2 answers
PhpStorm launcher
I'm using PhpStorm 2016.3.3 in Windows 10 and I'd like to know how can I launch it from my terminal?
For example execute command pstorm . to open current project, or pstorm . --add to add current project folder to PhpStorm.

bashkovpd
- 598
- 1
- 7
- 21
0
votes
1 answer
PhpStorm error with docker volumes: "VirtualBox shared folders should be configured in the Docker cloud settings"
This is an issue with PhpStorm 2016.3.3 on Windows. I encountered the following error trying to configure a Docker container:
I can make the immediate error-message go away by going into the Build, Execution, Deployment > Docker and add the same…

Darien
- 3,482
- 19
- 35