{"config":{"phpVersion":80316,"phpExtensions":"be9cc910ad1cf156bf4e0a5576c19e0f","tabWidth":4,"encoding":"utf-8","recordErrors":true,"annotations":true,"configData":{"installed_paths":"..\/..\/phpcompatibility\/php-compatibility,..\/..\/phpcompatibility\/phpcompatibility-joomla,..\/..\/phpcompatibility\/phpcompatibility-paragonie,..\/..\/phpcompatibility\/phpcompatibility-passwordcompat,..\/..\/phpcompatibility\/phpcompatibility-symfony,..\/..\/phpcompatibility\/phpcompatibility-wp,..\/..\/phpcsstandards\/phpcsextra,..\/..\/phpcsstandards\/phpcsutils,..\/..\/wp-coding-standards\/wpcs","testVersion":"7.4-"},"codeHash":"591f094bae9a0a4d0e4fb010cb45c247","rulesetHash":"babb8da0e2a5af7d279213495db1af13"},"\/Users\/nielslange\/Plugins\/smntcs\/smntcs-pinterest-save-button\/smntcs-pinterest-save-button.php":{"hash":"15e55925de2b220d17fd88fde766d05933188","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}]},"16":{"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}]}},"warnings":[],"metrics":{"PHP short open tag used":{"values":{"no":1}},"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}},"Space before operator":{"values":{"1":1}},"Space after operator":{"values":{"1":1}},"PHP keyword case":{"values":{"lower":2}},"Multiple statements on same line":{"values":{"no":2}},"Magic constant case":{"values":{"uppercase":1}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}}},"errorCount":2,"warningCount":0,"fixableCount":1,"numTokens":101},"\/Users\/nielslange\/Plugins\/smntcs\/smntcs-pinterest-save-button\/includes\/class-smntcs-pinterest-save-button.php":{"hash":"6eeeb1e73098243f669688b3c5c1d6d633188","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}]},"11":{"36":[{"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}]},"117":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"18":{"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}]},"21":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"19":{"43":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"20":{"34":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"27":{"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}]},"26":{"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}]},"29":{"86":[{"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 \"WP_Customize_Manager\" missing for $wp_customize","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"85":{"5":[{"message":"Expected \/\/end smntcs_pinterest_save_button_register_customize()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"40":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"47":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"56":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"63":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"72":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"79":{"13":[{"message":"Short array syntax is not allowed","source":"Universal.Arrays.DisallowShortArraySyntax.Found","listener":"PHPCSExtra\\Universal\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true},{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"91":{"14":[{"message":"Tag value for @since 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}]},"94":{"77":[{"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}]},"116":{"5":[{"message":"Expected \/\/end smntcs_pinterest_save_button_enqueue_pinterest_script()","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":90}},"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}},"PHP keyword case":{"values":{"lower":12}},"Class opening brace placement":{"values":{"same line":1}},"Class has doc comment":{"values":{"yes":1}},"Function opening brace placement":{"values":{"same line":3}},"Function has doc comment":{"values":{"yes":3}},"Spaces found before comma in function call":{"values":{"no spaces":31}},"Spaces found after comma in function call":{"values":{"1 space":10,"a new line":14}},"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}},"Short array syntax used":{"values":{"yes":9}},"Multiple statements on same line":{"values":{"no":15}},"Spacing before object operator":{"values":[7]},"Spacing after object operator":{"values":[7]},"Space after array opener, multi-line array":{"values":{"a new line":7}},"Space before array closer, multi-line array":{"values":{"a new line":7}},"Multi-line array - comma after last item":{"values":{"yes":7}},"Space after operator":{"values":{"1":21}},"Control structure defined inline":{"values":{"no":3}},"PHP constant case":{"values":{"lower":3}},"Space before operator":{"values":{"1":3}},"Type of comparison used":{"values":{"strict":3}}},"errorCount":32,"warningCount":0,"fixableCount":29,"numTokens":634}}