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.
57 questions
0
votes
0
answers
14
views
phpStorm Debugging of 2.4.8 on an AWS server from Mac?
Running on an AWS server (JetRails hosted), with Magento 2.4.8-p3 and the latest phpStorm on latest Mac OS.
Cannot get a debug session started, and working with JetBrains support. They've spent a lot ...
0
votes
0
answers
38
views
Magento 2.4.8-p2 PHPStorm Mac and dev:urn-catelog:generate error
I'm on a McBook Pro, latest OS, using Docker Mac and MarkShust setup, with Magento 2.4.8-p2. I'm trying to get a new urn assigned as I try to create a new test module. I'm in developer mode.
I've ...
0
votes
1
answer
195
views
Phpstorm - how to sync changes with Docker?
I am new to Docker so I am trying to understand some basics.
I have installed a working Magento Docker dev environment and configured PhpStorm according to this guide markshust/docker-magento
The ...
1
vote
1
answer
68
views
How to write integration test for below condition?
I am trying to write integration Test for my custom module that have very basic functionality to block the frontend page.
1 . created one controller to submit the password and on that basis we return ...
0
votes
1
answer
279
views
Add magento 2 module in ubuntu error
Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 117.0 MiBsyntax error, unexpected token "&", expecting "function" or "const"#0 /...
2
votes
1
answer
66
views
Template hints showing path from cache instead of original file path
In Vanilla magento2, the file path showing original file path as you can see in below screenshot the file path is showing from vendor after doc root.
In one of my working project where cache path is ...
0
votes
1
answer
508
views
PHP Codesniffer and CS fixrer no response
I am having issue with PHP codesniffer and csfixer with PHPSTORM.it is always showing warning like below screenshot.
I am using PHPSTORM 2021.3 licences version
any tip to fix this issue
0
votes
1
answer
226
views
What function do I use to replace the depreciated escapeJs()?
I am using Magento2.4. In my phtml template, I am trying to escape an a argument that is being passed into a javascript file via requireJS, but PhpStorm is warning me that escapeJs() is depreciated. ...
1
vote
1
answer
351
views
Is it possible for PHPStorm to follow Magento syntax module/template declaration in XML files?
Simple questions. Is it possible for PHPStorm to follow Magento syntax module/template declaration in XML files? If yes, how would I achieve that?
<block class="Magento\Wishlist\Block\Rss\Link&...
3
votes
1
answer
2k
views
How to enable GraphQL schema intelligence?
Magento has numerous schema. graphics files spread across its modules. It also has custom directives such as @docand@resolver`. When I'm using PhpStorm with the JS GraphQL plugin, what is the best way ...
1
vote
1
answer
2k
views
Waiting for incoming connection with ide key 'xxxxx'
In phpstrom variable getting "Waiting for incoming connection with ide key 18836" while trying to run debug magento2 using xdebug. Xdebug is installed correctly in my Ubuntu system,checked ...
0
votes
1
answer
144
views
Debugging Magento 2.4 on windows
Here is the setup:
Magento 2.4 up and running
Windows 10 & Xampp
Php 7.3.25
Xdebug enabled.Below is php.ini configuration, xdebug section
[XDEBUG]
zend_extension = "C:/xampp/php/ext/...
5
votes
1
answer
1k
views
Unkown directive in JS GraphQL
I'm experiencing the following issue in the graphql schema declaration in Magento2.
I use PhpStorm for development and, after installing the plugin JS GraphQL, it keeps prompting me errors on common ...
0
votes
1
answer
65
views
How to deal with API integrations and deployment when developing locally for magento?
I'm trying to set up a nice development environment for magento. Naturally, I also try to take deployment into consideration. This is why I chose to implement docker containers. My project is very ...
1
vote
1
answer
1k
views
Configure path mapping for Magento 2 xdebug in phpstorm
I have xdebug set up in phpstorm. However every time I load my Magento 2 app the script get.php opens 3 times in the debugger and breaks. I also get the error
"The script '/pub/get.php' is ...