1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00
Commit graph

5 commits

Author SHA1 Message Date
Phyks (Lucas Verney)
2bb142eeb8 Fix issue #1260
Fix coding guidelines incoherences. Code should match PSR1/2 now, and
php-cs is set to check it on each commit.

Also fixed the Git hook to take into account only added, modified,
copied and renamed files (preventing errors when trying to check deleted
files).

Closes #1260.
2016-08-01 21:55:14 +02:00
Phyks (Lucas Verney)
2890aa89bf Fix Travis-CI build
* Fix php-cs according to https://github.com/ampache/ampache/issues/1251
to fix travis build. Use composer to force the 1.* version to be used.

* Add `encoding` fixer.

* Use the same set of fixers in Git commit hook and test script.

* Update hooks and scripts.

* Fix a braces issue detected by php-cs.

Closes issue #1251.
2016-06-13 15:32:48 +02:00
Afterster
87e782431d Remove bugged lowercase_keywords code style check 2015-12-08 21:25:28 +01:00
René Bigler
61de51ef93 [FEATURE] Update GIT hook 2015-11-19 22:58:16 +01:00
René Bigler
ae1544d966 [FEATURE] Git hook for code analysation 2015-01-07 23:26:18 +01:00