monperrus / bibtexbrowser

Beautiful publication lists with bibtex and PHP (standalone or in Wordpress)
http://www.monperrus.net/martin/bibtexbrowser/
84 stars 54 forks source link

4 spaces #85

Closed paxperscientiam closed 6 years ago

paxperscientiam commented 6 years ago

Here are add an editorconfig file to help contributors adhere to two PSR-2 style rules:

EDIT:

OK, the way I did this was no appropriate as I did not apply the new style to all of the files. I'll do that now and then you should review once that commit is pushed.

paxperscientiam commented 6 years ago

@monperrus OK, so this includes the editorconfig file and the test file and one of the wikis.

What do you think so far? Unfortunately, the diffing is annoying broken into large blocks...

monperrus commented 6 years ago

can we add a checkstyle for this property in the Travis CI?

paxperscientiam commented 6 years ago

@monperrus yes. sorry, forgot to reply

monperrus commented 6 years ago

I'm OK to change the formatting convention, but this has to be automatically checked in Travis.

monperrus commented 6 years ago

Thanks for the proposal.