title: PhpStorm and PSR-12, how can I add it as default coding style?
body: <blockquote>
    <p><a href="https://www.php-fig.org/psr/psr-12/meta/" rel="noreferrer">PSR-12</a> is an extension of
    PSR-2, and therefore also an extension of PSR-1. The basis of PSR-12
    is PSR-2 and therefore a list of differences is provided below to
    assist with migration but it should be considered as an independent
    specification.</p>
  </blockquote>
  
  <p>From the php-fig site. Long story short, while not mandatory, it covers more code cases than PSR-2.</p>
  
  <p>I'd like to use it in PhpStorm. Unfortunately, by default, storm doesn't offer this option.
  At predefined styles you have a fairly comprehensive list, but not comprehensive enough.</p>
  
  <p><a href="https://i.stack.imgur.com/eobri.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eobri.png" alt="enter image description here"></a></p>
  
  <p>Of course, I can always define the style myself doing it by hand, but that doesn't strike me as a good idea. Mostly because I WILL miss something and if there are any updates to the PSR I can't easily update it. Not to mention I can't share it properly with my team. Except maybe exporting my .idea folder.</p>
  
  <p>I googled around for a plugin or something of that sort but came up empty handed.</p>