Skip to content

Commit d9b1a08

Browse files
ericrogewouterj
authored andcommitted
Most recent Phpstorm version natively file links
Conflicts: reference/configuration/framework.rst
1 parent b560fab commit d9b1a08

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,16 @@ using the following keys:
197197
The ``emacs`` and ``sublime`` editors were introduced in Symfony 2.3.14.
198198

199199
You can also specify a custom url string. If you do this, all percentage
200-
signs (``%``) must be doubled to escape that character. For example, if you
201-
have installed `PhpStormOpener`_ and use PHPstorm, you will do something like:
200+
signs (``%``) must be doubled to escape that character. For example, if you use
201+
PHPstorm on the Mac OS platform, you will do something like:
202202

203203
.. configuration-block::
204204

205205
.. code-block:: yaml
206206
207207
# app/config/config.yml
208208
framework:
209-
ide: "pstorm://%%f:%%l"
209+
ide: "phpstorm://open?file=%%f&line=%%l"
210210
211211
.. code-block:: xml
212212
@@ -218,14 +218,14 @@ have installed `PhpStormOpener`_ and use PHPstorm, you will do something like:
218218
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
219219
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
220220
221-
<framework:config ide="pstorm://%%f:%%l" />
221+
<framework:config ide="phpstorm://open?file=%%f&line=%%l" />
222222
</container>
223223
224224
.. code-block:: php
225225
226226
// app/config/config.php
227227
$container->loadFromExtension('framework', array(
228-
'ide' => 'pstorm://%%f:%%l',
228+
'ide' => 'phpstorm://open?file=%%f&line=%%l',
229229
));
230230
231231
Of course, since every developer uses a different IDE, it's better to set
@@ -1278,7 +1278,6 @@ Whether to enable the ``serializer`` service or not in the service container.
12781278
For more details, see :doc:`/cookbook/serializer`.
12791279

12801280
.. _`protocol-relative`: http://tools.ietf.org/html/rfc3986#section-4.2
1281-
.. _`PhpStormOpener`: https://github.com/pinepain/PhpStormOpener
12821281
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
12831282
.. _`Security Advisory Blog post`: http://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
12841283
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html

0 commit comments

Comments
 (0)