Konafets / TYPO3SniffPool

This repository contains custom sniffs which are compatible with the PHP_CodeSniffer. Understand this package as a sniff pool which contains all needed custom sniffs for the various TYPO3 projects.
21 stars 10 forks source link

PHP_CodeSniffer does not find sniffs in PHP 7 #78

Open oliverklee opened 8 years ago

oliverklee commented 8 years ago

With PHP 7, PHP_CodeSniffer to not find the sniffs from TYPO3SniffPool anymore:

https://travis-ci.org/oliverklee/sniffer-demo

This is the demo project I've used: https://github.com/oliverklee/sniffer-demo

This only happens with PHP 7, not with PHP 5.5, 5.6 or HHVM.

Only the TYPO3SniffPool sniffs are affected, not the sniffs that come bundled with PHP_CodeSniffer.

oliverklee commented 8 years ago

On my local development machine, this problem also occurs with PHP 5.512.