-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.cache
More file actions
1 lines (1 loc) · 147 KB
/
phpcs.cache
File metadata and controls
1 lines (1 loc) · 147 KB
1
{"config":{"phpVersion":80321,"phpExtensions":"be9cc910ad1cf156bf4e0a5576c19e0f","tabWidth":4,"encoding":"utf-8","recordErrors":true,"annotations":true,"configData":{"installed_paths":"..\/..\/..\/,..\/..\/automattic\/vipwpcs,..\/..\/fig-r\/psr2r-sniffer,..\/..\/phpcompatibility\/php-compatibility,..\/..\/phpcompatibility\/phpcompatibility-paragonie,..\/..\/phpcompatibility\/phpcompatibility-wp,..\/..\/phpcsstandards\/phpcsextra,..\/..\/phpcsstandards\/phpcsutils,..\/..\/sirbrillig\/phpcs-variable-analysis,..\/..\/wp-coding-standards\/wpcs","testVersion":"8.0-"},"codeHash":"2e1b4167cd719d0854eb923a30e2a13f","rulesetHash":"d0c290d7a6611888784d49bbf6d78566"},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Files\/ClassFileNameUnitTest.php":{"hash":"f416a0ba955edaf60f90714f5b38c68233204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"18":{"59":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"74":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"27":{"55":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"string\" missing for $test_base_dir","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"45":{"5":[{"message":"Expected \/\/end getTestFiles()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"26":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"52":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"64":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"71":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"73":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"16":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":47}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":21}},"Multiple statements on same line":{"values":{"no":15}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Space after operator":{"values":{"1":7}},"Adjacent assignments aligned":{"values":{"yes":2}},"Spaces found before comma in function call":{"values":{"no spaces":3}},"Spaces found after comma in function call":{"values":{"1 space":3}},"Space between open and close brace for an empty array":{"values":{"no spaces":3}},"Control structure defined inline":{"values":{"no":3}},"Spacing before object operator":{"values":[2]},"Spacing after object operator":{"values":[2]},"Space after array opener, multi-line array":{"values":{"a new line":2}},"Space before array closer, multi-line array":{"values":{"a new line":2}},"Multi-line array - comma after last item":{"values":{"yes":2}},"Spaces found before comma":{"values":{"no spaces":3}},"Spaces found after comma":{"values":{"a new line":1}},"PHP constant case":{"values":{"lower":1}}},"errorCount":12,"warningCount":1,"fixableCount":9,"numTokens":406},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Namespaces\/NoLeadingSlashOnUseUnitTest.php":{"hash":"92a0ee371fa1d58e2212680838cc5ed333204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"65":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"47":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"25":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"37":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"44":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"46":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"15":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":25}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":14}},"Multiple statements on same line":{"values":{"no":6}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after operator":{"values":{"1":3}},"Space between open and close brace for an empty array":{"values":{"no spaces":2}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"Spaces found before comma":{"values":{"no spaces":2}},"Spaces found after comma":{"values":{"a new line":1}}},"errorCount":8,"warningCount":1,"fixableCount":7,"numTokens":230},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Classes\/OnlyClassInFileUnitTest.php":{"hash":"e8061354285d8f68438f12b7e61cffdf33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"61":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"45":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"25":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"27":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"34":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"44":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"15":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":23}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":13}},"Multiple statements on same line":{"values":{"no":7}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space between open and close brace for an empty array":{"values":{"no spaces":2}},"Space after operator":{"values":{"1":4}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spaces found before comma":{"values":{"no spaces":3}},"Spaces found after comma":{"values":{"1 space":2}},"Spaces found before comma in function call":{"values":{"no spaces":2}},"Spaces found after comma in function call":{"values":{"1 space":2}},"Control structure defined inline":{"values":{"no":1}},"Space before operator":{"values":{"1":1}},"Type of comparison used":{"values":{"strict":1}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}}},"errorCount":8,"warningCount":1,"fixableCount":7,"numTokens":244},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Security\/NonceVerificationSniff.php":{"hash":"b63807265e5288d6c93dcce2c1b02e9233204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"20":{"65":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"49":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"22":{"5":[{"message":"The first trait import statement must be declared on the first non-comment line after the class opening brace","source":"PSR12.Traits.UseDeclaration.UseAfterBrace","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Traits\\UseDeclarationSniff","severity":0,"fixable":true}]},"40":{"50":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"48":{"5":[{"message":"Expected \/\/end init()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"39":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":23}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":15}},"Multiple statements on same line":{"values":{"no":9}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Space before \"as\" keyword in import use statement":{"values":{"1 space":2}},"Space after \"as\" keyword in import use statement":{"values":{"1 space":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Space after operator":{"values":{"1":1}},"PHP constant case":{"values":{"lower":1}},"Function opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":1}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]},"Control structure defined inline":{"values":{"no":1}}},"errorCount":8,"warningCount":0,"fixableCount":6,"numTokens":263},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Files\/FunctionFileNameUnitTest.php":{"hash":"14e6ca704aa8efac8f9056232283bb4b33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"18":{"62":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"74":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"27":{"55":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"string\" missing for $test_base_dir","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"45":{"5":[{"message":"Expected \/\/end getTestFiles()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"26":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"52":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"64":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"71":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"73":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"16":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":47}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":21}},"Multiple statements on same line":{"values":{"no":15}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Space after operator":{"values":{"1":7}},"Adjacent assignments aligned":{"values":{"yes":2}},"Spaces found before comma in function call":{"values":{"no spaces":3}},"Spaces found after comma in function call":{"values":{"1 space":3}},"Space between open and close brace for an empty array":{"values":{"no spaces":3}},"Control structure defined inline":{"values":{"no":3}},"Spacing before object operator":{"values":[2]},"Spacing after object operator":{"values":[2]},"Space after array opener, multi-line array":{"values":{"a new line":2}},"Space before array closer, multi-line array":{"values":{"a new line":2}},"Multi-line array - comma after last item":{"values":{"yes":2}},"Spaces found before comma":{"values":{"no spaces":3}},"Spaces found after comma":{"values":{"a new line":1}},"PHP constant case":{"values":{"lower":1}}},"errorCount":12,"warningCount":1,"fixableCount":9,"numTokens":406},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Whitespace\/MultipleEmptyLinesUnitTest.php":{"hash":"5a8ef1fd41fa26fe735381db464ece3333204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"64":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"49":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"25":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"39":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"46":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"48":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"15":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":27}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":14}},"Multiple statements on same line":{"values":{"no":6}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after operator":{"values":{"1":5}},"Space between open and close brace for an empty array":{"values":{"no spaces":2}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"Spaces found before comma":{"values":{"no spaces":4}},"Spaces found after comma":{"values":{"a new line":3}}},"errorCount":8,"warningCount":1,"fixableCount":7,"numTokens":246},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Layout\/OrderUnitTest.php":{"hash":"8f67bb7550ac071e8cf5e1476e1c56a933204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"51":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"39":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"25":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"29":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"36":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"38":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"15":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":18}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":10}},"Multiple statements on same line":{"values":{"no":4}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"Space after operator":{"values":{"1":1}},"Spaces found before comma":{"values":{"no spaces":1}},"Space between open and close brace for an empty array":{"values":{"no spaces":1}}},"errorCount":8,"warningCount":1,"fixableCount":7,"numTokens":175},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Layout\/OrderSniff.php":{"hash":"242873f183a434770c3e08488922135e33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"35":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"95":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"36":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"94":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"31":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":69}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":20}},"Multiple statements on same line":{"values":{"no":22}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":2}},"Space before array closer, single line array":{"values":{"1 space":2}},"Single-line array - comma after last item":{"values":{"no":2}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":31}},"Spacing before object operator":{"values":[5]},"Spacing after object operator":{"values":[5]},"Space after array opener, multi-line array":{"values":{"a new line":2}},"Space before array closer, multi-line array":{"values":{"a new line":2}},"Multi-line array - comma after last item":{"values":{"yes":2}},"Spaces found before comma":{"values":{"no spaces":13}},"Spaces found after comma":{"values":{"a new line":8,"1 space":3}},"Adjacent assignments aligned":{"values":{"yes":3}},"Control structure defined inline":{"values":{"no":5}},"PHP constant case":{"values":{"lower":11}},"Spaces found before comma in function call":{"values":{"no spaces":14}},"Spaces found after comma in function call":{"values":{"1 space":14}},"Space before operator":{"values":{"1":8}},"Type of comparison used":{"values":{"strict":4}}},"errorCount":10,"warningCount":0,"fixableCount":8,"numTokens":654},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Classes\/OnlyClassInFileSniff.php":{"hash":"2f9cab7c5a412f4ebd2865574931083b33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"45":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"73":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"22":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"24":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"35":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"72":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"30":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":50}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":21}},"Multiple statements on same line":{"values":{"no":19}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":3}},"Space before array closer, single line array":{"values":{"1 space":3}},"Single-line array - comma after last item":{"values":{"no":3}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":15}},"Spacing before object operator":{"values":[8]},"Spacing after object operator":{"values":[8]},"Adjacent assignments aligned":{"values":{"yes":2}},"Spaces found before comma":{"values":{"no spaces":5}},"Spaces found after comma":{"values":{"1 space":2,"a new line":2}},"Spaces found before comma in function call":{"values":{"no spaces":10}},"Spaces found after comma in function call":{"values":{"1 space":10}},"Control structure defined inline":{"values":{"no":6}},"Space before operator":{"values":{"1":6}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}}},"errorCount":10,"warningCount":0,"fixableCount":8,"numTokens":535},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Security\/EscapeOutputSniff.php":{"hash":"6fcd9b020f8c9e092de6e266f71b7f0b33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"22":{"55":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"74":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"24":{"5":[{"message":"The first trait import statement must be declared on the first non-comment line after the class opening brace","source":"PSR12.Traits.UseDeclaration.UseAfterBrace","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Traits\\UseDeclarationSniff","severity":0,"fixable":true}]},"57":{"35":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"62":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"69":{"53":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"73":{"5":[{"message":"Expected \/\/end init()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"68":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":{"20":{"4":[{"message":"@see tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":45}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":19}},"Multiple statements on same line":{"values":{"no":10}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Space before \"as\" keyword in import use statement":{"values":{"1 space":2}},"Space after \"as\" keyword in import use statement":{"values":{"1 space":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Space after operator":{"values":{"1":11}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"PHP constant case":{"values":{"lower":8}},"Spaces found before comma":{"values":{"no spaces":8}},"Spaces found after comma":{"values":{"a new line":7}},"Space between open and close brace for an empty array":{"values":{"no spaces":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Control structure defined inline":{"values":{"no":1}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]}},"errorCount":10,"warningCount":1,"fixableCount":8,"numTokens":413},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Tests\/Files\/NamespaceDirectoryNameUnitTest.php":{"hash":"8eedbe38f7450251a31cd51815e2e18c33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"19":{"68":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"80":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"28":{"55":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"string\" missing for $test_base_dir","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"48":{"5":[{"message":"Expected \/\/end getTestFiles()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"27":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"55":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"70":{"5":[{"message":"Expected \/\/end getErrorList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"77":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"79":{"5":[{"message":"Expected \/\/end getWarningList()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"17":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":52}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":24}},"Multiple statements on same line":{"values":{"no":16}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Space after operator":{"values":{"1":8}},"Adjacent assignments aligned":{"values":{"yes":2}},"Spaces found before comma in function call":{"values":{"no spaces":3}},"Spaces found after comma in function call":{"values":{"1 space":3}},"Space between open and close brace for an empty array":{"values":{"no spaces":3}},"Control structure defined inline":{"values":{"no":4}},"Space before operator":{"values":{"1":1}},"Spacing before object operator":{"values":[2]},"Spacing after object operator":{"values":[2]},"Space after array opener, multi-line array":{"values":{"a new line":2}},"Space before array closer, multi-line array":{"values":{"a new line":2}},"Multi-line array - comma after last item":{"values":{"yes":2}},"Spaces found before comma":{"values":{"no spaces":5}},"Spaces found after comma":{"values":{"a new line":3}},"PHP constant case":{"values":{"lower":1}}},"errorCount":12,"warningCount":1,"fixableCount":9,"numTokens":437},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Whitespace\/MultipleEmptyLinesSniff.php":{"hash":"afbc8dda6bc9447682dd444d4a14fda533204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"19":{"48":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"96":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"28":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"30":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"44":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"95":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"40":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":64}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":21}},"Multiple statements on same line":{"values":{"no":20}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":2}},"Space before array closer, single line array":{"values":{"1 space":2}},"Single-line array - comma after last item":{"values":{"no":2}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":16}},"Spacing before object operator":{"values":[11]},"Spacing after object operator":{"values":[11]},"Control structure defined inline":{"values":{"no":6}},"Space before operator":{"values":{"1":10}},"Type of comparison used":{"values":{"strict":3}},"Adjacent assignments aligned":{"values":{"yes":2}},"Spaces found before comma in function call":{"values":{"no spaces":7}},"Spaces found after comma in function call":{"values":{"1 space":4,"a new line":3}},"PHP constant case":{"values":{"lower":3}},"Spacing between in\/decrementor and variable":{"values":[1]},"In\/decrement usage in stand-alone statements":{"values":{"pre-increment":1}}},"errorCount":10,"warningCount":0,"fixableCount":8,"numTokens":605},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Namespaces\/NoLeadingSlashOnUseSniff.php":{"hash":"aa52e9730ce2cc539391d7ce63ad785d33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"49":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"49":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"30":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"31":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}],"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"34":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"48":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":29}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":13}},"Multiple statements on same line":{"values":{"no":13}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":3}},"Space before array closer, single line array":{"values":{"1 space":3}},"Single-line array - comma after last item":{"values":{"no":3}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":8}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spacing before object operator":{"values":[3]},"Spacing after object operator":{"values":[3]},"Spaces found before comma":{"values":{"no spaces":1}},"Spaces found after comma":{"values":{"1 space":1}},"Spaces found before comma in function call":{"values":{"no spaces":6}},"Spaces found after comma in function call":{"values":{"1 space":6}},"Control structure defined inline":{"values":{"no":3}},"Space before operator":{"values":{"1":2}},"Type of comparison used":{"values":{"strict":1}},"Spacing between in\/decrementor and variable":{"values":[1]},"In\/decrement usage in stand-alone statements":{"values":{"pre-increment":1}},"PHP constant case":{"values":{"lower":1}}},"errorCount":13,"warningCount":0,"fixableCount":10,"numTokens":352},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Security\/ValidatedSanitizedInputSniff.php":{"hash":"804d3344d0a4e7bcf4a73f50b41cb5f033204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"77":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"115":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"19":{"5":[{"message":"The first trait import statement must be declared on the first non-comment line after the class opening brace","source":"PSR12.Traits.UseDeclaration.UseAfterBrace","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Traits\\UseDeclarationSniff","severity":0,"fixable":true}]},"50":{"53":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"54":{"5":[{"message":"Expected \/\/end init()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"49":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"60":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"62":{"48":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"74":{"5":[{"message":"Expected \/\/end process_token()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"59":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"80":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false},{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"82":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"114":{"5":[{"message":"Expected \/\/end check_server_variable()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"79":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":83}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":31}},"Multiple statements on same line":{"values":{"no":21}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Space before \"as\" keyword in import use statement":{"values":{"1 space":2}},"Space after \"as\" keyword in import use statement":{"values":{"1 space":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Space after operator":{"values":{"1":15}},"Space after array opener, multi-line array":{"values":{"a new line":1}},"Space before array closer, multi-line array":{"values":{"a new line":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"Spaces found before comma":{"values":{"no spaces":10}},"Spaces found after comma":{"values":{"a new line":9}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Spacing before object operator":{"values":[18]},"Spacing after object operator":{"values":[18]},"Control structure defined inline":{"values":{"no":6}},"Space before operator":{"values":{"1":8}},"Type of comparison used":{"values":{"strict":4}},"Spaces found before comma in function call":{"values":{"no spaces":11}},"Spaces found after comma in function call":{"values":{"1 space":11}},"PHP constant case":{"values":{"lower":12}}},"errorCount":19,"warningCount":0,"fixableCount":13,"numTokens":737},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/bootstrap.php":{"hash":"0f65e6f69c0caacbadcc7aa995544d4f33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"14":{"4":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false},{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"13":{"10":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"16":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"1":[{"message":"Type hint \"string\" missing for $line","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"22":{"1":[{"message":"Expected \/\/end is_functional_line()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"29":{"4":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"27":{"10":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}],"4":[{"message":"Expected 6 spaces after parameter name; 1 found","source":"Squiz.Commenting.FunctionComment.SpacingAfterParamName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"28":{"10":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"31":{"53":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"1":[{"message":"Type hint \"string\" missing for $file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $directory","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"58":{"1":[{"message":"Expected \/\/end get_ignores_from_file()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"65":{"38":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"1":[{"message":"Type hint \"\\PHP_CodeSniffer\\Runner\" missing for $runner","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"101":{"1":[{"message":"Expected \/\/end attach_to_runner()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"64":{"2":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"84":{"18":[{"message":"Variable \"$ignore_file\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false}]},"90":{"22":[{"message":"Variable \"$rule\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":55}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only function(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":31}},"Multiple statements on same line":{"values":{"no":26}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Control structure defined inline":{"values":{"no":11}},"PHP constant case":{"values":{"lower":3}},"Space before operator":{"values":{"1":7}},"Space after operator":{"values":{"1":22}},"Type of comparison used":{"values":{"strict":2}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space between open and close brace for an empty array":{"values":{"no spaces":1}},"Spaces found before comma in function call":{"values":{"no spaces":9}},"Spaces found after comma in function call":{"values":{"1 space":8,"a new line":1}},"Adjacent assignments aligned":{"values":{"yes":4}},"Magic constant case":{"values":{"uppercase":1}},"Spacing before string concat":{"values":{"1":4}},"Spacing after string concat":{"values":{"1":4}},"Closure opening brace placement":{"values":{"same line":1}},"Spacing before object operator":{"values":[6]},"Spacing after object operator":{"values":[6]}},"errorCount":22,"warningCount":0,"fixableCount":12,"numTokens":703},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/PHP\/IssetSniff.php":{"hash":"2c10b5d5bbb3e0bfbd88ec9ec712b77033204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"35":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"51":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"24":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"26":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"38":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"50":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":29}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":15}},"Multiple statements on same line":{"values":{"no":10}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":1}},"Space before array closer, single line array":{"values":{"1 space":1}},"Single-line array - comma after last item":{"values":{"no":1}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":9}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]},"Spaces found before comma in function call":{"values":{"no spaces":4}},"Spaces found after comma in function call":{"values":{"1 space":4}},"Space before operator":{"values":{"1":6}},"Control structure defined inline":{"values":{"no":2}},"Type of comparison used":{"values":{"strict":2}},"PHP constant case":{"values":{"lower":2}}},"errorCount":10,"warningCount":0,"fixableCount":8,"numTokens":341},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/ExtraSniffCode.php":{"hash":"58aa44987f7e12d5fb7a63f0df65de9a33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"12":{"22":[{"message":"Opening brace of a trait must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"51":{"1":[{"message":"Expected \/\/end trait","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"22":{"53":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"string\" missing for $legacy","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"50":{"5":[{"message":"Expected \/\/end duplicate_ignores()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"21":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":32}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":17}},"Multiple statements on same line":{"values":{"no":10}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":1}},"Space after operator":{"values":{"1":11}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spaces found before comma in function call":{"values":{"no spaces":5}},"Spaces found after comma in function call":{"values":{"1 space":5}},"Spacing before object operator":{"values":[7]},"Spacing after object operator":{"values":[7]},"Control structure defined inline":{"values":{"no":6}},"Space between open and close brace for an empty array":{"values":{"no spaces":1}},"Space before operator":{"values":{"1":2}}},"errorCount":8,"warningCount":0,"fixableCount":5,"numTokens":366},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Files\/FunctionFileNameSniff.php":{"hash":"bc29d26a73ac63fa1e113cd1bab3bca133204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"46":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"63":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"30":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"31":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}],"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"34":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"62":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":39}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":19}},"Multiple statements on same line":{"values":{"no":15}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":1}},"Space before array closer, single line array":{"values":{"1 space":1}},"Single-line array - comma after last item":{"values":{"no":1}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":9}},"Spacing before object operator":{"values":[6]},"Spacing after object operator":{"values":[6]},"Control structure defined inline":{"values":{"no":4}},"Space before operator":{"values":{"1":3}},"Type of comparison used":{"values":{"strict":3}},"Spaces found before comma in function call":{"values":{"no spaces":7}},"Spaces found after comma in function call":{"values":{"1 space":7}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}}},"errorCount":13,"warningCount":0,"fixableCount":10,"numTokens":423},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/tests\/bootstrap.php":{"hash":"0ccfdde6abb6c29d1d423d5da1943f1133188","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"7":{"4":[{"message":"Expected \"Squiz Pty Ltd <[email protected]>\" for author tag","source":"Squiz.Commenting.FileComment.IncorrectAuthor","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":true}]},"8":{"4":[{"message":"Expected \"xxxx-xxxx Squiz Pty Ltd (ABN 77 084 670 600)\" for copyright declaration","source":"Squiz.Commenting.FileComment.IncorrectCopyright","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":true}]},"5":{"4":[{"message":"The tag in position 1 should be the @package tag","source":"Squiz.Commenting.FileComment.PackageTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"13":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"6":{"4":[{"message":"The tag in position 2 should be the @subpackage tag","source":"Squiz.Commenting.FileComment.SubpackageTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":2}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Neither":1}},"File has doc comment":{"values":{"yes":1}},"Constant name case":{"values":{"upper":2}},"Spaces found before comma in function call":{"values":{"no spaces":2}},"Spaces found after comma in function call":{"values":{"1 space":2}},"PHP constant case":{"values":{"lower":2}},"Multiple statements on same line":{"values":{"no":8}},"Space after operator":{"values":{"1":4}},"Magic constant case":{"values":{"uppercase":2}},"Spacing before string concat":{"values":{"1":4}},"Spacing after string concat":{"values":{"1":4}},"Control structure defined inline":{"values":{"no":2}},"PHP keyword case":{"values":{"lower":8}},"Space before operator":{"values":{"1":2}}},"errorCount":6,"warningCount":0,"fixableCount":3,"numTokens":214},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Files\/ClassFileNameSniff.php":{"hash":"3978008221b5aab40e6dfb44dd8b966a33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"43":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"58":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"36":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"57":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"34":{"8":[{"message":"Expected \"integer\" but found \"int\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"41":{"13":[{"message":"Function return type is not void, but function is returning void here","source":"Squiz.Commenting.FunctionComment.InvalidReturnNotVoid","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"31":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":35}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":13}},"Multiple statements on same line":{"values":{"no":14}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":2}},"Space before array closer, single line array":{"values":{"1 space":2}},"Single-line array - comma after last item":{"values":{"no":2}},"Spaces found before comma":{"values":{"no spaces":2}},"Spaces found after comma":{"values":{"1 space":2}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":10}},"Adjacent assignments aligned":{"values":{"yes":2}},"Spacing before object operator":{"values":[5]},"Spacing after object operator":{"values":[5]},"Spaces found before comma in function call":{"values":{"no spaces":9}},"Spaces found after comma in function call":{"values":{"1 space":9}},"Control structure defined inline":{"values":{"no":2}},"Space before operator":{"values":{"1":2}},"Spacing before string concat":{"values":{"1":2}},"Spacing after string concat":{"values":{"1":2}},"Type of comparison used":{"values":{"strict":1}}},"errorCount":12,"warningCount":0,"fixableCount":9,"numTokens":398},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Functions\/NamespacedFunctionsSniff.php":{"hash":"bf45382705264b3f8f57595703b606e633204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"49":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"50":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"30":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"31":{"14":[{"message":"Tag value for @param tag indented incorrectly; expected 2 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}],"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"34":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"49":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":30}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":15}},"Multiple statements on same line":{"values":{"no":12}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":3}},"Space before array closer, single line array":{"values":{"1 space":3}},"Single-line array - comma after last item":{"values":{"no":3}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":6}},"Spacing before object operator":{"values":[5]},"Spacing after object operator":{"values":[5]},"Control structure defined inline":{"values":{"no":3}},"Space before operator":{"values":{"1":2}},"Type of comparison used":{"values":{"strict":2}},"PHP constant case":{"values":{"lower":1}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spaces found before comma in function call":{"values":{"no spaces":9}},"Spaces found after comma in function call":{"values":{"1 space":9}}},"errorCount":13,"warningCount":0,"fixableCount":10,"numTokens":372},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Performance\/SlowOrderBySniff.php":{"hash":"14a4ebaeef81882dc78e37fc396ab25433204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"15":{"73":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"85":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"19":{"8":[{"message":"Expected \"integer\" but found \"int\" for @var tag in member variable comment","source":"Squiz.Commenting.VariableComment.IncorrectVarType","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\VariableCommentSniff","severity":0,"fixable":true}]},"28":{"33":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"38":{"5":[{"message":"Expected \/\/end getGroups()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"47":{"48":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"51":{"5":[{"message":"Expected \/\/end process_token()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"46":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"45":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"61":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"64":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"string\" missing for $key","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"mixed\" missing for $val","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"int\" missing for $line","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $group","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"84":{"5":[{"message":"Expected \/\/end callback()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"59":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":{"64":{"12":[{"message":"The method parameter $key is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false},{"message":"The method parameter $line is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false},{"message":"The method parameter $group is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":64}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":21}},"Multiple statements on same line":{"values":{"no":10}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":1}},"Import use with leading backslash":{"values":{"no":1}},"Import use statement type":{"values":{"single import":1}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Space after array opener, multi-line array":{"values":{"a new line":3}},"Space before array closer, multi-line array":{"values":{"a new line":3}},"Multi-line array - comma after last item":{"values":{"yes":3}},"Space after operator":{"values":{"1":5}},"Spaces found before comma":{"values":{"no spaces":5}},"Spaces found after comma":{"values":{"a new line":2}},"Spacing before object operator":{"values":[5]},"Spacing after object operator":{"values":[5]},"Spaces found before comma in function declaration":{"values":{"no spaces":3}},"Spaces found after comma in function declaration":{"values":{"1 space":3}},"Spaces found before comma in function call":{"values":{"no spaces":4}},"Spaces found after comma in function call":{"values":{"a new line":4}},"Space after array opener, single line array":{"values":{"1 space":1}},"Space before array closer, single line array":{"values":{"1 space":1}},"Single-line array - comma after last item":{"values":{"no":1}},"PHP constant case":{"values":{"lower":2}}},"errorCount":20,"warningCount":3,"fixableCount":12,"numTokens":434},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/tests\/AllSniffs.php":{"hash":"e35c8423130e6921643e3247c3adcff933204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"4":[{"message":"Expected \"Squiz Pty Ltd <[email protected]>\" for author tag","source":"Squiz.Commenting.FileComment.IncorrectAuthor","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":true},{"message":"The tag in position 2 should be the @subpackage tag","source":"Squiz.Commenting.FileComment.SubpackageTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"9":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"7":{"4":[{"message":"The tag in position 3 should be the @author tag","source":"Squiz.Commenting.FileComment.AuthorTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"8":{"4":[{"message":"The tag in position 4 should be the @copyright tag","source":"Squiz.Commenting.FileComment.CopyrightTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"23":{"17":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"86":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"35":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"34":{"5":[{"message":"Expected \/\/end main()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"44":{"36":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"85":{"5":[{"message":"Expected \/\/end suite()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":49}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":30}},"Multiple statements on same line":{"values":{"no":28}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":6}},"Import use with leading backslash":{"values":{"no":6}},"Import use statement type":{"values":{"single import":6}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Constant name case":{"values":{"upper":1}},"Space after operator":{"values":{"1":18}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Spacing before object operator":{"values":[10]},"Spacing after object operator":{"values":[10]},"Adjacent assignments aligned":{"values":{"yes":3}},"Space between open and close brace for an empty array":{"values":{"no spaces":3}},"Magic constant case":{"values":{"uppercase":1}},"PHP constant case":{"values":{"lower":2}},"Spaces found before comma in function call":{"values":{"no spaces":5}},"Spaces found after comma in function call":{"values":{"1 space":5}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}},"Control structure defined inline":{"values":{"no":4}},"Space before operator":{"values":{"1":4}},"Type of comparison used":{"values":{"strict":3}}},"errorCount":12,"warningCount":0,"fixableCount":8,"numTokens":604},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Files\/NamespaceDirectoryNameSniff.php":{"hash":"c2535f52b19a3f367e250bb430c89ced33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"16":{"52":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"113":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"23":{"32":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"25":{"5":[{"message":"Expected \/\/end register()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"36":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"112":{"5":[{"message":"Expected \/\/end process()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"34":{"8":[{"message":"Expected \"integer\" but found \"int\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"43":{"13":[{"message":"Function return type is not void, but function is returning void here","source":"Squiz.Commenting.FunctionComment.InvalidReturnNotVoid","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"31":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":81}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":30}},"Multiple statements on same line":{"values":{"no":34}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":2}},"Import use with leading backslash":{"values":{"no":2}},"Import use statement type":{"values":{"single import":2}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":2}},"Function has doc comment":{"values":{"yes":2}},"Space after array opener, single line array":{"values":{"1 space":4}},"Space before array closer, single line array":{"values":{"1 space":4}},"Single-line array - comma after last item":{"values":{"no":4}},"Spaces found before comma in function declaration":{"values":{"no spaces":1}},"Spaces found after comma in function declaration":{"values":{"1 space":1}},"Space after operator":{"values":{"1":34}},"Adjacent assignments aligned":{"values":{"yes":6}},"Spacing before object operator":{"values":[6]},"Spacing after object operator":{"values":[6]},"Spaces found before comma in function call":{"values":{"no spaces":24}},"Spaces found after comma in function call":{"values":{"1 space":24}},"Control structure defined inline":{"values":{"no":11}},"Space before operator":{"values":{"1":15,"newline":1}},"Spacing between in\/decrementor and variable":{"values":[1]},"In\/decrement usage in stand-alone statements":{"values":{"pre-increment":1}},"PHP constant case":{"values":{"lower":2}},"Type of comparison used":{"values":{"strict":8}},"Spaces found before comma":{"values":{"no spaces":3}},"Spaces found after comma":{"values":{"1 space":3}}},"errorCount":12,"warningCount":0,"fixableCount":9,"numTokens":862},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/tests\/FixtureTests.php":{"hash":"bc537d6e8a2b9311977330c11109f1be33188","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"11":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"27":{"37":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"213":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"47":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"49":{"68":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"64":{"5":[{"message":"Expected \/\/end get_files_from_dir()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"71":{"44":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"75":{"5":[{"message":"Expected \/\/end failing_files()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"82":{"44":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"86":{"5":[{"message":"Expected \/\/end passing_files()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"91":{"35":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"139":{"5":[{"message":"Expected \/\/end setUp()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"90":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"146":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"148":{"49":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"string\" missing for $file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"157":{"5":[{"message":"Expected \/\/end test_passing_files()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"147":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"168":{"55":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"string\" missing for $file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"212":{"5":[{"message":"Expected \/\/end test_failing_files()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"25":{"4":[{"message":"@group tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":162}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":53}},"Multiple statements on same line":{"values":{"no":45}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":6}},"Import use with leading backslash":{"values":{"no":6}},"Import use statement type":{"values":{"single import":6}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":6}},"PHP type case":{"values":{"lower":3}},"Function has doc comment":{"values":{"yes":6}},"Space after operator":{"values":{"1":40}},"Adjacent assignments aligned":{"values":{"yes":4}},"Space between open and close brace for an empty array":{"values":{"no spaces":4}},"Control structure defined inline":{"values":{"no":8}},"Space before operator":{"values":{"1":3}},"Spacing before object operator":{"values":[33]},"Spacing after object operator":{"values":[33]},"Type of comparison used":{"values":{"strict":1}},"Space after array opener, single line array":{"values":{"1 space":2}},"Space before array closer, single line array":{"values":{"1 space":2}},"Single-line array - comma after last item":{"values":{"no":2}},"Magic constant case":{"values":{"uppercase":4}},"Spacing before string concat":{"values":{"1":3}},"Spacing after string concat":{"values":{"1":3}},"PHP constant case":{"values":{"lower":3}},"Space after array opener, multi-line array":{"values":{"a new line":6}},"Space before array closer, multi-line array":{"values":{"a new line":6}},"Multi-line array - comma after last item":{"values":{"yes":6}},"Spaces found before comma":{"values":{"no spaces":18}},"Spaces found after comma":{"values":{"a new line":15}},"Spaces found before comma in function call":{"values":{"no spaces":29}},"Spaces found after comma in function call":{"values":{"a new line":10,"1 space":16}}},"errorCount":22,"warningCount":1,"fixableCount":15,"numTokens":1384},"\/Users\/aware\/Documents\/GitHub\/coding-standards\/Linchpin\/Sniffs\/Performance\/SlowMetaQuerySniff.php":{"hash":"24b1526c51ef4006282b6b459d5851ef33204","errors":{"1":{"1":[{"message":"Header blocks must be separated by a single blank line","source":"PSR12.Files.FileHeader.SpacingAfterBlock","listener":"PHP_CodeSniffer\\Standards\\PSR12\\Sniffs\\Files\\FileHeaderSniff","severity":0,"fixable":true}]},"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"17":{"75":[{"message":"Opening brace of a class must be on the line after the definition","source":"PSR2.Classes.ClassDeclaration.OpenBraceNewLine","listener":"PHP_CodeSniffer\\Standards\\PSR2\\Sniffs\\Classes\\ClassDeclarationSniff","severity":0,"fixable":true}]},"330":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"27":{"8":[{"message":"Expected \"integer\" but found \"int\" for @var tag in member variable comment","source":"Squiz.Commenting.VariableComment.IncorrectVarType","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\VariableCommentSniff","severity":0,"fixable":true}]},"36":{"33":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"47":{"5":[{"message":"Expected \/\/end getGroups()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"56":{"48":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"int\" missing for $stackPtr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"60":{"5":[{"message":"Expected \/\/end process_token()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"55":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"54":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"70":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"73":{"59":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"12":[{"message":"Type hint \"string\" missing for $key","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"mixed\" missing for $val","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"int\" missing for $line","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $group","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"87":{"5":[{"message":"Expected \/\/end callback()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"68":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"92":{"43":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"102":{"5":[{"message":"Expected \/\/end check_meta_query()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"91":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"109":{"65":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"157":{"5":[{"message":"Expected \/\/end check_meta_query_item()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"108":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"107":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"163":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"165":{"80":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"185":{"5":[{"message":"Expected \/\/end get_static_value_for_element()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"194":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"196":{"88":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"226":{"5":[{"message":"Expected \/\/end find_key_in_array()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"235":{"8":[{"message":"Tag @return cannot be grouped with parameter tags in a doc comment","source":"Generic.Commenting.DocComment.NonParamGroup","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"233":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"237":{"85":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"266":{"5":[{"message":"Expected \/\/end get_array_indices()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"274":{"91":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}]},"296":{"5":[{"message":"Expected \/\/end check_compare_value()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"273":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"271":{"8":[{"message":"Expected 2 spaces after parameter name; 1 found","source":"Squiz.Commenting.FunctionComment.SpacingAfterParamName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"272":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"303":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"309":{"69":[{"message":"Opening brace should be on a new line","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Functions\\MultiLineFunctionDeclarationSniff","severity":0,"fixable":true}],"15":[{"message":"Type hint \"int\" missing for $ptr","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"int\" missing for $arrayEnd","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"329":{"5":[{"message":"Expected \/\/end get_next()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"307":{"8":[{"message":"Expected \"integer\" but found \"int\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"304":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"305":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]}},"warnings":{"73":{"12":[{"message":"The method parameter $val is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false},{"message":"The method parameter $line is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false},{"message":"The method parameter $group is never used","source":"Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\CodeAnalysis\\UnusedFunctionParameterSniff","severity":0,"fixable":false}]}},"metrics":{"PHP short open tag used":{"values":{"no":1}},"Line indent":{"values":{"tabs":273}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"PHP open tag case":{"values":{"lowercase":1}},"EOL char":{"values":{"\\n":1}},"Number of newlines at EOF":{"values":{"1":1}},"Functions or OO declarations ?":{"values":{"Only OO structure(s)":1}},"File has doc comment":{"values":{"yes":1}},"Namespace declaration using curly brace syntax":{"values":{"no":1}},"Namespace declaration declares a name":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":92}},"Multiple statements on same line":{"values":{"no":67}},"Space after \"use\" keyword in import use statement":{"values":{"1 space":3}},"Import use with leading backslash":{"values":{"no":3}},"Import use statement type":{"values":{"single import":3}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"Constant name case":{"values":{"upper":1}},"Space after operator":{"values":{"1":76}},"Function opening brace placement":{"values":{"same line":10}},"Function has doc comment":{"values":{"yes":10}},"Space after array opener, multi-line array":{"values":{"a new line":6}},"Space before array closer, multi-line array":{"values":{"a new line":6}},"Multi-line array - comma after last item":{"values":{"yes":6}},"Spaces found before comma":{"values":{"no spaces":14}},"Spaces found after comma":{"values":{"a new line":8}},"Spacing before object operator":{"values":[57]},"Spacing after object operator":{"values":[57]},"Spaces found before comma in function declaration":{"values":{"no spaces":8}},"Spaces found after comma in function declaration":{"values":{"1 space":8}},"PHP constant case":{"values":{"lower":22}},"Spaces found before comma in function call":{"values":{"no spaces":41}},"Spaces found after comma in function call":{"values":{"1 space":31,"a new line":10}},"Space after array opener, single line array":{"values":{"1 space":2}},"Space before array closer, single line array":{"values":{"1 space":2}},"Single-line array - comma after last item":{"values":{"no":2}},"Space before operator":{"values":{"1":33}},"PHP type case":{"values":{"lower":12}},"Control structure defined inline":{"values":{"no":25}},"Type of comparison used":{"values":{"strict":17}},"Adjacent assignments aligned":{"values":{"yes":5}},"Ternary usage":{"values":{"long":1}},"Space between open and close brace for an empty array":{"values":{"no spaces":1}},"Use of ELSE IF or ELSEIF":{"values":{"elseif":3}},"Spacing between in\/decrementor and variable":{"values":[1]},"In\/decrement usage in stand-alone statements":{"values":{"pre-increment":1}}},"errorCount":50,"warningCount":3,"fixableCount":32,"numTokens":2427}}