PhpStorm 9.0.1 bug fix update is available

We are glad to announce that PhpStorm 9.0.1 build 141.2402 is available for download.

This update is focused on various bug fixes and improvements from the PHP, web & IntelliJ platform sides.

The most important changes from PHP side include:

  • Major autocompletion improvements: completion of > after typing $this-, completion for class methods without typing $this->, PHP completion can be accepted by typing “-” (dash), etc;
  • Full support for PHP 7 type hints and return types;
  • Proper support for symbols imported via use function and use const;
  • PHP Template Language is set automatically based on file extension;
  • Phing predefined API is updated to version 2.11.0;
  • Google App Engine: sessionId setting is provided for debug in GAE run configuration;
  • and many other bug fixes (see full list in our issue tracker).

Other changes from IntelliJ platform and web are also included, see complete release notes.

Download PhpStorm 9.0.1 build 141.2402 for your platform and please report any bugs or feature request to our Issue Tracker.

Patch-update from the previous stable version (PhpStorm 9.0) is already available.

Develop with pleasure!
-JetBrains PhpStorm Team

This entry was posted in Release Announcements and tagged , , , . Bookmark the permalink.
  • The Mule

    Thanks for the update! One thing: could it do a soft update for dot releases, rather than a full uninstall/reinstall? Seems drastic for a minor update.

    • Maxim Kolmakov

      There should be a patch update from 9.0 to 9.0.1. Haven’t you received it (Help->Check for Update)?

      • Leighton

        Looking forward to the update. Not seeing a patch here…

        • Maxim Kolmakov

          What is your OS?

          • http://lrotherfield.com Luke Rotherfield

            I too am not seeing a patch, I am on OSX 10.10.4

          • Maxim Kolmakov

            What is your previous version of PhpStorm? Is it EAP or 9.0 release? Are you using version with or without bundled JDK? Are you behind firewall? What buttons do you have in update message?

          • http://lrotherfield.com Luke Rotherfield

            Version 9.0, not sure about JDK, no firewall, buttons are: Ignore this update, Remind me later, More info (this just opens link to website)

          • http://lrotherfield.com Luke Rotherfield

            Haha after clicking more info (which just linked to this site), I then clicked check for updates again and it worked, let me install a patch. Only thing different this time was that I had previously never clicked more info, don’t know if that triggered something

          • Leighton

            Windows 10 here

          • Maxim Kolmakov

            What is your previous version of PhpStorm? Is it EAP or 9.0 release? Are you behind firewall? What buttons do you have in update message?

          • TCIA_Webmaster

            Same on win7. It’s asking for a full reinstall.

          • The Mule

            That’s what i was saying, the update from the Help->Check for Update link was a full download and reinstall.

          • Maxim Kolmakov

            What is your previous version of PhpStorm? Is it 9.0.1 EAP or 9.0 release? Are you behind firewall? What buttons do you have in update message?

          • The Mule

            I was using 9.0, and yes behind a firewall, though it doesn’t interfere with any other software updates (Chrome, etc).

            I already did the uninstall/reinstall, so I can’t say for sure what my buttons were. If I recall correctly, there was “Cancel” and “More Info”, the More Info button opened a browser tab leading to the download. I didn’t presume this to be unexpected behavior — I thought you guys knew it was only offering the full uninstall/reinstall update. Next time, if it does the same thing I’ll document it more carefully. Sorry I can’t be more specific.

          • Maxim Kolmakov

            What is your previous version of PhpStorm? Is it 9.0.1 EAP or PhpStorm 9.0 ? Are you behind firewall? What buttons do you have in update message?

          • TCIA_Webmaster

            Started things up today and got the patch. Whatever you did fixed it! Thank you. FWIW it was 9.0 and yes I’m behind a sonicwall

      • netpalantir

        No patch update here either. I got the message that there is a stable update this morning, but it offered me no patch update. It redirected me to the download page.
        Using stable 9.0, on Ubuntu 15.04, no proxies.

    • http://userx.co.za/ Michael Thorne

      +1 that would be great. Just had to do an uninstall/reinstall on Windows 8.1 for the 9.0.1 update.

  • Harrison A. Heck

    Using the version with JRE built in, it complained about not being able to access some font file in the included JRE. When PhpStorm started, OS X asked me if it could access the network (I have the firewall turned on). This only happens on apps that are not signed, or have been modified and broke the signature.

    • Maxim Kolmakov

      Could you please create an issue at: https://youtrack.jetbrains.com/issues/WI ?

      • Harrison A. Heck

        Done. Not sure how much help it will be though, as I’m not sure if it’ll be reproducible.

    • Karl Shea

      This fixed the patch issue for me:

      chmod +w /Applications/PhpStorm.app/Contents/jre/jdk/Contents/Home/jre/lib/fontconfig.bfc

  • The Mule

    My templates have the extension .tpl.php, and the program no longer seems to recognize the HTML inside as html. It does not complete the css class names, or hightlight tags, or do any other the other IDE… stuff it used to do for HTML.

    • The Mule

      If anyone else is running in to this in 9.0.1, there is an open bug for this: https://youtrack.jetbrains.com/issue/WI-28375 — it is related to the “double extension”. By adding .tpl (in my case) to HTML, the syntax highlighting works as expected.

      • cj5

        Yeah I got the same thing. Thanks for the tip

      • Craig A. Hancock

        Thank you for the tip! Note that if you have Smarty enabled, it will ask if you want to reassign the wildcard to HTML.

      • Josh Taylor

        So Drupal 7 templates are borked.

      • Vladimir Luchansky

        You don’t need to reassign *.tpl from Smarty type to HTML type – in that case usual Smarty files will be treated as HTML files.

        Go to File | Settings | Languages & Frameworks | Template Data Languages and assign HTML or JavaScript as a Template data language to have your syntax properly highlighted.

        • C4 Marcus

          Going there presents a file/directory tree. Am I supposed to do that for every template file in a project? That would make PhpStorm unusable.

          • Vladimir Luchansky

            Why for a file? You can do this for particular directory or whole project.

      • netpalantir

        Thanks for the tip, really helped.

        But still, half an hour of lost work. And I am staying on “stable” just because I wish to avoid this kind of regressions. Really nobody at JetBrains’ QA tested this on Drupal (for example) before releasing??!

        • netpalantir

          Also, it looks like it nuked my surrounding templates (CTRL+ALT+J). Now it says that none are defined for this context.

          • netpalantir

            Reverted to 9.0. Sooooo disappointing!!!

          • C4 Marcus

            I’ve been a big Jetbrains advocate for a while, but this is really terrible and hope it gets fixed promptly

          • The Mule

            @c4marcus:disqus @netpalantir:disqus Just got a patch update for 9.0.2 which fixed this problem. If you changed your file extension setting as I had suggested for a workaround, be sure to restore them! It probably doesn’t matter if you don’t use smarty, but also probably better safe than sorry.

          • C4 Marcus

            Thanks

      • Gideon

        Got the same Problem, but differend…
        We got {{something.inc.php}} Files. If i add *.inc in the way you mentioned,(Tahnks for that!) it will get back the right syntax but the autofromatting is still broken…
        If i hit {{strg+alt+L}} Storm say, the code is well formated, but it isnt…

        Invaliding cache did not fix this.

        • Roman Langenbourg

          Same here! Even if I added .tpl to HTML file type it became hilighting ok, but don’t enables proper autocomplete (Emmet, for example).

          That’s terrible release! Jetbrains, wake up! We can’t work!!!

    • David Thorne

      Thanks for the tip @disqus_8zUXERpxEd:disqus

    • divined055

      the same!

  • Andrew

    Downloading the bundled JDK 1.8 version is 178MB and produces an error stating the application is corrupt.

    OS-X El Capitan Beta (15A243d).

    I used AppCleaner to remove everything PhpStorm related and it’s still producing this error.

  • guice

    The bundled version link is still 9.0. And 9.0.1 using Java 8 on El Capitan has the same UI oddities as before.

    • Maxim Kolmakov

      Sorry, the link should be updated right now. Probably it was the issue with caches.

      Could you please describe “UI oddities” that you experience?

      • guice

        Sure: I run PHPStorm on full workspaces on an external monitor (LG). While switching between workspaces, I get weird vertical block flashes in the middle of the IDE. And in the past–I hadn’t played with this enough to know if it still exists–closing a workspace / project would cause PHPStorm ghosting: a workspace will “show” on my Desktop 3, but it’s actually not intractable, and the workspace is should be on is just a blank window. The only way to fix this was to restart PHPStorm.

        • Maxim Kolmakov

          This happens in the build with custom JDK, right? If so please create an issue at: https://youtrack.jetbrains.com/issues/WI with a screencast that demonstrates the issue.

          If it happens in the build *without* JDK please try build *with* custom JDK.

          • guice

            It happens on the “without” version, not on the custom version, which is why I was looking for the custom version. 😀

            Are there any plans for bundling the JDK by default? I’m certain > 50% (I’d say > 70%) of your users are now on Yosemite, with a large portion of them switching to El Capitan here next month.

          • Maxim Kolmakov

            We’re not confident enough to provide only one version with bundled JDK. But now we always publish version with bundled JDK for releases and EAPs as well.

            Custom version is available at: https://download.jetbrains.com/webide/PhpStorm-9.0.1-custom-jdk-bundled.dmg

  • Thomas Hansen

    Getting lots of problems with identation after updating! The “Generate PHPDoc for function” generates a comment block with no identation and puts the */ at the same line of the method header. Asking PHPStorm to create a method using Alt+Enter creates all the text for the method in one line. Basic alignment stuff is also not working properly (F.Ex.: changing line a the end of a “case” clause will place the cursor at the same column of the “case”, instead of one tab to the right (which was the previous behaviour). PhpStorm 9.0.1 (Build #PS-141-2402) upgraded from 9, running on LinuxMint 17.1. Oracle JRE 1.7.0_80-b15 AMD64. Is it possible to revert the upgrade???

  • Nico Barten

    ‘completion of > after typing $this-, completion for class methods without typing $this->’

    How can this be turned off? I really don’t like IDE’s which automatically finish typing for me, unless i handle the action itself (for instance, using Tab to use the autocompletion system).

  • chrisminett

    OS X version with bundled JDK seems to revert the font issues in Yosemite. Previously in 8.x and 9.0 with bundled JDK, fonts were crisp on Macbook retina screen (the bundled version fixed this compared to Oracle version). With 9.0.1 and bundled JDK the fonts are blurry again. I’ve reverted to 9.0 (which brought it’s own issues – can’t read keymaps any more. Thank goodness for Time Machine)

  • Alex

    After update 9.0.1 version I see fail to autocompletion classes in phpdoc’s.
    Also I don’t see some classes in autocompletion popup window.
    However, phpstorm recognized this class after manual write.

    I tried to rollback to 9.0, but catch errors and unstable work of phpstorm.

    • Maxim Kolmakov

      Please try File->Invalidate Caches.

      • Alex

        I tried it… unsuccessfull…

        If I press CTRL+SPACE – autocompletion window appears.
        But in version 9.0 autocompletion window displays as autocompletion in phpcode – at once after typing

        • Alex

          Максим, скажу по-русски, потому как по-английски мог не передать всю суть…

          Раньше в версии 9.0 при наборе кода сразу появлялось подсказывающее окно. То есть, поведение было одинаково что в phpdoc’ах, что в обычном коде, например, в методе класса.

          Сейчас же в phpdoc’ах не появляется окно до тех пор, пока не нажмёшь CTRL + пробел.
          И это стало очень неудобно.
          К том уже, теперь в это окно автокомплита попадают не те подсказки, которые хотелось.
          Проще говоря, такое ощущение, что это два разных по типу окна автокомплита.

          Как-то можно вернуть (или изменить) поведение автокомплита в phpdoc’ах?

  • https://twitter.com/jotawonka jotawonka

    Oh, you didn’t fixed the problem with private methods in traits that are marked as errors when called :(

    • Maxim Kolmakov

      Please create an issue about refactoring at https://youtrack.jetbrains.com/issues/WI#newissue

      • https://twitter.com/jotawonka jotawonka

        thanks, the bug tracker page wasn’t easy to find, I would suggest to add a link in the menu of the IDE like “Report a bug” under Help. Because right now we only have feedback links.

        • Maxim Kolmakov

          The usual workflow is “Help->New Support Request”. Support team will create an issue for you if there is nothing similar already.

  • F6xara

    All _ in project name’s are remove ! (perso_v2_www.truc.com become persov2www.truc.com)
    Drag and drop file bug (file disappear but not appear in new folder for .htpasswd) . Invalidates caches / restart don’t corrige.

    • Maxim Kolmakov

      Could you please specify the place where “_” have been disappeared?
      Please also describe “Drag and drop file bug” in a more details.

      • F6xara

        Names of my project are __nameofagency_dev_v2_www.site-example.com. All become _nameofagencydevv2www.site-example.com

        for drag and drop, all files of one projet (always the same) can’t be move. When i drag and drop the file, nothing happen but when i do the same action, I have a error : cannot create files. ‘dropped file’ already exist.
        If i close and reopen project, the file is in the good place.

      • F6xara

        Ok, with rename project, the name is ok. But in Open recent, all name are wrong

  • John Doe

    Font rendering changed on 10.11. Fonts are now much bolder and blurry compared to before. This is on the bundled JDK version. Now bolder is welcome (though I feel this is too bold) but the blurriness is not. :(

  • Kinian

    I dont know if this is a bug or a feature, I have a lot of SQL Server’s queries in Database Console and now I have to add a “GO” at the end of each if I want to execute them individually.

  • mooduino

    Just updated, really wish I hadn’t. Drupal templates are borked. I knew I should have kept a copy of 9.0.0.

    • Maxim Kolmakov

      You can download at PhpStorm 9.0 at: https://confluence.jetbrains.com/display/PhpStorm/Previous+PhpStorm+Releases

      We also are going to provide 9.0.2 soon with the fix for files with double template.

      • mooduino

        Thanks. I did find that page in the end, though it doesn’t list the Mac version with the bundled JDK, but I was able to work out the correct URL. Downgrading to version 9.0.0 wasn’t without it’s problems either; it couldn’t parse my custom keymap xml file.

      • mooduino

        Yeah, it looks like between 9.0.0 and 9.0.1, you’ve changed the keyword ‘control’ to ‘ctrl’ in keymap XML files, so files that have been upgraded by 9.0.1 can’t be correctly read by 9.0.0.

        Are you sure this is a patch release?

  • GrumpyCat

    PHPdoc alignment broken in 9.0.1, but in 9.0 was ok.
    Also while auto implemeting method the code is not aligned correctly.
    :'(

    • Maxim Kolmakov

      Please set “HTML” in “Settings->Template Data Languges” for “Project”. Does it help?

      • GrumpyCat

        Yes. Thanks.

        • Maxim Kolmakov

          Could you please try PhpStorm 9.0.2? It should fix the issue.

          • GrumpyCat

            Yes. In 9.0.2 everything is perfect. Thank you!

      • GrumpyCat

        But, no. Bug is still exists :( When I adding new parameter – it’s not aligning.

  • plunntic

    Here’s https://youtrack.jetbrains.com/issue/WI-28351 a request created by `Nico` to add support for auto-completing `>` after `-` not only for `$this`, but also for any other object variable.

  • Rheman Tidalgo

    Please help me how can I fix a corrupted file it occurs when I was saving the file and suddenly the electricity went out. that made the computer forcely shutdown while the phpstorm is on saving state please help.

    this is what my main.js looks like now if I try to view the page source.

    �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
    when I try to open it with phpstorm its empty