{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PHP.tokenize (cyclomatic 494): PHP.tokenize has cyclomatic complexity 494 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6032bb5ac50bcf53c3787c2376bea630f5d72672a9736b900e74745bb21e22"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopeIndentSniff.process (cyclomatic 323): ScopeIndentSniff.process has cyclomatic complexity 323 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7bd061418f3ae06539b7cdea962a0065424349221e4c7b112684df8d6448ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PHP.processAdditional (cyclomatic 181): PHP.processAdditional has cyclomatic complexity 181 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e07aeac652309eacb89684319c9ffc1ba1872a851b6bd052af92f57e8812647"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.recurseScopeMap (cyclomatic 133): Tokenizer.recurseScopeMap has cyclomatic complexity 133 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f91d52e61c55f9820e83a2091566cfe81c6709e45aa66679da268009fc8d761"}},{"ruleId":"D1","level":"warning","message":{"text":"JS.tokenize (cyclomatic 122): JS.tokenize has cyclomatic complexity 122 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afff0bd149c6098dee5f865dda8679db6770d7d9aeb4750f61bcf2ce3300faf"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.processLongArgument (cyclomatic 114): Config.processLongArgument has cyclomatic complexity 114 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"540355097029847dcce308388a7566a534f31f15b3bbd06213df0e5451126af1"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayDeclarationSniff.processMultiLineArray (cyclomatic 112): ArrayDeclarationSniff.processMultiLineArray has cyclomatic complexity 112 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d05dc8b4a9c2675a06becf335627c0b8a3a2044122ac031c598774f38dbea7"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineControlStructureSniff.process (cyclomatic 95): InlineControlStructureSniff.process has cyclomatic complexity 95 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"720136a26ba96a98c7ca26ae027f18e0bbe7bdec135d3332cb38ffd2563261b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.createPositionMap (cyclomatic 90): Tokenizer.createPositionMap has cyclomatic complexity 90 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2380adda4855fcfd487a087ce2fb8e02fbe7619b51a1a4413a91f2089a2b19df"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractPatternSniff.processPattern (cyclomatic 88): AbstractPatternSniff.processPattern has cyclomatic complexity 88 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d684dc52b694c627fea972ba78094fdee9a466d47441429174be8f578bc90fd"}},{"ruleId":"D1","level":"warning","message":{"text":"CSS.tokenize (cyclomatic 88): CSS.tokenize has cyclomatic complexity 88 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/CSS.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4909f19abb0c10436ca26a66ddb0ceb5ae7a9c0f305add5c48084dc49539c9"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDeclarationSniff.processOpen (cyclomatic 84): ClassDeclarationSniff.processOpen has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ebe969036dffdf07bfb330712b27fae6b230d92351c0a66d9d962c337d439"}},{"ruleId":"D1","level":"warning","message":{"text":"UseDeclarationSniff.processUseGroup (cyclomatic 82): UseDeclarationSniff.processUseGroup has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"92639757e9c8244963ffd7c8543092ce34c3c4d21d733e96220528d5e21333b6"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCommentSniff.processParams (cyclomatic 72): FunctionCommentSniff.processParams has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0b52a84c37a3732e132c3aaeeccc50526d4a6f552d019e7bde043f2e72263"}},{"ruleId":"D1","level":"warning","message":{"text":"MultipleStatementAlignmentSniff.checkAlignment (cyclomatic 68): MultipleStatementAlignmentSniff.checkAlignment has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712a1e29eba26ce483e121bc917ded13723fb9c3409ee777d5197a64c84eb65"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlStructureSpacingSniff.process (cyclomatic 67): ControlStructureSpacingSniff.process has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87a872b33b84915f27015ce41fb7050c938f0e81502d6f0ea73cd00d76ebd99"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockCommentSniff.process (cyclomatic 66): BlockCommentSniff.process has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3dde2faa4bce55e305d2c4f2627e6c94fe3003d4f8fa2e0e69976fd68a9599"}},{"ruleId":"D1","level":"warning","message":{"text":"DocCommentSniff.process (cyclomatic 65): DocCommentSniff.process has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"106e86c5fc38a83193e6063f3e52aaf50bda577f69319de49bf42b3f06ef054f"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlSignatureSniff.process (cyclomatic 65): ControlSignatureSniff.process has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57971a15e32bf93c09403373edf2943a8b9532aef1340a573fb0f3516751857"}},{"ruleId":"D1","level":"warning","message":{"text":"File.getMethodParameters (cyclomatic 62): File.getMethodParameters has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d5c55f753633611a67a994d7fd864e117eaad9c3f2b9b9182a1c4cc5cfc8e"}},{"ruleId":"D1","level":"warning","message":{"text":"ForLoopDeclarationSniff.process (cyclomatic 62): ForLoopDeclarationSniff.process has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1d568af483cabd8e7d9a963c4edfa0c8a7fea0abc99a34478172a5052c59a4"}},{"ruleId":"D1","level":"warning","message":{"text":"GitMergeConflictSniff.process (cyclomatic 61): GitMergeConflictSniff.process has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59b0ed4a16db9c3b0ded6ff563179da6cabe8b5c3656deca9c9e554e3136de"}},{"ruleId":"D1","level":"warning","message":{"text":"SideEffectsSniff.searchForConflict (cyclomatic 61): SideEffectsSniff.searchForConflict has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"46be2db595eb4b7b1e9c6ab0e0d3b55c92f881f6cb6d576f8941b09e8c322b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruleset.processRuleset (cyclomatic 60): Ruleset.processRuleset has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d896cc222650fcb04c3d6bb21ff67489c3390eede2fb23fbb92763610fb16ae6"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruleset.processRule (cyclomatic 60): Ruleset.processRule has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08f6769e59fe34658287024c28c99de9c46cf9f5ebdcfb0c481c9636e2748d4"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCallSignatureSniff.processMultiLineCall (cyclomatic 60): FunctionCallSignatureSniff.processMultiLineCall has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b93da59efb340be9b67716efd4b5c3efe6846e2ba1b51b4481acf7c3bb75bf"}},{"ruleId":"D1","level":"warning","message":{"text":"NonExecutableCodeSniff.process (cyclomatic 59): NonExecutableCodeSniff.process has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ae8323da1a72369cb3eb302be645580d83fe354015b7543f7f45070dba6d27"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionDeclarationArgumentSpacingSniff.processBracket (cyclomatic 58): FunctionDeclarationArgumentSpacingSniff.processBracket has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b0822ee594f0d126644a515850af1c5d20db9019150ef107b4dfa85a3a3aae"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchDeclarationSniff.process (cyclomatic 57): SwitchDeclarationSniff.process has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81bb6f4011b0534317a8affd96d219b5492443753be4d107e4e438bbe74158"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionSpacingSniff.process (cyclomatic 57): FunctionSpacingSniff.process has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4810f147ab66ced1e4052c7ea17d4d9f9316ce256cd969b909657978f5ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"File.addMessage (cyclomatic 56): File.addMessage has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5087130a4e04ef50873f752e705b31f10968946ba0edf18c49bfcb592b1c7"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineCommentSniff.process (cyclomatic 53): InlineCommentSniff.process has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90adadbfb19eb74e3b2115bee540572133c9ec18de475a5b74f951b25a4a6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"File.process (cyclomatic 52): File.process has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"047703ba247472619fe80ac9d615693b80899b9b5b7e7a834e59e268a2349fea"}},{"ruleId":"D1","level":"warning","message":{"text":"UnusedFunctionParameterSniff.process (cyclomatic 52): UnusedFunctionParameterSniff.process has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bc9ad390b9960eb791ed8d2e637f74f79979befb1d13b5f3835bf0dc7a1dd4"}},{"ruleId":"D1","level":"warning","message":{"text":"UseDeclarationSniff.process (cyclomatic 52): UseDeclarationSniff.process has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c5039fbe3481599afa1984cf6af92cde5cc82f87d3651b943ba5a218344d77"}},{"ruleId":"D1","level":"warning","message":{"text":"UseDeclarationSniff.process (cyclomatic 52): UseDeclarationSniff.process has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1733a32563be092a5f82665be91305a23c5d6184f727b02f51d2ac976c91020e"}},{"ruleId":"D1","level":"warning","message":{"text":"Code.generateFileReport (cyclomatic 51): Code.generateFileReport has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b54151bb003e7a7f149ab284888311010b6156cb8187f727c26733a7a8fc5"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiLineConditionSniff.process (cyclomatic 48): MultiLineConditionSniff.process has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c959138e77a371d46bd6380423010ecb051c4308471a79aea259cf224ad1ba37"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorBracketSniff.process (cyclomatic 48): OperatorBracketSniff.process has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f664e7ba696090f9b4534712ed6db970d25457b8ea3e59a322c0a12854336965"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbeddedPhpSniff.validateMultilineEmbeddedPhp (cyclomatic 47): EmbeddedPhpSniff.validateMultilineEmbeddedPhp has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d92104de669ffe581c8882d82091399c76cc2ebe9db2994ccdc1071bdde11f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache.load (cyclomatic 47): Cache.load has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Cache.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"33be596649a8f73f45293319b34114ced828ec0d2f6da338808d5343bcefab17"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorSpacingSniff.process (cyclomatic 45): OperatorSpacingSniff.process has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eeef4448a99304ebec4f4b44ca8e6bfe673619c04af6f01cf4a6040f0d7d4c"}},{"ruleId":"D1","level":"warning","message":{"text":"JS.processAdditional (cyclomatic 45): JS.processAdditional has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"92912352380722554da0afd841a6ef805716982fb524440c447c9631acd93ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"DeclareStatementSniff.process (cyclomatic 44): DeclareStatementSniff.process has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd05519e94afaf8d10ff563ce85aff2b1937dec1cf3c00f015217b23e5ef03"}},{"ruleId":"D1","level":"warning","message":{"text":"File.findStartOfStatement (cyclomatic 42): File.findStartOfStatement has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea30187fbfd4503ea7ada64ee3a0e0e9d724d3597819c43c1992bd1e76eb6596"}},{"ruleId":"D1","level":"warning","message":{"text":"SuperfluousWhitespaceSniff.process (cyclomatic 41): SuperfluousWhitespaceSniff.process has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"018f5bf50672e3c674b41fa5e77004457249c5a60f00414541a3018ae5c3142b"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.run (cyclomatic 39): Runner.run has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ee46e9505b256a0b590d8fa687827b245f8529745a00da21903c542ce49b97"}},{"ruleId":"D1","level":"warning","message":{"text":"ForEachLoopDeclarationSniff.process (cyclomatic 39): ForEachLoopDeclarationSniff.process has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ca01f39c2bbed79e39b55520562799ffb7b8bda246cbf34a3eaad1968741bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.createLevelMap (cyclomatic 39): Tokenizer.createLevelMap has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee7adfbe6a2e223569b4d4c5d1c1a296fd7f3b2b3ff5dbc42ed52f18c12ed1"}},{"ruleId":"D1","level":"warning","message":{"text":"ArbitraryParenthesesSpacingSniff.process (cyclomatic 38): ArbitraryParenthesesSpacingSniff.process has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e245b60120c705a8e7e8a5e16a2f2e759847baae8519b4646a2f943d239782"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCommentSniff.processReturn (cyclomatic 38): FunctionCommentSniff.processReturn has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc7b007532ea8d65f92544bb78c4143e2c567dbd33ea8e89f7d08fb58d6dea"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentedOutCodeSniff.process (cyclomatic 38): CommentedOutCodeSniff.process has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3ab4977dc072dbe60de3737f22dbc8423367a82b3ae7d0f722087db60b0a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberVarSpacingSniff.processMemberVar (cyclomatic 38): MemberVarSpacingSniff.processMemberVar has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4cb01bbb2c24cec73056b54b9bf39af4b1793453d83d69f4040d3be553edaf"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruleset.expandRulesetReference (cyclomatic 37): Ruleset.expandRulesetReference has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25f696b4f8ce98550e1b8e2387e344ddb55d9025b53f225469c3932bf1b82ac"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCommentSniff.processParams (cyclomatic 37): FunctionCommentSniff.processParams has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d66648167540bee601220c5d94db75dda92b8866d5ad55d538753963bba5e81"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchDeclarationSniff.process (cyclomatic 37): SwitchDeclarationSniff.process has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"160855dd279a73757e17c5d6d3b562c240db5c3fd70759858b4690553857cee5"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.createTokenMap (cyclomatic 37): Tokenizer.createTokenMap has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd051626becf8cfda17fd204454a793302a0046927f202d70aadbca60b85c3f5"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionControl.generate (cyclomatic 36): VersionControl.generate has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/VersionControl.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d82b6a06518e1759ff162c56dafa25f2d69d1a7e7d07f0db8a9e8b78b0a65a"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowSpaceIndentSniff.process (cyclomatic 36): DisallowSpaceIndentSniff.process has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10ebf73ddfb26c955035f590c7d94c2ff6a1c4be634f08981fe44d1ad75fff"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionDeclarationSniff.process (cyclomatic 36): FunctionDeclarationSniff.process has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"96389279da015a9e465b83d9ce7e056492ee646e2698206a77d39f5b12e74eaa"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonOperatorUsageSniff.process (cyclomatic 36): ComparisonOperatorUsageSniff.process has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf82d3c2743a4b630beb037207336ff78a11853e160f21d77587397dd9d888"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateWidgetTypeCallbackSniff.process (cyclomatic 35): CreateWidgetTypeCallbackSniff.process has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e516ead041b39c9ffeb7d13584ab26ba9f5d5c8557e630ea115509f7be988d"}},{"ruleId":"D1","level":"warning","message":{"text":"BooleanOperatorPlacementSniff.process (cyclomatic 35): BooleanOperatorPlacementSniff.process has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e983855caf42a00deba978c67cf2c5a2190212fae39c5d9c635e4f5c7b132ca"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowMultipleAssignmentsSniff.process (cyclomatic 35): DisallowMultipleAssignmentsSniff.process has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c173443eeaaf7375a68c4755476367ef24c1ec4744290e6ffa6891ebd7a2239b"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatenationSpacingSniff.process (cyclomatic 34): ConcatenationSpacingSniff.process has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def64b4d7a6b17c8c85d9782425c70eb5d99d25dff086259e4b997828c71b29"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionDeclarationSniff.processArgumentList (cyclomatic 33): FunctionDeclarationSniff.processArgumentList has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bf7817414ca3b880ad9316cd1dad2209ba5f469300252c8c0d238f726eb182"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCommentSniff.process (cyclomatic 33): FileCommentSniff.process has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9dc82fb37d62bb88aa64f153957ea8c0418e0782ed3bae09bce9144538761f"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopeKeywordSpacingSniff.process (cyclomatic 33): ScopeKeywordSpacingSniff.process has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a734bd42f29ec5ef4ba3674fe47a81f321e3ec076abfaa26c5d026f038e9430c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpeningFunctionBraceBsdAllmanSniff.process (cyclomatic 32): OpeningFunctionBraceBsdAllmanSniff.process has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"048bc734b9722872d73fb516593b9ac621ece48eb51b170788d50ca74e77f958"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowTabIndentSniff.process (cyclomatic 32): DisallowTabIndentSniff.process has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaae3e60015ba3341e748d1e6bfff8fd6bcc2d2eec8e180a9c3e8ca8da3b93e"}},{"ruleId":"D1","level":"warning","message":{"text":"File.findEndOfStatement (cyclomatic 31): File.findEndOfStatement has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19463cb162f275980bcf6a10c213a342a4062d2be36b6cea02d180e822e9c22"}},{"ruleId":"D1","level":"warning","message":{"text":"File.getMemberProperties (cyclomatic 30): File.getMemberProperties has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21c4d77509a722284b42be0d97488ab241cfb8608b100cca8c70907c37beebe"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyDeclarationSniff.processMemberVar (cyclomatic 30): PropertyDeclarationSniff.processMemberVar has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"978f8de010df7bb6e5bc9d8d3d35b4be51f74f85fe19138e63def2f30d852e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"LongConditionClosingCommentSniff.process (cyclomatic 30): LongConditionClosingCommentSniff.process has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"580a2e6a857f9bb25597fd1c578642d1210f38d5c7f9170a5e5ab6d9f38a4d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Full.generateFileReport (cyclomatic 29): Full.generateFileReport has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Full.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6593aac3417bdf1662f806893ee10f3f2e093f2c16fb78bf6d43b42139d3ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Source.generate (cyclomatic 29): Source.generate has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Source.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d13979d8e9655e3714b33fa1bca1aaa26710a5f9f98afbfe75e8f462529861"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCommentSniff.process (cyclomatic 29): FunctionCommentSniff.process has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"555bb74eb204f45323ed2f1345d140a6182d0a84b260511c3b0a6b9783772280"}},{"ruleId":"D1","level":"warning","message":{"text":"FileHeaderSniff.processHeaderLines (cyclomatic 29): FileHeaderSniff.processHeaderLines has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c09a68d2373a52074f6b0dff0ff73e2a0ac03be8998b8879829071f0e810d55"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchDeclarationSniff.findNestedTerminator (cyclomatic 29): SwitchDeclarationSniff.findNestedTerminator has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832a658ad8477809d9def33c30436c51ff42b1d5c0ea22c3ec8851da0c7ef66"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDeclarationSniff.processClose (cyclomatic 29): ClassDeclarationSniff.processClose has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c59e8e5ca47a99fce4d2a05ac059323ed1053f056578d2258e085b4915319"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCommentThrowTagSniff.process (cyclomatic 29): FunctionCommentThrowTagSniff.process has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60fc99c0581bf4ec50c11d757d73bbf9fca205a5e05a789c13e5666f4ac521"}},{"ruleId":"D1","level":"warning","message":{"text":"EmptyPHPStatementSniff.process (cyclomatic 28): EmptyPHPStatementSniff.process has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef45d995c0fa2ba97e3f4647a9a2aa08758c0ea1997a730a0332a649a449b82"}},{"ruleId":"D1","level":"warning","message":{"text":"OpeningFunctionBraceKernighanRitchieSniff.process (cyclomatic 28): OpeningFunctionBraceKernighanRitchieSniff.process has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a66032c36d0d6796858367eaf042778001a0ccd6fceda8f672835aaca218fca"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlStructureSpacingSniff.process (cyclomatic 28): ControlStructureSpacingSniff.process has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c920cabf873be4a6d428bce5bb88d5ac142e58beec355c5339391f5dadc9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayDeclarationSniff.processSingleLineArray (cyclomatic 28): ArrayDeclarationSniff.processSingleLineArray has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b63a40901c4eee11f043418ee62bda61c671bab10594addf2ddbcb8dd48b61"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbeddedPhpSniff.validateInlineEmbeddedPhp (cyclomatic 28): EmbeddedPhpSniff.validateInlineEmbeddedPhp has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88f16bf9090916cf8781920cf07deeab24f387d2d6cb4b172a81c214c300b7"}},{"ruleId":"D1","level":"warning","message":{"text":"FileHeaderSniff.getHeaderLines (cyclomatic 27): FileHeaderSniff.getHeaderLines has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71354e93291b75d7f579ee69a98a376ff40a8c415ec3ada81c0aa05291364dd"}},{"ruleId":"D1","level":"warning","message":{"text":"File.getMethodProperties (cyclomatic 26): File.getMethodProperties has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e72006b8ef7354fbdb1eafbb0b705566487646f83cee899613c9e2f0ac0bae7"}},{"ruleId":"D1","level":"warning","message":{"text":"UselessOverridingMethodSniff.process (cyclomatic 26): UselessOverridingMethodSniff.process has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5e5dd6e0a7644598c8c5f1022dc5a856b8c042160b258c62862d2a0f226245"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectOperatorIndentSniff.process (cyclomatic 26): ObjectOperatorIndentSniff.process has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec11c1a9a35df42817143cc3dedc6a34cb1a08d486e76ac0ce68d43eafacaaa"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDefinitionOpeningBraceSpaceSniff.process (cyclomatic 26): ClassDefinitionOpeningBraceSpaceSniff.process has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98b2d15379181d95122518c4ce1bd8e1b01b545090101e9e96a670f8aeb3fda"}},{"ruleId":"D1","level":"warning","message":{"text":"SelfMemberReferenceSniff.processTokenWithinScope (cyclomatic 26): SelfMemberReferenceSniff.processTokenWithinScope has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"792eef850ae57330f368cd0a0cda96b4fdb5bc60dafd73667e9b679995bbbc61"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableCommentSniff.processMemberVar (cyclomatic 26): VariableCommentSniff.processMemberVar has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"48111c8ec4073c38a6fb914112f836ed702cda0db21ebd7f558eda737b0f9a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"File.isReference (cyclomatic 25): File.isReference has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"e560fc0e097809977eebb5fbe7e38d64d6ce06ef5d8e2aa0c1220ee1c3b228e8"}},{"ruleId":"D1","level":"warning","message":{"text":"IncludeSystemSniff.processTokenWithinScope (cyclomatic 25): IncludeSystemSniff.processTokenWithinScope has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"312e1e8fe1b05670f9dce7409959d197d3eb04791dba0d0ae80d8ee049d7539d"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCallSignatureSniff.processSingleLineCall (cyclomatic 25): FunctionCallSignatureSniff.processSingleLineCall has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"312aae225735e443025e29dc1cef2ed37ff491cb7278ae71d6812f6011807e65"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorBracketSniff.addMissingBracketsError (cyclomatic 25): OperatorBracketSniff.addMissingBracketsError has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc2e847f2a668270fd748ebbf75559b280536dfb6b585d9bb2a43cff174c224"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.printProgress (cyclomatic 24): Runner.printProgress has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"93213011c3a622295ff6e860d786ad6a6d80ed546590ea57482e37bb3cafd018"}},{"ruleId":"D1","level":"warning","message":{"text":"IncrementDecrementSpacingSniff.process (cyclomatic 24): IncrementDecrementSpacingSniff.process has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"33665e1662b2dafa341fae745658ed955a5594e9f8e3123a2976fb70559d9c31"}},{"ruleId":"D1","level":"warning","message":{"text":"UnusedSystemSniff.process (cyclomatic 24): UnusedSystemSniff.process has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b802363827184f77340c0d2a105f14aa7048d8c304fd2a2aa6c6ff293b49646"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodDeclarationSniff.processTokenWithinScope (cyclomatic 24): MethodDeclarationSniff.processTokenWithinScope has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7ebf1d6b2e54a84276ad941796059357fc2545a5291ad4fc806fc0f054d90b"}},{"ruleId":"D1","level":"warning","message":{"text":"Fixer.replaceToken (cyclomatic 23): Fixer.replaceToken has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Fixer.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adf9013cdad30d23d12df47d6c5de91a1dd446c4b48f365e0559f8c94b3df7b"}},{"ruleId":"D1","level":"warning","message":{"text":"IndentationSniff.process (cyclomatic 23): IndentationSniff.process has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d13ee4c5c8374a8b4f51dd4f003bc00d6bc5e913eba2b4947b7b9b8bbc215"}},{"ruleId":"D1","level":"warning","message":{"text":"LowercasePHPFunctionsSniff.process (cyclomatic 23): LowercasePHPFunctionsSniff.process has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"267efbfa28ddc3b2eb27554088d1eb2a0769d18fec08ff38285e113b56dc4ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionClosingBraceSpaceSniff.process (cyclomatic 23): FunctionClosingBraceSpaceSniff.process has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd73aebe6fef166e3c8ec273263b445256e642dd1c1ebc8503d8a10739644298"}},{"ruleId":"D1","level":"warning","message":{"text":"LineLengthSniff.checkLineLength (cyclomatic 22): LineLengthSniff.checkLineLength has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Files/LineLengthSniff.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07d5bd129acf8b66931ecce1e28e75cffa7207ffd105cca64018b62d43e090"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopeClosingBraceSniff.process (cyclomatic 22): ScopeClosingBraceSniff.process has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eed97392c66a4f2a98476703ecd2e2004e3c1558f422a3f0c60f6b37316978"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.processShortArgument (cyclomatic 21): Config.processShortArgument has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"932df3ca7a34275b3342843c5fac998b11d0a551346c34df7cc17773a77bc569"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruleset.__construct (cyclomatic 21): Ruleset.__construct has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe37469c899cb7cee5cd57083d4a3b70e8fa8c9acd205f892ffc99ff0d59a7"}},{"ruleId":"D1","level":"warning","message":{"text":"SpaceAfterCastSniff.process (cyclomatic 21): SpaceAfterCastSniff.process has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6d946ae8f5ad93bfae25ca8586a4f472876e79c7a4ff24310b875aed5110f4"}},{"ruleId":"D1","level":"warning","message":{"text":"DocCommentAlignmentSniff.process (cyclomatic 21): DocCommentAlignmentSniff.process has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c66f635893fb66e929244cd3c9d7572b4d9cabbf1af5bb26db7fc177f7692"}},{"ruleId":"D1","level":"warning","message":{"text":"Summary.generate (cyclomatic 20): Summary.generate has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Summary.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd25c18f77ced831a284d56e0a023a2de7f3e6f9fb1416e04e0aecffa7442400"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.processFile (cyclomatic 20): Runner.processFile has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d2e91906a6f8a514640a52a558949e89fb689c7424492e305158cb3dbda8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SpreadOperatorSpacingAfterSniff.process (cyclomatic 20): SpreadOperatorSpacingAfterSniff.process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e193816b0d8cff9b42fde36748fff379a24be5594fc0d82884018c6a9164f6f2"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCommentSniff.process (cyclomatic 20): FileCommentSniff.process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"94285b8f0d8c3e664dcf656f6a7e126f1f5615f5a84916e012c2d302315cab67"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineIfDeclarationSniff.process (cyclomatic 20): InlineIfDeclarationSniff.process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed4ec508488fde198c09f01d912174f42aa58c74ccc34b4efab97411287c2de"}},{"ruleId":"D1","level":"warning","message":{"text":"JS.getRegexToken (cyclomatic 20): JS.getRegexToken has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba55bae54483f92db970d458ebd64b71372142227377d7629283521b420e7c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidatePEARPackageXML.checkFileTag (cyclomatic 19): ValidatePEARPackageXML.checkFileTag has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ValidatePEAR/ValidatePEARPackageXML.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a3b44f998d0911ff3c390fcf8a6be78ad3ffb48ad5683e9dbe8d49a0ec6a3"}},{"ruleId":"D1","level":"warning","message":{"text":"LanguageConstructSpacingSniff.process (cyclomatic 19): LanguageConstructSpacingSniff.process has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f782ce89709b622067e8b08341fdcfc3d672766f49687cb4c0caa02edbb7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ReturnTypeDeclarationSniff.process (cyclomatic 19): ReturnTypeDeclarationSniff.process has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4cee5d9215cbedb4ed02e30396e17aae074bbbe93835be14099f19e89383c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShorthandSizeSniff.process (cyclomatic 19): ShorthandSizeSniff.process has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186c03d6c2dfa425b4662817cabd0ed8b8faca62c4a740e3c3b192b6cc83262"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.__construct (cyclomatic 18): Config.__construct has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"46737e1c2e0e5cb15527ce9e4ff010601091634c53d318509d834b4304922092"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruleset.setSniffProperty (cyclomatic 18): Ruleset.setSniffProperty has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43def9f2012d9f816e9d674201d73334429d30673618841d84e15264d942ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignmentInConditionSniff.process (cyclomatic 18): AssignmentInConditionSniff.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f81e96ffc75b0ff32aa552aee3d78098eae36d6af25a1a45ceaf809eba5fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowAlternativePHPTagsSniff.process (cyclomatic 18): DisallowAlternativePHPTagsSniff.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cd752dc47634045d77294796d0121ffef0a709ce07ab0727f2a61eb677ccf5"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowShortOpenTagSniff.process (cyclomatic 18): DisallowShortOpenTagSniff.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc44df47812f3d274244d7bc3880c695d0c03a7fc59116923429e2a24dd675a"}},{"ruleId":"D1","level":"warning","message":{"text":"LowerCaseTypeSniff.process (cyclomatic 18): LowerCaseTypeSniff.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad46be7edfdcdac53d2b0c1c0f28b70c62a25e572c8a293d74969ec6c9373a"}},{"ruleId":"D1","level":"warning","message":{"text":"IncludingFileSniff.process (cyclomatic 18): IncludingFileSniff.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6089619a46b32286432737c102c331edb84f73761029fb7f824646d66bb1ddf2"}},{"ruleId":"D1","level":"warning","message":{"text":"IncrementDecrementUsageSniff.processAssignment (cyclomatic 18): IncrementDecrementUsageSniff.processAssignment has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57fe5a37094fd46d3fa7b12a64f8d73ec79e27d0040dd2f26c54d4cf87f1ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"Comment.tokenizeString (cyclomatic 18): Comment.tokenizeString has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Comment.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"87659f976dd978f4aa3d6f0e7d6ca05559baf09b4ff71441ddeab47219bbb0c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Common.suggestType (cyclomatic 18): Common.suggestType has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Common.php"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"457262fc2465ae14957ec0950469cc9c454d554c550407ccfc4fb460ef1a5912"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidatePEARPackageXML.checkPHPRelease (cyclomatic 17): ValidatePEARPackageXML.checkPHPRelease has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ValidatePEAR/ValidatePEARPackageXML.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460a076485aaf5c2c76069e894362aa6d6fbf804dd210b056f27d0b58383a24"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.restoreDefaults (cyclomatic 17): Config.restoreDefaults has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e968d6676071c1ed5d9ae96ee3fc622a288691b3e8bc28fb393178836649884b"}},{"ruleId":"D1","level":"warning","message":{"text":"Text.printCodeComparisonBlock (cyclomatic 17): Text.printCodeComparisonBlock has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/Text.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f380b9fcf0bea5a203521a8616c106fb9fdc9499833b8a703b7f90257f5900"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionControl.generateFileReport (cyclomatic 17): VersionControl.generateFileReport has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/VersionControl.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde12db172ec86e45418f694764bc941258d88b498d07f048f757bfcf7e9b513"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractVariableSniff.processTokenWithinScope (cyclomatic 17): AbstractVariableSniff.processTokenWithinScope has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractVariableSniff.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e1f445cf9bb8e2a3afdec9f97a0237ea0eec66d5f5209aa3a00e2b28ac918"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCallArgumentSpacingSniff.checkSpacing (cyclomatic 17): FunctionCallArgumentSpacingSniff.checkSpacing has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"108e8b54c38bfd8bc6e039440f1bf8fc203f5aab47ce0bf81f26629c2607cdf1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDeclarationSniff.process (cyclomatic 17): ClassDeclarationSniff.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf31cc28f5ac26bb1e8f3f067b1f0b9b54af5cc4784982f54108e9dc194ed88"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidFunctionNameSniff.processTokenOutsideScope (cyclomatic 17): ValidFunctionNameSniff.processTokenOutsideScope has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7847c518432daf889560a18a8a5e097dcb057bcf58e1b88fc2bf7f888410d3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnonClassDeclarationSniff.processSingleLineArgumentList (cyclomatic 17): AnonClassDeclarationSniff.processSingleLineArgumentList has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b36344b097b19cab67932fd6c564f16f2b558fb68f8e034a3c433dc108cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDefinitionClosingBraceSpaceSniff.process (cyclomatic 17): ClassDefinitionClosingBraceSpaceSniff.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b640d8d639688af3fc4a21ce3a4f288b475db51b26f9417ea6799a6c7f73e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClosingDeclarationCommentSniff.process (cyclomatic 17): ClosingDeclarationCommentSniff.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ca929adf5ecd5350c500a6bbf67c15675a724ad9c6b6b63da0c3283260ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorSpacingSniff.isOperator (cyclomatic 17): OperatorSpacingSniff.isOperator has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"388d2fe3021c405b0f63630fba344e500cb943a085a8de8060ca99b522985c91"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.setConfigData (cyclomatic 16): Config.setConfigData has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e5ee9ed8b21ce94ecc2488791ba196933ca0e170fcc53e793d126fc9d0c522"}},{"ruleId":"D1","level":"warning","message":{"text":"File.findPrevious (cyclomatic 16): File.findPrevious has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d00ecca717b2283a0ed046e5e20f3903e487523072b5436a80f8d7eadc976f2"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowYodaConditionsSniff.process (cyclomatic 16): DisallowYodaConditionsSniff.process has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"382f23ea3409d610cbd732c67cbeacd92592dc672cc2298d13fd980965174c47"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCommentSniff.processTags (cyclomatic 16): FileCommentSniff.processTags has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"310fe6abbdfbbcd00683bb97b0dab0c334be11706190114cff72a8bd00bbbe65"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidFunctionNameSniff.processTokenWithinScope (cyclomatic 16): ValidFunctionNameSniff.processTokenWithinScope has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6225d34405bc853dd477a990ff25edd6f564b54d927d5bf2b116c2dcd18db904"}},{"ruleId":"D1","level":"warning","message":{"text":"DisallowComparisonAssignmentSniff.process (cyclomatic 16): DisallowComparisonAssignmentSniff.process has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1958f13f8b00294bfe50cb6e25489415086a4bbac2cc95127b97a1dd9912468"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubleQuoteUsageSniff.process (cyclomatic 16): DoubleQuoteUsageSniff.process has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"106e5f1fe9d4b95d6d37bc708f241d0fb2c44d57d0b04566a1a074bae365474c"}},{"ruleId":"D2","level":"warning","message":{"text":"PHP.tokenize (cognitive 1203): PHP.tokenize has cognitive complexity 1203 (threshold 15). Drivers by points: if/else 231 (813 pts), boolean chains 252, loops 36 (138 pts) (nesting depth added 684). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b23a1c1d732de36c68258bd85162e03dd87e4cf49ba3838d9814d9bce3b65af"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.processLongArgument (cognitive 1063): Config.processLongArgument has cognitive complexity 1063 (threshold 15). Drivers by points: if/else 117 (955 pts), loops 7 (69 pts), error handling 3 (30 pts), boolean chains 8, match/switch 1 (nesting depth added 927). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c54d7677cfb5174c3a8bb7f7a868648dd9697ee5c48155111350342ab40b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"PHP.processAdditional (cognitive 974): PHP.processAdditional has cognitive complexity 974 (threshold 15). Drivers by points: if/else 117 (766 pts), loops 26 (160 pts), boolean chains 48 (nesting depth added 783). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"470b5806296144da596ea8f0c865f3cf6600dc8843780f778609385ee1a2b045"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeIndentSniff.process (cognitive 953): ScopeIndentSniff.process has cognitive complexity 953 (threshold 15). Drivers by points: if/else 250 (835 pts), boolean chains 100, loops 6 (18 pts) (nesting depth added 597). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b4b9bfefa0728e31ea83c7187247ef1c2c908d460c7b099a507bb5793735e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.recurseScopeMap (cognitive 518): Tokenizer.recurseScopeMap has cognitive complexity 518 (threshold 15). Drivers by points: if/else 107 (451 pts), boolean chains 44, loops 4 (23 pts) (nesting depth added 363). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"69313435cecbdf14e71298de19c992e1aad0b4b0366c197b7981b47f847b6ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.createPositionMap (cognitive 507): Tokenizer.createPositionMap has cognitive complexity 507 (threshold 15). Drivers by points: if/else 75 (399 pts), loops 10 (85 pts), boolean chains 23 (nesting depth added 399). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"10768a4db3b859821ad1af6cc24160e1cb28c6270967492164baaf85cfcd49c6"}},{"ruleId":"D2","level":"warning","message":{"text":"JS.tokenize (cognitive 372): JS.tokenize has cognitive complexity 372 (threshold 15). Drivers by points: if/else 94 (309 pts), loops 12 (35 pts), boolean chains 28 (nesting depth added 238). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7298d3cfda8bc005711ecadafbe5603ca318b097eed8f4ea38fca7d4e8f10a"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPatternSniff.processPattern (cognitive 368): AbstractPatternSniff.processPattern has cognitive complexity 368 (threshold 15). Drivers by points: if/else 85 (333 pts), boolean chains 21, loops 4 (14 pts) (nesting depth added 258). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c535ae63c63c64f2148e1d929aa4a4ffd2ecf8ab3bc24721b68a657e5a05b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"UseDeclarationSniff.processUseGroup (cognitive 335): UseDeclarationSniff.processUseGroup has cognitive complexity 335 (threshold 15). Drivers by points: if/else 91 (272 pts), loops 12 (59 pts), boolean chains 4 (nesting depth added 228). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae75937a7d79b261a2ce6ded7e6b707012c9f40064178e25ad13d231c1c6439"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayDeclarationSniff.processMultiLineArray (cognitive 332): ArrayDeclarationSniff.processMultiLineArray has cognitive complexity 332 (threshold 15). Drivers by points: if/else 105 (287 pts), loops 8 (25 pts), boolean chains 20 (nesting depth added 199). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280132440153e198803f48a78ab696379613619556771e66b7ab220165dba63"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDeclarationSniff.processOpen (cognitive 274): ClassDeclarationSniff.processOpen has cognitive complexity 274 (threshold 15). Drivers by points: if/else 80 (225 pts), loops 9 (34 pts), boolean chains 15 (nesting depth added 170). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a3ebb2d29b40ca764bccb9fb576eefd13cb1c217c8b47c8dd7a900048a1792"}},{"ruleId":"D2","level":"warning","message":{"text":"CSS.tokenize (cognitive 232): CSS.tokenize has cognitive complexity 232 (threshold 15). Drivers by points: if/else 60 (182 pts), loops 9 (28 pts), boolean chains 20, match/switch 1 (2 pts) (nesting depth added 142). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/CSS.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e149dea38696554550b37891ceced3ce1df94f3ffb7e19fbed55295065d8bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"UseDeclarationSniff.process (cognitive 228): UseDeclarationSniff.process has cognitive complexity 228 (threshold 15). Drivers by points: if/else 44 (186 pts), loops 8 (36 pts), boolean chains 6 (nesting depth added 170). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0f08193fd955607173731e6f63ad731e4014a2c4927218a4f13237fda9f75"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.processParams (cognitive 223): FunctionCommentSniff.processParams has cognitive complexity 223 (threshold 15). Drivers by points: if/else 65 (196 pts), loops 8 (16 pts), boolean chains 11 (nesting depth added 139). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f066051ea37ee96f71382f2cf8063268c7a3f66c408a4962c7f7916db66a4d7"}},{"ruleId":"D2","level":"warning","message":{"text":"JS.processAdditional (cognitive 211): JS.processAdditional has cognitive complexity 211 (threshold 15). Drivers by points: if/else 35 (158 pts), loops 10 (49 pts), boolean chains 4 (nesting depth added 162). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dc67ee924f00629ed37f34f486de7111c57a1b83a98c4095cde6ef6842f668"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.createLevelMap (cognitive 202): Tokenizer.createLevelMap has cognitive complexity 202 (threshold 15). Drivers by points: if/else 28 (136 pts), loops 9 (63 pts), boolean chains 3 (nesting depth added 162). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d81ca0184ef0b366fea6189a645a0233f5fa8de8241ec9f774a833097af9a78"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionDeclarationArgumentSpacingSniff.processBracket (cognitive 198): FunctionDeclarationArgumentSpacingSniff.processBracket has cognitive complexity 198 (threshold 15). Drivers by points: if/else 65 (196 pts), boolean chains 1, loops 1 (nesting depth added 131). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"669dccd92abd4d53e77fe133c2273924c3a483f3806a5a79483c80899a6f5a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchDeclarationSniff.process (cognitive 193): SwitchDeclarationSniff.process has cognitive complexity 193 (threshold 15). Drivers by points: if/else 47 (157 pts), loops 6 (26 pts), boolean chains 10 (nesting depth added 130). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c8fa0149d41b3b19d664ad4a8acb2b0638275518cd794cb9a02d7aa8460a94"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCallSignatureSniff.processMultiLineCall (cognitive 190): FunctionCallSignatureSniff.processMultiLineCall has cognitive complexity 190 (threshold 15). Drivers by points: if/else 57 (169 pts), boolean chains 11, loops 3 (10 pts) (nesting depth added 119). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbda0b3799f67104933f1ed9a0aa4f2b1ade9e5ded6446653f9d563843d596fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.processRule (cognitive 189): Ruleset.processRule has cognitive complexity 189 (threshold 15). Drivers by points: if/else 45 (155 pts), loops 7 (22 pts), boolean chains 12 (nesting depth added 125). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d84719a48b7bb07bf088ded49a7af35261332f1fc934ba001d1026fed02a69e"}},{"ruleId":"D2","level":"warning","message":{"text":"MultipleStatementAlignmentSniff.checkAlignment (cognitive 189): MultipleStatementAlignmentSniff.checkAlignment has cognitive complexity 189 (threshold 15). Drivers by points: if/else 67 (165 pts), loops 5 (13 pts), boolean chains 11 (nesting depth added 106). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e2f97cdc42ad3e259cfaa005b07648a2c8be0d3f3044cc640585c3a5b4a331"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineControlStructureSniff.process (cognitive 180): InlineControlStructureSniff.process has cognitive complexity 180 (threshold 15). Drivers by points: if/else 61 (131 pts), boolean chains 39, loops 4 (10 pts) (nesting depth added 76). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"21600e45a81ec72d88e4e4eefdcc850202a418cab06891560592c492181e45fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ForLoopDeclarationSniff.process (cognitive 177): ForLoopDeclarationSniff.process has cognitive complexity 177 (threshold 15). Drivers by points: if/else 46 (126 pts), loops 7 (34 pts), boolean chains 17 (nesting depth added 107). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821ca1ae1ad1aa71f18f7a9d85a32f3065fc27db9aef35f4b8ce5af947e0767"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlSignatureSniff.process (cognitive 173): ControlSignatureSniff.process has cognitive complexity 173 (threshold 15). Drivers by points: if/else 59 (137 pts), loops 4 (21 pts), boolean chains 15 (nesting depth added 95). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2331387364fa3f6b40fc3837a826cb4f9b282941e844d885b590d29feb8c5e19"}},{"ruleId":"D2","level":"warning","message":{"text":"DocCommentSniff.process (cognitive 168): DocCommentSniff.process has cognitive complexity 168 (threshold 15). Drivers by points: if/else 49 (131 pts), loops 11 (29 pts), boolean chains 8 (nesting depth added 100). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"155819f7da5353f8049153602ce016c5503e5d59172133d9ef51b41d821215b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.createTokenMap (cognitive 158): Tokenizer.createTokenMap has cognitive complexity 158 (threshold 15). Drivers by points: if/else 35 (144 pts), loops 3 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 118). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bece7cd2afe25daf0c3e37684e9cdc4f888ef99733cf40325b6613bd00f872"}},{"ruleId":"D2","level":"warning","message":{"text":"File.process (cognitive 153): File.process has cognitive complexity 153 (threshold 15). Drivers by points: if/else 36 (126 pts), loops 5 (14 pts), boolean chains 13 (nesting depth added 99). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ea7579275675a62931c3d097f203bff244c2723a877046b452adc959d6a6d5"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchDeclarationSniff.findNestedTerminator (cognitive 151): SwitchDeclarationSniff.findNestedTerminator has cognitive complexity 151 (threshold 15). Drivers by points: if/else 30 (137 pts), loops 2 (11 pts), boolean chains 3 (nesting depth added 116). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7141e7f8466cb0c181c03516956c78e6398e1ce1b8b33a3b70c16371358d83"}},{"ruleId":"D2","level":"warning","message":{"text":"UnusedFunctionParameterSniff.process (cognitive 150): UnusedFunctionParameterSniff.process has cognitive complexity 150 (threshold 15). Drivers by points: if/else 40 (119 pts), loops 7 (20 pts), boolean chains 11 (nesting depth added 92). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc80c981829f0baf99c30b9efaa7ef448dad038e78e971ddad9f47ee314f22a"}},{"ruleId":"D2","level":"warning","message":{"text":"UseDeclarationSniff.process (cognitive 147): UseDeclarationSniff.process has cognitive complexity 147 (threshold 15). Drivers by points: if/else 40 (107 pts), loops 7 (27 pts), boolean chains 9, match/switch 1 (4 pts) (nesting depth added 90). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"47224c7b1aa7dd5c735c4453a057faaef14d979618e5641f30a6aca469dd5097"}},{"ruleId":"D2","level":"warning","message":{"text":"Code.generateFileReport (cognitive 138): Code.generateFileReport has cognitive complexity 138 (threshold 15). Drivers by points: if/else 46 (114 pts), loops 10 (19 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0af55d155300c6a9f30f6eff2aeae151a48244a74ec15870605805ae455b4da"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.processRuleset (cognitive 135): Ruleset.processRuleset has cognitive complexity 135 (threshold 15). Drivers by points: if/else 49 (115 pts), loops 10 (14 pts), boolean chains 6 (nesting depth added 70). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"32896dcd1737cac41e022d42ec404a7f6bf842ffedc5d7c32c17e0be6a98dbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLineConditionSniff.process (cognitive 133): MultiLineConditionSniff.process has cognitive complexity 133 (threshold 15). Drivers by points: if/else 51 (116 pts), loops 3 (10 pts), boolean chains 7 (nesting depth added 72). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ad41366f29bc7a48913971bb2c5073a0708bf051af73a2b913ecc35f714e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockCommentSniff.process (cognitive 133): BlockCommentSniff.process has cognitive complexity 133 (threshold 15). Drivers by points: if/else 57 (113 pts), boolean chains 13, loops 4 (7 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec57584d6d3d12a2f91661a368fb4fc1202cfeb34c8433e52b687f5ff2308d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeclareStatementSniff.process (cognitive 129): DeclareStatementSniff.process has cognitive complexity 129 (threshold 15). Drivers by points: if/else 49 (119 pts), loops 2 (9 pts), boolean chains 1 (nesting depth added 77). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"84101c80f0fbdf3c39346e35ef66fa8748be41f4e293af82ea22afb1875c59be"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlStructureSpacingSniff.process (cognitive 129): ControlStructureSpacingSniff.process has cognitive complexity 129 (threshold 15). Drivers by points: if/else 44 (89 pts), boolean chains 25, loops 5 (15 pts) (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"de61d81739de92a783cf76c8cf0b4c2609dd09d5345cccd22e835e3f0fa77b3c"}},{"ruleId":"D2","level":"warning","message":{"text":"SuperfluousWhitespaceSniff.process (cognitive 129): SuperfluousWhitespaceSniff.process has cognitive complexity 129 (threshold 15). Drivers by points: if/else 33 (102 pts), loops 5 (20 pts), boolean chains 7 (nesting depth added 84). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9cdf95016e8bb1f2894c7228078b84bf97eb3b062cb48e1821842fbb1d25ee"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.processReturn (cognitive 126): FunctionCommentSniff.processReturn has cognitive complexity 126 (threshold 15). Drivers by points: if/else 28 (102 pts), loops 4 (15 pts), boolean chains 9 (nesting depth added 85). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"61764306dafaab314e780d894e2983ba7e31901965e86debdfe9faf7e8fa40dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SideEffectsSniff.searchForConflict (cognitive 124): SideEffectsSniff.searchForConflict has cognitive complexity 124 (threshold 15). Drivers by points: if/else 33 (93 pts), boolean chains 27, loops 2 (4 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b4e09ebd22d464041846fda21b0b56c2dabd772316e2b22cd43cf21929b780"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchDeclarationSniff.process (cognitive 120): SwitchDeclarationSniff.process has cognitive complexity 120 (threshold 15). Drivers by points: if/else 32 (103 pts), loops 3 (10 pts), boolean chains 7 (nesting depth added 78). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d157489122a2c9280482723599f368ff0060696f8c6369353bf70421bb7d2ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.processParams (cognitive 117): FunctionCommentSniff.processParams has cognitive complexity 117 (threshold 15). Drivers by points: if/else 34 (95 pts), loops 9 (22 pts) (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9767fd48d5f90f0b5ca4ad0f46cf0e858e35f30135350b06a5d27eb636f1625e"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedPhpSniff.validateMultilineEmbeddedPhp (cognitive 117): EmbeddedPhpSniff.validateMultilineEmbeddedPhp has cognitive complexity 117 (threshold 15). Drivers by points: if/else 41 (90 pts), loops 6 (20 pts), boolean chains 7 (nesting depth added 63). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f0a5c7f4ea6cfbf724d02b092ac9348671b5951304b2f572cbf97ba55730e5"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionSpacingSniff.process (cognitive 115): FunctionSpacingSniff.process has cognitive complexity 115 (threshold 15). Drivers by points: if/else 45 (90 pts), loops 7 (14 pts), boolean chains 11 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad0108c3dde124178919d8015ee6f6183ece2d83da1d27fa168a9c6f42eb76e"}},{"ruleId":"D2","level":"warning","message":{"text":"GitMergeConflictSniff.process (cognitive 113): GitMergeConflictSniff.process has cognitive complexity 113 (threshold 15). Drivers by points: if/else 23 (79 pts), boolean chains 27, match/switch 2 (6 pts), loops 1 (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e182607f367a13b7e08087bd3f991438efbdf07ad68c9f9b6f8f4470436c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorBracketSniff.process (cognitive 113): OperatorBracketSniff.process has cognitive complexity 113 (threshold 15). Drivers by points: if/else 34 (89 pts), boolean chains 14, loops 3 (10 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0986898c257f0592b223eddab30f6c92062c48de8ec67bb595f5274eeb27c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonOperatorUsageSniff.process (cognitive 112): ComparisonOperatorUsageSniff.process has cognitive complexity 112 (threshold 15). Drivers by points: if/else 32 (99 pts), boolean chains 9, loops 2 (4 pts) (nesting depth added 69). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f20d4baacb2688b63077d7a274a50eadd80fce92ccd294b2669ba0fb7038de"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.expandRulesetReference (cognitive 111): Ruleset.expandRulesetReference has cognitive complexity 111 (threshold 15). Drivers by points: if/else 42 (102 pts), loops 1 (5 pts), boolean chains 4 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"3764cf69a4c24995249124d20ad333f411505c606cc30d14f4c3e4848598dc12"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.run (cognitive 111): Runner.run has cognitive complexity 111 (threshold 15). Drivers by points: if/else 35 (88 pts), loops 6 (21 pts), boolean chains 2 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9d8e6a0bed23bbd7b9876abe72e23334ad7d6897a62f4199690790da53ec75"}},{"ruleId":"D2","level":"warning","message":{"text":"NonExecutableCodeSniff.process (cognitive 110): NonExecutableCodeSniff.process has cognitive complexity 110 (threshold 15). Drivers by points: if/else 40 (85 pts), boolean chains 16, loops 5 (9 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"da38ba9d82df4e88d40068800ab2b9606b6ea78d2f0ae6e448fb15fcf660f1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ArbitraryParenthesesSpacingSniff.process (cognitive 109): ArbitraryParenthesesSpacingSniff.process has cognitive complexity 109 (threshold 15). Drivers by points: if/else 34 (88 pts), loops 2 (12 pts), boolean chains 9 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3adb364d8d04840d57d5921c624d433ff1b123f0c5008555081a524eb6b529"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineCommentSniff.process (cognitive 109): InlineCommentSniff.process has cognitive complexity 109 (threshold 15). Drivers by points: if/else 42 (89 pts), loops 7 (14 pts), boolean chains 6 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c586b682c9586f6d2c80f326f8716ab498c93d701d6b57ce0fd4d467d13439"}},{"ruleId":"D2","level":"warning","message":{"text":"File.getMethodParameters (cognitive 106): File.getMethodParameters has cognitive complexity 106 (threshold 15). Drivers by points: if/else 32 (91 pts), loops 3 (8 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd23f310ec3680c2d583da3210b41d73c070ebbd1dd58a10e900971eec5a74a3"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionDeclarationSniff.process (cognitive 104): FunctionDeclarationSniff.process has cognitive complexity 104 (threshold 15). Drivers by points: if/else 44 (99 pts), boolean chains 5 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e02f744bf4a7cb493f2c1a182734b540947825456fac55cde16f57f74e61a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorSpacingSniff.process (cognitive 101): OperatorSpacingSniff.process has cognitive complexity 101 (threshold 15). Drivers by points: if/else 37 (80 pts), boolean chains 15, loops 1 (6 pts) (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f83d176c26c42dfbabb1e015cf852629444353e9cfc6a75e07328a6e912c7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberVarSpacingSniff.processMemberVar (cognitive 99): MemberVarSpacingSniff.processMemberVar has cognitive complexity 99 (threshold 15). Drivers by points: if/else 28 (73 pts), loops 5 (18 pts), boolean chains 8 (nesting depth added 58). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9942c0c035f7c1befbe3de0bed7c1170178f0e83f4679db7849f774c461ff0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"File.addMessage (cognitive 97): File.addMessage has cognitive complexity 97 (threshold 15). Drivers by points: if/else 39 (70 pts), boolean chains 14, loops 7 (13 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e7d00afbe07258cd7d19579982653c1d23884df94a42864deac1e38f8ef23"}},{"ruleId":"D2","level":"warning","message":{"text":"ForEachLoopDeclarationSniff.process (cognitive 97): ForEachLoopDeclarationSniff.process has cognitive complexity 97 (threshold 15). Drivers by points: if/else 44 (95 pts), boolean chains 2 (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e947396150554c75f3630e240410a6b997885763596bdec8a52e4deb988ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.load (cognitive 97): Cache.load has cognitive complexity 97 (threshold 15). Drivers by points: if/else 35 (73 pts), loops 9 (17 pts), boolean chains 7 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Cache.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1876c48dbdeade214cc90f3e16afdde06eac7141d9e66eb8be8347d258b1af5"}},{"ruleId":"D2","level":"warning","message":{"text":"FileHeaderSniff.processHeaderLines (cognitive 96): FileHeaderSniff.processHeaderLines has cognitive complexity 96 (threshold 15). Drivers by points: if/else 19 (70 pts), loops 6 (20 pts), boolean chains 6 (nesting depth added 65). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd9c28373e84ba5e7e14e34710c40296c54b50c7c14589ca6f8186736dce53"}},{"ruleId":"D2","level":"warning","message":{"text":"OpeningFunctionBraceBsdAllmanSniff.process (cognitive 82): OpeningFunctionBraceBsdAllmanSniff.process has cognitive complexity 82 (threshold 15). Drivers by points: if/else 29 (70 pts), loops 2 (8 pts), boolean chains 4 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00416ade681d8df0b3315d828f5fda6c913df88eeeb0df53777699b690163b2"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowTabIndentSniff.process (cognitive 82): DisallowTabIndentSniff.process has cognitive complexity 82 (threshold 15). Drivers by points: if/else 28 (71 pts), boolean chains 10, loops 1 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"393fcd706383f3c8d5cf350302f2a9d027caa9c600d09c3c5699fd5f00962e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionOpeningBraceSpaceSniff.process (cognitive 82): ClassDefinitionOpeningBraceSpaceSniff.process has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (65 pts), loops 4 (17 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc41406d8cf1a18a33eae2eaac11c1b8bd3887f31d6ae450a9c7679395aca46"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanOperatorPlacementSniff.process (cognitive 81): BooleanOperatorPlacementSniff.process has cognitive complexity 81 (threshold 15). Drivers by points: if/else 31 (74 pts), boolean chains 4, loops 2, match/switch 1 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c50e5e9662e968766fee9f52fef683be7b777a6a1879cfcd198cdc105af683"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowSpaceIndentSniff.process (cognitive 80): DisallowSpaceIndentSniff.process has cognitive complexity 80 (threshold 15). Drivers by points: if/else 29 (68 pts), boolean chains 11, loops 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318ce471607dbf0bcf8c9c839360ee16b39e2ecabe02cb2e49ad98968b5e77b"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayDeclarationSniff.processSingleLineArray (cognitive 80): ArrayDeclarationSniff.processSingleLineArray has cognitive complexity 80 (threshold 15). Drivers by points: if/else 28 (75 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7edbc1a2afdff421bef6587e86df38db19b8294325299f3230a4a55a38aeb6"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionControl.generate (cognitive 79): VersionControl.generate has cognitive complexity 79 (threshold 15). Drivers by points: if/else 32 (65 pts), loops 5 (9 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/VersionControl.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65fd4242c348cb48b9fac26629f41e9d7e3d30ba34fa98e269a2e41c73f56d"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.printProgress (cognitive 79): Runner.printProgress has cognitive complexity 79 (threshold 15). Drivers by points: if/else 27 (75 pts), boolean chains 4 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc9836752fa0e4ff7bf3d7753544b42b7030d43ecb4efb3d9e1fbe355c60185"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyDeclarationSniff.processMemberVar (cognitive 79): PropertyDeclarationSniff.processMemberVar has cognitive complexity 79 (threshold 15). Drivers by points: if/else 26 (60 pts), loops 3 (15 pts), boolean chains 3, error handling 1 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d9adb277d8dbbac38dcc906b455760054863c8b2f605d67ce0acad7b5dc8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"File.findStartOfStatement (cognitive 78): File.findStartOfStatement has cognitive complexity 78 (threshold 15). Drivers by points: if/else 23 (54 pts), boolean chains 18, loops 4 (6 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfe9408b47c7382a59d0ce664dcdd9db3cacaa42bda93c44ec222bc64cfb3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Full.generateFileReport (cognitive 76): Full.generateFileReport has cognitive complexity 76 (threshold 15). Drivers by points: if/else 24 (58 pts), loops 7 (16 pts), boolean chains 2 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Full.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5139695213a6eb22c2a39fa8550d0685a584896329823b6d44e240f93adab112"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionDeclarationSniff.processArgumentList (cognitive 76): FunctionDeclarationSniff.processArgumentList has cognitive complexity 76 (threshold 15). Drivers by points: if/else 27 (66 pts), boolean chains 8, loops 2 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ae05c6d66ffc9b8acdd5155554be9317e34d39b76b13bc0d0974e572dbe463"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDeclarationSniff.processClose (cognitive 73): ClassDeclarationSniff.processClose has cognitive complexity 73 (threshold 15). Drivers by points: if/else 25 (62 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af1bd59e446e04099ef742bb8304daafb6f46f9e794b1d687f7b2edcf46311"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCallSignatureSniff.processSingleLineCall (cognitive 72): FunctionCallSignatureSniff.processSingleLineCall has cognitive complexity 72 (threshold 15). Drivers by points: if/else 24 (53 pts), loops 3 (16 pts), boolean chains 3 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818adb0023e6d77ea8b30e45e281eae26f8dea234148939ed54f3d6163bb479"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionClosingBraceSpaceSniff.process (cognitive 69): FunctionClosingBraceSpaceSniff.process has cognitive complexity 69 (threshold 15). Drivers by points: if/else 21 (53 pts), loops 3 (14 pts), boolean chains 2 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30453266baf9e3f4e7a28bf1a71068990e22e45378fabdda6dff42f98279868"}},{"ruleId":"D2","level":"warning","message":{"text":"File.findEndOfStatement (cognitive 68): File.findEndOfStatement has cognitive complexity 68 (threshold 15). Drivers by points: if/else 20 (54 pts), boolean chains 11, loops 2 (3 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f4c849f5969da2e089f0bd541571de3d9ed077a422e5e908264af75686e490"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateWidgetTypeCallbackSniff.process (cognitive 68): CreateWidgetTypeCallbackSniff.process has cognitive complexity 68 (threshold 15). Drivers by points: if/else 24 (53 pts), boolean chains 9, loops 3 (6 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3cd533105f24ff741bb33086c62eab7ef907566f91dc91c9a35ca43624c27"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentedOutCodeSniff.process (cognitive 67): CommentedOutCodeSniff.process has cognitive complexity 67 (threshold 15). Drivers by points: if/else 33 (58 pts), boolean chains 6, loops 2, error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6299a1f68b8b0f89d891693677129491ea555203499f258c2f9e867aca05d2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Source.generate (cognitive 66): Source.generate has cognitive complexity 66 (threshold 15). Drivers by points: if/else 35 (62 pts), loops 3, boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Source.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d83ea21f6986d4d9a57f60433e68fb551fee65bc1126c018aa90af2b3fd5cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentThrowTagSniff.process (cognitive 66): FunctionCommentThrowTagSniff.process has cognitive complexity 66 (threshold 15). Drivers by points: if/else 25 (52 pts), loops 5 (11 pts), boolean chains 3 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"927c6b4dc4121f5f9d72288f40752fbaf79ef071327f95fcdb49ccfdc5806c38"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatenationSpacingSniff.process (cognitive 64): ConcatenationSpacingSniff.process has cognitive complexity 64 (threshold 15). Drivers by points: if/else 27 (50 pts), boolean chains 14 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b680e1fea6886d3fe625631cb225dd94247ec982455131a12d4432f8b6f4ff9"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCommentSniff.process (cognitive 63): FileCommentSniff.process has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (53 pts), boolean chains 7, loops 3 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"408b326c5ae900b1bde13bb9fa385118e4a002804c7e6af08c7581b4f7a40373"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlStructureSpacingSniff.process (cognitive 62): ControlStructureSpacingSniff.process has cognitive complexity 62 (threshold 15). Drivers by points: if/else 25 (53 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf0b7ae37e7ab64fa4382bab346691532ed0be78dcd3b22b80a3cadf82b5d77"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectOperatorIndentSniff.process (cognitive 60): ObjectOperatorIndentSniff.process has cognitive complexity 60 (threshold 15). Drivers by points: if/else 20 (49 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cfc0b4241937903c74670a455720099c53f8429ca28c695bfae6290ae84771"}},{"ruleId":"D2","level":"warning","message":{"text":"FileHeaderSniff.getHeaderLines (cognitive 60): FileHeaderSniff.getHeaderLines has cognitive complexity 60 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 3 (8 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e36c6d92a08cde0258c704140e2b89f090a96244853f84cd84e5f21eddb3a"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCallArgumentSpacingSniff.checkSpacing (cognitive 59): FunctionCallArgumentSpacingSniff.checkSpacing has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (57 pts), boolean chains 1, loops 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3591269ca1d36df0a105ec9746d8b5e8d3fa4aa1e79d8d03506575b1ecc64c5"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfMemberReferenceSniff.processTokenWithinScope (cognitive 58): SelfMemberReferenceSniff.processTokenWithinScope has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 4 (12 pts), boolean chains 5 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de73ed6752c5e84be608ed8e9dc87bd009f4989c105172d0806437719edd065"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedPhpSniff.validateInlineEmbeddedPhp (cognitive 57): EmbeddedPhpSniff.validateInlineEmbeddedPhp has cognitive complexity 57 (threshold 15). Drivers by points: if/else 22 (43 pts), boolean chains 7, loops 2 (7 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cb0595e879c5b10d2c725bdd73cbc8455e1ea08f422b50dfc722a8cdd5423f"}},{"ruleId":"D2","level":"warning","message":{"text":"LongConditionClosingCommentSniff.process (cognitive 56): LongConditionClosingCommentSniff.process has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (44 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96a81409b6b6f2c09b8c381bc13debd3ee35dc89baa7cd4762cbb0e67f7b51f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeKeywordSpacingSniff.process (cognitive 55): ScopeKeywordSpacingSniff.process has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 12, loops 1 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c860629e3d42e3b7c4a9b7e2aac3b385104df8c9b577f3fe337a45eda7917dd"}},{"ruleId":"D2","level":"warning","message":{"text":"IncludeSystemSniff.processTokenWithinScope (cognitive 54): IncludeSystemSniff.processTokenWithinScope has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 6 (13 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"276f38154292b16694302fdaaecb8e9347bf3535e793dbd9e35126875ea227a3"}},{"ruleId":"D2","level":"warning","message":{"text":"EmptyPHPStatementSniff.process (cognitive 52): EmptyPHPStatementSniff.process has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 10, loops 2 (6 pts), match/switch 1 (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e80b3c6bf638830730531d04bd8cf8d18b66bf9af810a257fe15c5f9729fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"IndentationSniff.process (cognitive 51): IndentationSniff.process has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (43 pts), boolean chains 7, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a00de79752ba80714c3dda40c06228905b8015b47cf6a6acb0d23769f7ebe8"}},{"ruleId":"D2","level":"warning","message":{"text":"LowerCaseTypeSniff.process (cognitive 50): LowerCaseTypeSniff.process has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (47 pts), error handling 1 (2 pts), loops 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"87671085c36b3d1225b26afdc546b757e2c0dbf0e2ac90d2721c47dc1a5b6d24"}},{"ruleId":"D2","level":"warning","message":{"text":"UnusedSystemSniff.process (cognitive 50): UnusedSystemSniff.process has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 5, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40862bf01d24b9e56746b7826d6e15ee52f33af7b479efdb708c7375d605ffc"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.process (cognitive 47): FunctionCommentSniff.process has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 11, loops 4 (9 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0d1989fec8dec609bfaa8c2b05bfa287e3f3c63559b2f71473ac20d9bdae3f"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowMultipleAssignmentsSniff.process (cognitive 47): DisallowMultipleAssignmentsSniff.process has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 14, loops 3 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeef2ab93cd601252e89419759eae9a1df2c4b8e163599e6cd1b1ff75cd26aa"}},{"ruleId":"D2","level":"warning","message":{"text":"File.isReference (cognitive 46): File.isReference has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 7, loops 2 (7 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb9fe5edc34a88f20013691ffed06d8e76a493f6c03f5a2a5e2db3954784b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatePEARPackageXML.checkFileTag (cognitive 45): ValidatePEARPackageXML.checkFileTag has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 8 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ValidatePEAR/ValidatePEARPackageXML.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44f62fea3b7bd31bbba692ac85dbeb45f57d0f2c4feedcddf88dad07722620"}},{"ruleId":"D2","level":"warning","message":{"text":"OpeningFunctionBraceKernighanRitchieSniff.process (cognitive 45): OpeningFunctionBraceKernighanRitchieSniff.process has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 8 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"883c2d6cbac41c45d5c135f062ea3f82cd3953dcf93e52ba9d1ad1c71c841bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionClosingBraceSpaceSniff.process (cognitive 45): ClassDefinitionClosingBraceSpaceSniff.process has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 3 (11 pts), boolean chains 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"607041d4e989d5a240f53c578b2e7fb31fc3b2f404e740870f1fc62f613b2287"}},{"ruleId":"D2","level":"warning","message":{"text":"DocCommentAlignmentSniff.process (cognitive 45): DocCommentAlignmentSniff.process has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 3, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc6f410c558d3a57714db539f974c4a6cb0db0db20f90c689d13529837a99a1"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineIfDeclarationSniff.process (cognitive 45): InlineIfDeclarationSniff.process has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24 (45 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"314788e11c136be74811d5bb5e8186a6e14e93f16de0cb78669e6f0d79f1d0da"}},{"ruleId":"D2","level":"warning","message":{"text":"Fixer.replaceToken (cognitive 44): Fixer.replaceToken has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (41 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Fixer.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aece47d1319f00adf8ad26f90f94bd98f1f940a74bcbc8a3664d839b7f98186"}},{"ruleId":"D2","level":"warning","message":{"text":"UselessOverridingMethodSniff.process (cognitive 44): UselessOverridingMethodSniff.process has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 6, loops 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"185156e3c85b041c338c0897c0bcaf3ba3283c83f25f628b01a17fdab2823166"}},{"ruleId":"D2","level":"warning","message":{"text":"IncludingFileSniff.process (cognitive 44): IncludingFileSniff.process has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (42 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d249967201e7aa62dff02d593e891985eb7e0209b77c6e24bfefe58a2b84b5"}},{"ruleId":"D2","level":"warning","message":{"text":"File.getMemberProperties (cognitive 43): File.getMemberProperties has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 9, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"e495873c4c6b7b37ce4850be725f3cf2b90f0ce92a8f67421572514b33b061fc"}},{"ruleId":"D2","level":"warning","message":{"text":"File.findPrevious (cognitive 43): File.findPrevious has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fca64651214a1a71c74c914fe808ddc5a77d97fcfe2a7da7d3b11ec4f4f6b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowShortOpenTagSniff.process (cognitive 43): DisallowShortOpenTagSniff.process has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (39 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94370ad7f258c06c9f6fa9cbb58036fd2edb5cd1d74714b02bfabeeff2b45e"}},{"ruleId":"D2","level":"warning","message":{"text":"IncrementDecrementSpacingSniff.process (cognitive 43): IncrementDecrementSpacingSniff.process has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 8, loops 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b46d53e265d45a4a3c1b1c465fed87235243a352f5e6fbda41f008192c0183"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDeclarationSniff.process (cognitive 43): ClassDeclarationSniff.process has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (39 pts), loops 1 (4 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"07455dd75368ccd934168a039aba575fbaaad3797555bc48b48ec4679231597b"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.printCodeComparisonBlock (cognitive 42): Text.printCodeComparisonBlock has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (38 pts), loops 4 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/Text.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d93c4c26d9a6541728ee5cd89912388de5a9cae100ca65988a9e7983620351"}},{"ruleId":"D2","level":"warning","message":{"text":"Reporter.__construct (cognitive 42): Reporter.__construct has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 2 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reporter.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dca9ba21559870836e8db7e21dd2da4dd59f30b944407050923a909e1649d5"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableCommentSniff.processMemberVar (cognitive 42): VariableCommentSniff.processMemberVar has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 6, loops 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf50b6e915601a5d54df7dd12a7d156515ef63752fb585f5bc73559db6beb5fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayDeclarationSniff.process (cognitive 41): ArrayDeclarationSniff.process has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (32 pts), loops 2 (9 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"691a364bea6e0d323fa83bb17e4cde65075371b19012e724ca4d1bc2946a881e"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.processThrows (cognitive 41): FunctionCommentSniff.processThrows has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b064bb25a94b992b781b8a769b5a06ebdfa5d89776a4bc145d6ab018d7c64"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLineFunctionDeclarationSniff.processBracket (cognitive 41): MultiLineFunctionDeclarationSniff.processBracket has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 2 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf47d15d2b3f5243dabf1b33f2305c34805801899a90fe823f949aa6fbe939"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPatternSniff.parse (cognitive 40): AbstractPatternSniff.parse has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e003c12c622dabae05c28a75e8f594a891974837378cab4d5d850787fdf2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AnonClassDeclarationSniff.processSingleLineArgumentList (cognitive 40): AnonClassDeclarationSniff.processSingleLineArgumentList has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 3 (13 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ed2ea09c6a1cf04d43c39a282fae2bdd172143dadb0df0284ca4156cccd09"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.processFile (cognitive 39): Runner.processFile has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 2 (4 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5288869a45e6b31bff6261b36186e5fa879bca6a1b1adbd8d7c5070909ddec09"}},{"ruleId":"D2","level":"warning","message":{"text":"AssignmentInConditionSniff.process (cognitive 39): AssignmentInConditionSniff.process has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44b2ccaaa0f0a60d81172ec28a1ce6e27436e79f09431c1c92763a50ea1a19c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionDeclarationSniff.processMultiLineDeclaration (cognitive 39): FunctionDeclarationSniff.processMultiLineDeclaration has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bece5c9fa172877fb1393b3801a6ceb3bbbfe2bb84c828acdceb4752125362dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeClosingBraceSniff.process (cognitive 39): ScopeClosingBraceSniff.process has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 2, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158922968587cb6c092c938dce08c1276c2f0a99b995cc671fbb00cce383212"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.__construct (cognitive 38): Ruleset.__construct has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 5 (7 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a87f47ad16a5a7c5cf388189858e0990a336788202723430114b0829389b73"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlStructureSpacingSniff.process (cognitive 38): ControlStructureSpacingSniff.process has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (37 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fa779fcd4a98b3ed4cad67a6992977b8a5d9328c637ff2bc66e9121367d224"}},{"ruleId":"D2","level":"warning","message":{"text":"File.getMethodProperties (cognitive 36): File.getMethodProperties has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 6, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfca1fb09187e2f772aa857515daa9dc0fbf7735f3b587a9713f81bbf4329b69"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionControl.generateFileReport (cognitive 36): VersionControl.generateFileReport has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 8 (12 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/VersionControl.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"768851024f797a89f2a915f02ecc12d81dc4573b8c322c5c8ca556160fd592fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.setSniffProperty (cognitive 36): Ruleset.setSniffProperty has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 1 (5 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"060f9a36e6a9a4af4e29cfa9e3b7fe24ecd2d6ab6c9c502bc64165ae6d047e25"}},{"ruleId":"D2","level":"warning","message":{"text":"LineLengthSniff.checkLineLength (cognitive 36): LineLengthSniff.checkLineLength has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 5 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Files/LineLengthSniff.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccfe4a0b9908de4a0b3af5402bce7fd5c908f3dd8bf3116353104270482a55a"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowAlternativePHPTagsSniff.process (cognitive 36): DisallowAlternativePHPTagsSniff.process has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7393e46f6ef46babf0e79addd015c94f3f1f1a52408c464a25244979795fd8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguageConstructSpacingSniff.process (cognitive 36): LanguageConstructSpacingSniff.process has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65eaee5d43394792d8dc3d3b1913849ea1d143ccad73484ac00fed0ee627d33"}},{"ruleId":"D2","level":"warning","message":{"text":"OpacitySniff.process (cognitive 36): OpacitySniff.process has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 4 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/OpacitySniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c738171d18c81bad855d48dd0b03ea3baf49ef9b1b79b2204509c4fbace7f74e"}},{"ruleId":"D2","level":"warning","message":{"text":"JS.getRegexToken (cognitive 36): JS.getRegexToken has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 5 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd580b4baea59adbfee2ab06f1b3e0016af232c48fbfeb6c552027b9434d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReturnTypeDeclarationSniff.process (cognitive 35): ReturnTypeDeclarationSniff.process has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6, loops 1 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0fc407fc332e2232033bdc4ac41b191f18f8baec66c10daa1ec6733b9c8e81"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodDeclarationSniff.processTokenWithinScope (cognitive 35): MethodDeclarationSniff.processTokenWithinScope has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e6d3a9cbb8474c7be957a9514f1eaf51337aee8cda79a8e2175e65f844cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClosingDeclarationCommentSniff.process (cognitive 35): ClosingDeclarationCommentSniff.process has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4967403de340e2c2dd50ec0c07e0427132d7d0d09c81c90ac5924f629179942"}},{"ruleId":"D2","level":"warning","message":{"text":"SpaceAfterCastSniff.process (cognitive 34): SpaceAfterCastSniff.process has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e36e17c8248fed78307079f0c82749572d23367f098257d9f563d3667d0bf"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorBracketSniff.addMissingBracketsError (cognitive 34): OperatorBracketSniff.addMissingBracketsError has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 10, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"011a7ea1cbcd8da6686006d68a9c59be91fac63091398c4eb33b5745db37bebc"}},{"ruleId":"D2","level":"warning","message":{"text":"IncrementDecrementUsageSniff.processAssignment (cognitive 34): IncrementDecrementUsageSniff.processAssignment has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ee140ed069a51e6550144cba1fadbfe6fcadfbd6606319ecbc08918e653db"}},{"ruleId":"D2","level":"warning","message":{"text":"SpreadOperatorSpacingAfterSniff.process (cognitive 33): SpreadOperatorSpacingAfterSniff.process has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"210b5a71a476bab5ef0a86ad5c76947e2ab2212c6f24dde975101c23b21ea712"}},{"ruleId":"D2","level":"warning","message":{"text":"FileHeaderSniff.process (cognitive 33): FileHeaderSniff.process has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1811a4695d02f11b1c996d33e1bef3b031f954364c5cafeb7ff49c6e5620dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeIndentSniff.adjustIndent (cognitive 32): ScopeIndentSniff.adjustIndent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406add80dfc257777febfea209f4169a308a8f29f059f5efa3a6192df626aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidVariableNameSniff.processVariable (cognitive 32): ValidVariableNameSniff.processVariable has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52bfd958affa4052fff9f0eb03e3b36100f8deedf88e7e46ee4d5e0abd9a7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Comment.tokenizeString (cognitive 32): Comment.tokenizeString has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Comment.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4fe8c0fcf04cc5e6067ecdc9e577b56e218f7d3de35e740309b67da78b79e5"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCommentSniff.process (cognitive 31): FileCommentSniff.process has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 3, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f2d8f245471727f1f10ea60e727568a5fea136efdf92ea9780df38bc36a0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatePEARPackageXML.checkPHPRelease (cognitive 30): ValidatePEARPackageXML.checkPHPRelease has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ValidatePEAR/ValidatePEARPackageXML.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca03a1dad6b5dadfe6326954eb3642a76448aacadb5c682e27c8007d44097c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowMultipleStatementsSniff.process (cognitive 30): DisallowMultipleStatementsSniff.process has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1bab7ff89897136925c2e9a48c7594ccf3bf062d4a711e348f246d056999a5"}},{"ruleId":"D2","level":"warning","message":{"text":"LowerCaseConstantSniff.process (cognitive 30): LowerCaseConstantSniff.process has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"22661874fc82e0105fa2e535b8efa4bf162bd5c9ba0f1a657ab30904e17e2790"}},{"ruleId":"D2","level":"warning","message":{"text":"Fixer.fixFile (cognitive 29): Fixer.fixFile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Fixer.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"096e044e50184e585bdea866d46f1f6038ada8e85817f0db37d20ed586d1d95f"}},{"ruleId":"D2","level":"warning","message":{"text":"ShorthandSizeSniff.process (cognitive 29): ShorthandSizeSniff.process has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3fef70406d3dc61b9323834682011d94f2b261eb073c076f490024a39f3b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.__construct (cognitive 28): Config.__construct has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (7 pts), boolean chains 6 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f3ddddee83444a60c1653389d054789136d7793e5363417bab718ab20c023"}},{"ruleId":"D2","level":"warning","message":{"text":"File.findFirstOnLine (cognitive 28): File.findFirstOnLine has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8416cda081fc60113bf29824b72b78482f3db23464bc6268c1379bed8a2ae2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractVariableSniff.processTokenWithinScope (cognitive 28): AbstractVariableSniff.processTokenWithinScope has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractVariableSniff.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d784bc02e63ba436d5fd7385fee282e4d8f52094d4b6e05fa3e249cd55ce10e"}},{"ruleId":"D2","level":"warning","message":{"text":"UnnecessaryStringConcatSniff.process (cognitive 28): UnnecessaryStringConcatSniff.process has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0e627b16036692df19ed6e4e5114a6d08d4d40774bf0526e958a5d898dd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"EvalObjectFactorySniff.process (cognitive 28): EvalObjectFactorySniff.process has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 5 (8 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/PHP/EvalObjectFactorySniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b18e7415a418d1aa64916aecc9f7711db2a5e3b5564aee6a963204cfa81dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCommentSniff.processTags (cognitive 28): FileCommentSniff.processTags has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5c06440b97b514e2ae7002b175a066fe2a08b18d8a8046a12328a5de7feafa"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidFunctionNameSniff.processTokenOutsideScope (cognitive 28): ValidFunctionNameSniff.processTokenOutsideScope has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce60847dd893385d9fd9a06bf06a6a9ec803b175efa84cdeaa9ca7bc35b6e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.suggestType (cognitive 28): Common.suggestType has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Common.php"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0b112dd179ac0728e024812c803f6c0a70bce04b11a0c34fbc3456173edcba"}},{"ruleId":"D2","level":"warning","message":{"text":"Standards.getInstalledStandardDetails (cognitive 28): Standards.getInstalledStandardDetails has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Standards.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"27375d5ff9980cd8067b1b1f9d89a7745f11c9102ebaad73807d59647d49cb95"}},{"ruleId":"D2","level":"warning","message":{"text":"Source.makeFriendlyName (cognitive 27): Source.makeFriendlyName has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Source.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a11d96aa993738df28c64a5b5f291d83b4dde7d366ee4824793733e75b30b47"}},{"ruleId":"D2","level":"warning","message":{"text":"Summary.generate (cognitive 27): Summary.generate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, loops 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Summary.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba12fae9bf22418912cea21613cc63f4c1bba84b138cb6811da1593d3dd4058"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayIndentSniff.processMultiLineArray (cognitive 27): ArrayIndentSniff.processMultiLineArray has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b2f007073ff3fc74d2be61900810e0c88ca7c53503d3c05caf888250590be"}},{"ruleId":"D2","level":"warning","message":{"text":"UseDeclarationSniff.processUseStatement (cognitive 27): UseDeclarationSniff.processUseStatement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (5 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d71aae735a66256a4b18fa491c6b14dd550d90129d49a10bd412fbd9aa63d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.__set (cognitive 26): Config.__set has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"722c1229644b083fd83e2f98f5c0dffdfc300aee3ca510e6b07d1b982e43ee8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.populateTokenListeners (cognitive 26): Ruleset.populateTokenListeners has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (13 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3360c7ebf52f66e434dd5ef60b8aa45e403156cdf4cbe874bcb915b9dc9880f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowYodaConditionsSniff.process (cognitive 26): DisallowYodaConditionsSniff.process has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"691d6638db964d1db7df9e1f2745f600cf2e30fd8f86807e01b91aa2751359ba"}},{"ruleId":"D2","level":"warning","message":{"text":"LowercasePHPFunctionsSniff.process (cognitive 26): LowercasePHPFunctionsSniff.process has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3aa1cc4d6f4f1624947cbac27a2994ab483a3aa7dc9b410a7d36a28f800a26"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.isCamelCaps (cognitive 26): Common.isCamelCaps has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Common.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaa3e935b1031521a07cf35734ca7386dce0e9892927af2f4100e92cb357673"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.setCommandLineValues (cognitive 25): Config.setCommandLineValues has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6e8ca9f272a37185701795eb368227cca4e4fd96bf015d581505478a5b3f49"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.setConfigData (cognitive 25): Config.setConfigData has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"894fb4d864a90355a8e788aa32d07ec72bb3dd428342bd78d1128aefe5c58557"}},{"ruleId":"D2","level":"warning","message":{"text":"Filter.shouldIgnorePath (cognitive 25): Filter.shouldIgnorePath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Filters/Filter.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e050140f779abd9ac4350835319387360b24c6f54a0a613d9f0284029498124"}},{"ruleId":"D2","level":"warning","message":{"text":"Cbf.generateFileReport (cognitive 25): Cbf.generateFileReport has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (25 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Cbf.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a89167f18fd7b0b78cf21f99f4031446147d72b84b66e8d55744feeb961fc97"}},{"ruleId":"D2","level":"warning","message":{"text":"AnonClassDeclarationSniff.process (cognitive 25): AnonClassDeclarationSniff.process has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb1ca7904fbd4f39741e2c4be4b6443c3988df2576f1c24f1bf2147cd979ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidVariableNameSniff.processVariable (cognitive 25): ValidVariableNameSniff.processVariable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070c0129953ce752b91afc0bc1741ed5a02dc85b52aac78010d50f5496ab872"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubleQuoteUsageSniff.process (cognitive 25): DoubleQuoteUsageSniff.process has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"933647bae186e4e9756aa51ea0a8b03cd7ceae8c5690ca2fbc8e0bf7245e7c61"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorSpacingSniff.isOperator (cognitive 25): OperatorSpacingSniff.isOperator has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4299ab4a721927416d13578200dea10d17b3b7e0e341411785c71173fd7ac9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpeningBraceSameLineSniff.process (cognitive 24): OpeningBraceSameLineSniff.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6d2174d5e6b9967e39fa9010b50f5c70e4e01229e9b0a515c05555f8e0786"}},{"ruleId":"D2","level":"warning","message":{"text":"LineEndingsSniff.process (cognitive 24): LineEndingsSniff.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9826726f1cd72fc5a23e149916347aaacfd1c39f2e4f2c0ddfbb5e208702cda"}},{"ruleId":"D2","level":"warning","message":{"text":"ColonSpacingSniff.process (cognitive 24): ColonSpacingSniff.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fbc1dfc8aaa4557149747e5e92ed074e329d4db8b920ccd9bdd0d2b2c9bef6"}},{"ruleId":"D2","level":"warning","message":{"text":"PHP.createAttributesNestingMap (cognitive 24): PHP.createAttributesNestingMap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6326a1bbb0631e374266e6981fca7c7b0fa8c8ca7cfdd77429537145dac9e373"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.replaceTabsInToken (cognitive 24): Tokenizer.replaceTabsInToken has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7355b7832853f886ad848b40a971f7e3fd63dcb6c5f2253371afb48e5288082"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.createParenthesisNestingMap (cognitive 24): Tokenizer.createParenthesisNestingMap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e3a05297d4f1234ff02bcce3981e3a80df4eaac4b62d5b4124afee087df7f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Info.generate (cognitive 23): Info.generate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Info.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"81871cdcc359c6c5db681cdf7a805eae57985d6a5861255044dc96b9ae904c81"}},{"ruleId":"D2","level":"warning","message":{"text":"UpperCaseConstantNameSniff.process (cognitive 23): UpperCaseConstantNameSniff.process has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2675afbe6ca9879dad63cbd2ce4486e744a24445afed1c39378fc4f850cbb140"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowSelfActionsSniff.process (cognitive 23): DisallowSelfActionsSniff.process has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/DisallowSelfActionsSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2e0d98fdae80b82a893a21bea2c7651fbc90883262cbc5b986ed2ed0910854"}},{"ruleId":"D2","level":"warning","message":{"text":"GetRequestDataSniff.process (cognitive 23): GetRequestDataSniff.process has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/PHP/GetRequestDataSniff.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c489efd03402640bd4eb26baf33ebd13869dbf4723ba6dea4b6a3ce59f110ed"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCallSignatureSniff.process (cognitive 23): FunctionCallSignatureSniff.process has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"df938e43f55f36b527b4f841c96d791836e8f535f0116a4c55b64a2b5f5646d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Reporter.prepareFileReport (cognitive 22): Reporter.prepareFileReport has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reporter.php"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a46ae7b1abf954d51063d56826728dcc4f7e9a8e8c5eb24c72f1a9156c90a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Cbf.generate (cognitive 22): Cbf.generate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Cbf.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ce32882df975a551be3607a1bf64d7f8460593588fee87be90c050a5e416d"}},{"ruleId":"D2","level":"warning","message":{"text":"IncludeSystemSniff.processTokenOutsideScope (cognitive 22): IncludeSystemSniff.processTokenOutsideScope has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"79845a11cf27b23d7d1e98f5dc1856077e5f4feccb7b42bedeb0bf5c7065d737"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeClosingBraceSniff.process (cognitive 22): ScopeClosingBraceSniff.process has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be36dd8ddfe0fc0d5e82f537801f2bf435ed2ed353988c380b3b7d2b998f150"}},{"ruleId":"D2","level":"warning","message":{"text":"Standards.getInstalledStandards (cognitive 22): Standards.getInstalledStandards has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Standards.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2bef9b1e8cc1e92d9a97fe8e1fc766bc6b77f10d0b5ab766c25fb1778fd327"}},{"ruleId":"D2","level":"warning","message":{"text":"File.findNext (cognitive 21): File.findNext has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"330df15370a200cd935db0fb43bf39ee2ffd77fc59f812b95f413ed204c0a420"}},{"ruleId":"D2","level":"warning","message":{"text":"SpaceAfterNotSniff.process (cognitive 21): SpaceAfterNotSniff.process has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"703169eea7e5f4a5fc6f06e66ee4bdd3fd18d842955518e1ed0f37447b1ab0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidFunctionNameSniff.processTokenWithinScope (cognitive 21): ValidFunctionNameSniff.processTokenWithinScope has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb44d6b83d3dc0d8489fe80a5c967de9f39f960aae49848d9ed8838c8685a63"}},{"ruleId":"D2","level":"warning","message":{"text":"PHP.standardiseToken (cognitive 21): PHP.standardiseToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb96a45b438e8577fbd1cf309b8d504345378b2322683ee4825d8881e3a2a021"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCommentSniff.process (cognitive 20): FunctionCommentSniff.process has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"831aa302692c024427c161cb1785717408f57e5dea71c4be18db3d4e70b7b588"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCommentSniff.processCopyright (cognitive 20): FileCommentSniff.processCopyright has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"1569b2445a7193afb8c4b95dd684fcf9d22e08b7091129fe5f5422684979b632"}},{"ruleId":"D2","level":"warning","message":{"text":"LowercaseStyleDefinitionSniff.process (cognitive 20): LowercaseStyleDefinitionSniff.process has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/LowercaseStyleDefinitionSniff.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1692e7b6fb39467b38d641c9c0c4e64b46947cd3bb49eae26f2e5a40f9d85999"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLineFunctionDeclarationSniff.isMultiLineDeclaration (cognitive 20): MultiLineFunctionDeclarationSniff.isMultiLineDeclaration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"25710a9d34ef48fce1775e608e65497ae2768fdfbc2fbf3ab53d0a460dd5fe5e"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowSizeFunctionsInLoopsSniff.process (cognitive 20): DisallowSizeFunctionsInLoopsSniff.process has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240d89e1357aac1417728856f6bed0a5ea71e11765a9cd077409a5a0026ed0c"}},{"ruleId":"D2","level":"warning","message":{"text":"LogicalOperatorSpacingSniff.process (cognitive 20): LogicalOperatorSpacingSniff.process has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae6ce41331b2e2d6d8f3695dbe5bfd2a11e2e654bcf3ab7c879e53b54a2ef55"}},{"ruleId":"D2","level":"warning","message":{"text":"PHP.parsePhpAttribute (cognitive 20): PHP.parsePhpAttribute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3452}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f16a67caac387c3e30176732b3d75dbdf2bcabaf9267e7f76c28a1e8e61a30"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.restoreDefaults (cognitive 19): Config.restoreDefaults has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (19 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505f7c7d710cb9b459e91fd3e88397973dcec3598c18059b9a8be1359ba03bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.runPHPCS (cognitive 19): Runner.runPHPCS has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfaff93dab7d8f75a56fbcf155aff27b10eacf7b70c3f3360a38e7367af0a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"CallTimePassByReferenceSniff.process (cognitive 19): CallTimePassByReferenceSniff.process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/CallTimePassByReferenceSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac25d13d47d38adb126ed5d8346e176992546c5051d5c53f8ed8d35265038ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"SubversionPropertiesSniff.getProperties (cognitive 19): SubversionPropertiesSniff.getProperties has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"df06350ecc2eb810f01220314fab79048923e02a33ad931dbb8fdbf54d62f098"}},{"ruleId":"D2","level":"warning","message":{"text":"Diff.generateFileReport (cognitive 18): Diff.generateFileReport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Diff.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f931915525b68a073f9cfc22a17e843a88ccee5f109019d3814039db7306821d"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorSpacingSniff.process (cognitive 18): OperatorSpacingSniff.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ff41140918401352097e9e9372a6937bcaddaeecec3be733e8526b3ed60e35"}},{"ruleId":"D2","level":"warning","message":{"text":"NamespaceDeclarationSniff.process (cognitive 18): NamespaceDeclarationSniff.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"582a10a4d11a64eb209c925d71a5e6d47576691249c269ac5901d779465a791c"}},{"ruleId":"D2","level":"warning","message":{"text":"PostStatementCommentSniff.process (cognitive 18): PostStatementCommentSniff.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0023de9cd0770b891262b1a282a5ada3d0cb493c0eef664fd9a051f42ef173b"}},{"ruleId":"D2","level":"warning","message":{"text":"DisallowComparisonAssignmentSniff.process (cognitive 18): DisallowComparisonAssignmentSniff.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bf15911e2b66828475e659908d8dae184a58de4e0011e8f9373c2ddedb38ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Standards.getInstalledStandardPath (cognitive 18): Standards.getInstalledStandardPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Standards.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c3e7d4a4994156f28c9e5f93df53b8f44689bc085c012f4733b680e1fa16dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDeclarationSniff.processOpen (cognitive 17): ClassDeclarationSniff.processOpen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdd88185e33708c14d0777ff19675173d91754bc3a76065346dbdc88e05f9a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Junit.generateFileReport (cognitive 16): Junit.generateFileReport has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (7 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Junit.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a53ecf6995ba9f05b1c2facfa6815c802bf855892cb1af18f8a87e0ebd8195d"}},{"ruleId":"D2","level":"warning","message":{"text":"Xml.generateFileReport (cognitive 16): Xml.generateFileReport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Xml.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401439c92ecaf67643f8f76206a4ccb8437a8c3eeb921d34d406899965869ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruleset.explain (cognitive 16): Ruleset.explain has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"663c196210f96ef0430769cc4403e06a05090560ffd5d804a4cebdccacdeea60"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.processChildProcs (cognitive 16): Runner.processChildProcs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b73b2326f326be3f1156385c3a1b07795f0722e6bade6bbf6d568e444bcc28"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPatternSniff.process (cognitive 16): AbstractPatternSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebedf18682906a6e48ad8aa00489ee692859d83cde0ce6009675edcb5f62cb81"}},{"ruleId":"D2","level":"warning","message":{"text":"AjaxNullComparisonSniff.process (cognitive 16): AjaxNullComparisonSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/PHP/AjaxNullComparisonSniff.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"853309461234c6d70ff670cea7c5d9a9d794736703e8214fab8215441a1bf105"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidClassNameSniff.process (cognitive 16): ValidClassNameSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a59ef0745725fd673dcc350269cfd4fbce4262e0315792bad2dcf9ed40d4b89"}},{"ruleId":"D2","level":"warning","message":{"text":"ClosingTagSniff.process (cognitive 16): ClosingTagSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e94a264178073e1eead503ed2f18cb96852a51f503f02efe1ab98685d2e9f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionNameSpacingSniff.process (cognitive 16): ClassDefinitionNameSpacingSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionNameSpacingSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd038ce4b20d168511729d892affa0fef6b243c040877c66ee63ad260a7e6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLineFunctionDeclarationSniff.processSingleLineDeclaration (cognitive 16): MultiLineFunctionDeclarationSniff.processSingleLineDeclaration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (4 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96cfae32438578b69098f358ca54d19d98b706645aef4e4797c680ad574e46e"}},{"ruleId":"D2","level":"warning","message":{"text":"SemicolonSpacingSniff.process (cognitive 16): SemicolonSpacingSniff.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43fc8b04b11e143bd2d1d3d23878f30fdee898fed7bfe0f6a772534aea5ca45"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.prepareForOutput (cognitive 16): Common.prepareForOutput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Common.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7196c05b3b9c1a4282b6d50c5bee27b33b244403c4e2eaaa4686c0cbd677be28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScopeIndentSniff.process: MethodTooLong \u2014 process runs 869 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 769 over it, 8.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7483ca94fd3176305e018824e684963a5f05d08c7277402a686b6f7f94d0a7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tokenizers/PHP.php: FileTooLong \u2014 2182 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1682 over it, 4.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc41cfb4e198aaad5706ddae54e3e711333c4e069db9632456808e6041155d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JS.tokenize: MethodTooLong \u2014 tokenize runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42c18282a2f74107494b330112e4cf126fd2a591eb4222351712e4e9597b549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.processLongArgument: MethodTooLong \u2014 processLongArgument runs 364 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 264 over it, 3.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"335dd7ae0b2b92e104a236653495de4bf6957fba4f9be0d54ddcb34cc5a1942e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArrayDeclarationSniff.processMultiLineArray: MethodTooLong \u2014 processMultiLineArray runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6414279419c5c0176b746ce2e1a7f2e1597608ffd58fd4b6cbae7dda3bb5eb96"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: File: ClassTooLong \u2014 1357 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 957 over it, 3.39\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b085a0c5ded9b712cb5d27b038c7637358822992e95b6c5d82a33fc5083974"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tokenizer.recurseScopeMap: MethodTooLong \u2014 recurseScopeMap runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b65754e9d5063e6e33d2b67873a51d80789ad4e5b07682520b133a31b19a53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSS.tokenize: MethodTooLong \u2014 tokenize runs 288 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/CSS.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b5cbcfc3aa15f0c255e546b4aab9b69effd30ec7e613353dd727cd315d65f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Files/File.php: FileTooLong \u2014 1365 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: File (19-2850). The bar is 500 significant lines; this is 865 over it, 2.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee7795ecf89a5f361b1fe6390b74371373176857b8560ecc494c2add7a4c562"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClassDeclarationSniff.processOpen: MethodTooLong \u2014 processOpen runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b209bbe530ffe9d9db639a6b4ebb912e6b10404a7658b1db6b7a5e431ef08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UseDeclarationSniff.processUseGroup: MethodTooLong \u2014 processUseGroup runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2190c168b632c86a7e46b38eb90d10949b703579a9378aed5b5a11c87d6b8a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractPatternSniff.processPattern: MethodTooLong \u2014 processPattern runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e08e96e306bc2af66809ba9e414c50c847234bfd439c5b5a1b2a1d9e2062e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tokenizer.createPositionMap: MethodTooLong \u2014 createPositionMap runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c296ae6b84dd23406965fa0b96611291d2f7ad8bd8a10e753c61f3f513d55887"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tokenizer: ClassTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 582 over it, 2.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14ea2fa04252e49b20aabfa6bc1614e54935e5f5abb2e0b735e3008b887163"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 564 over it, 2.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5daa94fff2450bd591fad0884f949af113494a2ceb77cc90fafd62d74431b47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionCommentSniff.processParams: MethodTooLong \u2014 processParams runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb1b01641d267806399e342c04bb8cafbb894491b33b7065edb7446fd9b3c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScopeIndentSniff: ClassTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 534 over it, 2.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81abce9df5c04c4ee48adf4b05b2fa07c0565fb862f69267cd76fb7913ee63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlockCommentSniff.process: MethodTooLong \u2014 process runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b0e49bf4b8091df456d3c28d1bb6eb671a436ccf8ff9cb5a8b023bf07b6a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultipleStatementAlignmentSniff.checkAlignment: MethodTooLong \u2014 checkAlignment runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc45c118bb0af15d284ea30e76841db5137d09ba71df7c0131da9279db81bba3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionDeclarationArgumentSpacingSniff.processBracket: MethodTooLong \u2014 processBracket runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d565b6f4e12d65b7e97de442c3f05399bf02d03261fc5eae0d6795ae926fb46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tokenizers/Tokenizer.php: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Tokenizer (15-1734). The bar is 500 significant lines; this is 486 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35175925278055ced66f88b5fd467633259dd9c3f47b6c81e6f0dfbb8e6392"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/Config.php: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Config (75-1718). The bar is 500 significant lines; this is 469 over it, 1.94\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cc9d359931c91248a9b912deaa002385b4fe1db9c28123bb15a8e7275756fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WhiteSpace/ScopeIndentSniff.php: FileTooLong \u2014 940 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ScopeIndentSniff (17-1588). The bar is 500 significant lines; this is 440 over it, 1.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7397166728856aeed0d6f097ec95c8df2187657d698e48ca20ab22e03694d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionCommentSniff.processParams: MethodTooLong \u2014 processParams runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"685b1b5658f71679ee807af6ffac5c3d0283bb089a6cf5fe099e92afb5860dee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocCommentSniff.process: MethodTooLong \u2014 process runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d38e0b6448e84fc0a79475519b6ecb0c1f4ac75b88e8352c22a9c286e917e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControlStructureSpacingSniff.process: MethodTooLong \u2014 process runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af199aec94131c159b52bfb6c606345a003e9ccf86b00beb1793127454def7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: File.getMethodParameters: MethodTooLong \u2014 getMethodParameters runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dab9074af3fdeb21dabc4dd23c054cc4a023042b7d2e825fa0405f1c313d865"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineCommentSniff.process: MethodTooLong \u2014 process runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc0734a560529fbb31b8dadbc54d14069761f423c53ba63d60a531b299ca387"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ruleset.processRuleset: MethodTooLong \u2014 processRuleset runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5becbd4b4c2e730966b4ee2125de2148a6da78421daf86896c23a960ee227b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ruleset: ClassTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 322 over it, 1.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4c846c5e7ee3624e09cd805111951104c065d0902a34381ddf5e0bd5489d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineControlStructureSniff.process: MethodTooLong \u2014 process runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dc19c461ae79e63429b65f0ce6db48ee4c12e2f1374642ce07029690d47819"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Code.generateFileReport: MethodTooLong \u2014 generateFileReport runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b53d793e2be13fd7e6cf0579b3405f80890d37356fc0b8f25fb0913efb595f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionCallSignatureSniff.processMultiLineCall: MethodTooLong \u2014 processMultiLineCall runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36cfefb8e964758137220bbcaa5b8241edabd8358528758add434387c7ba2c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JS: ClassTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 284 over it, 1.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559d6c5301cbfbc8765c699ea5701155670744a3ba78816305297bb95d08a58"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionSpacingSniff.process: MethodTooLong \u2014 process runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcadeab26e3223ca90bf904cccb5b5ed0a1638b4eac25aa1bcdac152e5649df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControlSignatureSniff.process: MethodTooLong \u2014 process runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fee851f0b35fa15bb1de1957b92c641db3003f89adf85e1ab6cae247c10bdd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForLoopDeclarationSniff.process: MethodTooLong \u2014 process runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a6c9e755d1aff444654dda512c3695b8382696a79fd19a11b97668bdf667a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tokenizer.createLevelMap: MethodTooLong \u2014 createLevelMap runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a0477f8e536f4a37e89999d40412cff25b451b770a305567d68fd6b9367b8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchDeclarationSniff.process: MethodTooLong \u2014 process runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d60781fbaba7722667ceb69d056cf5c2efbf5a0e7ba3f41165735501b28bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ruleset.processRule: MethodTooLong \u2014 processRule runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ded65d08b3e1b589bddc05990e6e50c7a6a70df2fbc13a0f3b6922d8cfb0ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmbeddedPhpSniff.validateMultilineEmbeddedPhp: MethodTooLong \u2014 validateMultilineEmbeddedPhp runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa191bebafbf3fbbecb3123c807e61dac6b510ba7319089d5c23e380c37351f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/Ruleset.php: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Ruleset (18-1458). The bar is 500 significant lines; this is 227 over it, 1.45\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e159657b06155476c5a938dbad63ad9073d7371618da4a062333eae5f511a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: File.process: MethodTooLong \u2014 process runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b6a1f93f2f62f78ac2db99c02905bb8fa37cb9b327a333b0c59f4e4fa39536"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Runner.run: MethodTooLong \u2014 run runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b793e8c70ea18b5835aac1e973ca7b8163124a41cf6141d4f07e91c2352bcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultiLineConditionSniff.process: MethodTooLong \u2014 process runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ad8369703f8da7123174afbc3e6312887acb16434fa20be15b89f91c9133a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: File.addMessage: MethodTooLong \u2014 addMessage runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43cd72d39449cff18b3506f48cfbc1fba747c544c664ae9bf9ee4047bbe507f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VersionControl.generate: MethodTooLong \u2014 generate runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/VersionControl.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f9dd0184230f9043ec4bb7d7dd08516fb9f15c37e1b77551890d6b73ee497b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NonExecutableCodeSniff.process: MethodTooLong \u2014 process runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c2c70140c23b546170d145dea1b48d98f1fb7dfe785787d2077056eec52e47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UseDeclarationSniff.process: MethodTooLong \u2014 process runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d349395d3d68298db7ea9c1f0dd7c9cf8e80b2b102db0b2e6caa24073e60aaa9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cache.load: MethodTooLong \u2014 load runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Cache.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a99234b731602b60b62fda175a5f7a70ceb68e6ae7e592f18be3600100120df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tokenizers/JS.php: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: JS (16-1256). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ea482bbb912e5d9e45fcc08398f537306c8efcf73d3bb4b34946874926ac2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UseDeclarationSniff.process: MethodTooLong \u2014 process runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b39a32234216c8c0bffc42fcbc9a133a5aa56feb3ca73824b43a7e02dc7ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: File: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ffaa3cfcf43339fa22b3b626b7c448d1be191c81b182548a672c23d3aee4f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ArrayDeclarationSniff: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 130 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da71353f8f8ad2f4d348459f04c81c873497afcf6747c17d74235f5f99680dc3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeclareStatementSniff.process: MethodTooLong \u2014 process runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ae97562376746957191c4ac4bcd658006f52f38eece315dfa8b94ff471bb20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JS.processAdditional: MethodTooLong \u2014 processAdditional runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b465fd08a64dc99fc24e02d71ca01322fb0e9d465767616f7262f59029ff2817"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Source.generate: MethodTooLong \u2014 generate runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Source.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962bf05a5e6eb43552cc2feee6d3c94a468ea99f17e57f608d6c13cd280fa6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForEachLoopDeclarationSniff.process: MethodTooLong \u2014 process runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad974f7fabc674e5e7498c79c3ae7e0c9eeab3e0f1292a913feb6d3d109f4bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnusedFunctionParameterSniff.process: MethodTooLong \u2014 process runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c09391770ecbc44a696e613dd1ff84b555941551f17ee33042f06064fb50b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SideEffectsSniff.searchForConflict: MethodTooLong \u2014 searchForConflict runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d9ce39efe3c85550249159ff457c5f23eccd3c6cafce255e3c843a72e5839"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tokenizer.createTokenMap: MethodTooLong \u2014 createTokenMap runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"0671525ae9e6754807044d638628043f2ff3f712d89542f8e92fbca81cf5cb78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorBracketSniff.process: MethodTooLong \u2014 process runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9da0c04c97e8405465c452dd86801a1250e3be88a261ffe3975f10176f15594"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Runner: ClassTooLong \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 90 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Runner.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b28d4a54ac14b97854f5bd47d9d63128624c800c1f58e1c3d1fb44f8e211674"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorSpacingSniff.process: MethodTooLong \u2014 process runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"92422c5e461942e7cf61350d52aea05c2707607cbad99b966dffc3321f2cf17a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GitMergeConflictSniff.process: MethodTooLong \u2014 process runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd64a44d66437897e5d062744544b613358ce18d79fd3ab01cd1dc14babcb09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommentedOutCodeSniff.process: MethodTooLong \u2014 process runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d77760997a51494389fd7b46e58f573b02a28e5608679bf75a5ffcae7bb8319"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileCommentSniff.process: MethodTooLong \u2014 process runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea43af2b55c099eec2bf306212581e52e66e44a9a7081f8d33e66c5a8f6fb815"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FunctionCommentSniff: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0153bc42cd066e8927292b27852156c2f0e36018a253326152d6b4ca0a204852"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArrayDeclarationSniff.processSingleLineArray: MethodTooLong \u2014 processSingleLineArray runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cef395544340c892642d0531810529be443782cfffcbf11aacf7c6783276231"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionCommentThrowTagSniff.process: MethodTooLong \u2014 process runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a01ac28cc1c61f6a4798770c01b3014ec06b8a73c65dd914d04766869cf39e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: File.getMemberProperties: MethodTooLong \u2014 getMemberProperties runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3dcf98ceb54c7f589507f43a168b53e65faf692bd22d47502f4ee349be87b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UseDeclarationSniff: ClassTooLong \u2014 434 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 34 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96c25d46de8dbc1d742265bd4a4ab5612c98a009d7578f6da368c73fbd4ceb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: File.getMethodProperties: MethodTooLong \u2014 getMethodProperties runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"450fc2ab06f0bd5ea2a258c11839b4c13c42ad8222b560e558d9aec17811b5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractPatternSniff: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sniffs/AbstractPatternSniff.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"515412b8da9a6c36c1c8cf8c4de684400a3a0115e4fa9a82ffed98f53eca83c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Arrays/ArrayDeclarationSniff.php: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ArrayDeclarationSniff (16-908). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a62acd70f989c671516f1289df29f13e52eb33668567f7f3482f0a6da567a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemberVarSpacingSniff.processMemberVar: MethodTooLong \u2014 processMemberVar runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba02ad697bd47a926ded4bcb4e803771b697f963d732b88b71952967294d5de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpeningFunctionBraceBsdAllmanSniff.process: MethodTooLong \u2014 process runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e14e031a9eb6de708800b8fcfc9418f6e386b32119677e11ceb036927e2df10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BooleanOperatorPlacementSniff.process: MethodTooLong \u2014 process runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a4a2e8edaa2f1ab8160e9d6f3f88171ee8490d22b504886cf2d66eb718cfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:267-534 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:283-638 \u2014 These two members are variants of one another: 111 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d76b54e097c0131ef2834525ca1aedc2153d044cdba4bbfceb8fb0be9be2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (68 shared lines): src/Reports/Code.php:35-317 | src/Reports/Full.php:35-186 \u2014 These two members are variants of one another: 68 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb0640ff13106eb938822d735d81597ab43da99e2bd686698ce778b91b5bc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:209-319 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:145-216 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6e3d9746f674000cd58d80cedd4dcc8de943b404aaab59941298977961e5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:50-129 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:50-171 \u2014 These two members are variants of one another: 40 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"35facea5fcb21f6fb09506049b4f42ed09fce1b50dcb7916fa595f3e9da9c641"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:285-637 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:30-186 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98cbfaf82546ae262082967f541afddd433c27c91703fd148d7c9277645087c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:65-201 | src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php:42-150 \u2014 These two members are variants of one another: 30 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"569321080f5f21cb54de38eb909e466f5307e307ad9de31483690f356908ba3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): src/Config.php:1361-1425 | src/Config.php:1437-1479 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"062a7f8706704112a38f65979b4dcad96de147358d3eedab1cf36bfb644f0ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/Generators/HTML.php:238-265 | src/Generators/Markdown.php:129-156 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/HTML.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"494fa9222786215968d45e664932b98ad8878cd3197de5a48f69e63b5cb44c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php:42-52 | src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php:42-52 | src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php:47-57 | src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php:42-52 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"70129ac2ab8b981da0f0a5e0b6e5611b8e9ad54760f9e829e81f0719cab97d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:57-148 | src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:67-130 | src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php:57-146 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:74-311 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d73c46b214487fc24a1d6b5c6fd280754f5607c3bd2ccb332d202ad2828584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:69-135 | src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php:67-133 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php\u0060 and \u0060src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee98675786219d4cfb3ece8f53a4d87dbcff396f2b40996b7dd3e5c2b61d331e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201353 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:136-184 | src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php:70-122 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:136\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2966552ea31b40379c119d68ad61aa108ea8bc0cc9968217a8fb6c9534bd43d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:269-308 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:298-335 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:265\u0060 calls \u0060processParams\u0060, \u0060getTokens\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:296\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c454bf35b775c51ec9fe471d3e3a5c69652e98034f02a46d4e64714e7b6ffe09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:60-95 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php:60-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f4a08123dd5b759b5011c5e33d797af4b92dbd9284ed0fd09a2da34506d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:328-363 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:369-404 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72663128959fb1039ccc72f980ed6591153331a706371b8a3a5333cce4b12ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/Generators/Text.php:129-162 | src/Generators/Text.php:164-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/Text.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"81020a65f841f619d4caf16d7955d4b3d8dfe2426a50d7a795203bdb3a630fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:80-113 | src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php:121-154 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4546b23bcda879d4c1d8c8e9f2ab4da899c55cdb3606164bc1ce73e38d343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): src/Reports/Code.php:162-194 | src/Reports/Full.php:81-112 \u2014 before extracting anything, compare \u0060src/Reports/Code.php\u0060 and \u0060src/Reports/Full.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Reports/Code.php:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8463decaa379fc087872a7c98f8cab539bfad47da6c4b3b5e32227475138f5e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201333 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:71-98 | src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php:61-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad2c860a271031bd212703a1d2ad9d7a90e70625abead6edeb262fdc5651cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:32-63 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:32-64 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 and \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1810fd2826ca29e6c66c67747dba348fb11cdb1031cf855830a3e1add8bac28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:107-133 | src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php:78-103 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php\u0060 and \u0060src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"77764fb38793f83ffed4bc7aad93a43da1302aa27a4d770f5ced6e59dff707c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php:55-81 | src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php:45-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b696f74ed77eb34cee043a54c3954ec6369b7d128710e4e422c0c157b2e14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:427-452 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:505-530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:427\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4da3c382b61df5475e8f19db09d7e15d42ae789f9adaa0d3ac9cdb61ec2d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Tokenizers/PHP.php:3513-3538 | src/Tokenizers/Tokenizer.php:852-877 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3513}}}],"partialFingerprints":{"codehealthFindingId/v1":"44773e825745e2cc3ac73de17049df770bcf5cf6017b8ac46b66e583634a3fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Filters/GitModified.php:37-61 | src/Filters/GitStaged.php:39-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Filters/GitModified.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2d90cd7199ba4a45b7d93b2a74cfa57e0b0d3beab86f3e7386b3753de7e169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:282-305 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:178-202 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bd1fada030aeae506c21432a1ffb4db36f39d1ded0ad506c8d29fbc9756dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php:136-159 | src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php:190-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96c99c56f680e2da38967f208608ff9ca64a8623e25270cb2db2565bf15b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:205-228 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:262-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a51637baaaee42519e1fef29d28e7dd94c38e01c87d6fa020db36461f0fa5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Reports/Code.php:267-289 | src/Reports/Full.php:150-172 \u2014 before extracting anything, compare \u0060src/Reports/Code.php\u0060 and \u0060src/Reports/Full.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35c7afc84a0bd6c47745cb5f48958b7e3849ad859dec444150099ae6aa6344e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:191-213 | src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:119-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d8a8889f1afabcf419e67b4b09b3d208469640dc5bbb23d67e77d48c5dea59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 3): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:287-302 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:720-741 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1372-1393 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adb391188254de8d366bf087bcd04746bb750c8c322a959a94d919224cb2173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): src/Tokenizers/Tokenizer.php:1147-1168 | src/Tokenizers/Tokenizer.php:1173-1192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/Tokenizer.php:1147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"508cad4a7855ed911d4dd2f33b65e467e77534848dce05e28f7e6c60303a3d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:132-151 | src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:199-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:132\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bccc06c49b243025fb7f889b03020ae30f319dce5bfda19abbe26adde992e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:321-341 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:343-363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe8317312edbd9d2b26e5baaa3588c7844b8fdd7ed401d2549296ef55a237d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:141-161 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:166-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d900c2295c4ac7d60182c8a6b35d8d2ef19f56a4071cd53b1893aa9d0def2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:82-102 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:373-393 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf41658fc9e83a07be5cd1cf83d20ea798fb9825f2bc089b148fbfd42198c773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:129-148 | src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:111-130 | src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php:127-146 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php\u0060 and \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eaa72201c2d41aa2ca338b40f998c8ccef08ffd1d8c14ebbd1eb043830add8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:101-120 | src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:132-151 | src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:164-183 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:162\u0060 calls \u0060foreach\u0060 and \u0060src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php:98\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a58172664cbc2f91cc1f22423da0791e23dd6562130d7b9b6ea9426452ab01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/Reports/Gitblame.php:35-53 | src/Reports/Hgblame.php:35-54 \u2014 before extracting anything, compare \u0060src/Reports/Gitblame.php\u0060 and \u0060src/Reports/Hgblame.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Gitblame.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"342420ce05efea4ee077d51f4be8321b3ee834f0b77aa02c18339ad1d3250898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:147-166 | src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php:126-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc2a8e2d164baa38b6f0dcaafd3d0d6f9369afac2bfa0f01564a4b5ddbda514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:143-162 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:164-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:142\u0060 calls \u0060foreach\u0060 and \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:162\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849962e4bdf68f59daa977937343492cace78f858dc2cde745d9d4f8cec68bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Tokenizers/PHP.php:3256-3275 | src/Tokenizers/PHP.php:3378-3397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:3256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7865024edfd0a0120bce28e93d1f9ad9b8d3c460b2d3cf53ba8bf575ccc4b004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:127-145 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:170-187 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:152-169 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"110121b6b78814eba5ceb4c6fee176bbcee01804f43959ca1fe8c0e35e73d635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:168-184 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:205-221 | src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php:66-84 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76a1d49cdf1d8760e2a05c1260018364470c368328a5a373d94f8b91ba3a2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Fixer.php:494-512 | src/Fixer.php:609-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Fixer.php:494\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Fixer.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1fd1c33a7d8d0c95e18e3393ed7efdc96461c6e9ae036b1e6af1e58eaf8f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php:68-84 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:92-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1045a3e882a8f51a724b4bc54aef21ee2e9bf5163ce847c8aa8dbda11fe5c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:452-470 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:549-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:452\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e55729849b47dc97d934a63558aa3aabacb8c84d16a327ed2971c08ad938677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:183-201 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:316-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6a99ae2d466d8f1817543eec5c16d9d8b985b275259f8277ad7f1729e415b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Tokenizers/PHP.php:1458-1476 | src/Tokenizers/PHP.php:1539-1557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:1458\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eca97fc946e6b22a91f36da002d0b4d29eb9187c694e9fdf5f5e8aa2e0c98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php:155-172 | src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php:35-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a34e9484da01abab125ec0b7f25de87565346b3378fd699ecedfdaaf7af0f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:102-119 | src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:163-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17087ec57a2380e5fa401d080fa1f40dc5fe8b21e4d0f62796596a5759da7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php:88-105 | src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php:141-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20de3765f8549775814bfb80616e62b68b8b1dee31272757d1db842f7d6bb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php:67-84 | src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php:114-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php:67\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b424fbe032cdf4fa633db185aad8eab09dfef2a8d6433351eca302ac489f7d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Tokenizers/Tokenizer.php:1590-1607 | src/Tokenizers/Tokenizer.php:1692-1709 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/Tokenizer.php:1590\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ba6b33d857bedb3f3d756b29967eab3cbebf310b3992cb850275257adf7477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php:52-68 | src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php:54-70 | src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php:48-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f0b0f32af2aaa54ef3b48f35883e99ae2fa49a9dfc90a8a3c0a618859022d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): src/Tokenizers/PHP.php:3185-3201 | src/Tokenizers/Tokenizer.php:1582-1597 | src/Tokenizers/Tokenizer.php:1684-1699 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:3185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c682f491bb1ec6c96918a89c281f02407b94103286cba965e11364c3f31e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/Config.php:1575-1591 | src/Config.php:1653-1667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60190bc2cd9db32f6e344e818211cdcf38f6f6778a4bfa472f7bb74580d779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Files/File.php:1660-1676 | src/Files/File.php:1870-1886 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Files/File.php:1660\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd27a54bc16eb3c496774220a4fa0418f3ac8a77cb672a0a3d26fd718c49993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Files/File.php:2772-2788 | src/Files/File.php:2824-2840 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Files/File.php:2824\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d705a2158339acc98ca9d9836b93ce8f02bf2f56966b4038be250904e73d3430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php:54-70 | src/Standards/Generic/Sniffs/Commenting/TodoSniff.php:53-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52973a4be2d648fff219da938b3c424c3d90fbef8bea6dacbae50f9d37aacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:385-401 | src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:430-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:385\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"005ca37b14c7868d7788a1d6a4bf8dc2af88fd81af02ccd42629a9727e7e26dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:421-437 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:593-609 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:421\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"921e20c5c09354e79421e264aed965204fcaa817c9e636e7f7b2812630ed911c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:148-164 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:618-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8475381f4e66dadbfb38b9a6a73e2ad7fb7a65644443cb3232cf6bff83efcdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:453-469 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:531-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:453\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca802d1501a8f25759cebf3cedc32ea14e67620c2439f3e9df77dccd38a567bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:87-103 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:155-171 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6645cfe3ed0435036cd192428e73294556bb3e9ba6bc31d7c9a60daf075faed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:112-128 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:351-367 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"db89f8235addee1509e59c12419cb26845d8d9f95ef2bb2fb03da7e1a6450772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:126-142 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:269-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229b11f7ff5dfd1cb91bdd39f765fe168c601806e5a83298389a73156717d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:143-158 | src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php:172-187 | src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php:77-92 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6b2ae9c9d9022da826e40ef198727d38d51c8701806e2913b8d2a4b24b053b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:392-407 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:465-480 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:543-558 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:392\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a914002b85e5015a063d540192e9de2268ef742c30c1e22e89a5ddad30194cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 3): src/Tokenizers/PHP.php:885-896 | src/Tokenizers/PHP.php:999-1010 | src/Tokenizers/PHP.php:2115-2130 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:885\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a144645925086c3fa7c3b9c93e5b783d84db433014e8b8e02bfdfb4741f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Generators/Text.php:204-219 | src/Generators/Text.php:226-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Generators/Text.php:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/Text.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda947840a6afd2cd7a64031facc65828dd5fd1b86fb76217d20f9ad2c48e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Reports/Cbf.php:180-195 | src/Reports/Summary.php:119-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Reports/Cbf.php:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Cbf.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120599a79c7ed4cdae15d9fb30691446603ff46bf8c8a8e561f10a0a51c9a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php:57-72 | src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php:121-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"54249dcf3430c575fa5155693ece4999e108825506350c8d0f9fd29e6acbab37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php:126-141 | src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php:69-84 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751289529f758ce9a45cf31e415fe932eb158b93cee33ad66682d38b09cfbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:655-670 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1195-1210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"991ef5601945a39237b4c02588158137aad06852c3387c0503bbe5ae8235850d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:391-406 | src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:462-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:391\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ec893cd22845eb0f4911cb4a85cebf99e8e3ac86e0e1ec013adaffc275b864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:110-125 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:130-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4414c625e50de76449ef5e4110cd44ab11104539d472e4000266b6b0f3e7bad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:655-670 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:76-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"224744155173ceb70ff61ed43c255d0791e4f109471b2b67ca65e0ce043ef473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:119-134 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:153-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea82330975bda58e074f2ef47fca9cba300dfcd5ca584cd854629a77ff26dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:162-176 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:124-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b016bd8a0fadb0306b6506fd329e2cccae7227a358b4f2cdf0d59f73028756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Tokenizers/PHP.php:3254-3269 | src/Tokenizers/PHP.php:3313-3328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:3254\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde956b0a4a1e0d8fa9dda4c6a9f5b77a56cf2df706941289fc44184f1866ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): src/Util/Common.php:279-289 | src/Util/Common.php:291-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Util/Common.php:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Common.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2fe2ee8688712c448d035297211c479ea9cd99ab08514d08a2690b42b7f225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:408-422 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:486-500 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:564-578 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:671-685 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:97-111 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:408\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2792111aeb58426cf8f75cad04aaadcfe32e975969749d91a136139d8343809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:104-118 | src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php:75-89 | src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php:41-55 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php\u0060 and \u0060src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"366d09ba08d91bc9deff26f0efd9afc7dc6084d5ca899c034af804663dc51644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1123-1137 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1158-1172 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1322-1336 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27e35b34dc94d55ae2d1cc2813e5149be2fd0398b5e691bd1afd75286054b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:337-351 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:448-462 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:526-540 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab1697f9862a7e36a62460419e530e5649d91f4e2d4552f169b444e43d0b37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:144-158 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:165-179 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:236-250 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:142\u0060 calls \u0060foreach\u0060 and \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:162\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed9505a5ecea7166155c1b00e436110f816fd52887add4faf766b68b3c413f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Files/File.php:2231-2245 | src/Files/File.php:2312-2326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"964f297c3cca981df7d4894c3bf97039795334263443ce83e3446f45233ddc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:193-207 | src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php:191-205 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php\u0060 and \u0060src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php:189\u0060 calls \u0060ltrim\u0060 and \u0060src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php:191\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea92ab948ae1dbb52fe4c6d51258534dff816af7892adc7b1fa9590e4fc25337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php:175-189 | src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php:149-163 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fae50103fd4a57b889b00a7128cf8a536f3280eb8553eb10e88c50d25bf1b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:289-303 | src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php:206-219 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3e0e1fa72bdb0e7d4b091a5d2711904721582ffb8c5f2028535c9cf74d2697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php:32-46 | src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:41-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df83ccc120d1e880a5aad33aedfd09b317dafd6af3c085ab8ab28e4bf8cd463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:145-159 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:240-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4554502fd77b4658d4d6e77cd7d757e62e3b1b00daa9ac215f674df91b702f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:288-302 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:889-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ef3d46a73888ee2243dcd59ca2e0fb28fd69924e55ffcd34a0bed0ceae1bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:335-349 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:680-694 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a3e70c4bdaff9f8cef9ef45935d2559473e21dd15c6eb1d80fef529c34c211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:70-84 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:138-152 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe56736ce56f4363d666ed540a1844e6d0f14631bbffb095f89186aed01da97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php:155-169 | src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php:305-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3f2eb8b3c3f9fd08b60690fcfc69a8120059143a018a625bcf1a39e40f9555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 8): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:441-452 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:114-127 | src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php:64-75 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:151-163 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:209-221 | src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php:129-141 | src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php:73-85 | src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:219-230 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:441\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:233\u0060 calls \u0060recordMetric\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"11db0214a1503443716407fd70732865c7f25a59cfe1bbcf9c5ad747eca6e9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Config.php:1363-1376 | src/Config.php:1380-1393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe49cc2df42351860d7dc24e27c70a28c38ff728746fcc4a1682e7e118d4a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:273-286 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:481-494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e0c508d8e9356ac56022336cd9b911e5b36c048ab468af1fc69614322cd6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:363-376 | src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php:251-263 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:363\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd019bae6592485988ead8668c865efb8e456730aae403499588d438f880fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:76-89 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:93-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c031f287bb82e7e756a05fbe91268ac360bd5c1e242daf840901748fcfd8080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:684-697 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:743-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:684\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70e09587c55705de0fba0ea158f239ddee7ecc8250de145ec0e53acc94d47aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:170-183 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:172-184 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 and \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecc1404953236311d270b1a4c4c0df107140d1c124eaf65933effd16511c991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Tokenizers/Tokenizer.php:796-808 | src/Tokenizers/Tokenizer.php:812-825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/Tokenizer.php:796\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb543130b8c2508da46bb318ed4fb6d06ab44766927f94002a20c404aaae128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:58-70 | src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:76-88 | src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php:46-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7155613a2dd71aef2d16c7dda0a85cde338d41a0ebdba3db50094d449edab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:191-203 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:289-301 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:890-902 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aaad81d953f435ecdf860a80bdb10224b731e97b44f0079f95412afc42e90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/Config.php:849-861 | src/Config.php:866-877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Config.php:849\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7511b747e48ad8aced5786c12730166576f379f83732525a3da657272f24f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/Generators/HTML.php:34-46 | src/Generators/Markdown.php:29-40 \u2014 before extracting anything, compare \u0060src/Generators/HTML.php\u0060 and \u0060src/Generators/Markdown.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Generators/HTML.php:32\u0060 calls \u0060printToc\u0060 and \u0060src/Generators/Markdown.php:27\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/HTML.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e05c95d272fdf5f18fc1cb87761442303a005006634b15de71c3e53849ebe7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Reports/Code.php:121-133 | src/Reports/Full.php:63-75 \u2014 before extracting anything, compare \u0060src/Reports/Code.php\u0060 and \u0060src/Reports/Full.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160395e28445bd756a76b8b0d8e21e5116701096148095d9956975111639686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Reports/Gitblame.php:74-86 | src/Reports/Hgblame.php:93-105 \u2014 before extracting anything, compare \u0060src/Reports/Gitblame.php\u0060 and \u0060src/Reports/Hgblame.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Gitblame.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d1bca9f19d07af8c1c27617452c667313e329fea4c6eaeef641f80706171ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php:100-112 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:174-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"787abf967853d4364f56dec9f37ccea63264cf074f03124805208094bcffd394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:205-217 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:293-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:205\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"90950a23f63c6215d5b8c742aaec8a77ea4dd9a60b7462ad40132da54452ff7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:307-319 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:738-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:307\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326a1e6dbff956575ad4070f5313d5cb6f2e6ef5524088315a783fec1fadb1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:83-94 | src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:225-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b98e0ae108517792202d454b098a77c21b0a2f3fb3de6dd0c69d4fb3e448ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:62-74 | src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php:68-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1b3d5de49007217bb94bdc599ccdf25b1e74f7dc03d3e17e2d6a078703722e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:364-376 | src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:417-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:364\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3ad5d467c5781f0d8097b567b4340b32d3a0c03cf82b9c2857286fc9de35d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:369-381 | src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:440-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834b285cdd492622e4c3ee03977d246c79133aa2c7173ba99bd80f5dccf391e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php:70-82 | src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php:90-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f836831877eba8f5e9f26c4acba41ac9299088ad77e3c8b8e7ea4e2ffd3d09f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:91-103 | src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:105-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd24f28507242fe08d98676eaf8468c4331903eb0f0e515da0f3b6729383799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:656-668 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:715-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:656\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46b17490092f209e7a095ed7bec26366754f48a256f157e1f92ca82dc3f17de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:87-99 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:314-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb8c55b7ada8aef78d32c8f4407aa3c406a8ce589bfdfd8b2b63553909a6ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Tokenizers/JS.php:488-500 | src/Tokenizers/JS.php:579-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/JS.php:488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a50d6e8aa0ff2ac979d4812df19eea58c02ee53558eaad92219f35cdb16b1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/Config.php:1368-1379 | src/Config.php:1393-1404 | src/Config.php:1440-1451 | src/Config.php:1456-1467 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"73657d282647e87a4c7b01606736f08ec544ae4936d1b9d4ae1b31abab15f4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:182-193 | src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php:77-88 | src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php:123-134 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c0a2a4d0c822e29354ba22fbc8d535aab3d41588a56f67f7e1a469fb0594c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:88-98 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:121-132 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:379-389 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"247dd1af3dd85ec8fa7f541ebee5ff056f088dd5d57e1f197565b5bb732eb69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Reports/Code.php:60-71 | src/Reports/Diff.php:51-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0eec4d4c62925c6d8a18c147d3c1bde5d2fece974af9a42aa458041043c871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php:51-62 | src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:50-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e144ca251eb3ca8691abeda0f9048f153263cf6a9871bea08d9401a2cad1470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php:81-92 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:172-183 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"373bbeb1f603b5e1d5fdb1bfb3458a8a84a26d57e0255cf9b235310159b389b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php:108-119 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php:168-179 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"472ad0418abfd034b3ee9f5d8c04cb6c7e194cacbf611fc8520067fba2caba93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php:89-98 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:96-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76de66e114a86d90d7143193e28971973bce7492feb87c907819ce7e29aece7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:101-112 | src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php:78-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4afcf4e0dbc18a6840a11220529cd72eb5e6b6e0f78105f4fb3b8c5af9e5439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:523-534 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:627-638 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb85327bdc940061d4adb8e94fe783bfea7555392492b98ef4e0c9aa12845a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:127-138 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:145-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"556be756827eec1334720ed2d3629cb2e8846e16c27286b49f2b4e345a08abf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:237-248 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:373-384 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:237\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5861367b102371c8ec0e72a4e74f43bcd72684376a8394843d38932a72b83845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:256-267 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:161-172 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1341c601321468625ae3104b26bf333856b4ed94c09274639adc1df4b75aa6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:395-405 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:420-431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:395\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baef1427b54608900dd02d930b0e573aad30182e26f6b1404053045471fb2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php:50-61 | src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php:60-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"db57232b905aa2339c6542db98ec2187ef840e9ec4c4f9390d9f4baaaef5e4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:203-214 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:365-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:203\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c0af87062572eb16692028b6aaedd718ae174c95d4ea23a828a1055c0d575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:150-160 | src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:225-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:150\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"84347b284d7c5b8515c8f59d45792b55491a46ea978378bbce65c84c6144f5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:186-195 | src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:281-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4ffaaed2ad0a56c352f9cce9b39f31f1cf987fb994f5b9d0840d60b02602d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Util/Standards.php:103-114 | src/Util/Standards.php:195-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Util/Standards.php:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Standards.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"446882c56d5804b942db10f7058df09cafe5557c882405bd859c33d4e39f9a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php:42-52 | src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php:42-52 | src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php:47-57 | src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php:42-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a563f25b5bd41ed4d6788e9c023c2c627092a1eb640ee8f189b7371ad703c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:458-468 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:555-565 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:672-682 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439214cdcf4f65e173f6411fe60420baabe5d49d8562b190d2157ab79d04125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:605-615 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:89-96 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:157-164 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:605\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"c044c4960b33b97127aa7c39fc9086113ef0ed7da3bde81aa16726d9347ec54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:364-375 | src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php:85-95 | src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php:252-262 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:364\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5f72a6395c284a66b9f15a6d68f333453bea8ecceec4816bf284087e9e9873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:148-159 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:243-253 | src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php:138-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef919eb1e2e481779ccad549d778e5548ef993377f50471ae0b37ebda1b0950f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Config.php:770-780 | src/Config.php:828-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Config.php:770\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Config.php"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"24539972cf13ec8b9757592b0efdb995097f37179d5d2dd646cf2bb2e73f427b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:126-136 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:677-687 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc270795360b000d1f96f759e7feb25f3a74e0436896ae430caea289316087b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:163-173 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:269-279 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c443d0508ffb1da5740e575d8a56686b4ee6dd8037d37133da9781d15f0b1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php:108-118 | src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php:165-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a822a13a5d5ec1d0e46bbe31c6c2b78d086f69aed28683eb6bba8903c8d86483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php:304-314 | src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php:344-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4314892a2fa767376f0c1c0ed68b96c6a9927662ebaa3bde4ca85cb702d8037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:193-203 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:216-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db3e80824e264e10ad62955b556ae8c1424f9efa445ec0864e5ac4ef2b326de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php:73-83 | src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php:54-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ab7c7d9158c5e7c0d210b712f336f5ff288dd66c99336d8e9bb2b9578cfcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php:86-96 | src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php:73-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0267e4c908cb15d002868cf10feb9b005eadab7eedc4eeb5056c9bb9e02911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:204-214 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:351-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100d70ab698653fec98b6a93e0ebe2de5f0627a99c1515132d03560100a3e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:61-71 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:181-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526b39517a46688ec1996eda6f8af2d97474f6d93793417475fe6d098296be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Tokenizers/CSS.php:342-352 | src/Tokenizers/CSS.php:465-475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/CSS.php:342\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/CSS.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b2ea02a50a53fd52fd3816ef0629cf0d8ed9ca1144dbaaa5db0ea5900e623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Tokenizers/PHP.php:1045-1055 | src/Tokenizers/PHP.php:1263-1273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:1045\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"05efd2b864db8acf3042b921b929045734cf32fdf097df0a6272afe60c312274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Tokenizers/PHP.php:2198-2208 | src/Tokenizers/PHP.php:3234-3244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:2198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8b8400c7fff902c9bdebe7ab33a258566a18e5ba0a8a00ced8fb3f50e8f141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php:79-88 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:205-215 | src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:129-139 | src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:164-174 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:270-280 | src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:154-164 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:122-131 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:172-181 | src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php:129-139 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:154-163 \u2014 there are 10 copies across 9 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:126\u0060 calls \u0060findFirstOnLine\u0060 and \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:267\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b3dc5f12a67ed4fca919831f2fe6de70b3dd1de453e623c4b7c02216c9aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php:80-89 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:206-216 | src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:130-140 | src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:165-175 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:480-490 | src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:155-165 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:123-132 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:173-182 | src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php:130-140 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:155-164 \u2014 there are 10 copies across 9 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"35816ba0260c62122a3df911aa7ea2f852a34ad70d07128b6a5d021d3497d75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:329-337 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:351-359 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:144-153 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:169-178 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:574-582 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:96-104 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:329\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:339\u0060 calls \u0060addNewline\u0060 and \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:106\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8d182d430b2ff145390b79b5e19e0fdb16f174e3d1045eb2d9effc8108d526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:50-59 | src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:68-77 | src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:96-105 | src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:115-124 | src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:133-142 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b37b538b40beb5a24b89a4bfccbd24a33f58de34f4fc53e9e7e050cc54ae30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:128-138 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:171-180 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:373-382 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:153-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3167a6da9ad62d0d3d401b858b55f2d41272df2adcc7d3ddaa1a9853986c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Reports/Gitblame.php:74-83 | src/Reports/Hgblame.php:93-102 | src/Reports/Svnblame.php:57-66 \u2014 before extracting anything, compare \u0060src/Reports/Gitblame.php\u0060 and \u0060src/Reports/Hgblame.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Reports/Gitblame.php:84\u0060 calls \u0060chdir\u0060 and \u0060src/Reports/Svnblame.php:68\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Gitblame.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a768176afdfd8963a049c8719cb48be2f45861e4278801e5cc63539bd23c557e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:305-314 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:736-745 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1388-1397 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:305\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:303\u0060 calls \u0060isset\u0060 and \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:735\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979d448e89f965b6f86367d56d301bf7a350430538550d5bbc537615ca49792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1190-1199 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1437-1446 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1453-1462 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf445a7cf76745852ff4f4950161f112f509a80098da7b05b3307fe5c5b0a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:163-173 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:237-246 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:269-279 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04d2d3bdc355ff8c51c619d77fed8866054fa72a2e33cf74364cac9804dfd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:603-612 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:163-172 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:125-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:603\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d0ad7aeb6d2f76bf655496b7cc568712118bdc9d673f849dd975c1c99a5a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php:57-66 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:61-70 | src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:69-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf057612392e34a2727533507082c974213d7e262eadebbe531d70c9e66cc3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:186-194 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:223-231 | src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php:88-97 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c0a5456ff0d2558eccb754960fd49a9fdf9a2a3965d040451960a4e44ab08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Files/File.php:1655-1664 | src/Files/File.php:1989-1998 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Files/File.php:1655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0d778cffd241b96c168715dc02879246ae22fc755589c725f551d043b8689c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Generators/HTML.php:252-261 | src/Generators/Markdown.php:139-148 \u2014 before extracting anything, compare \u0060src/Generators/HTML.php\u0060 and \u0060src/Generators/Markdown.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/HTML.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0d3aae9dbb39341c55610e0d1524236c3284d298186c56f4e5915bdd89fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Ruleset.php:1072-1081 | src/Ruleset.php:1098-1107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a366ef0e631e77225e36d2051d6e2724a08dde510977077de88a6334c436560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:75-84 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:90-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"52377734fa5f0342268eec9b57ce93ae43aef90ca49d41a3d6fb63a25e2a5782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php:63-72 | src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:53-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9080100f203e50d122d531ef5b14b6372625312a43a57d7c5a09d183ec804a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1213-1222 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1280-1289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d0c566d362fd430337fe9d391b74d51a6907034cfd2a1ee5f1a2c7d0a6f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:112-121 | src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:255-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e42749de419059da7bacdad197e45e10cbe2b413ba2ec2748b4f5fd9a1165f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:128-137 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:124-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e70aaf327eac20f6308086fd26081a3802de0fc61b19ec5d07fd2271ebe398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:333-342 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:766-775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9bece8dae05830d384ee91bc31e7781118e91a701317297cce72c3cfb61721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:313-322 | src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:357-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:313\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9627a1e8c4ab89507f17d0692e22ebe47473e6fb88a2383f0dfa9ea54426e86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:56-65 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:74-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8a2d22f8944b5b5672ecf87e05e53c55785c1b5ec878f4036f0e5762a0e2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Tokenizers/JS.php:1074-1082 | src/Tokenizers/PHP.php:2436-2445 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/JS.php:1074\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Tokenizers/JS.php:1083\u0060 calls \u0060str_repeat\u0060, \u0060count\u0060 and \u0060src/Tokenizers/PHP.php:2446\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab524f43ff9c33f3a4b2bf322bf8d73fbd7dfb9272d7791cde79b03270c667e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Tokenizers/PHP.php:1365-1374 | src/Tokenizers/PHP.php:1400-1408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:1365\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ebf4dfaa502cedbbd4221ea71a2bb5265b46baccbbc43fed3b47919e3181a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 8): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:439-445 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:112-119 | src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php:62-68 | src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:148-156 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:207-213 | src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php:127-134 | src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php:71-78 | src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php:191-197 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:146\u0060 calls \u0060addNewlineBefore\u0060 and \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:438\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431e59b98e4c66e144bca3a1f8f7ae2221954acaa324254e7d3c4ad38fc6122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:91-99 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:164-172 | src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php:155-163 | src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:312-320 | src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php:109-117 | src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php:142-150 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:249-257 \u2014 there are 7 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6799eb50801c5c70aacd3f8bae3fd2f8e333993606faad54dfbeb68df5dfcc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:57-65 | src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:75-83 | src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php:45-53 | src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php:62-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c65a8d1fcbd0117bc72364f8756754e7ca98df5eeb6abe1f6871504ef99f13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:61-69 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:93-101 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:148-156 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:181-189 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:146\u0060 calls \u0060ltrim\u0060 and \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:91\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6a157d8c82ffa928ae292f27cf2ff90500d156b59da22f240fbed375b6bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): src/Files/File.php:2250-2255 | src/Files/File.php:2468-2473 | src/Files/File.php:2580-2588 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Files/File.php:2250\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4028d6514a74dc6be8f3f3904433c3290b92db836f2635e4c3ab9d681424d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Fixer.php:442-450 | src/Fixer.php:499-507 | src/Fixer.php:614-622 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Fixer.php"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7a14598b7fbf806f4c17362d1dc77010fd930e9e1fa9f1688052fab7269a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:65-73 | src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php:46-54 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:68-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d43db23fb9284d1c8e919d5ad1191f619a961521c1f535ca5f36fdd2091304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php:94-101 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:85-93 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:109-117 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8343b9994256ac2dccb1d15bf19475dd9baef1bab98296f3e9072f7a5182a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:128-136 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:124-132 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:363-371 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd72989c80dcd03e31468176e1820154c69eb905b8724c6e363804d57f9dfe9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:207-215 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:264-272 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:321-329 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1ebafd14bccaae09e4b6bed3887c52b3424f8065175e3d31c242340aeda959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php:86-94 | src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php:73-81 | src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php:128-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f981517687379354bd072f9336994a2413ff960af14b1f07d21154fc9cd4d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Reports/Checkstyle.php:45-53 | src/Reports/Xml.php:50-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Reports/Checkstyle.php:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Reports/Xml.php:47\u0060 calls \u0060writeAttribute\u0060 and \u0060src/Reports/Checkstyle.php:44\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Checkstyle.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4704dc740eccb883967bfdc83898d3490df9c7abe46c37f2e9d212f25b0c4bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Ruleset.php:1016-1024 | src/Ruleset.php:1388-1396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Ruleset.php:1016\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Ruleset.php"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58f27c90faf5d9e540eb0ed4753b8eb1a25edd1368a16f2301372f7b7aa1ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:123-131 | src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php:85-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"913da140b2829eed0225f87da675689debc10c4fa7285aca20e7d6deaba42bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:73-81 | src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:240-248 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e3a8e330a9eb4b6e23c73762db34624fffc25a06a985e55bdaffafc8b8c769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:99-107 | src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:120-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c9533ffdf34d420a80beb0a6819a85b9237120f22d2081549ae08a91d0017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php:146-154 | src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php:86-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"647b9a1c4cd598b2fa53bf07476f8e7231dfbc95530027c7b1d8b3b86c4fdb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:92-101 | src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php:88-96 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 and \u0060src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d9f9f015e358f7ff7569bc0f0ed43f6cc6ebb29f1a4c030bbfbe77c17df77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Tokenizers/PHP.php:1048-1056 | src/Tokenizers/PHP.php:1729-1738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:1048\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de2c1e1e14e344c999a128dfeb70ebf36ad0362f01b049a7794e4623899675a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Tokenizers/PHP.php:1356-1364 | src/Tokenizers/PHP.php:1391-1399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:1356\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42ecc29ba1b2836be35d6cacbbb69d35b8d74e1d7b444cebf9db0d9e2960761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Tokenizers/Tokenizer.php:336-344 | src/Tokenizers/Tokenizer.php:374-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f906ca741d9fe09fad5bb945d091c9b7c9b893f774096e90584326bcae25db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:204-211 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:292-299 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:362-370 | src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php:250-257 | src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php:331-338 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:213\u0060 calls \u0060str_repeat\u0060, \u0060addContent\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php:340\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"541e38777483210ec6f5d24ee254ce0ee23a55ff19e7e13e9a3979bfdaec51c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:392-399 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:465-472 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:543-550 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:655-662 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:76-83 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:392\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:651\u0060 calls \u0060processUseStatement\u0060, \u0060getTokens\u0060 and \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:390\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"762451d836856abe52034f00ea366870a356d04d3ace583ec4675803902ab75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): src/Files/File.php:2249-2255 | src/Files/File.php:2390-2397 | src/Files/File.php:2467-2473 | src/Files/File.php:2582-2588 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Files/File.php:2249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b464058ebc96d1060dad2241ef205f6ca7f6da86bbd4a4b88aab7283c67f6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:125-131 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:143-149 | src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:177-183 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:106-113 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:135\u0060 calls \u0060replaceToken\u0060 and \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:115\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"29afef1348ef7da337e50210a7320b09b93cc6f779144352379e179e4dc745a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:196-205 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:171-178 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:208-215 | src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php:70-78 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da7773e2586515f68e1cd7c718f55188f24b68cfae8cb2c1e44f0fe07b15caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:311-318 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:239-246 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:343-350 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:311\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e200bfcab0ba712385477f033c6779be7970bd12dbefb051aecb68d14f4848e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:71-78 | src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:81-88 | src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:238-245 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:79\u0060 calls \u0060findNext\u0060, \u0060in_array\u0060 and \u0060src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php:70\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ce92e1d74bf224b804fc2b509d57765644140c8691302d3ade2e93469a77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php:55-63 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php:119-126 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:89-96 \u2014 before extracting anything, compare \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d758f62ee01d755208f18a275d05138102da36b6c77e9e53d7cd801b319f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:321-328 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:427-434 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:505-512 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:321\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"013f9e3370bddd050731ece8ffa9d2b9a5a8f1ea7c5dabfb6c7d0ada3da6739d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php:49-56 | src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:141-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6a88dbbe42e3e9c55a88453b73f555a2962a7274c81f7e300f459b1f1738d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:355-362 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:594-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71cedece320935a7cc52fb2557c8f67914cfe63c1af6ac50ac65d3704ac5506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:383-390 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:583-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea5afed613fab2e7d27d6036c194dba7070c44a3d075b63abfa402f58d1a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:155-162 | src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:210-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:155\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f781eaac39ed3c8ed0a06e0f20e5b59e27d762140afd53312bcd848b7596fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:156-163 | src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:191-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d785dabf6c66dbb25e4532387c159c191ebc9c042a0e0a6e89e4e0feb8300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Tokenizers/PHP.php:692-699 | src/Tokenizers/PHP.php:2166-2173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:692\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf38c0d768fdab65285c5346872a9de907b7d37249bf7d867f18098cae03516a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Tokenizers/PHP.php:2869-2878 | src/Tokenizers/PHP.php:2924-2931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:2869\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315587a99a74b74ac953ce164065f5159f7c7895cea01d3b36dee31f540f046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:445-451 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:483-489 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:523-529 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:561-567 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:94-100 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:445\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"465d4365b72e04e65fb4d0cbfb80ea8337c18ddb75f1ce5af8b9f24c8b202b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:340-346 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:451-457 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:529-535 | src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:76-84 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:346\u0060 calls \u0060endChangeset\u0060, \u0060replaceToken\u0060 and \u0060src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php:84\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc624eed64952eeb334a2020ee810ccc236f73375e0525bef52f27bc3ed842a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 3): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:168-172 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:438-443 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:111-117 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09afb807f7d6bb03f3a435d7df39b6c20864546a46a3b6bfb7f389cb4cf544e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:96-102 | src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:90-96 | src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php:94-100 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php\u0060 and \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:106\u0060 calls \u0060recordMetric\u0060 and \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:100\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"52576a603df962fe48f6fec4f9b315cfeee9c3f7162d81a4745f0fb05123558d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php:48-54 | src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php:43-49 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php:55-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6478f1d52640823129320ef1db6d86e23b12702d0b6858903161a248dab981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:474-480 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:552-558 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:85-91 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1b8bb5e2f70b2f291f45be485241054023ea41d4d028d3241ef69be77ad2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:256-262 | src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:316-322 | src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:360-366 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bd126dbc9a6ded308f71dbdc96df038c99c4ce506eea6c9035f6a419e4cd25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Generators/HTML.php:244-250 | src/Generators/Markdown.php:133-139 \u2014 before extracting anything, compare \u0060src/Generators/HTML.php\u0060 and \u0060src/Generators/Markdown.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/HTML.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ada0ba984ba6874a8690197c36429e666a92985e707041d99705d97167226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php:289-295 | src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php:351-357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2abd4108321f8f7768e34b8ec22d5dacf01cef5f72d7691f8de2401d1b6749f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:309-315 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:206-212 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:309\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec313cedf2915499ff5d359d05f610f2cb982a01e214304748a651c495f5a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:182-188 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:382-388 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c94d4abfba5d49ee3b6edcc787b59649b5c18a4c9e0ce79f008d38d3120aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php:204-210 | src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php:234-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"857c8a08c180f7563ce738344a8abe64f0c488c4bb03dbbc3a2b75251ff86723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:80-86 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:122-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"544fbe48732ab15942d352be55db2a756fc4a573860a17d74e4b94d9092314eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php:77-83 | src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php:78-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ecaf8f20b2340aca77b3e85e50cb95ee76ab433153ef300abc1c30bf1e9364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php:108-114 | src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php:195-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb313367a5b8fb63cb1c28e723186d920ee073179815a1fca83a46b3162ad77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:210-216 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:345-351 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php:352\u0060 calls \u0060addContentBefore\u0060, \u0060str_repeat\u0060 and \u0060src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:217\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaeb8724d9bc33f44a8e9387284d2569e1c38ffd87ad148f5dd6e1232dbc9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 2): src/Tokenizers/JS.php:1072-1076 | src/Tokenizers/PHP.php:2469-2475 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:2469\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a31be5cebfbe803d997b965cb38d5e962791854a0af0c74aef72fc30f74e582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): src/Tokenizers/JS.php:1088-1094 | src/Tokenizers/PHP.php:2450-2456 | src/Tokenizers/PHP.php:2504-2507 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/JS.php:1088\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Tokenizers/JS.php:1095\u0060 calls \u0060str_repeat\u0060, \u0060count\u0060 and \u0060src/Tokenizers/PHP.php:2457\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/JS.php"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2556c223bcbd24499f270c5d816916ce749384d70eefb3629bc4cb3d2a2d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Tokenizers/PHP.php:2433-2439 | src/Tokenizers/PHP.php:2520-2527 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa6855b6b2001a65da45d87ba8f17aa0c9f6b8331b08bb8d8df6aaa72888db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Tokenizers/Tokenizer.php:1542-1548 | src/Tokenizers/Tokenizer.php:1633-1639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe7e58739348a40d28dd72fe5a5b2799710081b0a7215bdfebb61752eaaf2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:126-131 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:144-149 | src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php:178-183 | src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php:93-98 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:84-89 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:107-113 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:135\u0060 calls \u0060replaceToken\u0060 and \u0060src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php:100\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c742073c1b87c2df2920900e9a5770ba431dec0ae88fe8d9fc3708ac564df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:99-104 | src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:93-98 | src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php:97-102 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:111-116 \u2014 before extracting anything, compare \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php\u0060 and \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php:106\u0060 calls \u0060recordMetric\u0060 and \u0060src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php:100\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e211c6bb313a12c79f13533b33c0caa103eb30b38e3569a066484f304c7cc449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:149-154 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:619-624 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:161-166 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:123-128 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c0991d2a4d0bf556d0cdb3cc90e85ad77cfe0c431fe3a55dd213b675c46709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:92-97 | src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php:103-112 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:325-330 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"406dc81fdd9b3943205c1f3d06dd35970b9ec5e2a6ebb6db5a43f2a4e7ec5550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:77-82 | src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php:77-82 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:289-294 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a2161809822a37c56febbc12c7a6016e4f3534702d80bea1b308328c9aa3f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:152-159 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:622-628 | src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:216-221 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ceb2230dd9d41d3b00daab3de04a5de1acaa01e5ecfc79db00881d371a859b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:92-97 | src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:106-111 | src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:120-125 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa66d7f83c73e156503a2a3822465db6d2998f3b7347b1d595256ab42a4cda93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Generators/HTML.php:238-243 | src/Generators/Markdown.php:129-134 \u2014 before extracting anything, compare \u0060src/Generators/HTML.php\u0060 and \u0060src/Generators/Markdown.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Generators/HTML.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f471f5a229a4d36c80b97b1f3f8a7b71125069a16833615190ef2ccba19240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Reports/Checkstyle.php:50-55 | src/Reports/Junit.php:62-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Checkstyle.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1581468c81ca55d8121d5bca93098ee6e2107629bcd02f57592e5c20aa0a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php:99-104 | src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php:303-308 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d3dec810d0187af6ec38851c883da1e5c1c9fc583cc337c99b739bfae8c399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:130-137 | src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php:58-63 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"364acb09e1f8427c056534d231ae77b0e05fe61e71aadd665888cbfb1a5df89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:156-161 | src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php:86-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b02b6b750de5d918489cfbb1fd942f653518d97825e481f6547faf56e4ae2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:142-147 | src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a9954e9264da815ef45aaf71a0cfc9373700d24c8d2ee0a99d33ca08b0f645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php:101-107 | src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php:321-326 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"43367930be510ab9899dd63839dfde7d2bc1803075bbf5621019e7a54efcd4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:357-362 | src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:618-623 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"518edb06342783e22a56243a0ac1c3240cc0918f5bb65b37ac251db7c3320a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:358-363 | src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php:82-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php:358\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3f37cb0437ebf006bb17bfb10f791493c6e97e0be82d90ce99627b64f316e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php:44-49 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:60-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d89eb6053cbe76dbb6353dea47a6b9cd4cd43089a680e3761117d36d8fc1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php:66-72 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php:77-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b08195f828cd2dd8539656d5e119b1b13337dfe85b95ac4a97e6be4baef6ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php:130-135 | src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:95-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2667d803cab1c41ac5b8d748708833553a0e2a5d51dbe9d0c7f73214b7b72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Tokenizers/PHP.php:3127-3133 | src/Tokenizers/PHP.php:3162-3167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Tokenizers/PHP.php:3127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c35f03508c259ddc532088da880c3475a05750e73dfccaa1ff417a646ce265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:166-170 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:200-205 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:289-293 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:436-440 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:109-113 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:142-147 | src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php:167-172 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:93-98 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e714f9e2098f8e9947b47359fe9c9801ecbcd89e0aec34edd2dc1a69e01f4d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:166-170 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:201-205 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:289-293 | src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:436-440 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:109-113 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:126-130 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:269-273 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69226237cc9327a79fea898cfe2defb451dfb74b4791981d4b45c73a8f7808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:124-128 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:165-169 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php:69-73 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"780f7e2de1dbe92945dfabdfbd0717fa28c0d4dc1d813730af90548c40954235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:165-169 | src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:288-292 | src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php:69-73 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa28304bc7e52cb0fd7ff6d4530c178e36f2d8d05be4454ee23a85924f4a13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:263-267 | src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php:168-172 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:179-183 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php\u0060 and \u0060src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b1620f9c3a391073a9ba80518d944cd8542f9d565f785a499317d32efa372e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:202-206 | src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:72-76 \u2014 before extracting anything, compare \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php\u0060 and \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php:69\u0060 calls \u0060getDeclarationName\u0060, \u0060in_array\u0060 and \u0060src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:200\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bca9a0df4f011e7a889ac2cc41d928be8b84a6722da4877f74d885a138b27c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php:226-230 | src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php:76-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"166826cadd3d0a3c577d599ad399932eb68dfc205ab2cf182158dc9c276e81b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:216-220 | src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php:93-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"616c48dec8fb5b890c47014ad4b62f741c2f4e238bbcccecfb03492924103a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:232-236 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:242-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822dd12f2a30636e2491ebd124e0d4b1f9f9fb4d6894b6f1bf9cafa9bdbafa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Tokenizers/PHP.php:2672-2676 | src/Tokenizers/PHP.php:2681-2686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163b315ce392d09a03ec1f1f43c07807ff59531946889a2f9b4bd2951321b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Reports/Code.php:349-357 | src/Reports/Full.php:218-226 \u2014 before extracting anything, compare \u0060src/Reports/Code.php\u0060 and \u0060src/Reports/Full.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reports/Code.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8508f740f7003fb3cfa817859ca22fff52b0ad828b3f3273f6753b1cbce70b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Standards/Generic/Sniffs/NamingConventions/InterfaceNameSuffixSniff.php:41-49 | src/Standards/Generic/Sniffs/NamingConventions/TraitNameSuffixSniff.php:41-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/NamingConventions/InterfaceNameSuffixSniff.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"02244c4f07cf0d62bee3596bad8f4586f8ead71f52c3598995238960ec5bca93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Tokenizers/CSS.php:34-38 | src/Tokenizers/JS.php:263-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/CSS.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea28357b3e214dc5844594360e43ef0714b1e67542262190de0c60bc18dec92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:236-240 | src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:1048-1052 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d023d619914f15d67ddf58d8403aedd853bcbdbe4a180388080c946d4a0ad6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:202-206 | src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:245-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4b2cf6d59757549bc541513bc55e873d7c3cd92c981fe89767ac401aeb252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:144-150 | src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php:179-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6230314d430e686a12740a8a8917b7419bd7101cace43d24f8059fdb46753879"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"65102fab6f08bc6208670d4bb2590258941ab77d7d70f1ddbeb50627cc327838"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e674eb442bdb75a354a4a6e0e77df757a074a93f3fe7e436c70e74843f3384c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d09b0048b038656a69e60890352d2d3ad67df73fcf5eb869efedaf07b09f850"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eeed2415817f281a01cfeecb350410acfcb64a379f7a27e461723094657c1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb934caba0672862e3faf7cb5a04a72da227772b59808046468b9f0f70771f81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a215aca6b287c89406a1f0871a236557c691737f563204ed84a8216759b113b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d390afd9483f7e05698d0f0f6b0420344ad553d90ff44aae337da7eff7e61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c7944f000d279971b92cc982050d06a970f75713c28ac352f2bb9839f5d59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a6d86329254f160e6d168e03c2e48ebd15476f09e55681f50940f089463413"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a58521482cc1fb919562eaf5e24429eb39b770612d02192221f545fd59f2d83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9574008adaf1de909ef5b3cc655086e51cb2ade9e87446a908c2fb1ad83f18d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfce9290dd432547835cdd407a62d5ff73fe14353d8c2e7fca23cba95cda2001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5248b9ac6b3b6ef310bc52dfbcb9290ce4e77cc32c8bf0c4b3171f4dcf018"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccafa24cc5779d0c3d10c4bbdc7a778675a81109524c53194cc21348cc28239"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e7f63633d7dfa7fe6aa809a6164fa8d3c23023495d58ce05aba773bb13cf13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f705c41a4da3c83cf69871899404b9b0390f3f3f5ac81e8706c75bdb1537421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e784029fdb167a4849c4c9491312b1d69a660fb13ff3ce5ee7e89b042c013ec4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"81512c5d790eac712a7bc4bb80f13a7308a191d33f9a0d65a52f61ef9bceaf44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d7ca5152faf77bc798fcef7f07274194c53c6b2ab92d98fd21e75afeeb2769"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4c8eca7b68e0302a671a7df14ba76fd7b9b1bf5a63709d07c4a44b28f2c02d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0a246892129e4ba50dcacc6e12266b3833d9733f3acc4cc51a59cb9b505da1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb79872a368211594b2e10ee3c0c4afb5baef23345813a6b894f7c6b99700e93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f489f2c89b12bfc2cb3099ddd3dfe0c93eabd0764a66dad3fd4eef16fea62c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f457b95a8871f838c13c6ea70ee41f1aafd5a2786e56f3a8420a46fffe90fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dca6e60540c387b787c23242b23371736e28c1d22efbaea41856f9a2974719"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"3232084880181890a8c021860ac428b2e977b55f56532881d155496226472099"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dc04e9ae392885b1c5a682e5aa799f454dc3901a9da09433abb5d62d21eec6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c08db0e990eaab6fd0127037e5d58d9ddc6294dddb2901eb195128c7814ba0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d24369b232640a3f5dbdadccdf7685e2332b8ce2b8265b7c24931e419bf0dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f4005025c8bdd8232ba4bce914f6be1af761d10546c1cd61bd33e8486b3c26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b20ccb191e26005ef5204d69d76db20b15e2d379d9e96a2f330b867c310c37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89ff35983ca95a1d5cae32771cae44b71feccac75faf3f70c104f781d7c325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60095ad41ed7494d77005b8db7bf0264c9600ded323da033fed6cd3476a75a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4685d3e69e00dfb243871a63f8e7d8f2c703abbbd06336c1e6d207f4275ac275"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"573fd50fdfd8a21b51edf06762bc63df501056ea9cfcb95c5b4b5aa495b6dc09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fe64cb49841bbab50fe7a8478887d58a0c4932b5ac7be5f875481fe045d16a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: write some code\u0027, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Core/ErrorSuppressionTest.php"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bdf56cedd03c7d283d4f1db9fcc4c317ddd7190d7b2a7a8832c2c2b7e2f75e"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The only visible document is a non-constructive abandonment warning that links to the successor, with no About or description of what PHP_CodeSniffer does. Add an About section explaining what PHP_CodeSniffer is and its purpose."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The document begins with a non-constructive warning then proceeds to install instructions, but the visible content ends at \u0027Then test the downloaded PHARs\u0027 before any real installation or usage examples appear. Complete the install/doc guide by adding usage examples and a Getting Started section."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 95 % of calls cross a namespace and only 1 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d9d7fe28f38b85a0347f22807ae4bdaa383e1ec37067f2fb941d004913caa11"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1e623f95c01da2de1632e639680a10378ca821b48200e0aebf9db2d85850ffa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2120456c44a525b148c56212034931d84ca15818986bbbc695de9c1dd197e2a2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1779839bcd51cce5b41a2dda8843e86fb7e36b11ee53be0b9527a0a8b0b6788e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"665e0d59096b3365bede088e78be78489d168c85ea6d106abf79e1c7e403cb74"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3659b2387560502ae5ac5cf36c26b95f4401c5f539a8cfbfe53fe733f6fada4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79bb20d467ce7a6c952c54bed4d559101ccbc31d79726b663f0da46d80b86fd9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21325e8a3c44d5fc4ba80d2f13b92da90a9fd0880ebba523aa66af9303177c4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99ebcccfa38b9a452447c060e29c7d39352e770362315c54bd2a77f6b72448d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"520af00bb2d46b7948e2061a6294ddcc65a4a5b0c34384fb5a696cdc3449e0d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c2bb6e48ba198d464ab91a1bff4548c621984de3f57f09feeb3a586b65963ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcec9573fededa9369d7813dddcc301f4be53fe41f0f0b994d443aa6de24b14f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b28dc6b73a0d0924ccbdb08cc545199979680559697b0ca7cdb60647100bd2fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"377d1ef34a200236ae2b695b21a7040932abc16a3cb2597b618e145af5169315"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad802125a4a401fcc72dd926f520e28347e5b710636c8418e0301f554098ab3f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"930204f24cb2ec2de9252a118050380ad4615c6d78ce74000ccdb6a47eabf40f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd9d3a0b8557434cfcfac1a48426dce21cf0aca40c1b7e4949c3c1a965c841d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74e96b61127815402dc8b13a22a3c5371a09456acfa43336d0c0de263f2aca25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"555938bcfde03627b0402bb4b836a13f4e831a892bba1babdc8b8b6f1ba09a41"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422954160874218e90ad7114b335af1f81200d0f030e499fbf869192275c8ecf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41c30098900859e8fccd265fb940724981a844b164b1d89d4b88fe62ca6b58f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12e6dc34d5e387fb6c96542b090b2fc304d15b2fab4dc0a1e7303a470cd53158"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd5f506a928a7e011c496255bcdc7fed91fa2409528023d7355928c05d693a95"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47de8979437f92d70c2f8c5abc6ae78618ae1be0142ea0d92c15364c073007a3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2806ef891238feacea37375d214e8a9f6c9a89f9257547689b15c1bb3bd3f9b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97011a7cfbf280e4d67de75acdf2916d2182f41d104e7ef8e5c3bef387c75b47"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 223 of 223 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 223 separate risks. Counted over 223 of the 308 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/PHP.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c0aae7f585d804bd54263bbd30b41e9a1015c6cad0cb2e8331f52e377e035b"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files/File.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b25255cbe6dc3c72cc75ca7e10e401dbf8499dee798ecd32b83e55c87e018e5"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Tokenizers/Tokenizer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4288005b14f457339a63220e4fe63a6748788769ad2f391cbdc181cf44f5f97"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfa852b10b1daca743783c7e9171073f8e8df646fce30a8d2c962f4ce5e84903"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M1","level":"warning","message":{"text":"Repository declared end-of-life: This repository declares its own end of life: \u0060README.md\u0060 line 2 reads \u201C\u003E This repository has been abandoned. Its successor is [PHPCSStandards/PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/)\u201D. That is a first-party statement of intent, not an inference \u2014 the Maturity and Knowledge lenses otherwise approximate the same fact from decayed commit history (D16 reports a dormant codebase, D34 orphaned files), and this row says the maintainer already told you. It does NOT change any score: an honest end-of-life notice is the README doing its job, and every dimension below still measures the code as it stands. Read the whole report as an assessment of software the author has stopped working on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e004c35cfb0f545005a1751b408088865c81b7248bb65240c7771e85dff66d9"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"CWE-269","shortDescription":{"text":"CWE-269"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":29,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}