RemovedPHP4StyleConstructors: should not apply to interfaces by jrfnl · Pull Request #921 · PHPCompatibility/PHPCompatibility
Introduced in 751 / 9.1.0. While interfaces can declare methods with the same name as the interface, as the class in which the method will be implemented will be called differently, those methods will never be seen as constructors, so shouldn't trigger this error. Mea culpa. Related: squizlabs/PHP_CodeSniffer 2663
wimg approved these changes Nov 4, 2019
wimg
deleted the
feature/php4constructors-should-not-apply-to-interfaces
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters