title: How to correctly change line character limit configuration in PHP CodeSniffer?
body: <p>So I want to change the values for <code>$lineLimit</code> and <code>$absoluteLineLimit</code> that PHP CodeSniffer uses when checking files. After some googling I tried to make my own standard to facilitate this but I haven't got it working. Working on Ubuntu 12.04.4LTS and in the system directory for PHP CodeSniffer I put in my folder <code>MyStandard</code> and in the subdirectory <code>Sniffs</code> I have what is to be my personal Sniff to change the line limit called <code>LineLimit120Sniff.php</code></p>
  
  <p>The code is as follows</p>
  
  <pre><code>class LineLimit120Sniff extends Generic_Sniffs_Files_LineLengthSniff
  {
      public $lineLimit = 100;
      public $absoluteLineLimit = 120;
  }
  </code></pre>
  
  <p>When I try to run <code>phpcs --standard=MyStandard &lt;file&gt;</code> I get the this as output </p>
  
  <blockquote>
    <p>PHP Notice:  Undefined offset: 3 in /usr/share/php/PHP/CodeSniffer.php
    on line 1189  </p>
    
    <p>PHP Fatal error:  Cannot redeclare class
    LineLimit120Sniff in
    /usr/share/php/PHP/CodeSniffer/Standards/MyStandard/Sniffs/LineLimit120Sniff.php
    on line 8</p>
  </blockquote>
  
  <p>I don't understand, how is the class being redeclared..? What am I doing wrong? Or alternatively, is there an easier way to change the <code>$lineLimit</code> setting?</p>