Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PhpStorm Code Style

Security covered

This project provides an updated Drupal code style for PhpStorm, intended to be more current and accurate than the one officially shipped with the IDE. Developers can import this scheme directly into PhpStorm to ensure they are following the latest Drupal coding standards.

This project is for ongoing collaboration on the Drupal code style shipped with PhpStorm. Since we have no control over when PhpStorm will integrate our updates, much less release them, our version is usually much newer than theirs. (At the time of this writing, theirs was almost completely broken.) Therefore Drupal contributors and serious developers will probably be better served to use ours directly and are encouraged to do so. The only caveat is that you won't get updates automatically, so you probably want to subscribe to releases.

Installation

  1. Download the current code style scheme (Drupal.xml).
  2. Open your Drupal project in PhpStorm.
  3. Set up Drupal support.
  4. Instead of applying the pre-configured Drupal code style, import the Drupal.xml file you downloaded in step #1 per these instructions.

Contribution

Testing and feedback are appreciated at #3309716: Create official PhpStorm code style.

Credit: Free XML icon courtesy of LAB Design Studio.

Ask your assistant about PhpStorm Code Style

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.x-dev Dev May 2, 2023