PHP 8.2.31
Preview: ClassCommentUnitTest.inc Size: 2.79 KB
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.inc

<?php
define('OK', 1);

class No_Comment
{

}//end class


//
// Sample class comment
//
//
//
class Invalid_Comment_Style1
{

}//end class


/**
 *
 *
 * Sample class comment
 *
 *
 * Long description with extra blank line before and after
 *
 *
 * @category  PHP
 * @package   PHP_CodeSniffer
 * @author    Greg Sherwood <gsherwood@squiz.net>
 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license   https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 * @version   Release: 1.0
 * @link      http://pear.php.net/package/PHP_CodeSniffer
 */
class Extra_Description_Newlines
{

}//end class


/**
 * Sample class comment
 * @category  PHP
 * @package   PHP_CodeSniffer
 * @author    Greg Sherwood <gsherwood@squiz.net>
 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license   https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 * @version
 * @link      http://pear.php.net/package/PHP_CodeSniffer
 */
class Missing_Newlines_Before_Tags
{

}//end class


/**
 * Simple class comment
 *
 * @category   _wrong_category
 * @package    PHP_CodeSniffer
 * @package    ADDITIONAL PACKAGE TAG
 * @subpackage SUBPACKAGE TAG
 * @author     Original Author <author@example.com>
 * @author       Greg Sherwood gsherwood@squiz.net
 * @author     Mr T <t@squiz.net>
 * @author
 * @copyright  1997~1994 The PHP Group
 * @license    http://www.php.net/license/3_0.txt
 * @version    INVALID VERSION CONTENT
 * @see
 * @see
 * @link       sdfsdf
 * @see        Net_Sample::Net_Sample()
 * @see        Net_Other
 * @deprecated asd
 * @unknown    Unknown tag
 * @since      Class available since Release 1.2.0
 */
class Checking_Tags
{
    class Sub_Class {

    }//end class


}//end class


/**
 *
 *
 */
class Empty_Class_Doc
{

}//end class


/**
 *
 *
 */
interface Empty_Interface_Doc
{

}//end interface


/**
 *
 *
 */
trait Empty_Trait_Doc
{

}//end trait


/**
 *
 *
 */
enum Empty_Enum_Doc
{

}//end enum


/**
 * Sample class comment
 *
 * @category  PHP
 * @package   PHP_CodeSniffer
 * @author    Greg Sherwood <gsherwood@squiz.net>
 * @license   https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 * @link      http://pear.php.net/package/PHP_CodeSniffer
 */
#[Authenticate('admin_logged_in')]
class TodoController extends AbstractController implements MustBeLoggedInInterface
{
}

/**
 * Docblock
 *
 * @category  PHP
 * @package   PHP_CodeSniffer
 * @author    Greg Sherwood <gsherwood@squiz.net>
 * @license   https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 * @link      http://pear.php.net/package/PHP_CodeSniffer
 */
abstract readonly class AbstractReadonlyWithDocblock {}

/*
 * Docblock
 */
readonly class ReadonlyWrongStyle {}

readonly final class ReadonlyFinalWithoutDocblock {}

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
2.79 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.80 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.41 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
168 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
49 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
114 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.37 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.93 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.85 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.47 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
488 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
490 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.45 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).