vralfy / phpcsmd

Netbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
27 stars 6 forks source link

Netbeans internal formatting feature and PHP CS #42

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi everyone,

I've setup my project to automatically format the code on save by using Netbeans internal function (Source -> Format or 'Alt+Shift+F') but it mess up the formatting valid for PHP CS (like opening brace, for example)

Is there any solution to this?

Thanks!

vralfy commented 9 years ago

Change your checkstyle :D

There is no solution out of the box .. maybe you could use an other formating plugin to let your sourcecode fit your rules