Permalink
Commits on Nov 1, 2012
  1. Prepare for 1.4.1 release

    gsherwood committed Nov 1, 2012
Commits on Oct 31, 2012
  1. Fixed bug #19687 : Anonymous functions inside arrays marked as indent…

    gsherwood committed Oct 31, 2012
    …ed incorrectly in PSR2
Commits on Oct 29, 2012
  1. Generic DuplicateClassNameSniff is no longer a multi-file sniff, so i…

    gsherwood committed Oct 29, 2012
    …t won't max out your memory
Commits on Oct 26, 2012
  1. Added warning for custom sniffs and bumped the change up the log a bi…

    gsherwood committed Oct 26, 2012
    …t becasue it is important
  2. Added support for PHP tokenizing of T_INLINE_ELSE colons. Fixes bug #…

    gsherwood committed Oct 26, 2012
    …19666 : PSR1.Files.SideEffects throws a notice Undefined index: scope_closer
Commits on Oct 16, 2012
  1. Removed the new MixedLineEndings sniff in favour of doing the check w…

    gsherwood committed Oct 16, 2012
    …hile tokenizing each file. Mixed line endings can cause a lot of issues for the tokenizer, so users are now warned when they are found. Also added the ability to set the type of a message in a ruleset.xml file so it can be changed from error to warning or vice versa.
  2. Fixed bug #19644 : Alternative syntax, e.g. if/endif triggers Inline …

    gsherwood committed Oct 16, 2012
    …Control Structure error
  3. Merge pull request #63 from gnutix/master

    gsherwood committed Oct 16, 2012
    Fixes an error when using native "\SoapClient::__*" method.
  4. Fix a char case issue

    gnutix committed Oct 16, 2012
    As the code inside the processTokenWithinScope() method was using strtolower to compare the $magicPart, "soapCall" didn't matched "soapcall".
  5. PHP syntax fix

    gnutix committed Oct 16, 2012
    Just a small parenthesis forgotten.
  6. Fixes "Method name Foo::__soapCall is invalid."

    gnutix committed Oct 16, 2012
    If the developer create a class extending the PHP native class \Soap_Client and override the __soapCall() method, PHPCS throws an error because "only magic methods should be prefixed with a double underscore".
    __soapCall() isn't a magic method, but it's named with two underscore, and as it is a PHP native method, I think it should be allowed by PHPCS.
Commits on Oct 11, 2012
  1. All ignore patterns have been reverted to being checked against the a…

    gsherwood committed Oct 11, 2012
    …bsolute path of a file. Patterns can be specified to be relative in a rulset.xml file, but nowhere else.
Commits on Oct 10, 2012
  1. Dont try and set a property for a sniff that isn't loaded. This may h…

    gsherwood committed Oct 10, 2012
    …appen when setting properties in a file using comments.
  2. Added Generic MixedLineEndingsSniff to ensure files do not use more t…

    gsherwood committed Oct 10, 2012
    …han one type of EOL character
Commits on Oct 9, 2012
  1. Added a few more build commands to check that the package.xml file is…

    gsherwood committed Oct 9, 2012
    … valid and that the current version of phpcs can run over itself and produce no errors.
Commits on Oct 8, 2012
  1. Added entries for new sniffs

    gsherwood committed Oct 8, 2012
  2. The extra space before the end tag was causing issues with a new snif…

    gsherwood committed Oct 8, 2012
    …f to ban space indents. So instead, make sure there is a newline before the close tag so there is no indent.
  3. A few minor changes to conform to coding standards and make messages …

    gsherwood committed Oct 8, 2012
    …consistent with other sniffs.
Commits on Oct 6, 2012
  1. Fixed XML error

    gsherwood committed Oct 6, 2012