I guess in this case, it would be best to probably not to run PHP Code Sniffer on the test directory. This could look like this:

```
# .scrutinizer.yml
tools:
    php_code_sniffer:
        enabled: true
        path_configs:
            - 
                path: ["tests/*"]
                enabled: false
```
This would generally enable PHP Code Sniffer except for everything that is in the ``tests/`` directory. More info on this here: 
https://scrutinizer-ci.com/docs/configuration#tool-configuration-structure