Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [phpstorm]

JetBrains PhpStorm is a commercial IDE for PHP built on JetBrains' IntelliJ IDEA. PhpStorm provides an intelligent editor for PHP, HTML, CSS and JavaScript with refactoring and on-the-fly code analysis.

phpstorm
-1 votes
0 answers
19 views

Connect PhpStorm debugger to Xdebug with Warden

I'm getting an old Magento 1 project up and running, and am hitting issues getting the debugger working. Everything is run on Docker, using Warden to manage the different containers. I've followed the ...
stephenpassero's user avatar
0 votes
1 answer
38 views

How to let PhpStorm know that the first occurrence of a variable in Blade template is defined and comes from View Composer?

I have a sidebar.blade.php where I display various things, pulled from DB. @php $syncLogsCountPending = $sidebarCounters['sync_logs']['pending']; $syncLogsCountCompleted = $sidebarCounters['...
Matt Komarnicki's user avatar
0 votes
0 answers
32 views

How to switch var with/without “this->”?

If there is a way in PhpStorm 2024.1 selecting a var to switch its with/without “this->” : $this->departmentsCount => $departmentsCount and vice-versa ?
mstdmstd's user avatar
  • 2,895
0 votes
1 answer
20 views

PhpStorm overwrite " (quote) when it already exists instead of adding another

I have searched for this and it appears to be a common complaint that has yet to be solved - When typing in PhpStorm, the auto complete generates the ="" for you, which can be quite helpful: ...
Luke Pittman's user avatar
1 vote
1 answer
45 views

Laravel Idea type-hints ids as int even if using UUIDs

Could not find any information on this issue. I'm using PhpStorm's Laravel Idea plugin for my Laravel projects. All of our models use Illuminate\Database\Eloquent\Concerns\HasUuids;, and our ...
Phil Tune's user avatar
  • 3,245
0 votes
0 answers
20 views

Running dialog “Reformat code” some features do not work

With PphStorm 2024.1 when I run dialog “Reformat code” some features do not work as I expect : I expected file declarations at top would be sorted - I have no this : In Editor->Code Style->...
mstdmstd's user avatar
  • 2,895
-3 votes
1 answer
36 views

PhpStorm showing red line on code where cognitive complexity is high. How to remove it?

In the PhpStorm IDE I am getting a red line on all functions where Cognitive Complexity is high. It is good to be known that there is high cognitive complexity, but in my case it is annoying to see ...
Chauhan Mukesh's user avatar
0 votes
1 answer
28 views

PhpStorm reloading by itself

PhpStorm reloads itself periodically by closing all my tabs and folders. I'd like to describe my problem more, but I don't have any leads. I'm on the latest version of PhpStorm (Build #PS-241.18034.69,...
Julien's user avatar
  • 1
0 votes
0 answers
29 views

JSDoc auto-generation in PhpStorm - no empty lines before parameters

Whenever auto-generating a JSDoc in PhpStorm, it adds an extra empty line before the parameters, presumably for description, however description is not needed all the time. I would like to set it so ...
bulanmaster's user avatar
0 votes
0 answers
48 views

Xdebug 3.3.x no longer triggering on breakpoint in symlink'ed file of PhpStorm project

I have a local WAMP stack with Xdebug 3.2 that I have been using with a PhpStorm project (PHP, Joomla) where some of the folders of the Joomla directory are symlink'ed to my own development ...
Irata's user avatar
  • 101
0 votes
0 answers
20 views

How to change background color of error declaration?

In PhpStorm 2024.1 when having error declaration in PHP code is colored in red yellow color, as below : Where in settings can I change background color of this block, as it very similar of white ...
mstdmstd's user avatar
  • 2,895
0 votes
0 answers
22 views

Permission error with Arch Linux and Laravel

I'm creating a Laravel project, and I'm struggling with permissions. When I first create the project through a terminal command, I have to change the root folder permission to 777 because I can't ...
Telexx's user avatar
  • 551
0 votes
0 answers
58 views

PhpStorm - Parameter Type hints not appearing

Currently I've all Inlay Hints enabled in my PhpStorm settings: But there are no type hints appearing beside the parameters on functions. I'm only seeing the Usages and Author as a hint above the ...
chdonncha's user avatar
  • 535
-6 votes
0 answers
34 views

How can I create a laravel project using PHP storm and how can I use the laravel libraries like auth and PHP spreadsheet in PHP storm

Im working on a laravel project but I want to know how to work with PHP storm like making sure the laravel/UI package and PHP spreadsheet libraries are incorporated I tried importing a project I did ...
Francis Kaz's user avatar
0 votes
1 answer
32 views

Problem in running Xdebug version 2 with PhpStorm

I have a problem with the working of Xdebug 2.1.29 with PhpStorm, PHP version 7.1. My configuration xdebug.ini: zend_extension=xdebug.so xdebug.remote_enable=on xdebug.remote_autostart=off xdebug....
Dariusz Rup's user avatar

15 30 50 per page
1
2 3 4 5
506