Netbeans for PHP settings that allows to be compliant with PSR-1/PSR-2.
- Download the zip from github releases. Do not download using the "Download ZIP" function from project home, but use the release.
- In Netbeans 8.0 do
- Select the zip file.
To automatically adjust your line ending to
LF, you have to install the plugin Change line endings on Save. The configuration is included in the repo. Be careful, the configuration is global.