Commit bfd339cd authored by Klaus Purer's avatar Klaus Purer
Browse files

chore(supportedTokenizers): Remove obosolete JavaScript support to prevent bug reports (#3107340)

parent ea4a95e6
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -26,16 +26,6 @@ use PHP_CodeSniffer\Sniffs\Sniff;
class DocCommentSniff implements Sniff
{

    /**
     * A list of tokenizers this sniff supports.
     *
     * @var array<string>
     */
    public $supportedTokenizers = [
        'PHP',
        'JS',
    ];


    /**
     * Returns an array of tokens this test wants to listen for.
+0 −11
Original line number Diff line number Diff line
@@ -30,17 +30,6 @@ class FileCommentSniff implements Sniff
{


    /**
     * A list of tokenizers this sniff supports.
     *
     * @var array<string>
     */
    public $supportedTokenizers = [
        'PHP',
        'JS',
    ];


    /**
     * Returns an array of tokens this test wants to listen for.
     *
+0 −10
Original line number Diff line number Diff line
@@ -28,16 +28,6 @@ use PHP_CodeSniffer\Util\Tokens;
class InlineCommentSniff implements Sniff
{

    /**
     * A list of tokenizers this sniff supports.
     *
     * @var array<string>
     */
    public $supportedTokenizers = [
        'PHP',
        'JS',
    ];


    /**
     * Returns an array of tokens this test wants to listen for.
+0 −7
Original line number Diff line number Diff line
@@ -24,13 +24,6 @@ use PHP_CodeSniffer\Sniffs\Sniff;
class PostStatementCommentSniff implements Sniff
{

    /**
     * A list of tokenizers this sniff supports.
     *
     * @var array<string>
     */
    public $supportedTokenizers = ['PHP'];


    /**
     * Returns an array of tokens this test wants to listen for.
+0 −10
Original line number Diff line number Diff line
@@ -27,16 +27,6 @@ use PHP_CodeSniffer\Util\Tokens;
class ControlSignatureSniff implements Sniff
{

    /**
     * A list of tokenizers this sniff supports.
     *
     * @var array<string>
     */
    public $supportedTokenizers = [
        'PHP',
        'JS',
    ];


    /**
     * Returns an array of tokens this test wants to listen for.
Loading