phphint.orgのPSR-0/1/2-構文チェッカーは、このメッセージを表示します
The first parameter of a multi-line function declaration must be on
the line after the opening bracket
このコードについて:
// class autoloader for PHP 5.3+
spl_autoload_register( function ($class) {
include('classes/' . $class . '.class.php');
});
私はたくさん試しましたが、この小さなコードPSR-0/1/2-saveを取得することはありませんでした。ソリューションはどのようになりますか(またはphphintのアナライザーは厳しすぎますか?)