Code Style File

(Julie Buurman) #1

Would anyone happen to have a code style file that I could import into PhpStrom? With all code style formatting that is used for this project? Maybe even Inspection sheet? I’m using the predefined style PSR1/PSR2. However it doesn’t seem to match the code base. There are also other styles like SQL etc. Here is an example of what I mean. If we don’t have one would it be advantageous to make one?

Example_php.xml (1.6 KB)

(Stephen Waite) #2

(Julie Buurman) #3

Thanks Stephen for the reply,

I have tried that, it seem to outdated. I’m running on PhPstorm 2019. here is a copy of what I see.

(Stephen Waite) #4

does the coding standard box in the lower right give you select options?

(Julie Buurman) #5

No, I will try and installing it by following the instructions. However I don’t think the file that is in the code base will work.

This is the link from the description on top.

and here is a think for PHPStorm