AKSW/OntoWiki — pull request #188 by pfrischmuth (2013-02-08 15:10:43+00:00)
Title: Fix code sniffer issues, enable further sniffs

- Fix cs targets (e.g. on zsh)
- Enhance file doc sniff
- ignore whitespaces
- check for 2006-YYYY
- if only year differs add warning instead of error
- increase severity level for copyright year warning
- fix sniffer issues for sniff files
- Fix various code sniffer issues
- Replace function declaration sniff
- use PEAR.Functions.FunctionDeclaration instead of
Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine snif sniff
- Fix naming in order to adhere to coding standards
- Fix usage of POST data (coding standards)
- Fix $_FILES access (coding standards)
- Ignore test bootstrap on forbidden functions check
- Ignore index.php for global function sniff
- contains an error handler function and thus needs to be ignored
- Add further sniffs, fix a for loop
- add Generic.Classes.DuplicateClassName
- add Generic.CodeAnalysis.ForLoopWithTestFunctionCall
- Add Generic.CodeAnalysis.JumbledIncrementer sniff
- Add further sniffs, fix empty overloads
- add Generic.CodeAnalysis.UnconditionalIfStatement
- add Generic.CodeAnalysis.UselessOverridingMethod
- fix two useless overrides
- Add further sniffs, fix inline control structures
- add Generic.Commenting.Fixme
- add Generic.ControlStructures.InlineControlStructure
- fix inline control structures (no parenthesis)
- Add further sniffs, fix whitespace after cast
- add Generic.Files.ByteOrderMark
- add Generic.Files.EndFileNewline
- add Generic.Files.OneClassPerFile
- add Generic.Files.OneInterfacePerFile
- add Generic.Formatting.DisallowMultipleStatements
- add Generic.Formatting.NoSpaceAfterCast
- Add further sniffs, fix function call
- add Generic.Functions.CallTimePassByReference
- add Generic.Functions.FunctionCallArgumentSpacing
- Add further sniffs
- Enable OperatorSpacing sniff and fix code
- Enable LanguageConstructSpacing sniff and fix code
- Enable FunctionOpeningBraceSpace sniff and fix code
- Fix space in if clause
- Convert some double quotes to single quotes
- Fix missing method scopes
- Enable member var scope sniff, fix a member var
- Enable LowercasePHPFunctions sniff, fix a function call
- Enable ForbiddenFunctions sniff, fix usages of forbidden functions
- Enable Squiz.PHP.Eval sniff, fix eval usages
- Enable ValidLogicalOperators sniff, fix logical operator usages
- Enable IncrementDecrementUsage sniff, fix increments
- Enable EmptyCatchComment sniff, fix empty catch block
- Enable EmptyStatement sniff, fix empty statements
- Enable ObjectOperatorIndent sniff, fix operator indentation
- Enable ValidClassName sniff, fix jsonrpc class names
- Enable MultiLineCondition sniff, fix multiline conditions
- Enable InlineComment sniff, fix inline comments
- Adjust build.xml to use phpcs
- Show output of phpcs-ci build target
- Fix case for OW sniff path in build.xml