diff --git a/.gitignore b/.gitignore index 4901aab..fa96072 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vendor /composer.lock /.phpunit.result.cache +/.phpcs-cache diff --git a/.phpcs-cache b/.phpcs-cache deleted file mode 100644 index 228179e..0000000 --- a/.phpcs-cache +++ /dev/null @@ -1 +0,0 @@ -{"config":{"phpVersion":70309,"tabWidth":4,"encoding":"utf-8","recordErrors":true,"annotations":true,"configData":{"installed_paths":"..\/..\/..\/,..\/..\/doctrine\/coding-standard\/lib,..\/..\/slevomat\/coding-standard"},"codeHash":"09eb40fa4e9d62b6238bd7af0594559c","rulesetHash":"6437dc4eda23e7c26f5f667da4f4ba90"},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Service\/OpenedEmailStorage.php":{"hash":"d5835349f5ef7ea1cae5491cc7b7e261","errors":{"11":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Service\\OpenedEmailStorage::$openedEmail with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"16":{"55":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function setOpenedEmail()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"21":{"39":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function hasOpenedEmail()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"23":{"21":[{"message":"Yoda comparisons are disallowed.","source":"SlevomatCodingStandard.ControlStructures.DisallowYodaComparison.DisallowedYodaComparison","listener":"SlevomatCodingStandard\\Sniffs\\ControlStructures\\DisallowYodaComparisonSniff","severity":0,"fixable":true}]},"26":{"39":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function getOpenedEmail()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"28":{"18":[{"message":"Yoda comparisons are disallowed.","source":"SlevomatCodingStandard.ControlStructures.DisallowYodaComparison.DisallowedYodaComparison","listener":"SlevomatCodingStandard\\Sniffs\\ControlStructures\\DisallowYodaComparisonSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":27}},"Line indent":{"values":{"spaces":19}},"PHP keyword case":{"values":{"lower":18}},"Multiple statements on same line":{"values":{"no":9}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":3}},"Function opening brace placement":{"values":{"new line":3}},"PHP type case":{"values":{"lower":2}},"Function has doc comment":{"values":{"no":3}},"Function spacing after":{"values":{"1":2}},"Function spacing before":{"values":{"1":1}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]},"PHP constant case":{"values":{"lower":2}},"Function spacing after last":{"values":[1]},"Spaces after control structure open parenthesis":{"values":[1]},"Spaces before control structure close parenthesis":{"values":[1]},"Blank lines at start of control structure":{"values":[1]},"Blank lines at end of control structure":{"values":[1]},"Control structure defined inline":{"values":{"no":1}}},"errorCount":9,"warningCount":0,"fixableCount":6,"numTokens":188},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Listener\/EmailPurgeListener.php":{"hash":"f61502fe5823df4f209c3ce10a38fca8","errors":{"15":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Listener\\EmailPurgeListener::$client with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"28":{"12":[{"message":"Missing doc comment for function __construct()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"30":{"23":[{"message":"Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space","source":"Generic.Formatting.MultipleStatementAlignment.NotSame","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\MultipleStatementAlignmentSniff","severity":0,"fixable":true}]},"37":{"51":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"42":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 15 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"40":{"13":[{"message":"Array key not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"39":[{"message":"Array with multiple values cannot be declared on a single line","source":"Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"41":{"13":[{"message":"Array key not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"35":[{"message":"Array double arrow not aligned correctly; expected 2 space(s) but found 1","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"38":[{"message":"Array with multiple values cannot be declared on a single line","source":"Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"45":{"61":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function purgeEmails()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":48,"81-120":1}},"Line indent":{"values":{"spaces":37}},"PHP keyword case":{"values":{"lower":25}},"Multiple statements on same line":{"values":{"no":17}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"Function opening brace placement":{"values":{"new line":3}},"PHP type case":{"values":{"lower":3}},"Function has doc comment":{"values":{"no":2,"yes":1}},"Function spacing after":{"values":{"1":2}},"Function spacing before":{"values":{"1":1}},"Spacing before object operator":{"values":[11]},"Spacing after object operator":{"values":[11]},"Adjacent assignments aligned":{"values":{"no":1,"yes":1}},"CamelCase method name":{"values":{"yes":2}},"Short array syntax used":{"values":{"yes":3}},"Array end comma":{"values":{"yes":1,"no":2}},"Function spacing after last":{"values":[1]},"Spaces after control structure open parenthesis":{"values":[2]},"Spaces before control structure close parenthesis":{"values":[2]},"Blank lines at start of control structure":{"values":[2]},"Blank lines at end of control structure":{"values":[2]},"Control structure defined inline":{"values":{"no":2}}},"errorCount":12,"warningCount":0,"fixableCount":10,"numTokens":382},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Context\/OpenedEmailStorageAwareContext.php":{"hash":"603991779409dbdbe5a6057888770261","errors":{"11":{"73":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function setOpenedEmailStorage()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":9}},"Line indent":{"values":{"spaces":1}},"PHP keyword case":{"values":{"lower":8}},"Multiple statements on same line":{"values":{"no":5}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":1}},"PHP type case":{"values":{"lower":1}},"Function has doc comment":{"values":{"no":1}},"Function spacing after last":{"values":[1]},"Function spacing before first":{"values":[1]}},"errorCount":2,"warningCount":0,"fixableCount":1,"numTokens":75},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Context\/Initializer\/OpenedEmailStorageContextInitializer.php":{"hash":"bc74f9bd067dc72f1d2688596fb100e1","errors":{"13":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Context\\Initializer\\OpenedEmailStorageContextInitializer::$openedEmailStorage with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"18":{"12":[{"message":"Missing doc comment for function __construct()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"23":{"58":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function initializeContext()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"25":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":25}},"Line indent":{"values":{"spaces":15}},"PHP keyword case":{"values":{"lower":17}},"Multiple statements on same line":{"values":{"no":10}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"Function opening brace placement":{"values":{"new line":2}},"Function has doc comment":{"values":{"no":2}},"Function spacing after":{"values":{"1":1}},"Function spacing before":{"values":{"1":1}},"Spacing before object operator":{"values":[3]},"Spacing after object operator":{"values":[3]},"CamelCase method name":{"values":{"yes":1}},"PHP type case":{"values":{"lower":1}},"Function spacing after last":{"values":[1]},"Spaces after control structure open parenthesis":{"values":[1]},"Spaces before control structure close parenthesis":{"values":[1]},"Blank lines at start of control structure":{"values":[1]},"Blank lines at end of control structure":{"values":[1]},"Control structure defined inline":{"values":{"no":1}}},"errorCount":5,"warningCount":0,"fixableCount":3,"numTokens":192},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Context\/MailhogAwareContext.php":{"hash":"849d1c17ac1822e3ad18d9ae02101ab2","errors":{"11":{"56":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function setMailhog()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":9}},"Line indent":{"values":{"spaces":1}},"PHP keyword case":{"values":{"lower":8}},"Multiple statements on same line":{"values":{"no":5}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":1}},"PHP type case":{"values":{"lower":1}},"Function has doc comment":{"values":{"no":1}},"Function spacing after last":{"values":[1]},"Function spacing before first":{"values":[1]}},"errorCount":2,"warningCount":0,"fixableCount":1,"numTokens":71},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/ServiceContainer\/MailhogExtension.php":{"hash":"751a90dd7c8b8e50c76e2f4351cd6e85","errors":{"33":{"37":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function getConfigKey()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"38":{"62":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function configure()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"51":{"71":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Expected type hint \"array\"; found \"ContainerBuilder\" for $config","source":"Squiz.Commenting.FunctionComment.IncorrectTypeHint","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"50":{"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}]},"49":{"8":[{"message":"Missing parameter comment","source":"Squiz.Commenting.FunctionComment.MissingParamComment","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter $config does not match actual variable name $container","source":"Squiz.Commenting.FunctionComment.ParamNameNoMatch","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"48":{"5":[{"message":"Doc comment for parameter \"$container\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"66":{"71":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerHttpClient()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"75":{"79":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerHttpMessageFactory()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"84":{"74":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerMailhogClient()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"90":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 62 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"87":{"13":[{"message":"Array value not aligned correctly; expected 63 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"88":{"13":[{"message":"Array value not aligned correctly; expected 63 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"89":{"13":[{"message":"Array value not aligned correctly; expected 63 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"96":{"79":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerContextInitializer()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"100":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 77 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"99":{"13":[{"message":"Array value not aligned correctly; expected 78 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"107":{"79":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerOpenedEmailStorage()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"115":{"97":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerOpenedEmailStorageContextInitializer()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"119":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 91 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"118":{"13":[{"message":"Array value not aligned correctly; expected 92 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"126":{"74":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function registerPurgeListener()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"131":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 62 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"129":{"13":[{"message":"Array value not aligned correctly; expected 63 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"130":{"13":[{"message":"Array value not aligned correctly; expected 63 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"138":{"66":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"13":[{"message":"Missing doc comment for function markServicePrivate()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"140":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"149":{"64":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function markServicePublic()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"151":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"160":{"59":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function process()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"164":{"69":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function initialize()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":126,"81-120":14}},"Line indent":{"values":{"spaces":110}},"PHP keyword case":{"values":{"lower":68}},"Multiple statements on same line":{"values":{"no":61}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":14}},"Function opening brace placement":{"values":{"new line":14}},"PHP type case":{"values":{"lower":14}},"Function has doc comment":{"values":{"no":13,"yes":1}},"Function spacing after":{"values":{"1":13}},"Function spacing before first":{"values":[1]},"Spacing before object operator":{"values":{"newline":5,"0":46}},"Spacing after object operator":{"values":[51]},"Short array syntax used":{"values":{"yes":9}},"Array end comma":{"values":{"no":5,"yes":4}},"Spaces after control structure open parenthesis":{"values":[2]},"Spaces before control structure close parenthesis":{"values":[2]},"Blank lines at start of control structure":{"values":[2]},"Blank lines at end of control structure":{"values":[2]},"Control structure defined inline":{"values":{"no":2}},"Inline comment style":{"values":{"\/\/ ...":4}},"PHP constant case":{"values":{"lower":2}},"Function spacing after last":{"values":[1]}},"errorCount":45,"warningCount":0,"fixableCount":27,"numTokens":1242},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Context\/Initializer\/MailhogAwareInitializer.php":{"hash":"e4db2ce16637bbc8e0c6fb3cfb7a4701","errors":{"13":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Context\\Initializer\\MailhogAwareInitializer::$client with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"18":{"12":[{"message":"Missing doc comment for function __construct()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"23":{"58":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function initializeContext()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"25":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":25}},"Line indent":{"values":{"spaces":15}},"PHP keyword case":{"values":{"lower":17}},"Multiple statements on same line":{"values":{"no":10}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"Function opening brace placement":{"values":{"new line":2}},"Function has doc comment":{"values":{"no":2}},"Function spacing after":{"values":{"1":1}},"Function spacing before":{"values":{"1":1}},"Spacing before object operator":{"values":[3]},"Spacing after object operator":{"values":[3]},"CamelCase method name":{"values":{"yes":1}},"PHP type case":{"values":{"lower":1}},"Function spacing after last":{"values":[1]},"Spaces after control structure open parenthesis":{"values":[1]},"Spaces before control structure close parenthesis":{"values":[1]},"Blank lines at start of control structure":{"values":[1]},"Blank lines at end of control structure":{"values":[1]},"Control structure defined inline":{"values":{"no":1}}},"errorCount":5,"warningCount":0,"fixableCount":3,"numTokens":188},"\/home\/remon\/code\/mailhog\/mailhog-behat-extension\/src\/Context\/MailhogContext.php":{"hash":"a747765028dfed367e95d276efd3523f","errors":{"22":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Context\\MailhogContext::$mailhogClient with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"27":{"5":[{"message":"Found multi-line comment for property \\rpkamp\\Behat\\MailhogExtension\\Context\\MailhogContext::$openedEmailStorage with single line content, use one-line comment instead.","source":"SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment","listener":"SlevomatCodingStandard\\Sniffs\\Commenting\\RequireOneLinePropertyDocCommentSniff","severity":0,"fixable":true}]},"32":{"56":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function setMailhog()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"37":{"73":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}],"12":[{"message":"Missing doc comment for function setOpenedEmailStorage()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"45":{"39":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"44":{"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}]},"71":{"8":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"65":{"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}]},"50":{"5":[{"message":"Doc comment for parameter \"$subject\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$body\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$from\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$recipient\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"74":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"78":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"82":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"86":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"99":{"17":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"100":{"17":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"101":{"17":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"102":{"17":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"115":{"110":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"114":{"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":{"5":[{"message":"Doc comment for parameter \"$from\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$recipient\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$subject\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"119":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"123":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"127":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"137":{"21":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"138":{"21":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"139":{"21":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"150":{"63":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"149":{"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}]},"147":{"5":[{"message":"Doc comment for parameter \"$text\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"152":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"158":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"166":{"71":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"165":{"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}]},"163":{"5":[{"message":"Doc comment for parameter \"$filename\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"168":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"174":{"13":[{"message":"Expected 1 space(s) after NOT operator; 0 found","source":"Generic.Formatting.SpaceAfterNot.Incorrect","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Formatting\\SpaceAfterNotSniff","severity":0,"fixable":true}]},"184":{"54":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"183":{"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}]},"181":{"5":[{"message":"Doc comment for parameter \"$text\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"198":{"66":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"197":{"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}]},"195":{"5":[{"message":"Doc comment for parameter \"$numEmails\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"216":{"72":[{"message":"There must be exactly 1 whitespace between closing parenthesis and return type colon.","source":"SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.IncorrectWhitespaceBeforeColon","listener":"SlevomatCodingStandard\\Sniffs\\TypeHints\\ReturnTypeHintSpacingSniff","severity":0,"fixable":true}]},"215":{"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}]},"213":{"5":[{"message":"Doc comment for parameter \"$filename\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":{"55":{"14":[{"message":"Line exceeds 120 characters; contains 122 characters","source":"Generic.Files.LineLength.TooLong","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Files\\LineLengthSniff","severity":5,"fixable":false}]},"61":{"14":[{"message":"Line exceeds 120 characters; contains 125 characters","source":"Generic.Files.LineLength.TooLong","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Files\\LineLengthSniff","severity":5,"fixable":false}]},"62":{"14":[{"message":"Line exceeds 120 characters; contains 148 characters","source":"Generic.Files.LineLength.TooLong","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Files\\LineLengthSniff","severity":5,"fixable":false}]},"63":{"14":[{"message":"Line exceeds 120 characters; contains 121 characters","source":"Generic.Files.LineLength.TooLong","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Files\\LineLengthSniff","severity":5,"fixable":false}]}},"metrics":{"Number of newlines at EOF":{"values":{"1":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Declarations and side effects mixed":{"values":{"no":1}},"PHP short open tag used":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Line length":{"values":{"80 or less":161,"81-120":25,"121-150":4}},"Line indent":{"values":{"spaces":171}},"PHP keyword case":{"values":{"lower":100}},"Multiple statements on same line":{"values":{"no":49}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"PascalCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":10}},"Function opening brace placement":{"values":{"new line":9}},"PHP type case":{"values":{"lower":10}},"Function has doc comment":{"values":{"no":2,"yes":8}},"Function spacing after":{"values":{"1":9}},"Function spacing before":{"values":{"1":1}},"Spacing before object operator":{"values":[32]},"Spacing after object operator":{"values":[32]},"PHP constant case":{"values":{"lower":7}},"Short array syntax used":{"values":{"yes":2}},"Array end comma":{"values":{"no":2}},"Spaces after control structure open parenthesis":{"values":[16]},"Spaces before control structure close parenthesis":{"values":[16]},"Blank lines at start of control structure":{"values":[16]},"Blank lines at end of control structure":{"values":[16]},"Control structure defined inline":{"values":{"no":16}},"Function spacing after last":{"values":[1]}},"errorCount":52,"warningCount":4,"fixableCount":30,"numTokens":1674}} \ No newline at end of file