Permalink
Commits on May 7, 2017
  1. 🔥 Fix broken/incompatible `installed_paths` in PHPCS 3.x

    If a "Standards" directory is called the same as one of the standards it contains and that standard is requested an _"ERROR: the ... coding standard is not installed."_ will be thrown and the sniffs will not run.
    
    While I suppose this change in behaviour between PHPCS 3.x and PHPCS 2.x is intended to add support for "one standard" type of libraries, it breaks support for multi-standard libraries where one of the standards has the same name as the repository.
    
    The change I'm proposing in this PR will maintain support for the PHPCS 2.x behaviour - thus not breaking existing registered standards - while at the same time supporting the new feature.
    jrfnl committed May 7, 2017
  2. Generic.Classes.OpeningBraceSameLine: Minor tweak for edge case scena…

    …rio.
    
    There might be a comment between the opening brace and the last part of the class declaration.
    The sniff currently did not take that into account.
    
    Fixed including unit test demonstrating the issue.
    jrfnl committed May 7, 2017
Commits on May 4, 2017
  1. Prepare for 3.0.0 release

    gsherwood committed May 4, 2017
  2. Added changelog for 2.9.0

    gsherwood committed May 4, 2017
Commits on May 3, 2017
  1. Fixed release dates

    gsherwood committed May 3, 2017
  2. Prepare for 2.9.0 release

    gsherwood committed May 3, 2017
Commits on May 1, 2017
  1. Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an erro…

    …r while fixing mixed PHP/HTML
    gsherwood committed May 1, 2017
Commits on Apr 27, 2017
  1. The autoloader will now search for files inside the directory of any …

    …loaded coding standard (ref #1430)
    gsherwood committed Apr 27, 2017
  2. Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control …

    …structures that make use of JS objects
    gsherwood committed Apr 27, 2017
Commits on Apr 26, 2017
  1. Changelog for #1431

    gsherwood committed Apr 26, 2017
Commits on Apr 25, 2017
  1. Respect coding standards

    ghunti committed Apr 25, 2017
Commits on Apr 20, 2017
  1. Added missing error codes for a couple of sniffs so they can now be c…

    …ustomised as normal (ref #1423)
    gsherwood committed Apr 20, 2017
Commits on Apr 14, 2017
  1. Squiz/ClosingDeclarationComment: use `$data` rather than composing th…

    …e error message in parts.
    jrfnl committed Apr 14, 2017
Commits on Apr 13, 2017
  1. Changelog for #1363 (ref #834)

    gsherwood committed Apr 13, 2017
Commits on Apr 12, 2017
  1. Fixed bug #1421 : Ternaries used in constant scalar expression for pa…

    …ram default misidentified by tokenizer
    gsherwood committed Apr 12, 2017
  2. Changelog for #1420

    gsherwood committed Apr 12, 2017
  3. Merge branch 'master' into 3.0

    gsherwood committed Apr 12, 2017
Commits on Apr 11, 2017
  1. Minor doc fix `PHP_CodeSniffer_File::getMethodParameters()`

    Add information about the `variable_length` index in the returned array.
    jrfnl committed Apr 11, 2017
Commits on Apr 10, 2017