diff --git a/.phpcs-cache b/.phpcs-cache deleted file mode 100644 index 9397f84..0000000 --- a/.phpcs-cache +++ /dev/null @@ -1 +0,0 @@ -{"config":{"phpVersion":70110,"tabWidth":4,"encoding":"utf-8","recordErrors":true,"annotations":true,"configData":{"installed_paths":"..\/..\/doctrine\/coding-standard\/lib\/,..\/..\/slevomat\/coding-standard\/"},"codeHash":"28565285ded125c2bb51f063fbfe72b8","rulesetHash":"ac722f7b9b6abd8706b267c03f0a100d"},"\/data\/projects\/easy-csv\/lib\/EasyCSV\/Writer.php":{"hash":"37196be419c932165852fdac4d94e561","errors":{"16":{"8":[{"message":"Expected \"false|integer\" but found \"false|int\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"14":{"8":[{"message":"Missing parameter comment","source":"Squiz.Commenting.FunctionComment.MissingParamComment","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"30":{"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}]},"29":{"8":[{"message":"Missing parameter comment","source":"Squiz.Commenting.FunctionComment.MissingParamComment","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Number of newlines at EOF":{"values":{"1":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":30,"81-120":1}},"Line indent":{"values":{"spaces":22}},"PHP keyword case":{"values":{"lower":15}},"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}},"CamelCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":2}},"Function opening brace placement":{"values":{"new line":2}},"Function has doc comment":{"values":{"yes":2}},"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}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spacing before object operator":{"values":[5]},"Spacing after object operator":{"values":[5]}},"errorCount":4,"warningCount":0,"fixableCount":1,"numTokens":224},"\/data\/projects\/easy-csv\/lib\/EasyCSV\/AbstractBase.php":{"hash":"3f836aa3d4cbc2d0f0986a95e8fd4e68","errors":{"38":{"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 $initialHeaders does not match actual variable name $path","source":"Squiz.Commenting.FunctionComment.ParamNameNoMatch","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"40":{"12":[{"message":"Expected type hint \"array\"; found \"string\" for $initialHeaders","source":"Squiz.Commenting.FunctionComment.IncorrectTypeHint","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"37":{"5":[{"message":"Doc comment for parameter \"$path\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$mode\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Doc comment for parameter \"$isNeedBOM\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"53":{"12":[{"message":"Missing doc comment for function __destruct()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"58":{"12":[{"message":"Missing doc comment for function setDelimiter()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"63":{"12":[{"message":"Missing doc comment for function setEnclosure()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"68":{"15":[{"message":"Missing doc comment for function getHandle()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"77":{"13":[{"message":"Missing doc comment for function initializeHandle()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Number of newlines at EOF":{"values":{"1":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":78}},"Line indent":{"values":{"spaces":66}},"PHP keyword case":{"values":{"lower":36}},"Multiple statements on same line":{"values":{"no":34}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"CamelCase class name":{"values":{"yes":1}},"PHP constant case":{"values":{"lower":6}},"Short array syntax used":{"values":{"yes":3}},"Function has doc comment":{"values":{"yes":1,"no":5}},"Spacing before object operator":{"values":[24]},"Spacing after object operator":{"values":[24]},"Adjacent assignments aligned":{"values":{"yes":1}},"Function opening brace placement":{"values":{"new line":5}},"CamelCase method name":{"values":{"yes":4}},"Spaces after control structure open parenthesis":{"values":[4]},"Spaces before control structure close parenthesis":{"values":[4]},"Blank lines at start of control structure":{"values":[4]},"Blank lines at end of control structure":{"values":[4]},"Control structure defined inline":{"values":{"no":4}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}}},"errorCount":11,"warningCount":0,"fixableCount":0,"numTokens":651},"\/data\/projects\/easy-csv\/tests\/EasyCSV\/Tests\/WriterTest.php":{"hash":"d9cf2ae2259e472f5524b6ece5aa2953","errors":{"16":{"12":[{"message":"Missing doc comment for function setUp()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"22":{"12":[{"message":"Missing doc comment for function testWriteRow()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"27":{"12":[{"message":"Missing doc comment for function testWriteRowOnHeaders()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"33":{"12":[{"message":"Missing doc comment for function testWriteBOMRow()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"38":{"12":[{"message":"Missing doc comment for function testWriteFromArray()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"44":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 38 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"42":{"13":[{"message":"Array value not aligned correctly; expected 39 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"43":{"13":[{"message":"Array value not aligned correctly; expected 39 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true},{"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}]},"51":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 28 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"48":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"49":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"50":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"54":{"12":[{"message":"Missing doc comment for function testWriteBOMFromArray()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"60":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 41 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"58":{"13":[{"message":"Array value not aligned correctly; expected 42 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"59":{"13":[{"message":"Array value not aligned correctly; expected 42 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true},{"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}]},"67":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 28 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"64":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"25":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"65":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"25":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"66":{"13":[{"message":"Array key not aligned correctly; expected 29 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"25":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"70":{"12":[{"message":"Missing doc comment for function testReadWrittenFile()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"85":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 20 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"75":{"13":[{"message":"Array value not aligned correctly; expected 21 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"80":{"13":[{"message":"Array value not aligned correctly; expected 21 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"76":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"77":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"78":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"81":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"82":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"83":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"89":{"12":[{"message":"Missing doc comment for function testReadWrittenBOMFile()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"104":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 20 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"94":{"13":[{"message":"Array value not aligned correctly; expected 21 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"99":{"13":[{"message":"Array value not aligned correctly; expected 21 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"95":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"96":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"97":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"100":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"101":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"102":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"29":[{"message":"Array double arrow not aligned correctly; expected 1 space(s) but found -6","source":"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Number of newlines at EOF":{"values":{"1":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":93,"81-120":2}},"Line indent":{"values":{"spaces":86}},"PHP keyword case":{"values":{"lower":31}},"Multiple statements on same line":{"values":{"no":30}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"CamelCase class name":{"values":{"yes":1}},"CamelCase method name":{"values":{"yes":8}},"Function opening brace placement":{"values":{"new line":8}},"Function has doc comment":{"values":{"no":8}},"Spacing before object operator":{"values":[26]},"Spacing after object operator":{"values":[26]},"Adjacent assignments aligned":{"values":{"yes":5}},"Spacing before string concat":{"values":{"1":7}},"Spacing after string concat":{"values":{"1":7}},"PHP constant case":{"values":{"lower":2}},"Short array syntax used":{"values":{"yes":13}},"Array end comma":{"values":{"yes":4}}},"errorCount":51,"warningCount":0,"fixableCount":43,"numTokens":808},"\/data\/projects\/easy-csv\/lib\/EasyCSV\/Reader.php":{"hash":"3f4f8417f6b1b4bfa953dbe2914d399c","errors":{"38":{"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}]},"46":{"8":[{"message":"Expected \"string[]|boolean\" but found \"string[]|bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"56":{"8":[{"message":"Expected \"mixed[]|boolean\" but found \"mixed[]|bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"88":{"12":[{"message":"Missing doc comment for function isEof()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"106":{"12":[{"message":"Missing doc comment for function getLineNumber()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"112":{"8":[{"message":"Expected \"integer|boolean\" but found \"int|bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"148":{"12":[{"message":"Missing doc comment for function advanceTo()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"176":{"12":[{"message":"Missing doc comment for function setHeaderLine()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"194":{"15":[{"message":"Missing doc comment for function init()","source":"Squiz.Commenting.FunctionComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"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}]},"214":{"8":[{"message":"Missing parameter comment","source":"Squiz.Commenting.FunctionComment.MissingParamComment","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]}},"warnings":[],"metrics":{"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Number of newlines at EOF":{"values":{"1":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":183,"81-120":4}},"Line indent":{"values":{"spaces":171}},"PHP keyword case":{"values":{"lower":93}},"Multiple statements on same line":{"values":{"no":73}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"CamelCase class name":{"values":{"yes":1}},"PHP constant case":{"values":{"lower":23}},"Function opening brace placement":{"values":{"new line":13}},"Function has doc comment":{"values":{"no":6,"yes":7}},"Spacing before object operator":{"values":[64]},"Spacing after object operator":{"values":[64]},"CamelCase method name":{"values":{"yes":12}},"Spaces after control structure open parenthesis":{"values":[18]},"Spaces before control structure close parenthesis":{"values":[18]},"Blank lines at start of control structure":{"values":[18]},"Blank lines at end of control structure":{"values":[18]},"Control structure defined inline":{"values":{"no":18}},"Adjacent assignments aligned":{"values":{"yes":2}},"Short array syntax used":{"values":{"yes":5}},"Use of ELSE IF or ELSEIF":{"values":{"elseif":2}},"Inline comment style":{"values":{"\/\/ ...":2}}},"errorCount":11,"warningCount":0,"fixableCount":3,"numTokens":1620},"\/data\/projects\/easy-csv\/tests\/EasyCSV\/Tests\/ReaderTest.php":{"hash":"2069beb13d0f0f526be545370acab179","errors":{"15":{"26":[{"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}]},"49":{"5":[{"message":"Closing parenthesis not aligned correctly; expected 30 space(s) but found 4","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"19":{"9":[{"message":"Array key not aligned correctly; expected 31 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"25":{"9":[{"message":"Array key not aligned correctly; expected 31 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"31":{"9":[{"message":"Array key not aligned correctly; expected 31 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"37":{"9":[{"message":"Array key not aligned correctly; expected 31 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"43":{"9":[{"message":"Array key not aligned correctly; expected 31 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"21":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"22":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"23":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"27":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"28":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"29":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"33":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"34":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"35":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"39":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"40":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"41":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"45":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"46":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"47":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"89":{"5":[{"message":"Closing parenthesis not aligned correctly; expected 38 space(s) but found 4","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"53":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"59":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"65":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"71":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"77":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"83":{"9":[{"message":"Array key not aligned correctly; expected 39 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}],"11":[{"message":"Array value not aligned correctly; expected 1 space(s) but found 0","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"55":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"56":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"57":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"61":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"62":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"63":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"67":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"68":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"69":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"73":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"74":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"75":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"79":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"80":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"81":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"85":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"86":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"87":{"17":[{"message":"Array key not aligned correctly; expected 13 spaces but found 16","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"96":{"5":[{"message":"Closing parenthesis not aligned correctly; expected 26 space(s) but found 4","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"93":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"94":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"95":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"103":{"5":[{"message":"Closing parenthesis not aligned correctly; expected 26 space(s) but found 4","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"100":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"101":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"102":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"110":{"5":[{"message":"Closing parenthesis not aligned correctly; expected 26 space(s) but found 4","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"107":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"108":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"109":{"9":[{"message":"Array key not aligned correctly; expected 27 spaces but found 8","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","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}]},"112":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"125":{"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}]},"123":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"144":{"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}]},"142":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"157":{"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}]},"155":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"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 \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"173":{"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}]},"171":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"201":{"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}]},"198":{"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}]},"199":{"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}]},"200":{"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}]},"209":{"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}]},"207":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"216":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 25 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"213":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"214":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"215":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"221":{"9":[{"message":"Closing parenthesis not aligned correctly; expected 25 space(s) but found 8","source":"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"218":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"219":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"220":{"13":[{"message":"Array key not aligned correctly; expected 26 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.KeyNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"262":{"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}]},"259":{"8":[{"message":"Missing parameter comment","source":"Squiz.Commenting.FunctionComment.MissingParamComment","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"258":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"272":{"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}]},"269":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"282":{"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}]},"279":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"292":{"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}]},"289":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"300":{"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}]},"298":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"314":{"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}]},"312":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"330":{"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}]},"328":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"339":{"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}]},"337":{"5":[{"message":"Doc comment for parameter \"$reader\" missing","source":"Squiz.Commenting.FunctionComment.MissingParamTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"356":{"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}]},"354":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"355":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"370":{"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}]},"368":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true},{"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}],"14":[{"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}]},"369":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true},{"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}],"14":[{"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}]},"384":{"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}]},"382":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]},"383":{"13":[{"message":"Array value not aligned correctly; expected 16 spaces but found 12","source":"Squiz.Arrays.ArrayDeclaration.ValueNotAligned","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Arrays\\ArrayDeclarationSniff","severity":0,"fixable":true}]}},"warnings":[],"metrics":{"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"Number of newlines at EOF":{"values":{"1":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":321,"81-120":6}},"Line indent":{"values":{"spaces":317}},"PHP keyword case":{"values":{"lower":60}},"Multiple statements on same line":{"values":{"no":91}},"Class opening brace placement":{"values":{"new line":1}},"One class per file":{"values":{"yes":1}},"Class defined in namespace":{"values":{"yes":1}},"CamelCase class name":{"values":{"yes":1}},"Short array syntax used":{"values":{"yes":31}},"CamelCase method name":{"values":{"yes":18}},"Function opening brace placement":{"values":{"new line":18}},"Function has doc comment":{"values":{"yes":18}},"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}},"Spacing before object operator":{"values":[102]},"Spacing after object operator":{"values":[102]},"Inline comment style":{"values":{"\/\/ ...":4}},"Adjacent assignments aligned":{"values":{"yes":1}},"Spacing before string concat":{"values":{"1":6}},"Spacing after string concat":{"values":{"1":6}},"Array end comma":{"values":{"yes":3}},"PHP constant case":{"values":{"lower":2}}},"errorCount":126,"warningCount":0,"fixableCount":95,"numTokens":2564}} \ No newline at end of file diff --git a/composer.json b/composer.json index 9e1799a..6dc2412 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.1" }, "require-dev": { - "doctrine/coding-standard": "^4.0", + "doctrine/coding-standard": "^5.0", "phpstan/phpstan": "^0.10", "phpstan/phpstan-deprecation-rules": "^0.10", "phpstan/phpstan-strict-rules": "^0.10", diff --git a/composer.lock b/composer.lock index df4fb29..4d157f2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,21 +4,21 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5bf20602253bff99b7f534ffeaf017fb", + "content-hash": "2f4c34b7dd6de237fcee5feea0465890", "packages": [], "packages-dev": [ { "name": "composer/xdebug-handler", - "version": "1.1.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08" + "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/c919dc6c62e221fc6406f861ea13433c0aa24f08", - "reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/b8e9745fb9b06ea6664d8872c4505fb16df4611c", + "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c", "shasum": "" }, "require": { @@ -49,7 +49,7 @@ "Xdebug", "performance" ], - "time": "2018-04-11T15:42:36+00:00" + "time": "2018-08-31T19:07:57+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", @@ -121,28 +121,28 @@ }, { "name": "doctrine/coding-standard", - "version": "4.0.0", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/coding-standard.git", - "reference": "0469c18a1a4724c278f2879c0dd7b1fa860b52de" + "reference": "bb8de042a25c4fb59a2c55c350dc55cc00227a8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/0469c18a1a4724c278f2879c0dd7b1fa860b52de", - "reference": "0469c18a1a4724c278f2879c0dd7b1fa860b52de", + "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/bb8de042a25c4fb59a2c55c350dc55cc00227a8c", + "reference": "bb8de042a25c4fb59a2c55c350dc55cc00227a8c", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.2", + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", "php": "^7.1", - "slevomat/coding-standard": "^4.5.0", - "squizlabs/php_codesniffer": "^3.2.3" + "slevomat/coding-standard": "^4.8.0", + "squizlabs/php_codesniffer": "^3.3.2" }, "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "5.0.x-dev" } }, "autoload": { @@ -164,18 +164,21 @@ "email": "st.mueller@dzh-online.de" } ], - "description": "Doctrine Coding Standard", - "homepage": "http://www.doctrine-project.org", + "description": "The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/coding-standard.html", "keywords": [ + "checks", "code", "coding", "cs", "doctrine", + "rules", "sniffer", + "sniffs", "standard", "style" ], - "time": "2018-03-03T23:49:15+00:00" + "time": "2018-09-24T19:08:56+00:00" }, { "name": "doctrine/instantiator", @@ -408,16 +411,16 @@ }, { "name": "nette/di", - "version": "v2.4.12", + "version": "v2.4.14", "source": { "type": "git", "url": "https://github.com/nette/di.git", - "reference": "8e717aed2d182a26763be58c220eebaaa32917df" + "reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/8e717aed2d182a26763be58c220eebaaa32917df", - "reference": "8e717aed2d182a26763be58c220eebaaa32917df", + "url": "https://api.github.com/repos/nette/di/zipball/923da3e2c0aa53162ef455472c0ac7787b096c5a", + "reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a", "shasum": "" }, "require": { @@ -473,31 +476,31 @@ "nette", "static" ], - "time": "2018-04-26T09:18:42+00:00" + "time": "2018-09-17T15:47:40+00:00" }, { "name": "nette/finder", - "version": "v2.4.1", + "version": "v2.4.2", "source": { "type": "git", "url": "https://github.com/nette/finder.git", - "reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547" + "reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/4d43a66d072c57d585bf08a3ef68d3587f7e9547", - "reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547", + "url": "https://api.github.com/repos/nette/finder/zipball/ee951a656cb8ac622e5dd33474a01fd2470505a0", + "reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0", "shasum": "" }, "require": { - "nette/utils": "^2.4 || ~3.0.0", + "nette/utils": "~2.4", "php": ">=5.6.0" }, "conflict": { "nette/nette": "<2.2" }, "require-dev": { - "nette/tester": "^2.0", + "nette/tester": "~2.0", "tracy/tracy": "^2.3" }, "type": "library", @@ -527,22 +530,28 @@ "homepage": "https://nette.org/contributors" } ], - "description": "Nette Finder: Files Searching", + "description": "🔍 Nette Finder: find files and directories with an intuitive API.", "homepage": "https://nette.org", - "time": "2017-07-10T23:47:08+00:00" + "keywords": [ + "filesystem", + "glob", + "iterator", + "nette" + ], + "time": "2018-06-28T11:49:23+00:00" }, { "name": "nette/neon", - "version": "v2.4.2", + "version": "v2.4.3", "source": { "type": "git", "url": "https://github.com/nette/neon.git", - "reference": "9eacd50553b26b53a3977bfb2fea2166d4331622" + "reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/9eacd50553b26b53a3977bfb2fea2166d4331622", - "reference": "9eacd50553b26b53a3977bfb2fea2166d4331622", + "url": "https://api.github.com/repos/nette/neon/zipball/5e72b1dd3e2d34f0863c5561139a19df6a1ef398", + "reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398", "shasum": "" }, "require": { @@ -581,22 +590,29 @@ "homepage": "https://nette.org/contributors" } ], - "description": "Nette NEON: parser & generator for Nette Object Notation", + "description": "🍸 Nette NEON: encodes and decodes NEON file format.", "homepage": "http://ne-on.org", - "time": "2017-07-11T18:29:08+00:00" + "keywords": [ + "export", + "import", + "neon", + "nette", + "yaml" + ], + "time": "2018-03-21T12:12:21+00:00" }, { "name": "nette/php-generator", - "version": "v3.0.4", + "version": "v3.0.5", "source": { "type": "git", "url": "https://github.com/nette/php-generator.git", - "reference": "b381ecacbf5a0b5f99cc0b303d5b0578d409f446" + "reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/b381ecacbf5a0b5f99cc0b303d5b0578d409f446", - "reference": "b381ecacbf5a0b5f99cc0b303d5b0578d409f446", + "url": "https://api.github.com/repos/nette/php-generator/zipball/ea90209c2e8a7cd087b2742ca553c047a8df5eff", + "reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff", "shasum": "" }, "require": { @@ -645,20 +661,20 @@ "php", "scaffolding" ], - "time": "2018-04-26T16:48:20+00:00" + "time": "2018-08-09T14:32:27+00:00" }, { "name": "nette/robot-loader", - "version": "v3.0.3", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a" + "reference": "fc76c70e740b10f091e502b2e393d0be912f38d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", - "reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/fc76c70e740b10f091e502b2e393d0be912f38d4", + "reference": "fc76c70e740b10f091e502b2e393d0be912f38d4", "shasum": "" }, "require": { @@ -677,7 +693,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -710,20 +726,20 @@ "nette", "trait" ], - "time": "2017-09-26T13:42:21+00:00" + "time": "2018-08-13T14:19:06+00:00" }, { "name": "nette/utils", - "version": "v2.5.2", + "version": "v2.5.3", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "183069866dc477fcfbac393ed486aaa6d93d19a5" + "reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/183069866dc477fcfbac393ed486aaa6d93d19a5", - "reference": "183069866dc477fcfbac393ed486aaa6d93d19a5", + "url": "https://api.github.com/repos/nette/utils/zipball/17b9f76f2abd0c943adfb556e56f2165460b15ce", + "reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce", "shasum": "" }, "require": { @@ -792,20 +808,20 @@ "utility", "validation" ], - "time": "2018-05-02T17:16:08+00:00" + "time": "2018-09-18T10:22:16+00:00" }, { "name": "nikic/php-parser", - "version": "v4.0.2", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12" + "reference": "fa6ee28600d21d49b2b4e1006b48426cec8e579c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/35b8caf75e791ba1b2d24fec1552168d72692b12", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/fa6ee28600d21d49b2b4e1006b48426cec8e579c", + "reference": "fa6ee28600d21d49b2b4e1006b48426cec8e579c", "shasum": "" }, "require": { @@ -843,7 +859,7 @@ "parser", "php" ], - "time": "2018-06-03T11:33:10+00:00" + "time": "2018-09-18T07:03:24+00:00" }, { "name": "ocramius/package-versions", @@ -896,22 +912,22 @@ }, { "name": "phar-io/manifest", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", "shasum": "" }, "require": { "ext-dom": "*", "ext-phar": "*", - "phar-io/version": "^1.0.1", + "phar-io/version": "^2.0", "php": "^5.6 || ^7.0" }, "type": "library", @@ -947,20 +963,20 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "time": "2017-03-05T18:14:27+00:00" + "time": "2018-07-08T19:23:20+00:00" }, { "name": "phar-io/version", - "version": "1.0.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", "shasum": "" }, "require": { @@ -994,7 +1010,7 @@ } ], "description": "Library for handling version information and constraints", - "time": "2017-03-05T17:38:23+00:00" + "time": "2018-07-08T19:19:57+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -1150,16 +1166,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.6", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", "shasum": "" }, "require": { @@ -1171,12 +1187,12 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { @@ -1209,7 +1225,7 @@ "spy", "stub" ], - "time": "2018-04-18T13:57:24+00:00" + "time": "2018-08-05T17:53:17+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -1259,16 +1275,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.10", + "version": "0.10.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "86b9f9a4421d282f3c18e0d4d1426f330c1ef21d" + "reference": "dc62f78c9aa6e9f7c44e8d6518f1123cd1e1b1c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/86b9f9a4421d282f3c18e0d4d1426f330c1ef21d", - "reference": "86b9f9a4421d282f3c18e0d4d1426f330c1ef21d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc62f78c9aa6e9f7c44e8d6518f1123cd1e1b1c0", + "reference": "dc62f78c9aa6e9f7c44e8d6518f1123cd1e1b1c0", "shasum": "" }, "require": { @@ -1293,7 +1309,9 @@ "ext-mysqli": "*", "ext-zip": "*", "jakub-onderka/php-parallel-lint": "^1.0", + "localheinz/composer-normalize": "~0.8.0", "phing/phing": "^2.16.0", + "phpstan/phpstan-deprecation-rules": "^0.10.2", "phpstan/phpstan-php-parser": "^0.10", "phpstan/phpstan-phpunit": "^0.10", "phpstan/phpstan-strict-rules": "^0.10", @@ -1322,20 +1340,20 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "time": "2018-06-24T17:49:58+00:00" + "time": "2018-08-12T15:14:21+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "0.10", + "version": "0.10.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "ae3a84298c5d93ff82783d2ae8c5a5859dd94c2a" + "reference": "fc7d373a760d2bf5cf999b052072adfa728892a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/ae3a84298c5d93ff82783d2ae8c5a5859dd94c2a", - "reference": "ae3a84298c5d93ff82783d2ae8c5a5859dd94c2a", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/fc7d373a760d2bf5cf999b052072adfa728892a0", + "reference": "fc7d373a760d2bf5cf999b052072adfa728892a0", "shasum": "" }, "require": { @@ -1368,20 +1386,20 @@ "MIT" ], "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", - "time": "2018-06-24T16:51:04+00:00" + "time": "2018-06-30T14:42:51+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "0.10", + "version": "0.10.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "bffdf03fc70602833936dccf6c2eb3be58ed78d6" + "reference": "18c0b6e8899606b127c680402ab473a7b67166db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/bffdf03fc70602833936dccf6c2eb3be58ed78d6", - "reference": "bffdf03fc70602833936dccf6c2eb3be58ed78d6", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/18c0b6e8899606b127c680402ab473a7b67166db", + "reference": "18c0b6e8899606b127c680402ab473a7b67166db", "shasum": "" }, "require": { @@ -1414,7 +1432,7 @@ "MIT" ], "description": "Extra strict and opinionated rules for PHPStan", - "time": "2018-06-22T18:09:47+00:00" + "time": "2018-07-06T20:36:44+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1481,21 +1499,24 @@ }, { "name": "phpunit/php-file-iterator", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cecbc684605bb0cc288828eb5d65d93d5c676d3c" + "reference": "050bedf145a257b1ff02746c31894800e5122946" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cecbc684605bb0cc288828eb5d65d93d5c676d3c", - "reference": "cecbc684605bb0cc288828eb5d65d93d5c676d3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946", + "reference": "050bedf145a257b1ff02746c31894800e5122946", "shasum": "" }, "require": { "php": "^7.1" }, + "require-dev": { + "phpunit/phpunit": "^7.1" + }, "type": "library", "extra": { "branch-alias": { @@ -1524,7 +1545,7 @@ "filesystem", "iterator" ], - "time": "2018-06-11T11:44:00+00:00" + "time": "2018-09-13T20:33:42+00:00" }, { "name": "phpunit/php-text-template", @@ -1667,16 +1688,16 @@ }, { "name": "phpunit/phpunit", - "version": "7.2.6", + "version": "7.3.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "400a3836ee549ae6f665323ac3f21e27eac7155f" + "reference": "7b331efabbb628c518c408fdfcaf571156775de2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/400a3836ee549ae6f665323ac3f21e27eac7155f", - "reference": "400a3836ee549ae6f665323ac3f21e27eac7155f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7b331efabbb628c518c408fdfcaf571156775de2", + "reference": "7b331efabbb628c518c408fdfcaf571156775de2", "shasum": "" }, "require": { @@ -1687,8 +1708,8 @@ "ext-mbstring": "*", "ext-xml": "*", "myclabs/deep-copy": "^1.7", - "phar-io/manifest": "^1.0.1", - "phar-io/version": "^1.0", + "phar-io/manifest": "^1.0.2", + "phar-io/version": "^2.0", "php": "^7.1", "phpspec/prophecy": "^1.7", "phpunit/php-code-coverage": "^6.0.7", @@ -1721,7 +1742,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.2-dev" + "dev-master": "7.3-dev" } }, "autoload": { @@ -1747,7 +1768,7 @@ "testing", "xunit" ], - "time": "2018-06-21T13:13:39+00:00" + "time": "2018-09-08T15:14:29+00:00" }, { "name": "psr/log", @@ -1843,16 +1864,16 @@ }, { "name": "sebastian/comparator", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "591a30922f54656695e59b1f39501aec513403da" + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/591a30922f54656695e59b1f39501aec513403da", - "reference": "591a30922f54656695e59b1f39501aec513403da", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da", + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da", "shasum": "" }, "require": { @@ -1903,7 +1924,7 @@ "compare", "equality" ], - "time": "2018-06-14T15:05:28+00:00" + "time": "2018-07-12T15:12:46+00:00" }, { "name": "sebastian/diff", @@ -2361,21 +2382,21 @@ }, { "name": "slevomat/coding-standard", - "version": "4.6.2", + "version": "4.8.3", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "d43b9a627cdcb7ce837a1d85a79b52645cdf44bc" + "reference": "32e1ca205fc34920f323582ed29c0602e3897ae3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/d43b9a627cdcb7ce837a1d85a79b52645cdf44bc", - "reference": "d43b9a627cdcb7ce837a1d85a79b52645cdf44bc", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/32e1ca205fc34920f323582ed29c0602e3897ae3", + "reference": "32e1ca205fc34920f323582ed29c0602e3897ae3", "shasum": "" }, "require": { "php": "^7.1", - "squizlabs/php_codesniffer": "^3.2.3" + "squizlabs/php_codesniffer": "^3.3.0" }, "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", @@ -2383,7 +2404,7 @@ "phpstan/phpstan": "0.9.2", "phpstan/phpstan-phpunit": "0.9.4", "phpstan/phpstan-strict-rules": "0.9", - "phpunit/phpunit": "7.2.4" + "phpunit/phpunit": "7.3.5" }, "type": "phpcodesniffer-standard", "autoload": { @@ -2396,20 +2417,20 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", - "time": "2018-06-12T21:23:15+00:00" + "time": "2018-09-25T21:21:11+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.3.0", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266" + "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d86873af43b4aa9d1f39a3601cc0cfcf02b25266", - "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6ad28354c04b364c3c71a34e4a18b629cc3b231e", + "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e", "shasum": "" }, "require": { @@ -2447,20 +2468,20 @@ "phpcs", "standards" ], - "time": "2018-06-06T23:58:19+00:00" + "time": "2018-09-23T23:08:17+00:00" }, { "name": "symfony/console", - "version": "v4.1.1", + "version": "v4.1.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "70591cda56b4b47c55776ac78e157c4bb6c8b43f" + "reference": "ca80b8ced97cf07390078b29773dc384c39eee1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/70591cda56b4b47c55776ac78e157c4bb6c8b43f", - "reference": "70591cda56b4b47c55776ac78e157c4bb6c8b43f", + "url": "https://api.github.com/repos/symfony/console/zipball/ca80b8ced97cf07390078b29773dc384c39eee1f", + "reference": "ca80b8ced97cf07390078b29773dc384c39eee1f", "shasum": "" }, "require": { @@ -2515,20 +2536,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-05-31T10:17:53+00:00" + "time": "2018-07-26T11:24:31+00:00" }, { "name": "symfony/finder", - "version": "v4.1.1", + "version": "v4.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "84714b8417d19e4ba02ea78a41a975b3efaafddb" + "reference": "e162f1df3102d0b7472805a5a9d5db9fcf0a8068" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/84714b8417d19e4ba02ea78a41a975b3efaafddb", - "reference": "84714b8417d19e4ba02ea78a41a975b3efaafddb", + "url": "https://api.github.com/repos/symfony/finder/zipball/e162f1df3102d0b7472805a5a9d5db9fcf0a8068", + "reference": "e162f1df3102d0b7472805a5a9d5db9fcf0a8068", "shasum": "" }, "require": { @@ -2564,20 +2585,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-06-19T21:38:16+00:00" + "time": "2018-07-26T11:24:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.8.0", + "version": "v1.9.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "3296adf6a6454a050679cde90f95350ad604b171" + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", - "reference": "3296adf6a6454a050679cde90f95350ad604b171", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8", + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8", "shasum": "" }, "require": { @@ -2589,7 +2610,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -2623,7 +2644,7 @@ "portable", "shim" ], - "time": "2018-04-26T10:06:28+00:00" + "time": "2018-08-06T14:22:27+00:00" }, { "name": "theseer/tokenizer", diff --git a/lib/EasyCSV/Reader.php b/lib/EasyCSV/Reader.php index f459cde..41b4908 100644 --- a/lib/EasyCSV/Reader.php +++ b/lib/EasyCSV/Reader.php @@ -71,7 +71,7 @@ public function getRow() } if ($isEmpty === false) { - return ($this->headers !== false && is_array($this->headers)) ? array_combine($this->headers, $row) : $row; + return $this->headers !== false && is_array($this->headers) ? array_combine($this->headers, $row) : $row; } if ((isset($this->headers) && is_array($this->headers)) && (count($this->headers) !== count($row))) { @@ -220,13 +220,9 @@ protected function rowIsEmpty(array $row) : bool $isEmpty = false; if ($emptyRow) { - $isEmpty = true; - - return $isEmpty; + return true; } elseif ($emptyRowWithDelimiters) { - $isEmpty = true; - - return $isEmpty; + return true; } return $isEmpty;