Travis/unduplicate

Fix two issues with the current PHPCS ruleset.

I'd also like to make note of the below line which in effect disables the checks for all for all files. Is this by intention or shall I remove it ?
```xml
<exclude-pattern>*</exclude-pattern>
```