File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ namespace VariableAnalysis \Sniffs \CodeAnalysis ;
4+ use PHP_CodeSniffer \Sniffs \Sniff ;
35use PHP_CodeSniffer \Files \File ;
46
57/**
@@ -83,7 +85,7 @@ function __construct($varName) {
8385 * @copyright 2011 Sam Graham <php-codesniffer-variableanalysis BLAHBLAH illusori.co.uk>
8486 * @link http://pear.php.net/package/PHP_CodeSniffer
8587 */
86- class VariableAnalysisSniff implements PHP_CodeSniffer \ Sniffs \ Sniff {
88+ class VariableAnalysisSniff implements Sniff {
8789 /**
8890 * The current phpcsFile being checked.
8991 *
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <ruleset name =" PHP_Codesniffer Plugins VariableAnalysis" >
3- <description >Run ./install.sh and choose from the following rules to your standrd's ruleset.xml .</description >
2+ <ruleset name =" VariableAnalysis" >
3+ <description >A code sniff to detect problems with variables .</description >
44
55 <!-- If you want everything, with the defaults, just include this line -->
66 <rule ref =" VariableAnalysis.CodeAnalysis.VariableAnalysis" />
You can’t perform that action at this time.
0 commit comments