geodesicsolutions-community / geocore-community

GeoCore Community, open source classifieds and auctions software
MIT License
9 stars 6 forks source link

Add .gitattributes to normalize line endings, and fix a bunch of PSR12 issues #137

Closed jonyo closed 2 years ago

jonyo commented 2 years ago

Fixes #119

As we started noticing, there were a lot of files getting skipped somehow by cs-fix so that when you went in to edit them for the first time, you ended up with a ton of whitespace changes done automatically by the editor to make it comply with editorconfig.

This adjusts the ruleset. It looks like it was skipping any PHP files that had a dot anywhere in the path besides the .php at the end. And I went ahead and made it scan even normal files. It now takes a bit longer to scan but it does all of them.