?????????? ????????? - ??????????????? - /opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.inc
???????
<?php /** Class doc comment */ class Comment { }//end class // // Sample class comment // // // class Invalid_Comment_Style1 { }//end class /** * * * Sample class comment. * * * Long description with extra blank line before and after * * * @version Release: 1.0 * @link http://pear.php.net/package/PHP_CodeSniffer */ class Extra_Description_Newlines { }//end class /** * Sample class comment... */ class Missing_Newlines_Before_Tags { }//end class /** * Simple class comment * * @deprecated asd */ class Checking_Tags { class Sub_Class { }//end class }//end class /** * Simple class comment * that spans multiple line * and not end with a full stop * * @hello Hello tag * @package phpcs */ class Unknown_Hello_Tag { }//end class /** * * * */ class Empty_Class_Doc { }//end class /** */ class Missing_Short_Desc { }//end class /** * sample class comment. * * - long description with extra blank line before and after */ class Incorrect_Case { }//end class /** * 0sample class comment. * * long description with extra blank line before and after */ class Incorrect_Case2 { }//end class /** Sample class comment. */ class Start_Tag_Incorrect { }//end class /** * 这是一条测试评论. * */ class Space_At_end { }//end class /** * Sample class comment */ #[Attribute] class AllGood { } /** * Docblock */ abstract readonly class AbstractReadonlyWithDocblock {} /* * Docblock */ readonly class ReadonlyWrongStyle {} readonly final class ReadonlyFinalWithoutDocblock {}
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????