We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 306de1b + 6bbe164 commit 2aa951cCopy full SHA for 2aa951c
Model/Config.php
@@ -95,7 +95,7 @@ public function getPhpStormPort()
95
{
96
$port = (int) $this->scopeConfig->getValue(self::XML_PATH_PHPSTORM_PORT);
97
if (!$port) {
98
- $port = 8091;
+ $port = 63342;
99
}
100
return $port;
101
@@ -112,7 +112,7 @@ public function getPhpStormUrl($file)
112
return null;
113
114
115
- return 'http://127.0.0.1:' . $this->getPhpStormPort() . '?message=' . urlencode($file);
+ return 'http://127.0.0.1:' . $this->getPhpStormPort() . '/api/file?file=' . urlencode(ltrim($file, '/'));
116
117
118
/**
etc/config.xml
@@ -29,7 +29,7 @@
29
</general>
30
<phpstorm>
31
<enabled>0</enabled>
32
- <port>8091</port>
+ <port>63342</port>
33
</phpstorm>
34
</msp_devtools>
35
</default>
0 commit comments