{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"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":"Xlsx.loadSpreadsheetFromFile (cyclomatic 314): Xlsx.loadSpreadsheetFromFile has cyclomatic complexity 314 (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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5c856f6a41b61705198cec1cfc0b7cca5126d25d238bff0bde49847747c4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.processTokenStack (cyclomatic 203): Calculation.processTokenStack has cyclomatic complexity 203 (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd4ea595ae38792b689e077ede65243811b810ba57a0e3bc7ba50178f8ee0b"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.internalParseFormula (cyclomatic 145): Calculation.internalParseFormula has cyclomatic complexity 145 (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52b5daba83f8b7eeffbe70159500e3184854bcb01b2d665a3e7aee0b8afe049"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadSpreadsheet.loadSpreadsheetFromFile2 (cyclomatic 140): LoadSpreadsheet.loadSpreadsheetFromFile2 has cyclomatic complexity 140 (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/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6d1a7254e193dddc12a49b7faa2c461f4ecdfa5319830174490cde1058921c"}},{"ruleId":"D1","level":"warning","message":{"text":"Xml.loadIntoExisting (cyclomatic 109): Xml.loadIntoExisting has cyclomatic complexity 109 (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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4f03bcc41153c626d0f1ec6eaabb6e44b9e1d56ebc0322778e3176b6c82e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.readChart (cyclomatic 104): Chart.readChart has cyclomatic complexity 104 (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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"61405e6a66820a32af38c9d9660e2955b446364e8d043ce24d760c11f09810cc"}},{"ruleId":"D1","level":"warning","message":{"text":"FormulaParser.parseToTokens (cyclomatic 96): FormulaParser.parseToTokens has cyclomatic complexity 96 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/FormulaParser.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3ff19694b548166203285c04ee594c33087298eb42f59cf7f85cfb35b1175a"}},{"ruleId":"D1","level":"warning","message":{"text":"Ods.processTableRow (cyclomatic 91): Ods.processTableRow has cyclomatic complexity 91 (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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a0746bd60cc0d17c4068d6f90a490423d490fd066ce05d23de3ca7cddb583b"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writePlotGroup (cyclomatic 88): Chart.writePlotGroup 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73933220f7459ca29a63e20911c4a6441b91d8f0a2c6f4c5098f8f512a10e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.getNextToken (cyclomatic 87): Xls.getNextToken has cyclomatic complexity 87 (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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2ca8b78c3093bd39b393756cd79a9c27a98c6a070ba41fccea757c77faf7d8"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeCFRule (cyclomatic 86): Worksheet.writeCFRule has cyclomatic complexity 86 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d4f342328e3c552ce655a15be5e82b355df3b1c808c66876adc96d7b1f83fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.chartDataSeries (cyclomatic 75): Chart.chartDataSeries has cyclomatic complexity 75 (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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fba9024a2de56e29a451829a563f3de191058ab0c1600d87dc9ebb23ef1e3c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Ods.loadIntoExisting (cyclomatic 70): Ods.loadIntoExisting has cyclomatic complexity 70 (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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f12eb8acb155123b9b264c31027a49b164c6b82b6c550ffaf041bf7e83d643c"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.applyFromArray (cyclomatic 62): Style.applyFromArray 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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a25719bd48ddf438e3cc09ecce189bc29a71bb32c95a53432c1091a6fb1f93"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.match (cyclomatic 61): Parser.match has cyclomatic complexity 61 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"e806c4ad8a5ae494b0fe73868191eb3911c37575d0cad962d1ff16971efaea68"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.generateRowWriteCell (cyclomatic 59): Html.generateRowWriteCell 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c39d05e69ad22f578111982d8b1dd48fb3bdfb2486cad3ff32b43d810dfa6"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.createFormulaFromTokens (cyclomatic 57): Xls.createFormulaFromTokens has cyclomatic complexity 57 (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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2bc639c7a5178a05603c38f3eaef9e73dd8a0e6c7f4ffe0bd5fd99d231d544"}},{"ruleId":"D1","level":"warning","message":{"text":"Cell.getCalculatedValue (cyclomatic 56): Cell.getCalculatedValue 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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7590251b3e38b964eeadbb8f5e8411468ccade7a5ecbe344b6e1b2a317c475"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentTypes.writeContentTypes (cyclomatic 56): ContentTypes.writeContentTypes 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/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"01372d2b7acd2e8cf00f7dfb9ea09577e6e11fdca5208abbe440a91b021c820f"}},{"ruleId":"D1","level":"warning","message":{"text":"Xlsx.save (cyclomatic 51): Xlsx.save 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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52cdf98cec7af4aa805e69a2d61d7e3f9a81cc913a67370be2117f13cbec6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoFilter.showHideRows (cyclomatic 50): AutoFilter.showHideRows has cyclomatic complexity 50 (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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"182a9cba78662297a69d7d2c4bf273ccadb14cc5a6a2ea0f0da2ad4a1c81727a"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.close (cyclomatic 50): Worksheet.close has cyclomatic complexity 50 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"256d427993488c351e3a099a4ab831091b9d530c7ebf4b0d5fd2a041c58e252f"}},{"ruleId":"D1","level":"warning","message":{"text":"Xlsx.loadSheetData (cyclomatic 48): Xlsx.loadSheetData 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b797d65de2051763f34efa277c3df214a88a3e2f698d8cf7e8cc8798076c783"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writePlotArea (cyclomatic 47): Chart.writePlotArea 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0f139e5bb56d81924445639f45ec3e8a8a30d2ce3a0d9c9aae28c79a693564"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.applyInlineStyle (cyclomatic 43): Html.applyInlineStyle has cyclomatic complexity 43 (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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23a34980f0f7dfa3a901b4fe1ff91e4c93d114e087c310c77b7d22c4febeaf"}},{"ruleId":"D1","level":"warning","message":{"text":"AgileEncryption.parse (cyclomatic 40): AgileEncryption.parse has cyclomatic complexity 40 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebeea9173ea18d7b40a8d757a708f830854fadef02e898bded2e1ceb81cbb59"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeSheetViews (cyclomatic 38): Worksheet.writeSheetViews 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"90183e3fdc39176356d2021fc42c18481eb608854129b52166ae6fb6f32ae018"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.parseRichText (cyclomatic 37): Chart.parseRichText 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ddb52372c10d8e5872a76e884aa2d3a47f654c9528ad81906d06549e9f581"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceHelper.insertNewBefore (cyclomatic 35): ReferenceHelper.insertNewBefore 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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabc1fce5880e56cb34b65fe332901fb3affc941b4baa7cf766d65a1450338d9"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrencyBase.format (cyclomatic 35): CurrencyBase.format 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/PhpSpreadsheet/Style/NumberFormat/Wizard/CurrencyBase.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd0f6c9cb759f92fddb34a91f3f01475cec3902773304e98d1881d1e4c43053"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeSheetData (cyclomatic 35): Worksheet.writeSheetData 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3070a114194ccd0525d7cae41e1f3355c5f1f382624af3ebfda668895d5061"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.executeNumericBinaryOperation (cyclomatic 34): Calculation.executeNumericBinaryOperation 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a89a2ecbc905b5c5a33de9dadc9147891e7d8a6876bdf1dd3313ec103eb54"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writeValueAxis (cyclomatic 34): Chart.writeValueAxis 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c9f335f8cf99eb42b7e6a4fbd804afc95051ef24e748cb273ad662070b2af3"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoFilter.filterTestInCustomDataSet (cyclomatic 32): AutoFilter.filterTestInCustomDataSet has cyclomatic complexity 32 (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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5477ff162f9f6b8709de6f2790f8e8135518b00f3dea2472cfbe74d3acff4"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writeCategoryAxis (cyclomatic 32): Chart.writeCategoryAxis has cyclomatic complexity 32 (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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3341dff85339f470ac239a46b5f1549f6b227b2cd26703ad8738f336cf47dd91"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readXf (cyclomatic 31): Xls.readXf 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7becbff3dd2f10739dce062d55e63b3db09246fb42603d00be67ad7303549d12"}},{"ruleId":"D1","level":"warning","message":{"text":"Content.writeCells (cyclomatic 31): Content.writeCells 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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c69fc3525f175b9c5099af9a98c0f4ee5a198a3517d7d75896e90199727548a"}},{"ruleId":"D1","level":"warning","message":{"text":"Xlsx.parseRichText (cyclomatic 29): Xlsx.parseRichText 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c366a4d6230b30027885cd3ef96094a4eb5bceb9169d0ffa0fe4b1ddbfd7fc60"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.setAxisProperties (cyclomatic 29): Chart.setAxisProperties has cyclomatic complexity 29 (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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f994a64c8fd262ebb5e39248b8ddeb9f9eab2d9bbf3ad05a74c2d8a023b38b"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultValueBinder.dataTypeForValue (cyclomatic 28): DefaultValueBinder.dataTypeForValue 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/PhpSpreadsheet/Cell/DefaultValueBinder.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3225885f28526ea6fbaac06d1ecdb1b9ed1ca6205fcdf0241d6d7679d4d9f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceHelper.updateFormulaReferences (cyclomatic 28): ReferenceHelper.updateFormulaReferences 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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"17836895805e85a89b8da03cd6fa3638a77d8aad5449eef100c3a77730f9a8fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readDocumentSummaryInformation (cyclomatic 27): Xls.readDocumentSummaryInformation has cyclomatic complexity 27 (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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1e917dfee9ea7865d00442a8394c5058741417f814a47cd848b66d7ae8b144"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readXfExt (cyclomatic 27): Xls.readXfExt 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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24d3ec39417cabda96dc7aae9c6c1315740b4e7b9bf6cf765862168199057dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Escher.close (cyclomatic 27): Escher.close 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/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd2801240225d1ec49e2c4b26f1d752c071e18bc497dee39ec440613e8d625"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.writeCellStyleXf (cyclomatic 27): Style.writeCellStyleXf 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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e686bd54cf6d53221bfaaf2ff0345fbf153fd2994b940bbf4ac16289ceae53"}},{"ruleId":"D1","level":"warning","message":{"text":"Cell.setValueExplicit (cyclomatic 26): Cell.setValueExplicit 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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8efcf953e28f4ef3ae2c1e9d23cb2523949718d07186189a9f61cdbd9934705"}},{"ruleId":"D1","level":"warning","message":{"text":"Drawing.setPath (cyclomatic 26): Drawing.setPath 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/PhpSpreadsheet/Worksheet/Drawing.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c31c998ab9543b54b8abbd255660ec7a5759c23240c1a8bfec78ed70c4f590"}},{"ruleId":"D1","level":"warning","message":{"text":"Formatter.toFormattedString (cyclomatic 25): Formatter.toFormattedString 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/PhpSpreadsheet/Style/NumberFormat/Formatter.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8774056bc9f5e912cb51e7396ca8700cea0331c8cf6e6dfe4cb54a0276665686"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.calculateCellValue (cyclomatic 24): Calculation.calculateCellValue 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d203eaafd5cad7f4c9ddb0b46b5ee5d873034f08fd1e5e855a3202a35104d737"}},{"ruleId":"D1","level":"warning","message":{"text":"DataValidations.loadDataValidations (cyclomatic 24): DataValidations.loadDataValidations has cyclomatic complexity 24 (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/PhpSpreadsheet/Reader/Xml/DataValidations.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cdb54b1359b44f3ef17e85f8ff73a6e4701e19ec826f1bd151d460660b73c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.rangeToArrayYieldRows (cyclomatic 24): Worksheet.rangeToArrayYieldRows 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3355}}}],"partialFingerprints":{"codehealthFindingId/v1":"974538f9fc92d7efbebe2cd43fcbfaea5c0cb618db05a97542ac2064bb1b6054"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readSst (cyclomatic 23): Xls.readSst 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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"558be72dfa74800f2d20938561a3644bc01510b2d8f556caf00fc2ff4c6160d4"}},{"ruleId":"D1","level":"warning","message":{"text":"Styles.readFontStyle (cyclomatic 23): Styles.readFontStyle 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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a315210bed64635f0f837b83fb66b902ece7f279fcaf4923031b19775cdd72e"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.parseStyles (cyclomatic 23): Style.parseStyles 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/PhpSpreadsheet/Reader/Xml/Style.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4325e792c195d9020022aac01761ff8421921ba1dbdcf212976e7aa0fab7152a"}},{"ruleId":"D1","level":"warning","message":{"text":"Xlsx.listWorksheetInfoFromFile (cyclomatic 22): Xlsx.listWorksheetInfoFromFile 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"596f7462e5daaec4cbcebbaa0ea071fa04c3290d351cd4fed522cf8b159a8d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgileEncryption.writeEcma376Container (cyclomatic 22): AgileEncryption.writeEcma376Container 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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f37524e6dd8ab1acd975374ec8f7bc6f06e7be7a7fdc275fc3a7b856cb65c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.calculateColumnWidths (cyclomatic 22): Worksheet.calculateColumnWidths 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471e9c4f1a2d5314e68a073760b71082ef8da8f8ddb947b5e5a4ab1815bd538"}},{"ruleId":"D1","level":"warning","message":{"text":"Workbook.writeAllDefinedNamesBiff8 (cyclomatic 22): Workbook.writeAllDefinedNamesBiff8 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/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68ea9973b52e6341ef0820e2759ee94aee6ec6220fb93d81489ee7fd746ae52"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeCell (cyclomatic 22): Worksheet.writeCell 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4557be7d56e7044c4f4708291b6922f8cd5f16d15d634abe3ed9f231b8404d"}},{"ruleId":"D1","level":"warning","message":{"text":"CalculationLocale.setLocale (cyclomatic 21): CalculationLocale.setLocale 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/PhpSpreadsheet/Calculation/CalculationLocale.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7162bc0b97eb4dfb1609472f84366cfa33c92e8c81de2cec08760f8a1d7f1484"}},{"ruleId":"D1","level":"warning","message":{"text":"Matrix.index (cyclomatic 21): Matrix.index 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/PhpSpreadsheet/Calculation/LookupRef/Matrix.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"131bcf1387b5d62a046c7a21e4e7d24a98ab93f594565d0c7b6445036c1d11c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.loadProperties (cyclomatic 21): Html.loadProperties 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"7222911375693e5f6cf325ef45112280b66d352734a553c4300f6e320b28247b"}},{"ruleId":"D1","level":"warning","message":{"text":"Ods.listWorksheetInfo (cyclomatic 21): Ods.listWorksheetInfo 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b05c2591267df44d429925e0b834185dfc0d4a52ca12e84315b0a9a43d74c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readFormula (cyclomatic 21): Xls.readFormula 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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7717274f89b7b86fd7d25e9b2901e83c6a888e26ab6054389ab0614d203a41"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnAndRowAttributes.readRowAttributes (cyclomatic 21): ColumnAndRowAttributes.readRowAttributes 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/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d68d703e4e9a7b68ab7a364bc479872fb1580e5b07f532a59d41b8230dc77e5"}},{"ruleId":"D1","level":"warning","message":{"text":"Root.saveBbd (cyclomatic 21): Root.saveBbd 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d46d9248488afc8e21c2539cb09f113b40381eb2f36ad98e76a1e9fb3129d"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.generateRow (cyclomatic 21): Html.generateRow 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbdc3d8dc297da0b1e87efeb6dcc1343fd6cacafc9f85017599ed53fdc90590"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.writeFont (cyclomatic 21): Style.writeFont has cyclomatic complexity 21 (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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"440a0a538cc6a6e56af94df5b75d0ea2386b059d424fefef6df18f1d7794c346"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeConditionalFormatting (cyclomatic 21): Worksheet.writeConditionalFormatting has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20452c6e437a4d171a1d1e1aece85202cf66dfd8d4d1e2c78c7fc4870809fc6"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeCellFormula (cyclomatic 21): Worksheet.writeCellFormula 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff46ceb921bba2f0f608b8047eb587475d3e4b0d4c6e987d84bf1fee393a6ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.calculateFormulaValue (cyclomatic 20): Calculation.calculateFormulaValue 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"35034a9e517252e44994aa0e732e65b2d0ad99ac444fad6dfcd8634067a879ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.extractCellRange (cyclomatic 20): Calculation.extractCellRange 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14f8491e5b7f3812e6cb346d7021b4cffcd0dc83387a463529e448bd04b68cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readHyperLink (cyclomatic 20): Xls.readHyperLink 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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf644e2d2b2e90731faf2046c3e2bdb25d253ad1e82d6e0b4403d2bfb1f8330"}},{"ruleId":"D1","level":"warning","message":{"text":"ListFunctions.listWorksheetInfo2 (cyclomatic 20): ListFunctions.listWorksheetInfo2 has cyclomatic complexity 20 (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/PhpSpreadsheet/Reader/Xls/ListFunctions.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2f4f53dc7cc1f29eb01ad3115f3149d0fc55a17c9ec0c6b05988bc5c6f2366"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceHelper.updatePrintArea (cyclomatic 20): ReferenceHelper.updatePrintArea 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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc5c21685bd16c581577d159929a0dfa2598eb7b952fcd623aea2e8d030215c"}},{"ruleId":"D1","level":"warning","message":{"text":"Font.getTrueTypeFontFileFromFont (cyclomatic 20): Font.getTrueTypeFontFileFromFont 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/PhpSpreadsheet/Shared/Font.php"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"97440a650bf639a70f9a750a503e1bc876b9831a082148ebe26cb14056a741ab"}},{"ruleId":"D1","level":"warning","message":{"text":"ChainedBlockStream.stream_open (cyclomatic 20): ChainedBlockStream.stream_open 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/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cee0b3fcfc618167ef51f61a1ff22755dd936cff43a703717c75a61e1bfd5f"}},{"ruleId":"D1","level":"warning","message":{"text":"Trend.calculate (cyclomatic 20): Trend.calculate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/Trend/Trend.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadf7489a0006957805a01397e8a847df9d49b17bb2a7aa4a5316e0581d1e4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.writeTable (cyclomatic 20): Table.writeTable 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/PhpSpreadsheet/Writer/Xlsx/Table.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d81620ad59fce75d3d76cf9f59011035d3655148cef1a6c7138123a2273fe6"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeColorScaleElements (cyclomatic 20): Worksheet.writeColorScaleElements 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f33af1ca1647154b911808eaa3956cf108b8e4088151887e74f929cd55b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.resizeMatricesExtend (cyclomatic 19): Calculation.resizeMatricesExtend 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eded245c49aa2c0cc3ea0c11103c5d3fe59420900f3dda64968d6bd1ef1de0"}},{"ruleId":"D1","level":"warning","message":{"text":"XLookup.lookup (cyclomatic 19): XLookup.lookup has cyclomatic complexity 19 (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/PhpSpreadsheet/Calculation/LookupRef/XLookup.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"362fb99961b117a0ec244db25d6849d65105e22691aa9a757ad22ae3a92f480c"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.save (cyclomatic 19): Xls.save 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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6fffb1b37e89bdbe33a0b64e4d5d362090e792ac7f8fe80e8a47d472a1ac07"}},{"ruleId":"D1","level":"warning","message":{"text":"Xf.writeXf (cyclomatic 19): Xf.writeXf has cyclomatic complexity 19 (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/PhpSpreadsheet/Writer/Xls/Xf.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c49f4b53a97870729c8d293d0c10d3a23f22b8bc0413e23bff7b8f9439f6c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExcelMatch.matchSmallestValue (cyclomatic 18): ExcelMatch.matchSmallestValue 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/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f56d5a02a47b17e00c50be81c91436ced1d1e922a6c2cf5bf0ad6377559360"}},{"ruleId":"D1","level":"warning","message":{"text":"StringValueBinder.bindValue (cyclomatic 18): StringValueBinder.bindValue has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Cell/StringValueBinder.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fcd99d813dc8d520868097e3d09628ab93ebfba42ef5954be35b18ffdb5f16"}},{"ruleId":"D1","level":"warning","message":{"text":"JpGraphRendererBase.renderPieChart (cyclomatic 18): JpGraphRendererBase.renderPieChart 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. This is NOT this file\u0027s highest cyclomatic complexity: JpGraphRendererBase.render (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7596d3bc193f59c343d30b6b259502bfad68f3f1fe16ab8e8eef2fcc2d8efa2"}},{"ruleId":"D1","level":"warning","message":{"text":"Xls.readLabelSst (cyclomatic 18): Xls.readLabelSst 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. This is NOT this file\u0027s highest cyclomatic complexity: Xls.readSummaryInformation (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3c0a6488702e90c146140a5d0993090b7827ef20213f591c1f74cd587125bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.readChartAttributes (cyclomatic 18): Chart.readChartAttributes 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd50db2e97cf94f3c56cb0cbb671de6f5607415b3aaf739cf5ada46ad864fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.readEffects (cyclomatic 18): Chart.readEffects 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acbcc22e0dbd203f709ad63f272106c2b7eca50cf5daecabe1563c4bd2f00e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Font.applyFromArray (cyclomatic 18): Font.applyFromArray 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/PhpSpreadsheet/Style/Font.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"91250dce623faa82a83ce190c5944188ff1a945aedd2911086dc713b2aa36600"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.generateRowCellDataValue (cyclomatic 18): Html.generateRowCellDataValue 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5845f4b7a4f149d1a57e70323fa87c6e891b0ed414917bd99b43b2fb23262fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writePlotSeriesValues (cyclomatic 18): Chart.writePlotSeriesValues 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c549ef0ef3066b671aea330b4730dbf8ec67e380296b308e191262f998ef7c42"}},{"ruleId":"D1","level":"warning","message":{"text":"Functions.convertArrayToCellRange (cyclomatic 17): Functions.convertArrayToCellRange 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/PhpSpreadsheet/Calculation/Functions.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f58e82280a42dc48a4f0a02b59c310f6bbd50df85d1fe65e4715ea7aee0754c"}},{"ruleId":"D1","level":"warning","message":{"text":"JpGraphRendererBase.renderPlotBar (cyclomatic 17): JpGraphRendererBase.renderPlotBar 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. This is NOT this file\u0027s highest cyclomatic complexity: JpGraphRendererBase.render (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d1b862e9a64f7c2e694ea8347f6cef4c0c453a5aebfdc6365c64decda6a56d"}},{"ruleId":"D1","level":"warning","message":{"text":"Styles.readFillStyle (cyclomatic 17): Styles.readFillStyle 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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e6ede3cf4961f82149d3a7f999da08ed958b8aa4a5ae2b5b71d0d5f5eae66b"}},{"ruleId":"D1","level":"warning","message":{"text":"Spreadsheet.garbageCollect (cyclomatic 17): Spreadsheet.garbageCollect has cyclomatic complexity 17 (threshold 15). 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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9be34d530a1a5f9b80aa59b2e097b4a798e3ad05b959bdf409f1c3e934fe01"}},{"ruleId":"D1","level":"warning","message":{"text":"Protection.isProtectionEnabled (cyclomatic 17): Protection.isProtectionEnabled has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Worksheet/Protection.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23da4a0377fdc57476986acc5f3c19ce612feda7001e8c059819821484a4b87"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.removeRow (cyclomatic 17): Worksheet.removeRow 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaab7f45e3d714c505a26d5214cffbeacb08a8c26dfc71929d71fe5bc4f159a"}},{"ruleId":"D1","level":"warning","message":{"text":"Html.generateRowCellData (cyclomatic 17): Html.generateRowCellData 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab21c05697c402e23ad0ba2f7bfa132a92e98e6938df04384d5d979d19f07a81"}},{"ruleId":"D1","level":"warning","message":{"text":"Style.writeCellProperties (cyclomatic 17): Style.writeCellProperties 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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691fecbe4ded6d0323fd8d29ab3235b6cf43f709fdc1b15f4f3894982101849"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.convert (cyclomatic 17): Parser.convert 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3e06ba2c7eb98f76a4358fc2e50323d8bbd329ba08b0286b7f7f864d4dc203"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.fact (cyclomatic 17): Parser.fact 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf27baaf88ecaba5f3e866ec6a8a546efd69b9b531b2d330ef265a1fc7ac8d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.toReversePolish (cyclomatic 17): Parser.toReversePolish 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a54c452229e427c5d457b3cb92e6eee6b9d415421068671e55c8e5488fa1e6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.writeLabelFont (cyclomatic 17): Chart.writeLabelFont 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7be8049a0b3451d51bb29c3551ce755a202e5f71902489e21c9b127eb2ff25f"}},{"ruleId":"D1","level":"warning","message":{"text":"Rels.writeWorksheetRelationships (cyclomatic 17): Rels.writeWorksheetRelationships 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/PhpSpreadsheet/Writer/Xlsx/Rels.php"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"040ff738d7a281aa394e6ca1787075b47865eb68f6d533f224fbec90dfde1bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"StringTable.writeRichTextForCharts (cyclomatic 17): StringTable.writeRichTextForCharts 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/PhpSpreadsheet/Writer/Xlsx/StringTable.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"534fb6068d47934e2ebde7e7d74bf528b34dfcb2287265d5b437dfde786294e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Calculation.extractNamedRange (cyclomatic 16): Calculation.extractNamedRange 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35814bb5b4649205635b45b4628480d2da1c8e70c84f0cc5f6d400a73a1326"}},{"ruleId":"D1","level":"warning","message":{"text":"ExcelMatch.matchLargestValue (cyclomatic 16): ExcelMatch.matchLargestValue 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/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1444e87b2eff0d8a51baf7fa2746287c4decac06666d6b91926cfdd31533dbeb"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedValueBinder.bindValue (cyclomatic 16): AdvancedValueBinder.bindValue 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/PhpSpreadsheet/Cell/AdvancedValueBinder.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc751aa5131a574658866ce6d2993994fe5c452b529f62e6139e0dbc3a52dd85"}},{"ruleId":"D1","level":"warning","message":{"text":"Ods.getFontStyles (cyclomatic 16): Ods.getFontStyles 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"916d01e8e5f4dee21a43b0f6131714464a908d7162ecc073e47d04213d817360"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.chartTitle (cyclomatic 16): Chart.chartTitle 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d52b62a98f142ae2335c8a0f01d6e4c9e46c4c8daf54bc38338b828080122d"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.setTitle (cyclomatic 16): Worksheet.setTitle 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8f6901390756f0b619c0d0518e5f5ea7dbe42941ba268c6dbc4ff61a14d44"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.removeColumn (cyclomatic 16): Worksheet.removeColumn 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7c222a578ad37d017e509cc0959b2de95cf799ae4ac825bac4716700690d8"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoFilter.writeAutoFilterColumnRule (cyclomatic 16): AutoFilter.writeAutoFilterColumnRule 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/PhpSpreadsheet/Writer/Xlsx/AutoFilter.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"153db40bff31fd3ec08e7c58f438b41cc8da16dc925609da403ded1b40fc3563"}},{"ruleId":"D1","level":"warning","message":{"text":"StringTable.writeRichText (cyclomatic 16): StringTable.writeRichText 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/PhpSpreadsheet/Writer/Xlsx/StringTable.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71ab8d7c953de67d53f28c520f3634a62cab80e2b4afd4b372e04c9990f7f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Worksheet.writeDataValidations (cyclomatic 16): Worksheet.writeDataValidations 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22bbb5d51eab49ee6fee468562ffdfd860da72ccf1c5c44947b77d09c864c85"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.loadSpreadsheetFromFile (cognitive 1747): Xlsx.loadSpreadsheetFromFile has cognitive complexity 1747 (threshold 15). Drivers by points: if/else 190 (1342 pts), loops 49 (304 pts), boolean chains 48, match/switch 7 (29 pts), ternaries 3 (17 pts), error handling 1 (7 pts) (nesting depth added 1449). 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"313d78d290ef9da14061f354ff5c718585a530b4632e013534abffdc87bc33d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.processTokenStack (cognitive 629): Calculation.processTokenStack has cognitive complexity 629 (threshold 15). Drivers by points: if/else 129 (465 pts), loops 11 (48 pts), boolean chains 47, ternaries 11 (45 pts), error handling 4 (21 pts), match/switch 1 (3 pts) (nesting depth added 426). 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"481f462e6d9b300b4f74db92848f615e5c1eb5f087f1ab4e622a82af42f8c346"}},{"ruleId":"D2","level":"warning","message":{"text":"Xml.loadIntoExisting (cognitive 370): Xml.loadIntoExisting has cognitive complexity 370 (threshold 15). Drivers by points: if/else 78 (295 pts), loops 10 (33 pts), ternaries 2 (15 pts), boolean chains 12, error handling 1 (8 pts), match/switch 1 (7 pts) (nesting depth added 266). 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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c4df1e376c4edc9a7bc122d4c23269ae943332897f012182714f735a5603ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.internalParseFormula (cognitive 336): Calculation.internalParseFormula has cognitive complexity 336 (threshold 15). Drivers by points: if/else 59 (218 pts), boolean chains 53, loops 9 (28 pts), ternaries 4 (21 pts), error handling 3 (11 pts), match/switch 1 (5 pts) (nesting depth added 207). 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f59cef613fb2fd2e50201b451a68898968ba137f5c6136764b4f479d966ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.readChart (cognitive 335): Chart.readChart has cognitive complexity 335 (threshold 15). Drivers by points: if/else 47 (276 pts), match/switch 6 (34 pts), loops 5 (22 pts), boolean chains 3 (nesting depth added 274). 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b243b19405ad4fe897f3954a6807a63ff3dd81ece5798e388057378a7d34e2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.processTableRow (cognitive 245): Ods.processTableRow has cognitive complexity 245 (threshold 15). Drivers by points: if/else 56 (175 pts), loops 11 (35 pts), ternaries 5 (22 pts), boolean chains 10, match/switch 1 (3 pts) (nesting depth added 162). 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"22161d9913d258aafcd053f2a83c8f6efb9c3af6c4a18ff3359a1ae63418b692"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.chartDataSeries (cognitive 241): Chart.chartDataSeries has cognitive complexity 241 (threshold 15). Drivers by points: if/else 53 (225 pts), match/switch 2 (6 pts), ternaries 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 182). 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b010a990bffc7636aa3411a6347a0ea505531203f6f08da491eaf99e842ed"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadSpreadsheet.loadSpreadsheetFromFile2 (cognitive 205): LoadSpreadsheet.loadSpreadsheetFromFile2 has cognitive complexity 205 (threshold 15). Drivers by points: if/else 42 (143 pts), loops 11 (25 pts), match/switch 5 (20 pts), ternaries 3 (11 pts), boolean chains 6 (nesting depth added 138). 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/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e257bfae3f937110444b475842ef1ad216b7fee0a8ae0d63af8260b798525d2"}},{"ruleId":"D2","level":"warning","message":{"text":"FormulaParser.parseToTokens (cognitive 200): FormulaParser.parseToTokens has cognitive complexity 200 (threshold 15). Drivers by points: if/else 72 (167 pts), boolean chains 27, loops 4 (6 pts) (nesting depth added 97). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/FormulaParser.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3886e300f2549aeb26caa3f253c99803e90a95191470f5c77c467c876aefa4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writePlotGroup (cognitive 200): Chart.writePlotGroup has cognitive complexity 200 (threshold 15). Drivers by points: if/else 49 (138 pts), boolean chains 32, ternaries 6 (22 pts), loops 3 (8 pts) (nesting depth added 110). 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"367ea9f71900f4423f0d52c78a8fa84a276b914c71ec988942aeae5536884cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.applyFromArray (cognitive 191): Style.applyFromArray has cognitive complexity 191 (threshold 15). Drivers by points: if/else 40 (115 pts), loops 12 (42 pts), ternaries 5 (23 pts), match/switch 2 (8 pts), boolean chains 3 (nesting depth added 129). 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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27cdd146f739b0aeb14b91d9d3b518777cacbca06476d1cf09bf1f307282d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.getCalculatedValue (cognitive 173): Cell.getCalculatedValue has cognitive complexity 173 (threshold 15). Drivers by points: if/else 31 (121 pts), loops 7 (34 pts), boolean chains 16, error handling 1 (2 pts) (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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c327982d8915e2da7fc5eb8034ca1a7e6afe12be4b658ccaffc19985497410"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.loadIntoExisting (cognitive 145): Ods.loadIntoExisting has cognitive complexity 145 (threshold 15). Drivers by points: if/else 27 (87 pts), loops 16 (36 pts), match/switch 2 (8 pts), boolean chains 7, ternaries 7 (nesting depth added 86). 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"df456b36ce01beaf46c863069083b56ca02ef643cd8a3679ac46d78045167e95"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.loadSheetData (cognitive 137): Xlsx.loadSheetData has cognitive complexity 137 (threshold 15). Drivers by points: if/else 33 (112 pts), boolean chains 14, ternaries 1 (5 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 86). 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdecd6800fefa3d04b388d2c7cf6cac5933752c74012a0ed2ab28393190d5d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoFilter.showHideRows (cognitive 131): AutoFilter.showHideRows has cognitive complexity 131 (threshold 15). Drivers by points: if/else 23 (83 pts), loops 9 (25 pts), boolean chains 13, ternaries 2 (8 pts), match/switch 1 (2 pts) (nesting depth added 83). 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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"451abb08f1197315d2d4450620fa1c64d53993f16ccaaf6928415eebb96f2ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.parseRichText (cognitive 114): Xlsx.parseRichText has cognitive complexity 114 (threshold 15). Drivers by points: if/else 22 (105 pts), boolean chains 6, loops 1 (3 pts) (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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acbd9384dd1cc81054c272f511ea335d314f26bb61f06086d80ad374f0b472a"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.close (cognitive 107): Worksheet.close has cognitive complexity 107 (threshold 15). Drivers by points: if/else 24 (65 pts), ternaries 6 (21 pts), loops 6 (9 pts), match/switch 2 (8 pts), boolean chains 4 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768211a7830c92f9c39d4b0f9abe2e24c40e93e67c6a8c14c27d454668f87ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.updateFormulaReferences (cognitive 102): ReferenceHelper.updateFormulaReferences has cognitive complexity 102 (threshold 15). Drivers by points: if/else 17 (67 pts), loops 5 (17 pts), ternaries 4 (16 pts), boolean chains 2 (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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92eefbed8c6daf0ad001394ca782bc65ae2f31892010991d55e0c78abe589f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.save (cognitive 102): Xlsx.save has cognitive complexity 102 (threshold 15). Drivers by points: if/else 29 (63 pts), loops 13 (31 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 53). 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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4ca73d96773e9e1676cf583d49850f7c361852f4db56c6715c379d94df3594"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateRowWriteCell (cognitive 100): Html.generateRowWriteCell has cognitive complexity 100 (threshold 15). Drivers by points: if/else 30 (65 pts), boolean chains 15, loops 4 (11 pts), ternaries 2 (6 pts), error handling 1 (3 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c557b58f64b5fb82edb5dc4b5ac227c198d012ef0a2ef23077a5e10f6791bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeSheetData (cognitive 100): Worksheet.writeSheetData has cognitive complexity 100 (threshold 15). Drivers by points: if/else 20 (80 pts), loops 4 (9 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 67). 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7bac412fffc57b329afc589b87796aa860cb3ab8195bdfb03a1535c56fdd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeCFRule (cognitive 94): Worksheet.writeCFRule has cognitive complexity 94 (threshold 15). Drivers by points: if/else 30 (40 pts), ternaries 28 (33 pts), boolean chains 17, match/switch 2 (4 pts) (nesting depth added 17). 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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c06baf24b2add8cb2bf57e38cfe27a0a484b3a811ecbb806ec06c67c0986bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentTypes.writeContentTypes (cognitive 90): ContentTypes.writeContentTypes has cognitive complexity 90 (threshold 15). Drivers by points: if/else 27 (50 pts), loops 15 (26 pts), boolean chains 8, match/switch 1 (4 pts), ternaries 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/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a86a5fcce884c2c25c55f7944678a0a984559bd7db99312d7f765c33c9ba9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writePlotArea (cognitive 86): Chart.writePlotArea has cognitive complexity 86 (threshold 15). Drivers by points: if/else 23 (57 pts), boolean chains 15, ternaries 2 (8 pts), loops 3 (6 pts) (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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a810dc58f2fd1577fd0486eb50c570e358dce33d8ee62e2cc356fbcbe6118363"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readXfExt (cognitive 78): Xls.readXfExt has cognitive complexity 78 (threshold 15). Drivers by points: if/else 17 (73 pts), match/switch 1 (3 pts), loops 1 (2 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc30fb3b65f7e334e637fe11bec7a44a081a2157f248938477ff5f50596110b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.parseRichText (cognitive 76): Chart.parseRichText has cognitive complexity 76 (threshold 15). Drivers by points: if/else 34 (74 pts), boolean chains 1, loops 1 (nesting depth added 40). 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d77870b779b5ba6bfad9c84595a7e37d3b7be82d8cfb2f2dc1ab09f5a47176c"}},{"ruleId":"D2","level":"warning","message":{"text":"Content.writeCells (cognitive 76): Content.writeCells has cognitive complexity 76 (threshold 15). Drivers by points: if/else 18 (52 pts), ternaries 4 (14 pts), error handling 1 (4 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 48). 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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2711344ea73bcda27b75a298111edabd45d35a5081a46e5cd71334740e085d04"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.listWorksheetInfoFromFile (cognitive 75): Xlsx.listWorksheetInfoFromFile has cognitive complexity 75 (threshold 15). Drivers by points: if/else 8 (38 pts), ternaries 3 (18 pts), loops 4 (13 pts), boolean chains 6 (nesting depth added 54). 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec861f8d69ce787a7eabcc96eeae1ed7b31ac735a4e12d52364dad27abedf5"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeSheetViews (cognitive 71): Worksheet.writeSheetViews has cognitive complexity 71 (threshold 15). Drivers by points: if/else 32 (58 pts), boolean chains 5, ternaries 2 (5 pts), loops 1 (3 pts) (nesting depth added 31). 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"894fe97e4cb80d6ec188fa5b8b04af2ef381df9027f1e3d38446b08630ad47ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readXf (cognitive 64): Xls.readXf has cognitive complexity 64 (threshold 15). Drivers by points: if/else 22 (48 pts), ternaries 4 (10 pts), match/switch 2 (6 pts) (nesting depth added 36). 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe120e404dfdd145d3bcf3792d5cea9b37276910afeb9bffac76237506894d"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.listWorksheetInfo (cognitive 63): Ods.listWorksheetInfo has cognitive complexity 63 (threshold 15). Drivers by points: if/else 6 (28 pts), ternaries 4 (22 pts), loops 3 (9 pts), boolean chains 4 (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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"889bc7ea7841d8d910e1502e185929a0ab5562570d63a673be77f8d1f0fbfb40"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.processIgnoredErrors (cognitive 62): Xlsx.processIgnoredErrors has cognitive complexity 62 (threshold 15). Drivers by points: if/else 11 (51 pts), loops 3 (11 pts) (nesting depth added 48). 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1a4cb8b811b043e260030eb8b8c9121c2105de6264356be373f233fe7b7f97"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.rangeToArrayYieldRows (cognitive 62): Worksheet.rangeToArrayYieldRows has cognitive complexity 62 (threshold 15). Drivers by points: if/else 8 (30 pts), loops 6 (16 pts), ternaries 3 (10 pts), boolean chains 6 (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3355}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f2cafabe4beffe7106448a387fc237fb4166d2ccfedd95553acd7a0be43995"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readLabelSst (cognitive 61): Xls.readLabelSst has cognitive complexity 61 (threshold 15). Drivers by points: if/else 16 (54 pts), boolean chains 4, loops 1 (3 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec28abaefaa4e871a2440b2c28acbda01a5a0a8d48391449787f883b12f4cdf"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.parseStyles (cognitive 60): Style.parseStyles has cognitive complexity 60 (threshold 15). Drivers by points: if/else 10 (39 pts), ternaries 3 (14 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (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/PhpSpreadsheet/Reader/Xml/Style.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1714923e0647e7daa838b27e468cc491f649e28ba4396a67d23757abd83ffbf"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.calculateColumnWidths (cognitive 60): Worksheet.calculateColumnWidths has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (40 pts), loops 6 (16 pts), boolean chains 4 (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae6c80d8f9b848c36987e86d52d6f513da82c07ffd283882116911bae800643"}},{"ruleId":"D2","level":"warning","message":{"text":"CalculationLocale.setLocale (cognitive 56): CalculationLocale.setLocale has cognitive complexity 56 (threshold 15). Drivers by points: if/else 10 (29 pts), error handling 2 (6 pts), loops 2 (6 pts), match/switch 1 (6 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 36). 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/PhpSpreadsheet/Calculation/CalculationLocale.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a1eb63bb5f738c59f25c7d9beb14a507b78f447b6c78c52a7fd486c27b0eca"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateRowCellDataValue (cognitive 56): Html.generateRowCellDataValue has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (27 pts), ternaries 4 (20 pts), error handling 2 (7 pts), boolean chains 2 (nesting depth added 34). 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0b1f3b72fd5efa80910979a128ab67650f98cc691d96a065c5e02e2b0d2728"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writeValueAxis (cognitive 56): Chart.writeValueAxis has cognitive complexity 56 (threshold 15). Drivers by points: if/else 28 (45 pts), ternaries 3 (8 pts), boolean chains 3 (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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bdf39499193ae6aa5878174c9a61829a097e60da342b92c3001d1c72e65292"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeColorScaleElements (cognitive 55): Worksheet.writeColorScaleElements has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (52 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8d6d503f950c9bbda78720e456217fb855c324347b4c419bae17bff8490e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.extractCellRange (cognitive 54): Calculation.extractCellRange has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 3 (14 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 32). 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2708}}}],"partialFingerprints":{"codehealthFindingId/v1":"59743bf1359a82c1b2bb2cc71cf44265ce5a9bf0403fd6ee3304e2129df656f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.flushCell (cognitive 53): Html.flushCell has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (45 pts), error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 36). 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0456cff8b8cf612ef74f91c2e0d9385237c1529d119ee2ebc21c85b3a69bc4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.executeNumericBinaryOperation (cognitive 49): Calculation.executeNumericBinaryOperation has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 4 (11 pts), boolean chains 8, match/switch 2 (6 pts) (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c61e6207725eaefb94b4702285ecae5a2f62d0d9ab39f3736ac8573f885fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.insertNewBefore (cognitive 49): ReferenceHelper.insertNewBefore has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 12, loops 4 (5 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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ae5ffc1e9ec0610c7b6fbd7d9ab01d550d520a111de9727e18e9ece96fc413"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readSst (cognitive 48): Xls.readSst has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 6 (14 pts), ternaries 2 (5 pts), boolean chains 3 (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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"739cdf68d88b26ae60a853f53d17bb80b2aab6026c03403865118ee2740dcc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"JpGraphRendererBase.renderPieChart (cognitive 47): JpGraphRendererBase.renderPieChart has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 4 (10 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 28). 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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"2763fb7ef7217e9e4bc40ba56877bf4c01fbd1a17c681fb453b59de2b55b544f"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnAndRowAttributes.readRowAttributes (cognitive 47): ColumnAndRowAttributes.readRowAttributes has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (38 pts), boolean chains 8, loops 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/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"336226db5ba4275f493fcc31d2959ea0ac92785c517b5746cbda9c1870423ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrencyBase.format (cognitive 47): CurrencyBase.format has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 4, ternaries 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/PhpSpreadsheet/Style/NumberFormat/Wizard/CurrencyBase.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f366350fd9ea3a990f49fb684ea75a1f0c79abd34e5c7c74fb337090ca3572"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.resizeMatricesExtend (cognitive 46): Calculation.resizeMatricesExtend has cognitive complexity 46 (threshold 15). Drivers by points: loops 6 (20 pts), ternaries 4 (14 pts), if/else 6 (10 pts), boolean chains 2 (nesting depth added 28). 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1fdb8e94edc3ad64085c54d7507deff77d7085d1becf09b65074763c5ed53"}},{"ruleId":"D2","level":"warning","message":{"text":"Drawing.setPath (cognitive 46): Drawing.setPath has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (39 pts), boolean chains 7 (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/PhpSpreadsheet/Worksheet/Drawing.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc3beaf390c93f790ae24d26e0f1d67704455546de7dd0eeace8e43df0da0d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.match (cognitive 46): Parser.match has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 27, if/else 16 (18 pts), match/switch 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c35c2a29f48071e579e2155dcae85087c69de4ae4b92e4d648cd77a1f4a53ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateRow (cognitive 45): Html.generateRow has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 2 (8 pts), boolean chains 5, loops 2 (5 pts) (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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a804a121ec6a19a144e7b65d77f9360a0b637d6c14c7a7c9edeb0dd8d1b0ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Workbook.writeAllDefinedNamesBiff8 (cognitive 45): Workbook.writeAllDefinedNamesBiff8 has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 5 (8 pts), boolean chains 4, ternaries 1 (4 pts), error handling 1 (3 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/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361388df589b685873e98303c9e7d65a126dfb46525388f8d4f011a0be6f621"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.updatePrintArea (cognitive 43): ReferenceHelper.updatePrintArea has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (36 pts), boolean chains 7 (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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb19085cf507aa404b8de313c1ca974aec8b03b79f6b40715d06e262ce131d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.writeCellStyleXf (cognitive 43): Style.writeCellStyleXf has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 8 (14 pts), boolean chains 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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ad36aefb0a61a8f6b73c47cb1c3f8e9bf4c47665709ebaf0f509098bba0ffd"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeDataValidations (cognitive 42): Worksheet.writeDataValidations has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (28 pts), ternaries 4 (12 pts), loops 1 (2 pts) (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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"956390144a947e2bcc4225dfb83ae903688118c1408eb7a3dc5bc5a2f3ccb844"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.applyInlineStyle (cognitive 40): Html.applyInlineStyle has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 3 (5 pts), match/switch 2 (5 pts), boolean chains 2, ternaries 1 (2 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0c72d320d41503ab334b4067a554e0fd036633f94fa20a68d3cb4027cdf36"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.readChartAttributes (cognitive 39): Chart.readChartAttributes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (39 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba578c2fdd200cdd2729028c553cc98ac68f4d520b45dfafaf5da533617172a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgileEncryption.parse (cognitive 39): AgileEncryption.parse has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 28, if/else 6, ternaries 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e080ca64dde62b55d7404fb8c713f97747ca350f3eaf79378efc247fb1e26e6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateSheetData (cognitive 39): Html.generateSheetData has cognitive complexity 39 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 5 (12 pts), ternaries 1 (6 pts), boolean chains 2 (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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"2003d6d5ed6252212e102c1d633a31d771575fdf4fbe1b108939d45cf2d329e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writeCategoryAxis (cognitive 39): Chart.writeCategoryAxis has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26 (33 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 8). 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"699e42974354a16c18fdb22fef132ed4f84df805582624dc2e7523febc08451d"}},{"ruleId":"D2","level":"warning","message":{"text":"StringTable.writeRichTextForCharts (cognitive 39): StringTable.writeRichTextForCharts has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (22 pts), ternaries 4 (13 pts), match/switch 1 (3 pts), loops 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/PhpSpreadsheet/Writer/Xlsx/StringTable.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f4f8b56cf58e3965ec983e05fba1d20d449fa8d5387c303e5459b9b6716783"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.setTitle (cognitive 38): Worksheet.setTitle has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 1 (4 pts), boolean chains 2 (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"966751695564236d9ca41492156b499b1ef69057a64ea846b8460f64561a0697"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.save (cognitive 38): Xls.save has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 8 (12 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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c57aa89e4459f83ff433cb9e371d52c2ff51325436dc1cb9ab49b7afcc1bb30"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultValueBinder.dataTypeForValue (cognitive 37): DefaultValueBinder.dataTypeForValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 7, error handling 1 (2 pts), ternaries 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/PhpSpreadsheet/Cell/DefaultValueBinder.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37be002846315cf926403d6f7f1b3709889bfb1f635792928bf566bcc4724940"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.setAxisProperties (cognitive 37): Chart.setAxisProperties has cognitive complexity 37 (threshold 15). Drivers by points: if/else 28 (37 pts) (nesting depth added 9). 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e3c04b4e1209e72a977b2ec0eb5177427f513339ef78b53d69e228092aa5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.changeChartSheetNames (cognitive 36): Worksheet.changeChartSheetNames has cognitive complexity 36 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 6 (18 pts) (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b86dfbdeeb35f7794143192823ed042e0056b89410490b2eb41a8aaafb4a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Escher.close (cognitive 36): Escher.close has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 5 (13 pts), match/switch 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 19). 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/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a88d8daa9d976b538716c4c73ea210919ef683f0a76b74901c7db3a99db54a"}},{"ruleId":"D2","level":"warning","message":{"text":"Root.saveBbd (cognitive 35): Root.saveBbd has cognitive complexity 35 (threshold 15). Drivers by points: loops 9 (15 pts), if/else 7 (12 pts), ternaries 4 (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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73ab7c9af54ca32da7291049ccedfb7a4e04fdfc090b3e422ea6b517a297941"}},{"ruleId":"D2","level":"warning","message":{"text":"Formatter.toFormattedString (cognitive 35): Formatter.toFormattedString has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 7, ternaries 3 (6 pts), 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/PhpSpreadsheet/Style/NumberFormat/Formatter.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9768dcb108d3bb831b2a311ae0f1a9c8dd2d05cad6714b15342c412798ef8df9"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writePlotSeriesValues (cognitive 35): Chart.writePlotSeriesValues has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (9 pts), boolean chains 7 (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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bf35b871e0b05bb85835e364ca0b277347748112b3a11e602e914ae8a5fc09"}},{"ruleId":"D2","level":"warning","message":{"text":"StringTable.writeRichText (cognitive 35): StringTable.writeRichText has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 4 (11 pts), boolean chains 1, loops 1 (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/PhpSpreadsheet/Writer/Xlsx/StringTable.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b8a71a533cd91584a78a029d4349e4b527346c195c29e80351ba83c12effd"}},{"ruleId":"D2","level":"warning","message":{"text":"Csv.loadStringOrFile2 (cognitive 34): Csv.loadStringOrFile2 has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (3 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/PhpSpreadsheet/Reader/Csv.php"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"19634d224cd35a17a65b5598cc70cf428ab3b18d0bd1fbc0fba4fd70afcbe9db"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.adjustTable (cognitive 34): ReferenceHelper.adjustTable has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (27 pts), ternaries 1 (6 pts), loops 1 (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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c408713412b2bba3e28b5fd4114c920777a213682924b095832a67b9d3714e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Font.applyFromArray (cognitive 34): Font.applyFromArray has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (34 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/PhpSpreadsheet/Style/Font.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3c5582aba218a1486b1ec4a3c84310501fc986b3924d8c2c151f81fef4d073"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeDataValidity (cognitive 34): Worksheet.writeDataValidity has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (10 pts), error handling 2 (6 pts), loops 3 (5 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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b9b328842507e2b9ca07bd13bc7623cd1c492ca8c6d47dd93910403615c3e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.chartTitle (cognitive 33): Chart.chartTitle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (9 pts), match/switch 2 (7 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6797e78b3347e939c08403eea8839dd09bc757c305e4ea5080891dae82db654d"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.readEffects (cognitive 33): Chart.readEffects has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 3 (6 pts), 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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abf8c86fa6634a33e0a478d6c4e60d8856e43d51791d08da6538b2b58419e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.resizeMatricesShrink (cognitive 32): Calculation.resizeMatricesShrink has cognitive complexity 32 (threshold 15). Drivers by points: loops 6 (20 pts), if/else 6 (10 pts), boolean chains 2 (nesting depth added 18). 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c065c5a290b3d2b2975bae162a9e9fed1796adc3a90437c00256cdf6c89fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readFormula (cognitive 32): Xls.readFormula has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 7, error handling 1 (3 pts) (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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c71feb061f7b5ddba1cefa4d9a9a695b4e8179389ed2fb0f83a591a37e3709"}},{"ruleId":"D2","level":"warning","message":{"text":"Styles.readFontStyle (cognitive 32): Styles.readFontStyle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (29 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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a46c10882e98ccd0b23f51ce5c254d837bf85beb0c865939642e17d0fb2af45"}},{"ruleId":"D2","level":"warning","message":{"text":"ChainedBlockStream.stream_open (cognitive 32): ChainedBlockStream.stream_open has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 3 (6 pts), boolean chains 3, ternaries 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/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7fd0db2429d5adf67a420bb7a6f99697877960783a2aa29afa9de85ca78b65"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.setCodeName (cognitive 32): Worksheet.setCodeName has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (28 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d3d8377366ce449b377e317a724cdfcbb844d3d64755b11d3d7a0c0f52c17"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.writeTable (cognitive 32): Table.writeTable has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 8 (9 pts), loops 2 (3 pts), boolean chains 1 (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/PhpSpreadsheet/Writer/Xlsx/Table.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ca8205d4594a90936aba6c76001ea98ba18467cdbd3e7a3220c4d15a0a984"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.extractNamedRange (cognitive 31): Calculation.extractNamedRange has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b3fd036cfadfbe0a55fcfe5fd608431c4a1b6f1cef798aa0329536cf2aa90d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelMatch.matchLargestValue (cognitive 31): ExcelMatch.matchLargestValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (7 pts), boolean chains 5 (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/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a4c2ef73ba4e67848ec8906f353546d26bddeae5d342f2399825d68381b475"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSeriesValues.refresh (cognitive 31): DataSeriesValues.refresh has cognitive complexity 31 (threshold 15). Drivers by points: loops 4 (16 pts), if/else 6 (12 pts), boolean chains 3 (nesting depth added 18). 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/PhpSpreadsheet/Chart/DataSeriesValues.php"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"aace33cc9c984332d8a79e1df0446c3170d1c6494688eac25617d28fb0677bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoFilter.filterTestInCustomDataSet (cognitive 31): AutoFilter.filterTestInCustomDataSet has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 4 (11 pts), boolean chains 10, if/else 5 (9 pts), loops 1 (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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bf9ca9b5c5e4c756854dd34f6fad0794b992546e0adb5580fa8f29dfd3eae4"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.canRead (cognitive 30): Ods.canRead has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 1 (6 pts), boolean chains 2 (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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6db614306bc9c77df0285b0c5219d93aa76df2422467edb5ed2bce19043d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readHyperLink (cognitive 30): Xls.readHyperLink has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 3 (9 pts), error handling 1 (2 pts), loops 1 (2 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"63652f89df0b81c68ba388fd13c428178cc938840ef679dc10697280ef3e030d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgileEncryption.writeEcma376Container (cognitive 30): AgileEncryption.writeEcma376Container has cognitive complexity 30 (threshold 15). Drivers by points: loops 9 (11 pts), if/else 6 (9 pts), ternaries 3 (7 pts), boolean chains 3 (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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d568b0b814989735d54c4fe55f16629ed5c5e58faa88d0cba748a243ca833fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.writeImageInCell (cognitive 30): Html.writeImageInCell has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 3, ternaries 1 (2 pts) (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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa00003e79a02bd9cc9bce06dbe3449079c702ad0bbb362e513a481d22c0a43"}},{"ruleId":"D2","level":"warning","message":{"text":"Workbook.writeSharedStringsTable (cognitive 30): Workbook.writeSharedStringsTable has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 2 (6 pts), loops 3 (4 pts), boolean chains 1 (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/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8330cd5fb31e912cee17ba3fc3469f8bfe5524dbfa3fa687b0bf4219f6cd921"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writeLabelFont (cognitive 30): Chart.writeLabelFont has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 5 (11 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d727b8600beaeae909feb48eab853164a7814f0e1b60dfaae088c680f53217"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.calculateCellValue (cognitive 29): Calculation.calculateCellValue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, ternaries 1 (3 pts), error handling 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7041b7cf71b20068fe3a9466a5074aa187a3439e984f379ad548cd0e3d5276"}},{"ruleId":"D2","level":"warning","message":{"text":"Matrix.index (cognitive 29): Matrix.index has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7, loops 1 (3 pts), error handling 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/PhpSpreadsheet/Calculation/LookupRef/Matrix.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3152cca10487b72bb8851170b33f4fe7878b09126ae10ea0aea5407f0708b04f"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinate.mergeRangesInCollection (cognitive 29): Coordinate.mergeRangesInCollection has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (6 pts), ternaries 1 (2 pts), boolean chains 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/PhpSpreadsheet/Cell/Coordinate.php"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa6cb2e82aabbd3d22dab65b8c6e942b79fedbd01946676ffe5814447c2153"}},{"ruleId":"D2","level":"warning","message":{"text":"Styles.tableStyles (cognitive 29): Styles.tableStyles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (8 pts), match/switch 1 (7 pts), boolean chains 1 (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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adb0d0b75b1671b1ad82c67e126d7a1261427ace9ff1f2d3adefbbe481bb5a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.removeRow (cognitive 29): Worksheet.removeRow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 5 (nesting depth added 14). 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60776db54257c101e5aaa2c7a2a490e0df5e62c9e3bef4c2d393b1b0d303591"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoFilter.writeAutoFilterColumnRule (cognitive 29): AutoFilter.writeAutoFilterColumnRule has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (4 pts), ternaries 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/PhpSpreadsheet/Writer/Xlsx/AutoFilter.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c6300e4a975064348d770f64f9832aa37a6e1830f2979f6a85bb8c2723adab"}},{"ruleId":"D2","level":"warning","message":{"text":"Styles.readFillStyle (cognitive 28): Styles.readFillStyle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, ternaries 2 (4 pts) (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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c49bb3bdb50a339c326fa39bfc6614355d200d448daf385759b3d170e75fecf"}},{"ruleId":"D2","level":"warning","message":{"text":"Spreadsheet.garbageCollect (cognitive 28): Spreadsheet.garbageCollect has cognitive complexity 28 (threshold 15). Drivers by points: loops 11 (17 pts), if/else 5 (10 pts), boolean chains 1 (nesting depth added 11). 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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc2ed41568977ca37a4975e06f2aa4077f43766d3661dbd595e0564911afb4d"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSettings.pageSetup (cognitive 27): PageSettings.pageSetup has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 2 (12 pts), if/else 2 (5 pts), loops 2 (5 pts), match/switch 1 (5 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/PhpSpreadsheet/Reader/Xml/PageSettings.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efdf090f0dc74a075c5daa32e02d967c003460a8400ffb6238011ba99fa226a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.adjustProtectedCells (cognitive 27): ReferenceHelper.adjustProtectedCells has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (10 pts), ternaries 1 (4 pts), boolean chains 1 (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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbbc6ee8ac97128280711585821287ae83b76019310d4946408a18a5d62c8e4"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseDrawing.setWorksheet (cognitive 27): BaseDrawing.setWorksheet has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (7 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/PhpSpreadsheet/Worksheet/BaseDrawing.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fd649e0191b6a3c1f7a154e8a512efcba99ee305b8442d56f7baf32d9984a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.removeColumn (cognitive 27): Worksheet.removeColumn has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"87122b29a221f687bbeb96ecb927ed011ad4662a069ab1a1bf10d2c3ff5cb420"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeConditionalFormatting (cognitive 27): Worksheet.writeConditionalFormatting has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 4 (8 pts), boolean chains 1 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb8d46c304fe31767efde2fd193e768bc5f20cddf4b7cb0debcedb696949031"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeCellFormula (cognitive 27): Worksheet.writeCellFormula has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, ternaries 3 (4 pts), 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"facc48f7c0eb229eb4f70d662a6bd74f273411804511b1edafaba68d39ff622a"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeCell (cognitive 27): Worksheet.writeCell has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (6 pts), boolean chains 2, match/switch 1 (2 pts) (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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dbfa3310add23537e2d7c1fac340f8bc152429b56afe4ce8947d8c63e57c64"}},{"ruleId":"D2","level":"warning","message":{"text":"Functions.convertArrayToCellRange (cognitive 26): Functions.convertArrayToCellRange has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 7, loops 2 (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/PhpSpreadsheet/Calculation/Functions.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3218230e39bfd34dc7a43c7a732fdbd35e535cbb44a95a6e6fbb75d3801c5834"}},{"ruleId":"D2","level":"warning","message":{"text":"JpGraphRendererBase.renderPlotScatter (cognitive 26): JpGraphRendererBase.renderPlotScatter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (7 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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd196251e4f9e5a5f81d881d451f610236adb176ff82800f161139cc984f40b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceHelper.adjustAutoFilter (cognitive 26): ReferenceHelper.adjustAutoFilter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 1 (5 pts) (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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf53ab9c718377afcaf3460265fb15b9f6ec8db2c2efa9020f41214b5c7fbea0"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSetup.setPrintArea (cognitive 26): PageSetup.setPrintArea has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 1 (3 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/PhpSpreadsheet/Worksheet/PageSetup.php"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1948e2777601785a5f3d8a3efe3fbde4269ae45312ac48b4689f6c3e4af9cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.__clone (cognitive 26): Worksheet.__clone has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (17 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 16). 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":4014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d91031159f016184d27c14a4d51a1a50c72bfc7e3e2536894bd61627745bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelMatch.matchSmallestValue (cognitive 25): ExcelMatch.matchSmallestValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 8, loops 2 (4 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/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55df793e40c9ccaa0005a12d4844bed7129c31021da575f13167f7fec629d25"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.setValueExplicit (cognitive 25): Cell.setValueExplicit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, ternaries 1 (2 pts), match/switch 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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174e87df2ba6a816e6fa53c449e76033886418788625d57a4bb470eb8d7113a"}},{"ruleId":"D2","level":"warning","message":{"text":"JpGraphRendererBase.renderPlotBar (cognitive 25): JpGraphRendererBase.renderPlotBar has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (6 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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0367f1e596aeb4fdf81cfde44a7c7d62dedad85ab6b8e32bdc372e8fbe04b50"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionalFormattingRuleExtension.parseExtDataBarElementChildrenFromXml (cognitive 25): ConditionalFormattingRuleExtension.parseExtDataBarElementChildrenFromXml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (6 pts), loops 1 (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/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormattingRuleExtension.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2feee45230b6398b0ef60e77ee003e1370826fc4a49eaa4648c6978eec35e245"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateRowCellData (cognitive 25): Html.generateRowCellData has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, error handling 1 (3 pts), ternaries 1 (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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6940116959a3e3718a84ad714a8294441317e5c8b252ce7a5d45cd2fa7b92e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"OLE.copyDataByName (cognitive 24): OLE.copyDataByName has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, 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/PhpSpreadsheet/Shared/OLE.php"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"251588850212adfb4d0274d20880bd0cc24e2dfa3299f39ada863ab3f6d835ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Root.makeSmallData (cognitive 24): Root.makeSmallData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (7 pts), ternaries 1 (4 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d265d4c134b9babbd47968140a4eeed0925d32b709c2b76e875ffadf6b113142"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.getOldXfIndexes (cognitive 24): Style.getOldXfIndexes has cognitive complexity 24 (threshold 15). Drivers by points: loops 8 (19 pts), if/else 2 (4 pts), match/switch 1 (nesting depth added 13). 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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed63e8b5b9b3ffcd6744b86427f2a09054ef41a2500cbde85a02653983387e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Csv.writeLine (cognitive 24): Csv.writeLine 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, 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/PhpSpreadsheet/Writer/Csv.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"096a9dd2fcd2309e878d87ea126d669b4113152d4bc83b13823f4170c1647884"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeConditionalFormatting (cognitive 24): Worksheet.writeConditionalFormatting has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, loops 4 (6 pts), if/else 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe6cd5ee6d6f72f336c41310678eeec86144d401d992615bb68a9d59cdc4e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"XLookup.searchLinear (cognitive 23): XLookup.searchLinear has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, 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/PhpSpreadsheet/Calculation/LookupRef/XLookup.php"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d112fcd0c0d5c3b1512bc978e4c6de8a937b421122a0373840fd2e48708942b"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedValueBinder.bindValue (cognitive 23): AdvancedValueBinder.bindValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 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/PhpSpreadsheet/Cell/AdvancedValueBinder.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf3693395bcca815e9fc477f5a4d9e95f433cd4bc355f2e2f81f2353fb1666"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.listWorksheetNames (cognitive 23): Ods.listWorksheetNames has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (9 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec8f91a0b3286319eaa824d6284db3fd35fdf870f8bcd15726d106fda06592"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSetup.pageSetup (cognitive 23): PageSetup.pageSetup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 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/PhpSpreadsheet/Reader/Xlsx/PageSetup.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7118471a08e2681033e588fea71e6e77ecfe0dd658dd0003ee8173782bd6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Xml.listWorksheetInfo (cognitive 23): Xml.listWorksheetInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (8 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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e9989abcad5e6275de49d6fae2f73cc5b0bbd2ff385dfc12016f3fea065ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Root.saveHeader (cognitive 23): Root.saveHeader has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6 (8 pts), loops 3 (5 pts), boolean chains 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08946031510adfd03eb70099563c8d7f68079dfdb6b6b7c60699ea54fbefc32"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.getConditionalStyles (cognitive 23): Worksheet.getConditionalStyles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 4 (6 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d9ad49657e8272b06b16fa48a7a4aa28ec1bd91a905eac552a1051e02662f"}},{"ruleId":"D2","level":"warning","message":{"text":"Drawing.collectDrawings (cognitive 23): Drawing.collectDrawings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 1, 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/PhpSpreadsheet/Writer/Ods/Drawing.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f1476030798771b7a5d4dd9fc1cf68f6f6601a5c1b6e6a01dbcb7ef312323"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.calculateFormulaValue (cognitive 22): Calculation.calculateFormulaValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be1f92668cc4c6f4cff22a85c695f149974a8e2ca6d18a4feabc9b902590cac"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.getStyleArray (cognitive 22): Html.getStyleArray has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 1 (2 pts) (nesting depth added 14). 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e795336078b9ee85b184a2a01940c33d1252a456b542c84eb06bf06a9cefc83e"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.processTableColumn (cognitive 22): Ods.processTableColumn has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (6 pts), boolean chains 4 (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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"933ac025c0019314c69b0a5e9cde863a8131c8e2c3e1e7563a8685c414a27e96"}},{"ruleId":"D2","level":"warning","message":{"text":"Slk.processFormula (cognitive 22): Slk.processFormula has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 2 (4 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/PhpSpreadsheet/Reader/Slk.php"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee97953576e2c49174db3bc60c2cbe2ce5037e9e988f7d14316b005ed01360"}},{"ruleId":"D2","level":"warning","message":{"text":"ListFunctions.listWorksheetDimensions2 (cognitive 22): ListFunctions.listWorksheetDimensions2 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 2 (5 pts), loops 3 (4 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/PhpSpreadsheet/Reader/Xls/ListFunctions.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb12ad4eb85d1c2bcd680b670c8f3794a319a7d4feb049a69fd56ddfb3143bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Font.getTrueTypeFontFileFromFont (cognitive 22): Font.getTrueTypeFontFileFromFont has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7 (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/PhpSpreadsheet/Shared/Font.php"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2a54404b3d69df376dcee8d00c84884f77a2f6c919ca39a3c46344119241f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Spreadsheet.__clone (cognitive 22): Spreadsheet.__clone has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 5 (7 pts), match/switch 1 (2 pts) (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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb6e33cea3165e5f7848a666422eca0ed82103805428ced7dc12f293aae9d91"}},{"ruleId":"D2","level":"warning","message":{"text":"Drawing.writeDrawing (cognitive 22): Drawing.writeDrawing has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (3 pts), boolean chains 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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"878889047490272086fd17d4d8876fcf313e3c08498f2e2080dfa238441e1d41"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.writeFont (cognitive 22): Style.writeFont has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 3 (6 pts), boolean chains 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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"be000d1c3b4cbf752098e23895974a368e55f2877ec912410603ddaf7655345a"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeCols (cognitive 22): Worksheet.writeCols has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 1 (2 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba2f897d48eaafb6a80b094949adaa57d549ad2b84518ef66ca49702ac9c17"}},{"ruleId":"D2","level":"warning","message":{"text":"NonPeriodic.xnpvOrdered (cognitive 21): NonPeriodic.xnpvOrdered has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), error handling 2 (3 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/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c43237550880fa748438f7c37ea06fa25066577f97ac214fc0dbe13c08985a3"}},{"ruleId":"D2","level":"warning","message":{"text":"XLookup.lookup (cognitive 21): XLookup.lookup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2 (4 pts), error handling 2, match/switch 1, ternaries 1 (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/PhpSpreadsheet/Calculation/LookupRef/XLookup.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9398c20cf83c4293499395efe7cd96a882bc86f864a2dfe0520341ebad7cb965"}},{"ruleId":"D2","level":"warning","message":{"text":"Styles.dxfs (cognitive 21): Styles.dxfs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (6 pts), boolean chains 1 (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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf81c0ee136a814f4d9929f0827144fd31ff7b6c5ad7edde027a2de20e5c5b05"}},{"ruleId":"D2","level":"warning","message":{"text":"BestFit.calculateGoodnessOfFit (cognitive 21): BestFit.calculateGoodnessOfFit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 1, loops 1, ternaries 1 (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/PhpSpreadsheet/Shared/Trend/BestFit.php"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a0d82f004f4c7337511fadf49073b4c3a36c84eaaca8bc2917f129cc2cef6"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.fromArray (cognitive 21): Worksheet.fromArray has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (10 pts) (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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"424890d9db0abeb5bafe203db89af5ce0b0a8b00bf472f655c85e040a444dc33"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.adjustRendererPositions (cognitive 21): Html.adjustRendererPositions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (10 pts), loops 2 (6 pts), if/else 2 (3 pts), boolean chains 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"332305e7387c26818655e4db9d42ba4c0cce8927dadf09fd7547e46257cb6248"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.writeCellProperties (cognitive 21): Style.writeCellProperties has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1659263f8ddc49113e51f6327e06bef1f415f120442f6b8218fbfdf5a5c8b79e"}},{"ruleId":"D2","level":"warning","message":{"text":"CalculationLocale.getFalseTrueArray (cognitive 20): CalculationLocale.getFalseTrueArray has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), error handling 1 (2 pts), ternaries 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/PhpSpreadsheet/Calculation/CalculationLocale.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"130285997a90c0e8c290379a6613a45d5afcf94f2942a5b7655c7932283b801a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelMatch.matchFirstValue (cognitive 20): ExcelMatch.matchFirstValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, 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/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"359daea7004399fe138b8aabe723d7bc5b1cdd8762a9c429bb735008f8a387ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.buildTextRun (cognitive 20): Html.buildTextRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (20 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/PhpSpreadsheet/Helper/Html.php"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f81fe825dbe287b2a12b824323479c40a62130badfc9ee9126e99aac09c889"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.lookForSelectedCells (cognitive 20): Ods.lookForSelectedCells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (8 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e352fa16d6937a998b08ddd9ac231032e302ed94ae18dbde6cc1c62048694fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.readWindow2 (cognitive 20): Xls.readWindow2 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (5 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2df57747077f8eede550052b5181f56446e3971b2e9db7cb821bfb99f4cb86"}},{"ruleId":"D2","level":"warning","message":{"text":"Biff8.readBIFF8CellRangeAddressB (cognitive 20): Biff8.readBIFF8CellRangeAddressB has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 8 (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/PhpSpreadsheet/Reader/Xls/Biff8.php"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eedb4f8c5b5043971f5d94119b411cc2de4f01d6ae6a788e101469fda7a1f10"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnAndRowAttributes.load (cognitive 20): ColumnAndRowAttributes.load has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, 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/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"934674b1ff1350db4e3afb3d89c16f63533913b0e79e300c0304ff635eee06ef"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSettings.printSetup (cognitive 20): PageSettings.printSetup has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 2 (10 pts), loops 2 (5 pts), match/switch 1 (4 pts), if/else 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/PhpSpreadsheet/Reader/Xml/PageSettings.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0621bbe6ec19f7c450914dccd5b694c35efcfad76d27e8f4e22b6035b7afad"}},{"ruleId":"D2","level":"warning","message":{"text":"DateFormatter.format (cognitive 20): DateFormatter.format has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, error handling 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/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1031a0845d4368fa5f450ae34e865f0f7d51605973c188a5a782199c1c82e34f"}},{"ruleId":"D2","level":"warning","message":{"text":"Csv.save (cognitive 20): Csv.save has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 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/PhpSpreadsheet/Writer/Csv.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7a334398ae1ffadad37ca1f30a8446a802bdc177d8526137cac42c8330e771"}},{"ruleId":"D2","level":"warning","message":{"text":"Rels.writeWorksheetRelationships (cognitive 20): Rels.writeWorksheetRelationships has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, loops 3 (nesting depth added 2). 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/PhpSpreadsheet/Writer/Xlsx/Rels.php"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe6e7975120360ce1a0335e6a4bff61e3be4be27080cf486ee1b3b280047b53"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.convertMatrixReferences (cognitive 19): Calculation.convertMatrixReferences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81474bd653e2afc57983a8e7b02a199a57a2d71a55af0227169095a533e6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"NonPeriodic.rate (cognitive 19): NonPeriodic.rate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2, boolean chains 1, ternaries 1 (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/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ba705c5f7db1b70faa302895d5e5b77760b27812d060b85ef6e5006b1501c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Concatenate.concatenate2Args (cognitive 19): Concatenate.concatenate2Args has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 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/PhpSpreadsheet/Calculation/TextData/Concatenate.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743753e1d89ed7409a01a2a1b58c96fd29ee504ab2caf5e3d657a8257e52653"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.processDomElementSpanEtc (cognitive 19): Html.processDomElementSpanEtc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2 (nesting depth added 9). 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4723f5360eaee5a0befb1f67777a5a39990ad718977887a42949860eeb730f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.createFormulaFromTokens (cognitive 19): Xls.createFormulaFromTokens has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (5 pts), match/switch 2 (5 pts) (nesting depth added 11). 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c670f5b495fba3f94c63444daddd2567aad6241f15188c8f686c9966ab2b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionalStyles.readStyleRules (cognitive 19): ConditionalStyles.readStyleRules has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 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/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c382f948040c21ea53ca9b703a736179eb0155f68c3902ace8071387201c90"}},{"ruleId":"D2","level":"warning","message":{"text":"Date.excelToDateTimeObject (cognitive 19): Date.excelToDateTimeObject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (5 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/PhpSpreadsheet/Shared/Date.php"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc13b5f1f2ae01df6266502985de03efac1fb9d4b153802c8a3c206ca3c50e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Date.isDateTimeFormatCode (cognitive 19): Date.isDateTimeFormatCode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (3 pts), ternaries 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/PhpSpreadsheet/Shared/Date.php"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fec9d9010a20fdc43cbd3012384cb8d10a59adf5f7ff65a0929bf80f27c575f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionalFormattingRuleExtension.parseExtLstXml (cognitive 19): ConditionalFormattingRuleExtension.parseExtLstXml has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), boolean chains 2, ternaries 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/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormattingRuleExtension.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf0071674efc89d9a2f5d1f2e08d0b1740441f3f711973ebe84c1b6194bfcd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.writeChartInCell (cognitive 19): Html.writeChartInCell has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"34156dfbbc877e43ea28c551a8cbe78a7227cea932093eb58a53b0d74c04945a"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateTableTag (cognitive 19): Html.generateTableTag has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 4 (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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"386bf59668194339e21388f17360e9ff7c9b2546fb4949718f3d03e7e253e639"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.calculateSpans (cognitive 19): Html.calculateSpans has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (7 pts), boolean chains 1, ternaries 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b107cb283e5319256f2f5e8d1310530d173053937f71cd4ff1d5c526eb4122"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.fact (cognitive 19): Parser.fact has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3 (nesting depth added 2). 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c1bb67170a6af0a4c05f3211b62b3120310c56f96c540387d3b1ed20a63951"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.toReversePolish (cognitive 19): Parser.toReversePolish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (3 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f5ae9e90a27784dabd2cec2bce2cc22afe838ebd788f1a7a40b6265dcf71af"}},{"ruleId":"D2","level":"warning","message":{"text":"Xf.writeXf (cognitive 19): Xf.writeXf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, ternaries 7, boolean chains 5. 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/PhpSpreadsheet/Writer/Xls/Xf.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3d840576f32ff517ed63b688dafa5c77a6fefaf17cbea7a835537a1ff2e502"}},{"ruleId":"D2","level":"warning","message":{"text":"Workbook.writeWorkbookProtection (cognitive 19): Workbook.writeWorkbookProtection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (6 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/PhpSpreadsheet/Writer/Xlsx/Workbook.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c689804bc47eba164b775117859af47366298e2aa51fe9dc7ab08eebef3f87"}},{"ruleId":"D2","level":"warning","message":{"text":"Functions.ifCondition (cognitive 18): Functions.ifCondition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 1 (3 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/PhpSpreadsheet/Calculation/Functions.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"14734408cf560bac647768be24053e34aeb715f7917073d35afd25c153b3a70f"}},{"ruleId":"D2","level":"warning","message":{"text":"Functions.flattenArrayIndexed (cognitive 18): Functions.flattenArrayIndexed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (9 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/PhpSpreadsheet/Calculation/Functions.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ef66df2585192e92875c85d13804deabd65c8b41e4e6fc901ec0c00ecea7df"}},{"ruleId":"D2","level":"warning","message":{"text":"TorowTocol.byRow (cognitive 18): TorowTocol.byRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 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/PhpSpreadsheet/Calculation/LookupRef/TorowTocol.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1cc042f2c2e38d5bca15fe1a88b484b33c780715648c82e69d86887a19f224"}},{"ruleId":"D2","level":"warning","message":{"text":"Averages.modeCalc (cognitive 18): Averages.modeCalc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), 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/PhpSpreadsheet/Calculation/Statistical/Averages.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"72415252a87e742b45accff3632a81c8fb5d5bf46111d9049fc909525af9cbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"JpGraphRendererBase.renderPlotLine (cognitive 18): JpGraphRendererBase.renderPlotLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (6 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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7200c39b526ec30dcbc79db52f0414f9a6f7417421644b5c21ed0246251f7ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"Csv.convertFormattedNumber (cognitive 18): Csv.convertFormattedNumber has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (7 pts), boolean chains 1 (nesting depth added 11). 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/PhpSpreadsheet/Reader/Csv.php"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5a475db93f74c41852b9a91ed7ce9d8a01576419738036939943a4fcf7ebb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Gnumeric.loadIntoExisting (cognitive 18): Gnumeric.loadIntoExisting has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (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/PhpSpreadsheet/Reader/Gnumeric.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ee16486b10fc1ff30757b2347755f71fefda1bce17d92b25ba234b08816313"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.getBorderStyles (cognitive 18): Ods.getBorderStyles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (4 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"79792521993cc91fcde2434ce0312772491bb3a978c1c87ba9f32fea44e71586"}},{"ruleId":"D2","level":"warning","message":{"text":"ListFunctions.listWorksheetInfo2 (cognitive 18): ListFunctions.listWorksheetInfo2 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (5 pts), loops 3 (4 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/PhpSpreadsheet/Reader/Xls/ListFunctions.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"379191a625df5dfb1c57aafd1e755c791856a94eab2feb7e078d3dc91c3bd5e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.readRibbon (cognitive 18): Xlsx.readRibbon has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), ternaries 1 (2 pts), boolean chains 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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dffbe0d3d65d9b3bbb50b49cac4d28687ef11450c1102d2b41a8697527a524b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionalStyles.readConditionalsFromExt (cognitive 18): ConditionalStyles.readConditionalsFromExt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 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/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"459c5e5db17b0d63303c3531fbbf60a0f9bdc7d41f1f54e30bbd2127a8d50df6"}},{"ruleId":"D2","level":"warning","message":{"text":"Root.calcSize (cognitive 18): Root.calcSize has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 3 (6 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f5afd33d798484faf9b8140063b2a37f51605b898609d95ed0cdc5f4ab41be"}},{"ruleId":"D2","level":"warning","message":{"text":"StringHelper.convertToString (cognitive 18): StringHelper.convertToString has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (5 pts), boolean chains 4 (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/PhpSpreadsheet/Shared/StringHelper.php"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb650e8956947b87ec6dba623969f0d28db5da46e2c03cbf7c06be5bb6b1a005"}},{"ruleId":"D2","level":"warning","message":{"text":"Trend.calculate (cognitive 18): Trend.calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), match/switch 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/PhpSpreadsheet/Shared/Trend/Trend.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d145d28c9e8b96dfd740abe7362c3093318d56c92d9b21106a33efe88020fec3"}},{"ruleId":"D2","level":"warning","message":{"text":"Spreadsheet.getDefinedName (cognitive 18): Spreadsheet.getDefinedName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), boolean chains 3 (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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eca1f7f2968e86431727c9eba64f37cc56c544a70fc2cdd236724be4e1e93e"}},{"ruleId":"D2","level":"warning","message":{"text":"Alignment.applyFromArray (cognitive 18): Alignment.applyFromArray has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 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/PhpSpreadsheet/Style/Alignment.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0380c5edc7ed67b8f17a0d2e85fe7c4a2bbe7e2aa316b5d22647c5b1458e353b"}},{"ruleId":"D2","level":"warning","message":{"text":"Formatter.splitFormatForSectionSelection (cognitive 18): Formatter.splitFormatForSectionSelection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1, match/switch 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/PhpSpreadsheet/Style/NumberFormat/Formatter.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b63b9f4ac3dc33b2cce51936336aa4ed80fe6d14b0962b1aed9cdba48de623e"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.showValue (cognitive 17): Calculation.showValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 1 (3 pts), ternaries 1 (3 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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc5681883938b8cde349803afb0eeeee5a353d9fc790dfc1881d270b6dfdc76"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayArgumentProcessor.evaluateVectorMatrixPair (cognitive 17): ArrayArgumentProcessor.evaluateVectorMatrixPair has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (12 pts), loops 2 (3 pts), if/else 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/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2baa2435d4894c94d1446c7742ad378e2b74f947686c257e5dea8d447d509da"}},{"ruleId":"D2","level":"warning","message":{"text":"Periodic.rate (cognitive 17): Periodic.rate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2, boolean chains 1 (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/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/Periodic.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a364f01e5d28ed002cb8b2000d586cbc65700ad2fff4d2d6209d082e65344a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Conditional.statementSwitch (cognitive 17): Conditional.statementSwitch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (5 pts), 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/PhpSpreadsheet/Calculation/Logical/Conditional.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d405935126c755a34d65ebd028348c348f30ca7c0d3a89d7ab18a8fe4e8a2ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.readColor (cognitive 17): Chart.readColor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"82feb3e8d7d44eb599a018b54564aeb52b41c7e14adbb0705ae69f3e1ce4b938"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSetup.headerFooter (cognitive 17): PageSetup.headerFooter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (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/PhpSpreadsheet/Reader/Xlsx/PageSetup.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6c2b335fc02250e6481a041bb4a9765c0063a215ab30d26d8e52dfe22bd5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"OLE.readPpsWks (cognitive 17): OLE.readPpsWks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (5 pts), boolean chains 2, match/switch 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/PhpSpreadsheet/Shared/OLE.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37f536bf1a623d53f77d23805801a044620e3866072708e041af4782678bb33"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.extendRowsAndColumns (cognitive 17): Html.extendRowsAndColumns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d3cfce14a089f5539044e5fab734c923bdc3a44b18a0064a4d116bdc798be7"}},{"ruleId":"D2","level":"warning","message":{"text":"Content.writeRows (cognitive 17): Content.writeRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, 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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e48c298f4e2d775d9efe55d4631c022abadc4692a465e140764684c0b3f6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"NamedExpressions.convertAddress (cognitive 17): NamedExpressions.convertAddress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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/PhpSpreadsheet/Writer/Ods/NamedExpressions.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88f259db07429d49927b9681c7d80551d57b45ee1d9d0585cb45bdb9df04b05"}},{"ruleId":"D2","level":"warning","message":{"text":"Xlsx.addPassThroughMediaFiles (cognitive 17): Xlsx.addPassThroughMediaFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d4f408afa8e1e5dd7f1e96d7a1f19aceb8a340bd2d258fb7002e3d78076423"}},{"ruleId":"D2","level":"warning","message":{"text":"Style.writeStyles (cognitive 17): Style.writeStyles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 6 (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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddb8d5885f7bcade7fbc8d8a27af62371db3287148a1607f82ad155e46b9ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"Calculation.validateBinaryOperand (cognitive 16): Calculation.validateBinaryOperand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (3 pts), boolean chains 2 (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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a0f5fce7dd60ed1108f7789214771bf4d8ca262bf03cfbd893d3d174dab8e6"}},{"ruleId":"D2","level":"warning","message":{"text":"NonPeriodic.xirrBisection (cognitive 16): NonPeriodic.xirrBisection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, 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/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef42ad5e722cf402dab5c619b9ebb71d53a88f3ea5e5d55cb7d41030a314cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"Deviations.kurtosis (cognitive 16): Deviations.kurtosis has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1 (2 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/PhpSpreadsheet/Calculation/Statistical/Deviations.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d720737aebd756509c22baba695a00866f197517e8e5e14463d37fbc9f7534cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ChiSquared.distributionLeftTail (cognitive 16): ChiSquared.distributionLeftTail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (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/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8237ffeb11b622a7a944c3ed27c208aa896b55dbbeb8a6065c3abad5cc864a73"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.NUMBERVALUE (cognitive 16): Format.NUMBERVALUE has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1, ternaries 1 (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/PhpSpreadsheet/Calculation/TextData/Format.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e36fa7dbc9d11a0189b23a57565bf5626f7438511cb2049f31f7c41e6862156"}},{"ruleId":"D2","level":"warning","message":{"text":"Styles.readStyles (cognitive 16): Styles.readStyles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 4, ternaries 1 (3 pts), 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/PhpSpreadsheet/Reader/Gnumeric/Styles.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa609e0962ec9a635ddf5ad170a8b0faad5e616dccfc19f0209f0869adea5562"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.loadProperties (cognitive 16): Html.loadProperties has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (8 pts), if/else 3 (7 pts), loops 1 (nesting depth added 10). 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d677befa0a504f42db28d445b13e2c543356470dba5af7a4512b39de38b072"}},{"ruleId":"D2","level":"warning","message":{"text":"Ods.getFontStyles (cognitive 16): Ods.getFontStyles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 1). 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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b220c43cfe3adde8db5f3fc3594ab90946a83fd758db863ceba8b119b961ae98"}},{"ruleId":"D2","level":"warning","message":{"text":"Xls.getNextToken (cognitive 16): Xls.getNextToken has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (6 pts), error handling 2 (4 pts), if/else 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 8). 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d359db6f047f8629f166866380940cdbfce27bdace85113468513199e38729c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Root.saveBigData (cognitive 16): Root.saveBigData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 1 (4 pts), boolean chains 2, 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0589da3bcac615760515b4f71c02ea935520679f12a0ddb2293ac427b87424"}},{"ruleId":"D2","level":"warning","message":{"text":"Spreadsheet.addSheet (cognitive 16): Spreadsheet.addSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (3 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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"70963eceb86ae603644c821b65502983f36b2e7cf2f4b16d0648e2b7fcfb47a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Borders.applyFromArray (cognitive 16): Borders.applyFromArray 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/PhpSpreadsheet/Style/Borders.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16bf7b17c38c60c7afeb5df0db084142db359f09de32053ede02c95f1bdddc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Protection.isProtectionEnabled (cognitive 16): Protection.isProtectionEnabled has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Worksheet/Protection.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa56b9fd7421f85d4f4fdd19191cf48db0574a9d3cf131c24b21d99b7c3c59"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.setSelectedCellsActivePane (cognitive 16): Worksheet.setSelectedCellsActivePane has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (4 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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec6d3d8ddb1e15291f36389b8f799d87c797d6b8fe4473057854491c0fa478d"}},{"ruleId":"D2","level":"warning","message":{"text":"Html.generateHTMLHeader (cognitive 16): Html.generateHTMLHeader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), boolean chains 1, 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"844999198be7393460cb3ddb31abe98ad47a3f5dc45ca5c3b23a80977bb81378"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.convert (cognitive 16): Parser.convert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2. 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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab8cdfa8ff150c4b76261479e34af948ebc948e16f262b32e3a2f621b42910"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeFormula (cognitive 16): Worksheet.writeFormula has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, error handling 1 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca03dae06bc0b87119522ac0d9c3da4eaa0b516f221dd1e6f9c9e4989cf78bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeCFHeader (cognitive 16): Worksheet.writeCFHeader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1 (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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd95ef9144fb37f8f57ad7829c461a39add13a2f0a76b0ad1773c5f80967298"}},{"ruleId":"D2","level":"warning","message":{"text":"Chart.writeShadow (cognitive 16): Chart.writeShadow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2, boolean chains 1 (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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"513172096e7566ff83850267ad8d23bdc8dddc21bea7d0ad2b58568d69fcfcda"}},{"ruleId":"D2","level":"warning","message":{"text":"Worksheet.writeSheetPr (cognitive 16): Worksheet.writeSheetPr has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (2 pts), ternaries 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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a953d2700a66fe1746e26616775c14a9ab8a3fa70b95ee7b9bb7bc127aa9e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xlsx.loadSpreadsheetFromFile: MethodTooLong \u2014 loadSpreadsheetFromFile runs 952 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 852 over it, 9.52\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc40817d7bc2952835ffeea6686f2f62b58a48ef3c3ca285b90b7e138a06b554"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Worksheet: TooManyMethods \u2014 209 methods. The bar is 30 methods; this is 179 over it, 6.97\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba42480edc2eec447a727678330b6817708cd1c45fca8d3fbb4757b4be98e212"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xls: ClassTooLong \u2014 2175 significant lines (blank, comment-only and punctuation-only lines excluded), 92 methods. The bar is 400 significant lines; this is 1775 over it, 5.44\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2878370a0dbd3b9de1962f22c00d8a8a38a37a40bf34048afb87e5615cff89e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FunctionArray: ClassTooLong \u2014 2140 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 1740 over it, 5.35\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/PhpSpreadsheet/Calculation/FunctionArray.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d76720993e67d8233e4dd2d1177dd290485f3af4b0bd375930b1e303fb90109"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calculation.processTokenStack: MethodTooLong \u2014 processTokenStack runs 472 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 372 over it, 4.72\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"90deb2e0e5b473265aca3707dfb7980e6c97fc315dc87062bd72b7515ffa16fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xlsx: ClassTooLong \u2014 1845 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 1445 over it, 4.61\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"113976a6e930bd87209b897a2cd8afbdbd419846d3ef1933e9c8472f04e9210f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Reader/Xls.php: FileTooLong \u2014 2206 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Xls (65-4922). The bar is 500 significant lines; this is 1706 over it, 4.41\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d9e7764b4e5a91e20b667a5faa3cb5933b92d955cb0366e181b48330755148"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Calculation/FunctionArray.php: FileTooLong \u2014 2142 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: FunctionArray (5-2685). The bar is 500 significant lines; this is 1642 over it, 4.28\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/PhpSpreadsheet/Calculation/FunctionArray.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7747f3c76850f3eb00a707225e4c74844d86762a66b8c71dce46702c7998e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoadSpreadsheet.loadSpreadsheetFromFile2: MethodTooLong \u2014 loadSpreadsheetFromFile2 runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.14\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/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f48003fbe1d3b0e30d30b30b88fbf3a45dc42f15891923890c1b2ee5690b49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worksheet: ClassTooLong \u2014 1647 significant lines (blank, comment-only and punctuation-only lines excluded), 209 methods. The bar is 400 significant lines; this is 1247 over it, 4.12\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4382a91c06052b75dbb08e7f8582f6015f55dc35d6516c8cd7020346912a7a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Calculation: ClassTooLong \u2014 1643 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 1243 over it, 4.11\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44d256de8d3a6cd9f7cb5dda83d22506e20974421d702c08f858c658e02936e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Spreadsheet: TooManyMethods \u2014 119 methods. The bar is 30 methods; this is 89 over it, 3.97\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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"550c0fa9eb9456985b30b33dbc09acd150ae8e1b32812c553ad6905f3137f1e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worksheet: ClassTooLong \u2014 1523 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 1123 over it, 3.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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3d8c3a6d17b126d91c2366b2137e7439e8407facc5ae93b28699ca2f4bcd5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Reader/Xlsx.php: FileTooLong \u2014 1895 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Xlsx (54-3088). The bar is 500 significant lines; this is 1395 over it, 3.79\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1960ff13a006900afef8bed15849e141d364bdc5bdf33b48861fbbcbfc626663"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Theme.writeTheme: MethodTooLong \u2014 writeTheme runs 363 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3403a09568a4a9024daaf7770f9e8842027632d7ab20ac4934a942a9fdddf6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.readChart: MethodTooLong \u2014 readChart runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"216003521ae38f3b89b2f05b19afc9c3f934842081f61f89934b2faf3b51e067"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Worksheet/Worksheet.php: FileTooLong \u2014 1683 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Worksheet (40-4337). The bar is 500 significant lines; this is 1183 over it, 3.37\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11ed70c6f8c2f621890ace88b3512a0aed4d62b71df8b5521f30a6a1274a8f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Calculation/Calculation.php: FileTooLong \u2014 1668 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Calculation (29-3078). The bar is 500 significant lines; this is 1168 over it, 3.34\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d1876a5669fc6b969b1d05bde164d6f070ad27da2a4857907450ba7373df69"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calculation.internalParseFormula: MethodTooLong \u2014 internalParseFormula runs 333 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 233 over it, 3.33\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf084e64033718b2fe3fa61694105c97a6e66afd74c8841e4522557d2a84b87"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Chart: ClassTooLong \u2014 1306 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 906 over it, 3.27\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"028641f8449fe69e57eb310eb8ceec31b1b3ca75ecbf231c54e7ad8a8404b4c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xml.loadIntoExisting: MethodTooLong \u2014 loadIntoExisting runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"363bf4c2ca96ed59e046c158eca0248e8434e460be6150d35bab8820bc0de2be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xls/Worksheet.php: FileTooLong \u2014 1543 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Worksheet (29-3261). The bar is 500 significant lines; this is 1043 over it, 3.09\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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bfec88fe107c60fc0b2988ca44d81b70f0a32ab9dd22fa8a51811a58d06781"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Xls: TooManyMethods \u2014 92 methods. The bar is 30 methods; this is 62 over it, 3.07\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8881e34bb311f505f0e947f180a447c3ded6e960b0c3f1d0c5df849bd696673"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xls.getNextToken: MethodTooLong \u2014 getNextToken runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f78a317f3ace6751547cfdc05995f68a08dda812cc9f7c12f8ee077915c2eb9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Html: ClassTooLong \u2014 1216 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 816 over it, 3.04\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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dc65e5d83fe6127ee27f5085ce9a12c50bc11f423cbd0957b45936b99fab3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ods: ClassTooLong \u2014 1178 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 778 over it, 2.95\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff5f0fe71c2f961e5c9ff6d966bd3ea51c35ec57c66daeebce0ceed21344292"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Chart: ClassTooLong \u2014 1154 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 754 over it, 2.89\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ededb3e354e751f5061e6a6878d1cae950e05517c011abc98854bf3e64897cc6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worksheet: ClassTooLong \u2014 1150 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 750 over it, 2.88\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f59327596aaaeb6adc2b426a4319e29ed6fe8931e320cd43eab526062aa430"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ods.processTableRow: MethodTooLong \u2014 processTableRow runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"253baf6b1afb5035131eb7a481bdd37e44f079e525b8c86d719d02364935494f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Chart: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\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/PhpSpreadsheet/Chart/Chart.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"717c6d165a46ae9b5aef0ea445e2bdac3e134cee136c4318ca613d6cd08f9a29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Html: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4b252c666fef7447f85faa200fae961028314b983b783fc5572b428705f1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ods.loadIntoExisting: MethodTooLong \u2014 loadIntoExisting runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d082a46d9c3bb7e91b6f9275ee97fa22e1f97a0c53d1b59cb6893314f64692da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xlsx/Chart.php: FileTooLong \u2014 1325 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Chart (23-1989). The bar is 500 significant lines; this is 825 over it, 2.65\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e36d2e09b6f95ce5b8bedede05dfc817b9d47c9b14c3b4882ba2babbe0ff7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Escher.close: MethodTooLong \u2014 close runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f865dc88674fd82482eb2961eaa2ff34a71a6513fd9a91a647bd6b9b29ac26bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Writer/Html.php: FileTooLong \u2014 1251 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Html (39-2419). The bar is 500 significant lines; this is 751 over it, 2.50\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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39819740ce5db537f6819ebdcb4fabde1611122e36bf9effe622c8137edc68cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Reader/Ods.php: FileTooLong \u2014 1214 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Ods (40-1926). The bar is 500 significant lines; this is 714 over it, 2.43\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dbe11268ef1aba023196b3c9170943f8e39116f74f12948f9578df9fd3a510"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Worksheet: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aa13b36493b709f7c58f79f0fe492dc0252dfe5b506cdf8bce85d812f2c84d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xlsx/Chart.php: FileTooLong \u2014 1174 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Chart (24-1658). The bar is 500 significant lines; this is 674 over it, 2.35\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e105c03fbdb90b8ea9ffec1c163a0a81abd8942430d939da0261f1596c44baec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xlsx/Worksheet.php: FileTooLong \u2014 1174 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Worksheet (28-2010). The bar is 500 significant lines; this is 674 over it, 2.35\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"846365f4507592b9f7576aab571a16ea895e60c22d7b4110378f60f8361da3b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Calculation: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2608f1bfbeb2c05ad40b2e578a5a5bf88c0a6908d63c6523229e9bd8441bfc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Worksheet.writeCFRule: MethodTooLong \u2014 writeCFRule runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d2846a4656d2a4b551f92e17e73d3e6838329d9e8ffd6419722105423065c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.writePlotGroup: MethodTooLong \u2014 writePlotGroup runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"57828b973a534188fb109b6238736a997cf9125fff1df092759517e7d0133c9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 453 over it, 2.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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2237d0f12ad3c6caf6f7eeb5ea423ce8647b65bcc169aedb8c7c33f4d531ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cell: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec39ec403ee72d0abd247129e37748583123bf205b857935d3a0b3ffa51e9f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Style: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c039c011f7437439f5c043c574ac2eb615951d36a48891b02938f5cc30e67b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Style: ClassTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 429 over it, 2.07\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d4f47c8c5ca1f200ac10d0605701caefa1baf9bc51ed5c7dd394dae43b8e14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.chartDataSeries: MethodTooLong \u2014 chartDataSeries runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd37c238dccef55cd4143434b9b363869f66195f44ddb8d1b681741cfec88297"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Html: ClassTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 369 over it, 1.92\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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37b2d8f0dbf64c2271bc19bdab95a0e29bba93d602127b4a9e0d3dd7a9d4359"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReferenceHelper: ClassTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 347 over it, 1.87\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05c27a797e5eebe14563fc6790539c474bf900f301644e23f4b276b7a3d685"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Xlsx: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"067ec72d0d0574015079edde1f5a548b66533a73d7c0b4aa91e95d5918df7100"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseDrawing: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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/PhpSpreadsheet/Worksheet/BaseDrawing.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd34e267501f1380f786bd3517e1ad543f1dc5c076d7a5cfa2e7aef80bf6d98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Style.applyFromArray: MethodTooLong \u2014 applyFromArray runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee18f52c986deba6b4029801ebe350d96a39af3fa06e7de6d9c0703727d7a3cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Worksheet: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf7cf27dc4bef703a6a194314d4a508b8f9b9da5d63368aeb21d28b3a646fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Spreadsheet: ClassTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), 119 methods. The bar is 400 significant lines; this is 297 over it, 1.74\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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65a3f452e874ba5904cce1332220aa12e1f4c34cb8cb80c1bb34e995c61b09c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SparklineGroup: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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/PhpSpreadsheet/Worksheet/Sparkline/SparklineGroup.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ce884644211718390ca5c3ef9151a5055013149d15e3dc3caadae48287b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xls/Parser.php: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Parser (17-1659). The bar is 500 significant lines; this is 362 over it, 1.72\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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba34d5cc562d826d5d41df5f2a4a8a91fd7168a53e8d3ec13c41e0ad87b4c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Html: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fdeb839d3774f4d162e7be26c8b052e8650c57b13ff0f18823d593c840383a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cell/Style.php: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Style (21-1168). The bar is 500 significant lines; this is 346 over it, 1.69\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe85b10f42db90b3cf84686f50e96e038b1bff478829d94a642070e0f5955163"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Content.writeCells: MethodTooLong \u2014 writeCells runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec8cddf99610e102166121ba65640c67e1f2df18815022bd43142c4b3ed40f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Csv: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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/PhpSpreadsheet/Reader/Csv.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaebf3263343d12205ebc35f0e904a9abd287d67a7763e77117f05ebeac2549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoFilter.showHideRows: MethodTooLong \u2014 showHideRows 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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1ed3920dbd784e91ba3a3433a15019714a31815a29e0b5a4620ccddf0eb94a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Layout: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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/PhpSpreadsheet/Chart/Layout.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6219a422475d5b54d289d5aec56608394c5ccff737a02f485379bbf0d43333b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Font: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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/PhpSpreadsheet/Style/Font.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ca7fd47ccc5ebac23598c7c23adcc91107a0a5346182390d1207ec31956a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Worksheet.close: MethodTooLong \u2014 close 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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d8f939ec87852515db66ef49156f3ca2962681e43fb43b38e9620a6c8aabc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Protection: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/PhpSpreadsheet/Worksheet/Protection.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a23fefc3d15702cceb3b4cccd19c3568ffcb60e1a708ac85d6a0c04a864f1bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Xlsx: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac550fdb6d01dca507e909959c5074227956e090891a0a75b9b8988e4c8f1505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xlsx.save: MethodTooLong \u2014 save 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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c72ad216f3f5f5f590518e26d4995851858b52d9e23659c34b55e0a88df0d2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Reader/Html.php: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Html (33-1401). The bar is 500 significant lines; this is 298 over it, 1.60\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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a54cc734824bb8ab10e18895047c7dd77b74ca9e2cba7c58d460444f38256"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.writeCategoryAxis: MethodTooLong \u2014 writeCategoryAxis runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1930e3770582f628c875858f47ade88680edea2c8668446190d4e69ed6df83e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PhpSpreadsheet/ReferenceHelper.php: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ReferenceHelper (15-1411). The bar is 500 significant lines; this is 258 over it, 1.52\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"813105a46a98d55d3b1183507b2f2469a62f7a09eeb9f6047af34d28369bc549"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReferenceHelper: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd32f5e3692efa671f1ce967686106df67b554b65c3206a6ab86f2f8575be18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AutoFilter: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b0e25294a2ac45e0fcec6c75ebaa0f4e0153574f7078bb7aaf533273b6626"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.writeValueAxis: MethodTooLong \u2014 writeValueAxis runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1ed0d965eb8286fe18da31f8742616dac6594fb009f4aa6884e8e559e464e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Properties: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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/PhpSpreadsheet/Chart/Properties.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b505e539c253c2679dd36b604de1e807b7ebb938f66a4fd043dac98c32a64b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PhpSpreadsheet/Spreadsheet.php: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Spreadsheet (19-1964). The bar is 500 significant lines; this is 212 over it, 1.42\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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a7d26858ad99dd02e7c4aa9c06560749bb31c6377f2c25effc224f31a32d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutoFilter: ClassTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 157 over it, 1.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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c6baa89411f93fe9107e41046b7bbb00027f29d5d255713f6c575dd3b7c719"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageSetup: 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/PhpSpreadsheet/Worksheet/PageSetup.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b240c8458b33f87049873a9dc91c8cf2e6e5b1d384361a07dfe8a219ebc328"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Properties: ClassTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 144 over it, 1.36\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/PhpSpreadsheet/Chart/Properties.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d68f723916146e3b605df7d2484ca83cd30cb22a376a3ee52513c233bf6c3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.parseRichText: MethodTooLong \u2014 parseRichText runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e153993426a964e19670947f214d2cbcbfb46dfced53dacc1907b2bc62cb4ead"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xls.createFormulaFromTokens: MethodTooLong \u2014 createFormulaFromTokens runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d48db41845876c159bca4c8c5a1f2fe1a2edd0b1cd9bf93707c19ff6e01c78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chart.writePlotArea: MethodTooLong \u2014 writePlotArea runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87dacec2135e0afeaf92f3bb3eb5a918719f2d5159ff2be03a050d3ff8454c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContentTypes.writeContentTypes: MethodTooLong \u2014 writeContentTypes 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/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9727a8736058fb96a8c20d891e67694beecb0a4a1f2880a10933415a55a1e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Html.generateRowWriteCell: MethodTooLong \u2014 generateRowWriteCell 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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffb3cc0dfb73f260848819285e9e9ba186241b4d50edda4a91679c771a6c40f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataSeriesValues: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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/PhpSpreadsheet/Chart/DataSeriesValues.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"466541c61001be6c189886d9613f64fdab304a66c3369a34f67188e40b8c5d28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgileEncryption: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 118 over it, 1.30\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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaf5b59bbf27331802c6c9958f6e671402cb370514433ca19913637d8ca4d08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cell.getCalculatedValue: MethodTooLong \u2014 getCalculatedValue 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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba315b4775bf6f09ffc3c3783ebd935f5921fd9a7ed408fdce61813612fabb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JpGraphRendererBase: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 115 over it, 1.29\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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0ab34d99c88c001a5bf48729346323d52683b90ab866bcb1d8ac49f3fae12"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Cell: ClassTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 111 over it, 1.28\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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f654dc7eb6972dccfbd1a02c2871d6e14b2b5160e70b20074f99ad9e9f21a0f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xlsx.loadSheetData: MethodTooLong \u2014 loadSheetData runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6529f7afe8594f11fc8b8cb4c1cc96f9e1c5f62b61a65d65fb4ee73c3350f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Properties: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 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/PhpSpreadsheet/Document/Properties.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2ae4df1b53ad163e8b5984f9b3973e8d95f7ffcfb93b99bca335cfacbbe50e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xls.readXf: MethodTooLong \u2014 readXf runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"448242af63c2e43edd80064e39941bbdf66d0ff3badd63316eafeb2da73d1cef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgileEncryption: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d660247d83551e2e8c5c70f50fa9a0dcc9f197c03e5001b29179e820a1a8c4f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xlsx: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 77 over it, 1.19\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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2656ad86e7ab86684eb5080c0e30a42c1a0f71bd6253a2a2f4b90b4249135760"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xls: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 72 over it, 1.18\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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"534452b5ec37a68d5a823687396b95cced5d07308fc77924ae431e4547905032"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Html.applyInlineStyle: MethodTooLong \u2014 applyInlineStyle 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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cce6d82ca6682c736029bbcc14082d4ebbdeedb185a48680d26063e9272861"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Xls.writeDocumentSummaryInformation: MethodTooLong \u2014 writeDocumentSummaryInformation runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba41896e3758a97b6f25b15a248bb683916fe3b31685ea7805a205f3234ad7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ods: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b754066e440b658fdf753267bb0d175f8f78f7dc680f8118671b982ea3ccc2c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StringHelper: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/PhpSpreadsheet/Shared/StringHelper.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"484181093a81af2b32b32f6b42aa279ecd2626efa93f1fbafa4055908d6f94d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConvertUOM: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 66 over it, 1.17\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/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4078b3d9a406ac4c23cf66d23edd25bda3737bb0a0dbab8d809acff2233b984d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Worksheet/AutoFilter.php: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: AutoFilter (21-1090). The bar is 500 significant lines; this is 74 over it, 1.15\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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a179a5465e2592d6c3c0a73098c6fa36104118bb024bac31f1b3b38199b40b3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Table: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 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/PhpSpreadsheet/Worksheet/Table.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5abf09d863b91e675cba3a339939fdde91a621fecfe1acfffa3af9a10908d0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xml: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 50 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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8a51264e7e3d6acd8eb186d99e6e6c5d0b6ce79b1a0791d30f21976155f882"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Workbook: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 43 over it, 1.11\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/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa632792862ab80b61559a2469cbe35393e953e388c2eec1b3c954eea5123fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chart/Properties.php: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Properties (11-935). The bar is 500 significant lines; this is 46 over it, 1.09\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/PhpSpreadsheet/Chart/Properties.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e26340815148401909536f343ecda88e1baf03455eeafd9ca85a0342008edc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Drawing.writeDrawing: MethodTooLong \u2014 writeDrawing 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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d400ae3d495bada6396e0fd44d77dbb3f7a8c45bea0bee498e9c20c3393149b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Renderer/JpGraphRendererBase.php: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: JpGraphRendererBase (27-886). 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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45edbdd67549e262bf565bcbd14a3c95e112ccc91e85f2f359717df2334284d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataValidations.loadDataValidations: MethodTooLong \u2014 loadDataValidations 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/PhpSpreadsheet/Reader/Xml/DataValidations.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"584e4955168f961caadd49420feaa616463b137922c2057ab8110f5119523581"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReferenceHelper.insertNewBefore: MethodTooLong \u2014 insertNewBefore 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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da1ff1aab902024464521c7711da76086098def65f4ff62c13fb5699df5230"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JpGraphRendererBase: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2214f9e4b19db0d3467ea9ee1002c08765fc930ab29c5b12fc5f561d4ec0a21e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cell/Cell.php: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Cell (23-1189). The bar is 500 significant lines; this is 30 over it, 1.06\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/PhpSpreadsheet/Cell/Cell.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0201cef6e6cca4358227ddbeb3bbfb1626de3b88df69387c90349b32fc21e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Xlsx/AgileEncryption.php: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: AgileEncryption (13-842). The bar is 500 significant lines; this is 26 over it, 1.05\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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba495d04414cd0d69a7623b8e90efbcb0faa419ec9174c8a272057941454247d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoadSpreadsheet: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 15 over it, 1.04\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/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"229afe657a2904013aff9fa1c42c51e38b64cdb90a0a3790b8eae17bca99754f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseReader: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/PhpSpreadsheet/Reader/BaseReader.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3863bae6312a0d84465eb682cbcb41c1292351b081eb77a7976644ca3b2bb8a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Parser: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e66e22ac87b9dce186355a306303c995f51776aefec12e74712f8ba93bb92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Writer/Xlsx.php: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: Xlsx (41-1156). The bar is 500 significant lines; this is 14 over it, 1.03\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/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae479024973615dd1cfaacde0d74aacbbecb92f69d00d5e326ece6337cfee282"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): src/PhpSpreadsheet/Writer/Ods/Formula.php:97-150 | src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:85-136 | src/PhpSpreadsheet/Writer/Xls/Workbook.php:499-544 | src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php:196-241 \u2014 These 4 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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/PhpSpreadsheet/Writer/Ods/Formula.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec0519164c83adc1bf16b39509a2d5c74549ad1cd8e25edf4825a15045e199"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (145 shared lines): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:606-819 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:829-1041 \u2014 These two members are variants of one another: 145 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"336de941d095de9fa772d14af0055df72f84d0eb6facea2ef20cf50b21be166b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): src/PhpSpreadsheet/Writer/Xls.php:581-776 | src/PhpSpreadsheet/Writer/Xls.php:813-917 \u2014 These two members are variants of one another: 70 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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"530e2fc44d04b05393e63cf2e97cef4b0de5f560ebaf2d07cd7fb09634668a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:158-230 | src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:338-414 \u2014 These two members are one piece of code written twice and then edited apart: 26 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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138515ce9837de40702cdb0e9ebb4602953b4f9380795696fdcf394f30e024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:29-72 | src/PhpSpreadsheet/Writer/Xlsx/Comments.php:105-164 | src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:26-271 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:21-108 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:119-177 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:187-248 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:27-80 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:365-499 | src/PhpSpreadsheet/Writer/Xlsx/FeaturePropertyBag.php:13-64 | src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:17-61 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:23-84 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:95-191 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:243-384 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:419-480 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:491-518 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:524-555 | src/PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php:19-45 | src/PhpSpreadsheet/Writer/Xlsx/RelsVBA.php:18-38 | src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:72-108 | src/PhpSpreadsheet/Writer/Xlsx/Style.php:28-162 | src/PhpSpreadsheet/Writer/Xlsx/Table.php:23-113 | src/PhpSpreadsheet/Writer/Xlsx/Workbook.php:25-68 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"388da4321497f2e270b292623c0153ca11d3a8bd080b2a3545f720a3e6130487"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): src/PhpSpreadsheet/Reader/Xls.php:2717-2748 | src/PhpSpreadsheet/Reader/Xls.php:2762-2849 | src/PhpSpreadsheet/Reader/Xls.php:2862-2903 | src/PhpSpreadsheet/Reader/Xls.php:2916-2945 | src/PhpSpreadsheet/Reader/Xls.php:2958-3073 | src/PhpSpreadsheet/Reader/Xls.php:3142-3189 | src/PhpSpreadsheet/Reader/Xls.php:3202-3231 | src/PhpSpreadsheet/Reader/Xls.php:3248-3285 | src/PhpSpreadsheet/Reader/Xls.php:3293-3318 | src/PhpSpreadsheet/Reader/Xls.php:3465-3493 | src/PhpSpreadsheet/Reader/Xls.php:3502-3515 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e0dd63111b93e7381583cfb738623062601d15edabcad4bae0617c6b12a3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/PhpSpreadsheet/Calculation/Financial/Amortization.php:51-99 | src/PhpSpreadsheet/Calculation/Financial/Amortization.php:136-190 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:50-86 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:117-140 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:173-217 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:248-274 | src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:43-70 | src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:102-129 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:42-70 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:103-148 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Financial/Amortization.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bfbfec55c1117242e88f925f45f934d0ca77a55b178a1043150fcc59df029d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/PhpSpreadsheet/Reader/Xls.php:1140-1162 | src/PhpSpreadsheet/Reader/Xls.php:1433-1601 | src/PhpSpreadsheet/Reader/Xls.php:1609-1638 | src/PhpSpreadsheet/Reader/Xls.php:1646-1661 | src/PhpSpreadsheet/Reader/Xls.php:2419-2468 | src/PhpSpreadsheet/Reader/Xls.php:2581-2626 | src/PhpSpreadsheet/Reader/Xls.php:2641-2701 | src/PhpSpreadsheet/Reader/Xls.php:3523-3549 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0444c0cb148dc4ec9610b6120db6ac2bf960da104919d6075b896e7b848038e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/PhpSpreadsheet/Calculation/Financial/Coupons.php:49-74 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:108-141 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:175-202 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:238-253 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:288-309 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:345-360 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Financial/Coupons.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cef623a25fcf1e7c676fc90f3d5777fb5b437a690fe1907487ad420a85f83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php:35-72 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:63-80 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:72-94 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:38-59 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php:34-55 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae4a25aef676e849cc71978fce6082937b7db1f8312ddbacc3b6551181fc6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/PhpSpreadsheet/Calculation/Engineering/BesselI.php:40-57 | src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:39-56 | src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:37-54 | src/PhpSpreadsheet/Calculation/Engineering/BesselY.php:36-53 \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/PhpSpreadsheet/Calculation/Engineering/BesselI.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7801063aba6d95ce718e8eb88e24cf41f0d0214de2db63aba075a9e006e10262"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:60-74 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:446-460 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:479-493 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:512-526 \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/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"107ec1bf68c2fd541fc78d4d111d7b80e683c23cdd2adda767a847a8fe678031"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/PhpSpreadsheet/Reader/Xls.php:2134-2144 | src/PhpSpreadsheet/Reader/Xls.php:2195-2214 | src/PhpSpreadsheet/Reader/Xls.php:2222-2241 | src/PhpSpreadsheet/Reader/Xls.php:3640-3657 \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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a38e204fc54cdf983f5d0454be01de5f82bf358b43862665c62daaf0f5418e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/PhpSpreadsheet/Reader/Xls.php:2351-2360 | src/PhpSpreadsheet/Reader/Xls.php:2368-2377 | src/PhpSpreadsheet/Reader/Xls.php:2385-2394 | src/PhpSpreadsheet/Reader/Xls.php:2402-2411 \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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"053bdd781f9ffa51f7af4bb972fdfc53cde1953de23ad832175b75b01ca6ec17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/PhpSpreadsheet/Reader/Xls/Escher.php:196-251 | src/PhpSpreadsheet/Reader/Xls/Escher.php:262-292 | src/PhpSpreadsheet/Reader/Xls/Escher.php:303-333 | src/PhpSpreadsheet/Reader/Xls/Escher.php:344-352 \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/PhpSpreadsheet/Reader/Xls/Escher.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec042b92707e61eaf6a2d950bb02820039a12d634fdadca193401b8ecaeac18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83\u201389 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:614-696 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:830-918 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:614\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d41d43e3df41ceebac31f7a74623f2690eb12a9859333a63d58e47fe785dd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201353 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:701-751 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:925-977 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:701\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"7208f999b05cdbdd926f22e1c32861013d85cbefbb048ed3e9e7b414a00951dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 3): src/PhpSpreadsheet/Reader/Xls/ListFunctions.php:20-50 | src/PhpSpreadsheet/Reader/Xls/ListFunctions.php:67-99 | src/PhpSpreadsheet/Reader/Xls/ListFunctions.php:176-208 \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/PhpSpreadsheet/Reader/Xls/ListFunctions.php:20\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/PhpSpreadsheet/Reader/Xls/ListFunctions.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adf50dc0127371930fee723ed994d060ad55e67451999869559fa51be5704c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php:42-72 | src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php:82-112 \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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c445f4feb7fbd2313965fa8566c3d761369baf8a7e6541d0c7c75f9329c17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls.php:581-611 | src/PhpSpreadsheet/Writer/Xls.php:813-843 \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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a5eb33da5ac254df34a38fa41261ef3786f1c5f246ce7dcc2871927d0ce05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls.php:714-742 | src/PhpSpreadsheet/Writer/Xls.php:856-885 \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/PhpSpreadsheet/Writer/Xls.php:714\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/PhpSpreadsheet/Writer/Xls.php:743\u0060 calls \u0060pack\u0060, \u0060elseif\u0060 and \u0060src/PhpSpreadsheet/Writer/Xls.php:887\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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1dae489b2dc04355f9c98cea78f60efbb7d02b27de87e8ec6f47ce0c18f568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201328 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Parser.php:1386-1405 | src/PhpSpreadsheet/Writer/Xls/Parser.php:1419-1446 \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/PhpSpreadsheet/Writer/Xls/Parser.php:1386\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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1780bb99bcfa52e8e4c2d21d761cd3b6ee6728ac6577f9b3a751943b1ee9428a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1562-1587 | src/PhpSpreadsheet/Reader/Xlsx.php:1666-1691 \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/PhpSpreadsheet/Reader/Xlsx.php:1562\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7171f5fd31b8e178235cc01ffd2d7e8d89a89fa6c740a1100e4f877c9b273a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php:34-58 | src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php:80-104 | src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php:126-150 \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. 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/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9559dba5956b90eaef036d96ac6bd27337e068786ca84fcdf13c793188eb18e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php:29-53 | src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php:74-98 \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/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3edd9a7caa154a1d4895971e66a7fe7d16b07e60224d012d437ba77dc186427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Variances.php:66-90 | src/PhpSpreadsheet/Calculation/Statistical/Variances.php:155-179 \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/PhpSpreadsheet/Calculation/Statistical/Variances.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/PhpSpreadsheet/Calculation/Statistical/Variances.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"baac764b2ba38fe750009fc2d69e2579be2977e0676f1e3f7f063034efd6276e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Escher.php:210-234 | src/PhpSpreadsheet/Writer/Xls/Escher.php:237-261 \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/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46f44e6a406118ea1f68233557c11573f66a95a05367e7326cc52ab2340361e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:569-593 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:638-662 \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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3181e2a60a8cfb6502f01f1aaf31f0edaee61071b032077a2c38e311ae12cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:88-110 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:171-193 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:495-517 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:591-613 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b58d765a61b0fa8fc74b0559e2587324a9e314568e32b2fbf92118bc87e69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Dollar.php:55-77 | src/PhpSpreadsheet/Calculation/Financial/Dollar.php:103-125 \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/PhpSpreadsheet/Calculation/Financial/Dollar.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"06321892b02e35b9b9de1ccd2a7bd0ec57d4c0878404d97ec725607a32689bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/PhpSpreadsheet/ReferenceHelper.php:951-973 | src/PhpSpreadsheet/ReferenceHelper.php:990-1012 \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/PhpSpreadsheet/ReferenceHelper.php:951\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"155ae804a4161981c032c8dfbf88b14a7206230e33f99a2a0fe8aec7f21602b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:119-140 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:379-400 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae0463ccee0bc0441592fa28391eb2415bd47c784987ec8642c995bd4da7d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 12): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:104-119 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:126-141 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:148-163 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:187-202 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:209-224 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:231-246 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:274-289 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:511-526 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:533-553 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:560-575 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:607-622 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:629-644 \u2014 all 12 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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:165\u0060 calls \u0060endElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:122\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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ecaa75de333b838e423aa01c87a60ef3443132131d53f93d1535ea60d963d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:88-108 | src/PhpSpreadsheet/Writer/Xls/Workbook.php:503-523 | src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php:200-220 \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/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:88\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/PhpSpreadsheet/Writer/Ods/NamedExpressions.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7714c94d47ea0340aaac565d3e9c9c6c81821ff5905a55ebd2b273e38778956f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:193-213 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:123-143 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80c19d84dcdbfb4969590674e09556d82dd6e721d40a2695c37663f3286208c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Variances.php:24-44 | src/PhpSpreadsheet/Calculation/Statistical/Variances.php:113-133 \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/PhpSpreadsheet/Calculation/Statistical/Variances.php:24\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/PhpSpreadsheet/Calculation/Statistical/Variances.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"865732ffdd08b1bc4485688841b8ce528a0dec0fefd94adca016214606d35f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): src/PhpSpreadsheet/Reader/Xls/Biff8.php:174-192 | src/PhpSpreadsheet/Reader/Xls/Biff8.php:310-329 | src/PhpSpreadsheet/Reader/Xls/Biff8.php:340-359 \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/PhpSpreadsheet/Reader/Xls/Biff8.php:174\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/PhpSpreadsheet/Reader/Xls/Biff8.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c57b51a4253c795675ab9af4f5e4f0d4f76f2fecb4c4b656019bb9cc65476d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:1767-1786 | src/PhpSpreadsheet/Calculation/Calculation.php:1802-1820 \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/PhpSpreadsheet/Calculation/Calculation.php:1767\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee0d676ff103c2a940328c8191ab5ab272b5327fd6ebf90446b45fe5ad9b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php:39-58 | src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php:102-121 \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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php:39\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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba091948bee3946e17e6afceb78b74ec7f97a8a0cd1ff8df6eea2afde46197a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php:75-94 | src/PhpSpreadsheet/Calculation/MathTrig/Floor.php:80-99 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/MathTrig/Floor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060null\u0060 to \u0060$significance =\u0060 in one and \u0060mixed $significance =\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2df9404bd976285864a8e5cd98ddeb51fc7140ce28d6fb49abde245d79082fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/Extract.php:131-150 | src/PhpSpreadsheet/Calculation/TextData/Extract.php:195-214 \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/PhpSpreadsheet/Calculation/TextData/Extract.php:131\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/PhpSpreadsheet/Calculation/TextData/Extract.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd203bd4cfab071e1131e6072c5c980d2246eb9a584ef7527891e0653df339b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:804-824 | src/PhpSpreadsheet/Reader/Xlsx.php:855-874 \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/PhpSpreadsheet/Reader/Xlsx.php:804\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e18f1d44dda9ec69365389c7ab38f4100d42f603e9ca4a30b64c846077086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:792-811 | src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:840-859 \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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:792\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db953916d100ae700d82b36ca1da0099fa57f1df68bd28b3a987874f6ba880c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201319 lines \u00D7 11): src/PhpSpreadsheet/Reader/Xls.php:2717-2727 | src/PhpSpreadsheet/Reader/Xls.php:2762-2772 | src/PhpSpreadsheet/Reader/Xls.php:2862-2872 | src/PhpSpreadsheet/Reader/Xls.php:2916-2926 | src/PhpSpreadsheet/Reader/Xls.php:2958-2968 | src/PhpSpreadsheet/Reader/Xls.php:3142-3152 | src/PhpSpreadsheet/Reader/Xls.php:3202-3212 | src/PhpSpreadsheet/Reader/Xls.php:3248-3258 | src/PhpSpreadsheet/Reader/Xls.php:3293-3303 | src/PhpSpreadsheet/Reader/Xls.php:3465-3483 | src/PhpSpreadsheet/Reader/Xls.php:3502-3512 \u2014 all 11 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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"475196cb876ec7d5c6195f711eaed529f0e9a9699ab58bb8533b926481e79856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:107-125 | src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:212-230 \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/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec48a1e6149744ba44d21c93b936156acc15a0ffde3dbf9506a053cf7511c27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Round.php:57-75 | src/PhpSpreadsheet/Calculation/MathTrig/Round.php:103-121 \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/PhpSpreadsheet/Calculation/MathTrig/Round.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. 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/PhpSpreadsheet/Calculation/MathTrig/Round.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff46a97f965b059fc2f164cf7c631117892285bf0f2d8df7af2c13efa9cef74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Worksheet.php:2017-2035 | src/PhpSpreadsheet/Writer/Xls/Worksheet.php:2044-2062 \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/PhpSpreadsheet/Writer/Xls/Worksheet.php:2017\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/PhpSpreadsheet/Writer/Xls/Worksheet.php:2041\u0060 calls \u0060array_slice\u0060 and \u0060src/PhpSpreadsheet/Writer/Xls/Worksheet.php:2015\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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37a8396c43d26c4f8bb44be5684957280652ada9fc7b116767db3f2243ba6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201319 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:370-388 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:400-418 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:430-440 \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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2362a201f99b9e0a99cf5db3a135cfb5a9858aaa2fff19189e7fd4ccea6e04ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 3): src/PhpSpreadsheet/Reader/Xls.php:752-768 | src/PhpSpreadsheet/Reader/Xls.php:3895-3912 | src/PhpSpreadsheet/Reader/Xls/ConditionalFormatting.php:81-92 \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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"360ae54a60a69151bf6829f04e4d7d01ee2af43304d96a9630d66939e582f675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php:74-91 | src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php:113-130 \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/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f828aef2e810ad70033d6886c27c3d6ffdc323fd5ea48d5b83f5a10a445b003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:2576-2593 | src/PhpSpreadsheet/Reader/Xlsx.php:2608-2625 \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/PhpSpreadsheet/Reader/Xlsx.php:2576\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":2576}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7d8a4a0b04338e3de322a67a880dfbf5b1825a70ca36573465067111ae7d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Column.php:83-100 | src/PhpSpreadsheet/Worksheet/Row.php:83-100 \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/PhpSpreadsheet/Worksheet/Column.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"806e19c0253ee3192505ecd4c4e17c0e6318f835ec93e998202b824d25a49af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201317 lines \u00D7 8): src/PhpSpreadsheet/Reader/Xls.php:1140-1147 | src/PhpSpreadsheet/Reader/Xls.php:1433-1449 | src/PhpSpreadsheet/Reader/Xls.php:1609-1617 | src/PhpSpreadsheet/Reader/Xls.php:1646-1654 | src/PhpSpreadsheet/Reader/Xls.php:2419-2427 | src/PhpSpreadsheet/Reader/Xls.php:2581-2589 | src/PhpSpreadsheet/Reader/Xls.php:2641-2649 | src/PhpSpreadsheet/Reader/Xls.php:3523-3531 \u2014 all 8 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/PhpSpreadsheet/Reader/Xls.php:1140\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/PhpSpreadsheet/Reader/Xls.php:2592\u0060 calls \u0060getUInt2d\u0060 and \u0060src/PhpSpreadsheet/Reader/Xls.php:2658\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f1b708c535e9b9004e0b2915708dc4b1f387ab71c0a008fbd305871aa91b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:945-961 | src/PhpSpreadsheet/Calculation/Calculation.php:963-979 \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/PhpSpreadsheet/Calculation/Calculation.php:943\u0060 calls \u0060resizeMatricesExtend\u0060 and \u0060src/PhpSpreadsheet/Calculation/Calculation.php:961\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8479f047dcc3c44bab3fd5378e7e34aa3e0d2d5b85c59a832f99531671a9a4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/BesselI.php:41-57 | src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:40-56 \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/PhpSpreadsheet/Calculation/Engineering/BesselI.php:41\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/PhpSpreadsheet/Calculation/Engineering/BesselI.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df6dab71b58ec5fb0a2a7aa3d7adb4c27f4e01aacae2eb8cf353e718ab2a9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:38-54 | src/PhpSpreadsheet/Calculation/Engineering/BesselY.php:37-53 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Engineering/BesselK.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Engineering/BesselY.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/PhpSpreadsheet/Calculation/Engineering/BesselK.php:38\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/PhpSpreadsheet/Calculation/Engineering/BesselK.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fadc4182132d2ae66d21be587850f15cf8532f33c58ca3de1456f67443f424c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/PhpSpreadsheet/Style/ConditionalFormatting/CellMatcher.php:179-195 | src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/WizardAbstract.php:152-168 \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 \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/PhpSpreadsheet/Style/ConditionalFormatting/CellMatcher.php"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d1d5e397fcbf0e01dd7b77f7352e9e5854334b0ef1a2d456fcfeab4a84a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls.php:292-308 | src/PhpSpreadsheet/Writer/Xls.php:353-368 \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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"640f0526a94c7b48ce1cd89ed75c9fda331db916d28a803e5bc6ee6942cff169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:638-646 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:714-729 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:856-865 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:938-953 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:638\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ef3d52b0c4ec27474d378400da322328d19421056926adf16ba0074ef25a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php:36-51 | src/PhpSpreadsheet/Calculation/MathTrig/Floor.php:41-56 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/MathTrig/Floor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060null\u0060 to \u0060$significance =\u0060 in one and \u0060mixed $significance =\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba034a5f9644cfe060dfc7ee970425b6c3367ce46f64ee865d5712f7e0fccb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201316 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php:38-44 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php:34-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php:38\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1899bfe6c271112513acc31410724db3878a72957e2dca77d1cd6891783c13f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/Search.php:30-45 | src/PhpSpreadsheet/Calculation/TextData/Search.php:72-87 \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/PhpSpreadsheet/Calculation/TextData/Search.php:30\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/PhpSpreadsheet/Calculation/TextData/Search.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec840f07d9a7b0fadbeeb48df9cd4ff2d1fc7164aa8987702cda71b24e0423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1628-1643 | src/PhpSpreadsheet/Reader/Xlsx.php:1738-1753 \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/PhpSpreadsheet/Reader/Xlsx.php:1628\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Reader/Xlsx.php:1625\u0060 calls \u0060EMUToPixels\u0060, \u0060getArrayItemIntOrSxml\u0060, \u0060getAttributes\u0060 and \u0060src/PhpSpreadsheet/Reader/Xlsx.php:1737\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdd5492f6b90a7b25185fcb23e4b615a667097dfa756dc731025c690599f7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): src/PhpSpreadsheet/Style/Style.php:257-267 | src/PhpSpreadsheet/Style/Style.php:269-284 \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/PhpSpreadsheet/Style/Style.php:257\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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"354ad508cbb502c3085bb0323fc617fa6176130a16eb955c8f8728c86161c182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Styles.php:76-84 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:467-482 \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/PhpSpreadsheet/Writer/Ods/Styles.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68f2d47b67528c94b36054ba77746b64e1e345a9b16e504ad185b9c166e48d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Content.php:55-68 | src/PhpSpreadsheet/Writer/Ods/Meta.php:24-38 | src/PhpSpreadsheet/Writer/Ods/Settings.php:24-37 | src/PhpSpreadsheet/Writer/Ods/Styles.php:19-32 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Writer/Ods/Content.php:55\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/PhpSpreadsheet/Writer/Ods/Content.php:68\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Meta.php:38\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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3233c5e884ff5d9c199862b428f14bfd515370abe5990ec2ba209c448128fc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:187-201 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:54-68 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:117-131 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:187\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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a026d293b5584c50ef321bfce0bf2badbe3509be2df5faf276ffff4ae51ab84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Style.php:93-107 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:577-591 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:646-660 \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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a3baad6da75d30c82bd9e66aae2bf1ea8c02db17a3f0ca8f00ee610146a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:54-68 | src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:113-127 \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/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:54\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/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d07f102816a9a381d7ceac4ac1ec941e98a5a1a923e989e0921495dcd1e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/PhpSpreadsheet/Reader/Ods.php:112-126 | src/PhpSpreadsheet/Reader/Ods.php:169-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"517b40d0a442df6c3922fec9679d66ef82554a4f35286d1ef2a4c5c129a04e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:2249-2263 | src/PhpSpreadsheet/Reader/Xls.php:2281-2295 \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/PhpSpreadsheet/Reader/Xls.php:2249\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb8378703a3aa5b5c52277df8a30b8eca023d29db0cf6456dbb23867c85fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1059-1073 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:417-430 \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. 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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5f2b758c96db7034921f09d56be9cf7831d046df3da1e77c7c1153d3db6d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:252-266 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:463-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. 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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c75be5680cace06fb678ab55659aa37e8f3d8e8b14d0dece319c26d5d432c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:302-316 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:326-340 \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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a1669a09d82ddef516ffc8ea75bd0500186514381f35c73ffb1690bd1f9fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Content.php:53-65 | src/PhpSpreadsheet/Writer/Ods/Meta.php:22-35 | src/PhpSpreadsheet/Writer/Ods/MetaInf.php:26-38 | src/PhpSpreadsheet/Writer/Ods/Settings.php:22-34 | src/PhpSpreadsheet/Writer/Ods/Styles.php:17-29 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Writer/Ods/Meta.php:22\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Meta.php:19\u0060 calls \u0060getParentWriter\u0060, \u0060getSpreadsheet\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Content.php:51\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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ac677d58ec5350942c0a16c7b7708efd7ad1f9697fc27e4610b1776e5c0138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/PhpSpreadsheet/Reader/Xls.php:2477-2490 | src/PhpSpreadsheet/Reader/Xls.php:2499-2512 | src/PhpSpreadsheet/Reader/Xls.php:2522-2535 \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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8dda5a929fef6eeb4e39ee062e16d3a663224ea73660cf8f7bd2245c3c123e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:467-480 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:289-302 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:313-326 \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. 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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71405ea461ed4cb47cfe351ffe8a748f1d790a6f3050f7b9c0f7098fbda9b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:902-915 | src/PhpSpreadsheet/Calculation/Calculation.php:917-930 \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 after the matched lines, \u0060src/PhpSpreadsheet/Calculation/Calculation.php:943\u0060 calls \u0060resizeMatricesExtend\u0060 and \u0060src/PhpSpreadsheet/Calculation/Calculation.php:917\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf648992f8bebc56c0ae3d3591938402293808046f8032ff75d87162aeab44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Functions.php:229-242 | src/PhpSpreadsheet/Calculation/Functions.php:255-268 \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 \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/PhpSpreadsheet/Calculation/Functions.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7a07ccc4a30a5a187cebbd301f343bc33e129bd8ebd6e35b52c058607ae899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php:121-134 | src/PhpSpreadsheet/Calculation/MathTrig/Floor.php:142-154 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/MathTrig/Floor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 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/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8d4142e95db207002320196cc8f3d55c6ab61a5ad569baba30b04f391993b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:38-51 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:81-94 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:38\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:80\u0060 calls \u0060validateBool\u0060 and \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:37\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/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ac7bffc08ff8ae4f0354432849d3af7aa022654e066e9fa69d267cff3b3497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:129-142 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:166-179 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8cb3e1a2c534eb6ef8acf1222f2285ec337b1ee38837baab18de62e76e7649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php:33-46 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php:35-48 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php:33\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ef308f6df335603eea15c73b644848fc5ad3153f0957128efa1f44bf89170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Cell/AdvancedValueBinder.php:118-131 | src/PhpSpreadsheet/Cell/AdvancedValueBinder.php:139-152 \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/PhpSpreadsheet/Cell/AdvancedValueBinder.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1901196303dae82781168487afa45f86d02399d7469a06305272d682ecfcc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:303-316 | src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:382-395 \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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:303\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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:318\u0060 calls \u0060getPlotArea\u0060, \u0060getPlotGroupByIndex\u0060, \u0060getPlotValuesByIndex\u0060 and \u0060src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:397\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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec16f336f5f2d0a00a0debbd4b9e2b7f5d416830a565a8663d9d07c662131ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:294-307 | src/PhpSpreadsheet/Reader/Xlsx.php:348-360 \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/PhpSpreadsheet/Reader/Xlsx.php:294\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8fb7fbcf77b3f48139026b9172b1d35297433056752731f5c562b9c5986d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx/Chart.php:951-964 | src/PhpSpreadsheet/Reader/Xlsx/Chart.php:991-1004 \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/PhpSpreadsheet/Reader/Xlsx/Chart.php:951\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/PhpSpreadsheet/Reader/Xlsx/Chart.php:990\u0060 calls \u0060foreach\u0060 and \u0060src/PhpSpreadsheet/Reader/Xlsx/Chart.php:949\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e7df307efa0a9a4e01e8f209690d04eafd8665324e9b73b7aa46e48b11e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:976-989 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1024-1037 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f0527864633787f3e9aac9c766f77401652785a36a8106f431edeefc57a8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Settings.php:35-43 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:266-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/PhpSpreadsheet/Writer/Ods/Settings.php:35\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/PhpSpreadsheet/Writer/Ods/Settings.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6c35908c619a00ee501e954b260fe5d72cd4f4784c1b04400af9dd8aafe121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Style.php:126-139 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:443-456 \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. 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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"df418ee9563dda61b8e3ec7bfeaa8df83703440935168d6ceabb28ec1556a02f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Engineering/BitWise.php:41-52 | src/PhpSpreadsheet/Calculation/Engineering/BitWise.php:73-85 | src/PhpSpreadsheet/Calculation/Engineering/BitWise.php:106-118 \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/PhpSpreadsheet/Calculation/Engineering/BitWise.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7896164de3bccba580a903a57585828f50e4a137c9f36f50bf475f84123823b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/PhpSpreadsheet/ReferenceHelper.php:918-930 | src/PhpSpreadsheet/ReferenceHelper.php:959-971 | src/PhpSpreadsheet/ReferenceHelper.php:998-1010 \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/PhpSpreadsheet/ReferenceHelper.php:918\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/PhpSpreadsheet/ReferenceHelper.php:958\u0060 calls \u0060array_map\u0060, \u0060array_column\u0060 and \u0060src/PhpSpreadsheet/ReferenceHelper.php:917\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82ab863a79924cb0dd650691b80b22b181c5d620ab0a8a3738f73d40937775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1061-1071 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:415-427 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:537-549 \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 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:415\u0060 calls \u0060startElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1061\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3811e7065f61f87ab48aee69439d9b954c11872c6869bfda887324cb8fd6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:132-144 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:294-306 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:318-330 \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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44635dc9c9e4c464b9478cc9d79abb8851bb9d0498e3af5c018d61c8c4ec9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:1753-1765 | src/PhpSpreadsheet/Calculation/Calculation.php:1788-1800 \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/PhpSpreadsheet/Calculation/Calculation.php:1753\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22426ce1b9724c2020924d71ca6d57d79c32672b6da8e162f7188201fab5852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php:82-94 | src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php:135-147 \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/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php:82\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/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fa14741f5ec2f0b041d1130a21952b59e8f44fd9f7cbae61e14c9756616c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php:43-55 | src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php:150-162 \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/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4164a11a7b6193f8e3e603188710322e1dac56468a951d0fa96086b70e29fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/InterestRate.php:25-37 | src/PhpSpreadsheet/Calculation/Financial/InterestRate.php:54-66 \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/PhpSpreadsheet/Calculation/Financial/InterestRate.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0947bfe0f26a78d901b05f2913619ad28b39f40d3d50775b8a4b3166d1b7a1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:46-58 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:45-57 \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/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d808fd49d0a7d347718810b1e3a77adc43c3e7f40f1d3903418685d141b164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:50-62 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:103-115 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:50\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb840726163fc6980b9548eda71aaccc1553ba5db2662e3c5b7e37a4de30a3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php:82-94 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/NewtonRaphson.php:48-60 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php:82\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/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"81688b609b5aa2135e99c39a78aeba7713f85b2f0af8aa6d41ac85b7a204617b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Maximum.php:61-73 | src/PhpSpreadsheet/Calculation/Statistical/Minimum.php:61-73 \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/PhpSpreadsheet/Calculation/Statistical/Maximum.php:61\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/PhpSpreadsheet/Calculation/Statistical/Maximum.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1997170afeac10d9fb7790bcb8e961efdd9095ab07eaf23b0f7f36f821610702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Size.php:25-36 | src/PhpSpreadsheet/Calculation/Statistical/Size.php:61-73 \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/PhpSpreadsheet/Calculation/Statistical/Size.php:25\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/PhpSpreadsheet/Calculation/Statistical/Size.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1285f2f0de03bcf20e7b4a63c157cfbbb134f996381fd7f73b3fa7f8f730c3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Reader/Gnumeric.php:135-147 | src/PhpSpreadsheet/Reader/Gnumeric.php:166-178 \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/PhpSpreadsheet/Reader/Gnumeric.php:135\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/PhpSpreadsheet/Reader/Gnumeric.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075a133d276b17605c439191712affc735aca28297b5c3f41a02d8c8d420134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:2196-2208 | src/PhpSpreadsheet/Reader/Xls.php:2223-2235 \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/PhpSpreadsheet/Reader/Xls.php:2196\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a780c8b733b4b48244b14a89a4526a12781ccac278502e9c9646689c3a57470e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls/Biff5.php:31-43 | src/PhpSpreadsheet/Reader/Xls/Biff8.php:222-234 \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/PhpSpreadsheet/Reader/Xls/Biff5.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dae9bdcddf34cc37b44d2088447c6a14eff6701888f6a573e5371ccc541be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:145-157 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:480-492 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Comments.php:145\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b672a0c1254feb56ccae8113b8e735fc314d93c2b51d1369700fd0273b79e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:462-474 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:539-551 \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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7611e4beb18878e5fdb84d93ecb131841ce62a9b4b1f54ccd7530a5043615c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 9): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:631-636 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:649-654 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:757-762 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:859-864 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:897-902 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:928-933 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:973-978 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:997-1008 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1018-1026 \u2014 all 9 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/PhpSpreadsheet/Writer/Ods/Cell/Style.php:997\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5666990ef49b34614fd3f9961289056933573b963c29f158b163adb7e753de1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:166-177 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:676-687 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:896-907 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceb6f40d7b223657a1630c648f8598db7a3001c7643aa40eca518cd193f4e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:629-638 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:845-856 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1016-1027 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:629\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be499ca32eed338b781b478ed839bce3084c55afb3706e6f0b921cb7dffad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php:39-50 | src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php:83-94 \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/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb304afbe420ad1ceabc47db8ab0da6447bfe65087a5ba1ba0d6bacebb2b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Conditional.php:39-48 | src/PhpSpreadsheet/Calculation/Statistical/Conditional.php:204-215 \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/PhpSpreadsheet/Calculation/Statistical/Conditional.php:39\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/PhpSpreadsheet/Calculation/Statistical/Conditional.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656f28176e696ccaa4462c5bcf1b63cf4f10cc1c6aebbede14db277c00aedca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:67-78 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php:38-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. 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/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd16cedd07739b7239254703aa57eeb90554b4a5d943dc693dfa503e559dd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Maximum.php:23-34 | src/PhpSpreadsheet/Calculation/Statistical/Minimum.php:23-34 \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/PhpSpreadsheet/Calculation/Statistical/Maximum.php:23\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/PhpSpreadsheet/Calculation/Statistical/Maximum.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b843207234a3a6fc48523176aa7f5be94abb95a92e56ef165a1a8526e287edd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Trends.php:222-233 | src/PhpSpreadsheet/Calculation/Statistical/Trends.php:283-294 \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/PhpSpreadsheet/Calculation/Statistical/Trends.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56584929bc777cef196fcd84b2bbc5106f61a99ead35a5463d84437d476b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1608-1619 | src/PhpSpreadsheet/Reader/Xlsx.php:1719-1730 \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/PhpSpreadsheet/Reader/Xlsx.php:1608\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"147e3407f7549c39f7fc5cb9d0bd8f6e2ab4c7676014a3c407d2cb40689a59d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/ReferenceHelper.php:1208-1219 | src/PhpSpreadsheet/ReferenceHelper.php:1292-1303 \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/PhpSpreadsheet/ReferenceHelper.php:1208\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4004f9bd0329daea68792e570ad915a15283a153b58b0c0d8012774f7046b7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Worksheet.php:1730-1741 | src/PhpSpreadsheet/Worksheet/Worksheet.php:1768-1779 \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/PhpSpreadsheet/Worksheet/Worksheet.php:1730\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7049a9a1bf1d0be4093c5873072060d4c87b64ffbd65c295be40f4c1380325d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Worksheet.php:3019-3029 | src/PhpSpreadsheet/Worksheet/Worksheet.php:3044-3055 \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/PhpSpreadsheet/Worksheet/Worksheet.php:3019\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba52556061d3cea44e6239dd9a525d4dfeeb441bf7edc664730276852a49bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1130-1141 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1155-1166 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1127\u0060 calls \u0060startElement\u0060, \u0060writeAttribute\u0060, \u0060endElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1154\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f0c5d04a28ea049265a2271fc95bd1bded5269122fafaf0c403170558506a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1560-1571 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1609-1618 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:1560\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed472614ee482e21f3d7d649ec8a09b2ccb6d28acf806bd5b063efe249585f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:138-149 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:401-412 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Drawing.php:399\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php:138\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"094d3dd5e5b618195781984e39a4d6745bd73bbcfece8d71b6db83996dad8699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:197-208 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:474-485 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd09e5cdc82f4e4c7620a2e0ecf66a864b382260306866852d729a1afbed2c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:131-142 | src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:147-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Metadata.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"669e2039a4248159b0905fdb677f5d68105872b0f9ee6233ba81e19575d2a977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 18): src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:27-37 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:22-32 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:120-130 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:194-204 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:33-43 | src/PhpSpreadsheet/Writer/Xlsx/FeaturePropertyBag.php:18-28 | src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:22-32 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:24-34 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:96-106 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:244-254 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:426-436 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:492-502 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:525-535 | src/PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php:20-30 | src/PhpSpreadsheet/Writer/Xlsx/RelsVBA.php:19-29 | src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:73-83 | src/PhpSpreadsheet/Writer/Xlsx/Style.php:29-39 | src/PhpSpreadsheet/Writer/Xlsx/Workbook.php:25-35 \u2014 there are 18 copies across 11 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 18 sites; resolving a subset leaves the remainder to drift apart. 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 before the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:69\u0060 calls \u0060writeStringTable\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:29\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/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d112645fff48b6c1147db9cda13b22e7fc709a3081a021db610e6f23a26e7f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/PhpSpreadsheet/Reader/Xls.php:1511-1521 | src/PhpSpreadsheet/Reader/Xls.php:1527-1537 | src/PhpSpreadsheet/Reader/Xls.php:1543-1553 | src/PhpSpreadsheet/Reader/Xls.php:1559-1569 | src/PhpSpreadsheet/Reader/Xls.php:1575-1585 \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/PhpSpreadsheet/Reader/Xls.php:1511\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef5e30ffd8d30c9dd8d05b796409a70b3ea8fec12f5b37ab6d287d3cd784a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:60-70 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:446-456 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:479-489 | src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:512-522 \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/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php:60\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/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8b0162805d777677ebda7b3a823f7e7d49c65653fda58bb82039b7e662e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:64-74 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:73-83 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:39-49 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php:35-45 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:64\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"274206a6c9b96cca14cf63168b6224539e6003de5c2bdab9016e93662e8f5b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Formula.php:114-124 | src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:98-108 | src/PhpSpreadsheet/Writer/Xls/Workbook.php:513-523 | src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php:210-220 \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/PhpSpreadsheet/Writer/Ods/Formula.php:114\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/PhpSpreadsheet/Writer/Ods/Formula.php:113\u0060 calls \u0060str_replace\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:96\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/PhpSpreadsheet/Writer/Ods/Formula.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39674c3efa50903edcb742cc2597a2c6cacb7a59b91f52004953fd9c4810b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:632-641 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:753-763 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:849-859 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1020-1030 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9c368061c43a666c6c1eb0fb7a7ce62dff41c50570106a4ec0602c6ba8deb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:131-141 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:391-401 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:293-303 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:317-327 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:401\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:303\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5babecfe78be01564ca9c6d58d18bce8a77f41482ee4a4627e1b20b9d3039b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:261-271 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:355-365 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:385-395 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:415-425 \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/PhpSpreadsheet/Writer/Xlsx/Theme.php:349\u0060 calls \u0060startElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:258\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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"883f0aa7c27d481ec1096bf8e083cafc3ee4c996341f052379d6944a07b39a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php:50-60 | src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php:107-117 | src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php:183-193 \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. 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/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd19cc412004c1a26a15c484bd15e35154caec545437b43689180363e3cc7e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Financial/Coupons.php:52-62 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:111-121 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:178-188 \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. 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/PhpSpreadsheet/Calculation/Financial/Coupons.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8cabf54a8cd4688bb0d6317ab1a5ef9ada83a247bda1bbba8e30e5d061bc7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Financial/Coupons.php:241-251 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:291-301 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:348-358 \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. 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/PhpSpreadsheet/Calculation/Financial/Coupons.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3544a1f6f18866659ea30598925d0e72b33fb5e399060ed38179a14e3e448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:104-114 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:119-129 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:80-90 \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 3 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/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1d0716a9b60654743b008b54bd2d55f6a3d7caa37d5bc8c666d222fe373925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/PhpSpreadsheet/Reader/Xls/Biff8.php:142-151 | src/PhpSpreadsheet/Reader/Xls/Biff8.php:256-266 | src/PhpSpreadsheet/Reader/Xls/Biff8.php:271-281 \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/PhpSpreadsheet/Reader/Xls/Biff8.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8ed54ae2bff9a92444de971075999c7e469dad5f637702001c5d479385921d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/Formula.php:97-107 | src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:85-95 | src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php:197-207 \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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Formula.php:113\u0060 calls \u0060str_replace\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:98\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/PhpSpreadsheet/Writer/Ods/Formula.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d03567e1a4176b61389a1325eba24edc134a93010fdd28a61b5b528fde28380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:150-157 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:479-489 | src/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php:92-101 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:492\u0060 calls \u0060foreach\u0060, \u0060writeVMLHeaderFooterImage\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php:103\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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d207e1037d4f8770a3695a5f47c5a23706671b29f8474d99093b4083f1c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Theme.php:264-274 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:299-309 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:323-333 \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/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7040af0b3827433c8f9cfd7499ff08bbbbefa1cb35fae2aa25f03e3cf7d18e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php:49-59 | src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php:147-157 \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/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"807a2a13f647e0f804e90cd569b15e59cffc1eb0678bfa2ab07e1befc5b3f14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php:586-594 | src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php:597-607 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php:596\u0060 calls \u0060substr\u0060 and \u0060src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php:610\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/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99c71321cdcd31e37fb887098b456274b6f81ae88cea780026051de8eb096b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Amortization.php:53-63 | src/PhpSpreadsheet/Calculation/Financial/Amortization.php:138-148 \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/PhpSpreadsheet/Calculation/Financial/Amortization.php:53\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/PhpSpreadsheet/Calculation/Financial/Amortization.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"384e8a5644b0e66fa7817bda88be532685252f0f19dd8365e70b712425bd99db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Depreciation.php:38-48 | src/PhpSpreadsheet/Calculation/Financial/Depreciation.php:102-112 \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/PhpSpreadsheet/Calculation/Financial/Depreciation.php:38\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/PhpSpreadsheet/Calculation/Financial/Depreciation.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcef8ba2ced5af5d2dcae85b2487961741f079d45dccb0f5f9fc6a857f31b17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Reader/Html.php:812-822 | src/PhpSpreadsheet/Reader/Html.php:942-952 \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/PhpSpreadsheet/Reader/Html.php:812\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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e90242ba56ae54919038755af45c8b66b729a765f0a853cdc9400c4b9061b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:1818-1827 | src/PhpSpreadsheet/Reader/Xls.php:1854-1864 \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/PhpSpreadsheet/Reader/Xls.php:1818\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9bcfead9a3f777822a33bc1bbb3b52c317b7a875ba0fa831cf45584e0099f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls/Escher.php:264-274 | src/PhpSpreadsheet/Reader/Xls/Escher.php:305-315 \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/PhpSpreadsheet/Reader/Xls/Escher.php"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5768be3203cb10d5a98844803decb44c0eec05906a6b8dadc786ef412d71a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx/Chart.php:220-230 | src/PhpSpreadsheet/Reader/Xlsx/Chart.php:293-303 \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/PhpSpreadsheet/Reader/Xlsx/Chart.php:220\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b09dc593f53ac6612917eb07da49fd65ccf2ce91375187ba1a7cb169b0bab71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/ReferenceHelper.php:784-794 | src/PhpSpreadsheet/ReferenceHelper.php:833-844 \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/PhpSpreadsheet/ReferenceHelper.php:784\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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"201eb672ba48037c7c0b29b2303fe3898dac2678ebdf45c8fdaa4e0cf8c61eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Style/Style.php:564-574 | src/PhpSpreadsheet/Style/Style.php:587-597 \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/PhpSpreadsheet/Style/Style.php:564\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/PhpSpreadsheet/Style/Style.php"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0370a99ea2853b987ca98eef96f8f311131aae46df9e95e9858eb4408cc100b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Worksheet.php:928-938 | src/PhpSpreadsheet/Worksheet/Worksheet.php:4101-4111 \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/PhpSpreadsheet/Worksheet/Worksheet.php:928\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefbbdae77a2ddf679ea842984f649256a78f83bbc29ef65b752fcf96da4c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Worksheet.php:1948-1958 | src/PhpSpreadsheet/Worksheet/Worksheet.php:1973-1983 \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/PhpSpreadsheet/Worksheet/Worksheet.php:1948\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/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d74fc18b48e76eb8272865d74b9ca0b6c8e3c907ecd79ea982807f5804c086e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/MetaInf.php:40-48 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:477-487 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Ods/MetaInf.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/PhpSpreadsheet/Writer/Ods/MetaInf.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2992ddc8aa8756b7fde9d43d2f84b8817e557c223b77193b43570932ee5ee44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:52-61 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:117-126 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:174-183 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:248-257 | src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:43-52 | src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php:102-111 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:42-51 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:104-113 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:52\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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:184\u0060 calls \u0060validateIssueDate\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:62\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/PhpSpreadsheet/Calculation/Financial/Securities/Price.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49eeee7313b4e0644bcde150be6ab0a637cb910e4c9bc62373f8f657ad6477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/PhpSpreadsheet/Calculation/Financial/Coupons.php:49-58 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:108-117 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:175-184 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:238-247 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:288-297 | src/PhpSpreadsheet/Calculation/Financial/Coupons.php:345-354 \u2014 all 6 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/PhpSpreadsheet/Calculation/Financial/Coupons.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Financial/Coupons.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1284f777e517d16bc22315b782b4cf5a6f929d749ee93a9a2954bdaceabaeabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:131-140 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:391-400 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:471-480 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:293-302 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:317-326 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php:141\u0060 calls \u0060writeAttribute\u0060, \u0060startElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:481\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8627bbe41d55b2268fc87ea46ecf9eae1d8717f56abf846c377c11192e178c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/PhpSpreadsheet/Calculation/Engineering/BesselI.php:40-49 | src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:39-48 | src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:37-46 | src/PhpSpreadsheet/Calculation/Engineering/BesselY.php:36-45 \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. 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/PhpSpreadsheet/Calculation/Engineering/BesselI.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85fa746e7610ffa7f8e57975ae45bc7af081e039289657cf0e344a4d55c5799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Formula.php:99-108 | src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:87-96 | src/PhpSpreadsheet/Writer/Xls/Workbook.php:502-511 | src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php:199-208 \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/PhpSpreadsheet/Writer/Ods/Formula.php:99\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Formula.php:113\u0060 calls \u0060str_replace\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php:98\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/PhpSpreadsheet/Writer/Ods/Formula.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"652d7b6bdd79ff89f20504d57c56482291a7381de576cdd610ddd9060b71bcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/PhpSpreadsheet/Calculation/MathTrig/Operations.php:64-73 | src/PhpSpreadsheet/Calculation/MathTrig/Round.php:29-38 | src/PhpSpreadsheet/Calculation/MathTrig/Trig/Tangent.php:143-152 \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/PhpSpreadsheet/Calculation/MathTrig/Operations.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8da46b833998fdde71ea256d6e95ddaf8624b0d091d9a3f98e45d74bb975c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php:68-77 | src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php:96-105 | src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php:124-133 \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/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php:68\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/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ceed3a261ec3abc9b470ebc4365463862ac6c72c1df5376687cfa6ce6d141d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:130-139 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:390-399 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:449-458 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39ed7fa3ac969edb7145d21283e62b359c9d242db6c5160d46f0d6ceeb829cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Style.php:127-136 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:444-453 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:458-467 \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/PhpSpreadsheet/Writer/Xlsx/Style.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c2b743f69ac004921b9a5438fa5b7999a70455b8398f59a93b50ca2c33c2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:2737-2745 | src/PhpSpreadsheet/Calculation/Calculation.php:2758-2767 \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/PhpSpreadsheet/Calculation/Calculation.php:2737\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc7fd9f0ab85f5d0f7166ee50d59729dd844380e0eafc2aeac5143fd65fd59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php:89-98 | src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php:103-112 \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/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a9461a039aac9f1c4349a3dfefc426ddc3fa6f4768cc2983d7ee4900a295c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/BitWise.php:139-148 | src/PhpSpreadsheet/Calculation/Engineering/BitWise.php:174-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. 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/PhpSpreadsheet/Calculation/Engineering/BitWise.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e482f5aeba29aa2b38634fb7f903f17c6c4f6f036b85de158d38482e38aed6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:39-48 | src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:78-87 \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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:39\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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29c22f837f28e781cb949051d46a342d54c19012ddb6da36768be7bfc0a5dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:73-82 | src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:133-142 \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/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.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. 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/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:72\u0060 calls \u0060validateFrequency\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:132\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/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e007be1846bb5bf13eefef6e6cbffd304d4e39669f6a14098c6e162555c92a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/FormulaParser.php:521-530 | src/PhpSpreadsheet/Calculation/FormulaParser.php:542-551 \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/PhpSpreadsheet/Calculation/FormulaParser.php:521\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/PhpSpreadsheet/Calculation/FormulaParser.php:531\u0060 calls \u0060setTokenType\u0060 and \u0060src/PhpSpreadsheet/Calculation/FormulaParser.php:552\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/PhpSpreadsheet/Calculation/FormulaParser.php"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53c08ad230771a9a07fffea70ecd328114c28921beb702c5ee32cdb328623ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Information/Value.php:81-90 | src/PhpSpreadsheet/Calculation/Information/Value.php:106-115 \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/PhpSpreadsheet/Calculation/Information/Value.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7fdede474bbae3266b5cd42e2490f90afe05a688b6ca0b80dd81f0477e5659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Factorial.php:74-83 | src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php:51-60 \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/PhpSpreadsheet/Calculation/MathTrig/Factorial.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf66a0dce51aa0837ac07c4e63b035d5268ba831f0a3b2a1389eddfda9f43bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Permutations.php:35-44 | src/PhpSpreadsheet/Calculation/Statistical/Permutations.php:81-90 \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/PhpSpreadsheet/Calculation/Statistical/Permutations.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"648c68c6307aaea4002ba13e9f2e0732c874885fd240cf27251c667438b29c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/Extract.php:29-38 | src/PhpSpreadsheet/Calculation/TextData/Extract.php:88-97 \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/PhpSpreadsheet/Calculation/TextData/Extract.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"004757b785a6d7336bfab97705dd9c7adfe17175dd64ed9d7fc67bb05af523c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/Format.php:121-130 | src/PhpSpreadsheet/Calculation/TextData/Text.php:56-65 \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/PhpSpreadsheet/Calculation/TextData/Format.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45187fb291ed0d15ad38919638aad642b95046731ad59501cf8f9822fc25acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:2728-2737 | src/PhpSpreadsheet/Reader/Xls.php:2773-2782 \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/PhpSpreadsheet/Reader/Xls.php:2728\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"4553cca10ceb9ab699d78764c406e3cf8b98026a2473a6491b6b15aee561d35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1548-1557 | src/PhpSpreadsheet/Reader/Xlsx.php:1646-1655 \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/PhpSpreadsheet/Reader/Xlsx.php:1548\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/PhpSpreadsheet/Reader/Xlsx.php:1656\u0060 calls \u0060isset\u0060, \u0060children\u0060, \u0060setSrcRect\u0060 and \u0060src/PhpSpreadsheet/Reader/Xlsx.php:1558\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c492ac10d54a6167528c07b3b5d7a7243362bd079201a7042282ca38701a5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx/Styles.php:389-398 | src/PhpSpreadsheet/Reader/Xlsx/Styles.php:412-421 \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/PhpSpreadsheet/Reader/Xlsx/Styles.php:389\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/PhpSpreadsheet/Reader/Xlsx/Styles.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a925e6129dee4caab979b4fa11b07a7bda1e416e86d7d94da2fab816106cb2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/ReferenceHelper.php:1245-1254 | src/PhpSpreadsheet/ReferenceHelper.php:1328-1337 \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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"929f5a6d6aaf6f6af626176014c9e90b00cdf984419b592c494d7049138d4fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:158-167 | src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:338-346 \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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f45d487cd74e5fb20f116a7d6cc6bd404a2d923b3ed3b1af792a63d2f4e8d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/Table.php:179-188 | src/PhpSpreadsheet/Worksheet/Table/Column.php:216-225 \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/PhpSpreadsheet/Worksheet/Table.php"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae333580de52501cf33e44c5d7c4a7c744d52842d4ec4eadd2d553d687fb8569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:798-807 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:837-846 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c29d934c56eee7757a770d479ac5aa13cb4fb7e729c8f75276ad93869c12c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/MetaInf.php:36-44 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:456-465 \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/PhpSpreadsheet/Writer/Ods/MetaInf.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"283e8eaa8b7e9e4867514c06c39182ff35faebe75b624c4bb1975bd91229e6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Parser.php:913-922 | src/PhpSpreadsheet/Writer/Xls/Parser.php:958-967 \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/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daeb97b600d91f9a798c8c37a0c689ace6160b9d949b448b19bb0b9a9c7dbf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:31-40 | src/PhpSpreadsheet/Writer/Xlsx/Comments.php:107-116 \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/PhpSpreadsheet/Writer/Xlsx/Comments.php:31\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20388f0226d50d05ce4dff0019ce4364291899dd374f5cdba5373fbf965850f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:88-97 | src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:110-119 \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/PhpSpreadsheet/Writer/Xlsx/Metadata.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/PhpSpreadsheet/Writer/Xlsx/Metadata.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b36098bb65ff097dd28e8b8c3bf334cacc286dab7e1092c0cea5f99b59bb242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 21): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:29-37 | src/PhpSpreadsheet/Writer/Xlsx/Comments.php:105-113 | src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:26-34 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:21-29 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:119-127 | src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:193-201 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:32-40 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:365-373 | src/PhpSpreadsheet/Writer/Xlsx/FeaturePropertyBag.php:17-25 | src/PhpSpreadsheet/Writer/Xlsx/Metadata.php:21-29 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:23-31 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:95-103 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:243-251 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:425-433 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:491-499 | src/PhpSpreadsheet/Writer/Xlsx/Rels.php:524-532 | src/PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php:19-27 | src/PhpSpreadsheet/Writer/Xlsx/RelsVBA.php:18-26 | src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:72-80 | src/PhpSpreadsheet/Writer/Xlsx/Style.php:28-36 | src/PhpSpreadsheet/Writer/Xlsx/Table.php:23-31 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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/PhpSpreadsheet/Writer/Xlsx/Table.php:35\u0060 calls \u0060rangeWithRoomForData\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:37\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa4e4fa5dc12ba51ef31747f888b13eed3bdb174acd6317fae7e86d603eacae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): src/PhpSpreadsheet/Reader/Xls.php:1469-1477 | src/PhpSpreadsheet/Reader/Xls.php:1485-1493 | src/PhpSpreadsheet/Reader/Xls.php:1501-1509 | src/PhpSpreadsheet/Reader/Xls.php:1517-1525 | src/PhpSpreadsheet/Reader/Xls.php:1533-1541 | src/PhpSpreadsheet/Reader/Xls.php:1549-1557 | src/PhpSpreadsheet/Reader/Xls.php:1565-1573 | src/PhpSpreadsheet/Reader/Xls.php:1581-1589 \u2014 all 8 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/PhpSpreadsheet/Reader/Xls.php:1469\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"146ae1771e69d71481e9ee8b643e8ef3426bfd75d40849faf10414a4f9a5a37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/Comments.php:137-145 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:358-366 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:388-396 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:418-426 \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. 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 before the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:349\u0060 calls \u0060startElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Comments.php:134\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/PhpSpreadsheet/Writer/Xlsx/Comments.php"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"52366c0476f3728a48339691c522e06f915bb64bf9962070d29792a7fae35514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:100-108 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:359-369 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:389-399 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:419-429 \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. 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/PhpSpreadsheet/Writer/Xlsx/PivotTable.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a339dea1996fc468168314944ca6121c32ba53fd2e9a69b50f79d536519d5344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/MetaInf.php:45-52 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:149-156 | src/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php:91-99 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Ods/MetaInf.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/PhpSpreadsheet/Writer/Ods/MetaInf.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbafa7c32e659d19da4f0701cc247a1a0e177587411b4cfc1158ba6238eef00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1055-1063 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:306-318 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:330-342 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1065\u0060 calls \u0060startElement\u0060, \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:320\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51a02109efbce29060df148cda924de594e3dc8618dbec129f53199529fed85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:76-84 | src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:100-108 \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/PhpSpreadsheet/Calculation/Engineering/BesselJ.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/PhpSpreadsheet/Calculation/Engineering/BesselJ.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba488da3143f8ae081fe8119fdd28781fcf06c55b16817c2bb784b42479a1834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:243-251 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:255-263 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"81004eda23777650dc4a7895a3978251d5422dc09ef9eed4ebe8e4bea510355a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:110-118 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:38-46 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:110\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"396efe079fbc9dc9b2bd0c5bb7f4969bb4c199449a01c4f4c2e01afd3376c6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:2313-2321 | src/PhpSpreadsheet/Reader/Xls.php:2332-2340 \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/PhpSpreadsheet/Reader/Xls.php:2313\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2184f6bbd1904eaaa674d454ab98efd69125327273d6b2f1e4cc083140856c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xls.php:2841-2848 | src/PhpSpreadsheet/Reader/Xls.php:3277-3285 \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/PhpSpreadsheet/Reader/Xls.php:2841\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd29000eea64f097dca5eec513951fc34a270c4a49d4276e2eb9cd2c762e08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Reader/XlsBase.php:408-416 | src/PhpSpreadsheet/Shared/OLERead.php:323-331 \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 \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/PhpSpreadsheet/Reader/XlsBase.php"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc7efcea989f161051d01b26d11c2f3d04c7b5568625baba5ccbc3cb7e471f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xml.php:348-356 | src/PhpSpreadsheet/Reader/Xml.php:723-731 \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/PhpSpreadsheet/Reader/Xml.php:348\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/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c398cd42e26af842c0b25b844a49be20d676ba8978d2bd01faf3fdae87b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/ReferenceHelper.php:1276-1284 | src/PhpSpreadsheet/ReferenceHelper.php:1359-1367 \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/PhpSpreadsheet/ReferenceHelper.php"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"642575b618f72f569493a1b0d38ccdea68b1ff4e1259863966e52dc9e9f0cf63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Shared/OLERead.php:213-221 | src/PhpSpreadsheet/Shared/OLERead.php:235-243 \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 \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/PhpSpreadsheet/Shared/OLERead.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a9a738cee1869b57c9287dbf5c978994e530dc0d7f6a86f9de4b21d8e26875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:188-196 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:225-233 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a231f0e7f615c395604157ebeb935dad8cebb67dca5b957258f65e58becd932d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:144-152 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:465-478 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:153\u0060 calls \u0060startElement\u0060, \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:480\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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cab5d6077f783918bc2d540eac9e0de8a8dbf71164531719abddad0cd713ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:400-408 | src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:99-107 \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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcfb3f6af38310266d062a2936240ecd13a50c8068783027747c54a0ead62d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/PhpSpreadsheet/Calculation/Financial/Amortization.php:52-59 | src/PhpSpreadsheet/Calculation/Financial/Amortization.php:137-144 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:51-58 | src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:173-180 | src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:103-110 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/PhpSpreadsheet/Calculation/Financial/Amortization.php:52\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/PhpSpreadsheet/Calculation/Financial/Amortization.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdac7902c9a0e339d510f7f8ad35c12e55671570830650221648c3cbc13c5209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Settings.php:34-41 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:265-275 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:300-310 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:324-334 \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/PhpSpreadsheet/Writer/Ods/Settings.php:34\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.php:261\u0060 calls \u0060startElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Theme.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/PhpSpreadsheet/Writer/Ods/Settings.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"775017e60c1e0e981442abdfacd5e8ca44632b24d3e16387ee52e10eabbc459c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php:112-119 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:264-274 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:299-309 | src/PhpSpreadsheet/Writer/Xlsx/Theme.php:323-333 \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/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.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. 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/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"da00bdc522ae0d3bb3ee98caabad43f1fb6431d17b14b6ac2c1bcd78de27dffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:806-813 | src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:830-837 | src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:854-861 \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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:806\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:814\u0060 calls \u0060getMidpointConditionalFormatValueObject\u0060, \u0060getMidpointColor\u0060, \u0060getARGB\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:862\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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e5dbd11bb3351e7731cec5f65df54788865504eb57eaa6a3aebd6a8d4ef3b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php:103-110 | src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php:103-110 \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/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php:103\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/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"28237eb625b8629fe291ff5eb2dce1b29ae978b4e1579b1d08281c5b0753f2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:122-129 | src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php:33-40 \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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:122\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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"051ff09f4afc52e93ea355d347e9616cb71857e10836a16e1237f2eafa1d4c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:64-71 | src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:125-132 \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/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:64\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/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"064a4a19e73383e82d8613d5144c7a0ef1300d39af9feefd23125fb78b7c568b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php:30-37 | src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php:29-36 \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/PhpSpreadsheet/Calculation/LookupRef/HLookup.php:30\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/PhpSpreadsheet/Calculation/LookupRef/HLookup.php:38\u0060 calls \u0060convertLiteralArray\u0060 and \u0060src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php:37\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/PhpSpreadsheet/Calculation/LookupRef/HLookup.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7298c6ae2024b1ada1e04f9f35879bab9f6997dce1d5e705e4a996bd926124b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php:64-71 | src/PhpSpreadsheet/Calculation/LookupRef/Offset.php:114-121 \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/PhpSpreadsheet/Calculation/LookupRef/Helpers.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6a17e18ddd9aef91916d31df38e0717178a55ae1e8eb5009bf2212a49bacc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php:171-178 | src/PhpSpreadsheet/Calculation/MathTrig/Floor.php:211-218 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/MathTrig/Floor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php:171\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/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"daafd377ad2c53178db9dd5ed89f570308f3cb057b4d5aff2d1df20cbb79dd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php:30-37 | src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php:71-78 \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/PhpSpreadsheet/Calculation/MathTrig/Combinations.php:30\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/PhpSpreadsheet/Calculation/MathTrig/Combinations.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b038465c296c80fd580e1ade96f659d24ad8b6ba58853038b0bd7c5aa474e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Averages.php:39-46 | src/PhpSpreadsheet/Calculation/Statistical/Averages.php:80-87 \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/PhpSpreadsheet/Calculation/Statistical/Averages.php:39\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/PhpSpreadsheet/Calculation/Statistical/Averages.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0792691afc1d61cfd0369ffb578f66790ae8c636eec35ada3a172388c4300c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:41-48 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:94-101 \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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:41\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:102\u0060 calls \u0060validateProbability\u0060 and \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php:49\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/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9a1259b3583d37fe2ab3d30168dc56697c536101c900848601dd8953e5caaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Reader/Csv.php:252-259 | src/PhpSpreadsheet/Reader/Slk.php:137-144 \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/PhpSpreadsheet/Reader/Csv.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24768d644d8e3b4cc67a51aa4d473f9a4f997de7adff03bb2ad6a65b7af99d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Reader/Ods/DefinedNames.php:22-29 | src/PhpSpreadsheet/Reader/Ods/DefinedNames.php:41-48 \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/PhpSpreadsheet/Reader/Ods/DefinedNames.php:22\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/PhpSpreadsheet/Reader/Ods/DefinedNames.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ebe4764ca35518ff9f5e4d2ad9cccc038667f25e4ee571066d887cc48e3621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:168-175 | src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:347-353 \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/PhpSpreadsheet/Shared/OLE/PPS/Root.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86c0a60370239c7ba627f241666d3adee29fd7285f771ec0900e02f67e93eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Style/Border.php:191-198 | src/PhpSpreadsheet/Style/Font.php:732-739 \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/PhpSpreadsheet/Style/Border.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9686fe35e4a04a5d7cd4feb7642b1c31911f2c67961b70a6f657c935679350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Style/NumberFormat.php:351-358 | src/PhpSpreadsheet/Style/NumberFormat.php:371-378 \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/PhpSpreadsheet/Style/NumberFormat.php:371\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/PhpSpreadsheet/Style/NumberFormat.php"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6065848d31c50951cdda9471efc548316818c69d7bac791f97fa0af9fc24046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:177-184 | src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:185-192 \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/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:177\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/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bcf5c0acfd0cb2d231e8222fe5b456a6ffde41ad09fdbace79aaf7fb1d6c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Worksheet/AutoFilter.php:135-142 | src/PhpSpreadsheet/Worksheet/Table.php:304-311 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Worksheet/Table.php:300\u0060 calls \u0060setRange\u0060 and \u0060src/PhpSpreadsheet/Worksheet/AutoFilter.php:132\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/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcc3ac294b9ee8eea83f248fbfe9c6802ba91b8e3b234853d3dcf05a7eaa459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1063-1070 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1093-1100 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed73460ed461d69962b7a1e8b5155e1ae5c6dc417a905dafb66bc00ed5ed9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Worksheet.php:701-708 | src/PhpSpreadsheet/Writer/Xls/Worksheet.php:729-736 \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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"803ffdaa9d2bb8f4a28e794a879257cd41233d2be254ad7e2e902989cf0c7b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls/Worksheet.php:2953-2960 | src/PhpSpreadsheet/Writer/Xls/Worksheet.php:2968-2976 \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/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"779db8cd158f9add9e7da377e914acaf9eb222007fb32c1ff1445ed3775d01bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:711-718 | src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:721-728 \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/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"652ba332c2f21622bf6639864fa42b5c93a77906834db34d73926100a4f968d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 15): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:628-633 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:646-651 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:708-713 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:738-743 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:754-759 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:772-777 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:856-861 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:898-903 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:929-934 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:943-948 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:958-963 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:974-979 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:999-1005 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1018-1023 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1044-1049 \u2014 all 15 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/PhpSpreadsheet/Writer/Ods/Cell/Style.php:999\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php:896\u0060 calls \u0060writeElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:627\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"048ef5f52d3ceac8ce19999b853edd8439a746e29bfbcb513120e3f7913687ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/PhpSpreadsheet/Reader/Xls.php:2134-2140 | src/PhpSpreadsheet/Reader/Xls.php:2195-2201 | src/PhpSpreadsheet/Reader/Xls.php:2222-2228 | src/PhpSpreadsheet/Reader/Xls.php:3640-3646 \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/PhpSpreadsheet/Reader/Xls.php:2134\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3653ef5c8dc52d4ece4e1b318bf4f54fe6a21aa662b04a71c0dab4701752b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/PhpSpreadsheet/Reader/Xls.php:2351-2357 | src/PhpSpreadsheet/Reader/Xls.php:2368-2374 | src/PhpSpreadsheet/Reader/Xls.php:2385-2391 | src/PhpSpreadsheet/Reader/Xls.php:2402-2408 \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/PhpSpreadsheet/Reader/Xls.php:2351\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51a7c0e0ee30f2ec9eba6932ffdcd03db826712604c906645e7eeb5e04a311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/PhpSpreadsheet/Reader/Xls.php:2728-2734 | src/PhpSpreadsheet/Reader/Xls.php:2773-2779 | src/PhpSpreadsheet/Reader/Xls.php:2927-2933 | src/PhpSpreadsheet/Reader/Xls.php:3153-3159 \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/PhpSpreadsheet/Reader/Xls.php:2728\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/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b64787e81a3691ac897f2df59ca61773c6b37ecc2f3792f49b4a5c9a195e881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:880-886 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:894-900 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:912-918 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:925-931 \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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:887\u0060 calls \u0060writeElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:919\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a94ae79344f4a3c3acac25f15fedfc8f27ec97101ad2f30abd33390ac0b094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/MetaInf.php:42-48 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:150-156 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:479-487 | src/PhpSpreadsheet/Writer/Xlsx/RichDataDrawing.php:92-99 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Ods/MetaInf.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/PhpSpreadsheet/Writer/Ods/MetaInf.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4944e3ae44409e079ff232cff06dcaa7f096a9d331ff27644fecae4f01b65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php:32-38 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:32-38 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php:34-40 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb695acf42fad02afed94ad1cfac178ec52782844056a8f72d5df60afb468e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:177-183 | src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:185-191 | src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:193-199 \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. 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/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d7ef92d94897ebb69da52aa32de5cee586769b7b059fd54bfac3a88dfc8ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:589-595 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:602-608 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:615-621 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"134ed9510c3d8b119caa3c4c5ad8eb058237dbe65a3a364e6506ba5b85424f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/Meta.php:36-42 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:400-407 | src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:99-106 \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/PhpSpreadsheet/Writer/Ods/Meta.php:36\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/PhpSpreadsheet/Writer/Ods/Meta.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"103dc118d189a35f82dad7f8452fddeffee08bfec8aec32d136504711abb757a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Writer/Ods/MetaInf.php:40-46 | src/PhpSpreadsheet/Writer/Xlsx/Comments.php:200-208 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:477-485 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Ods/MetaInf.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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. 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/PhpSpreadsheet/Writer/Ods/MetaInf.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6b38d3c9505f46e19ee4e471799d1c004fa5937c03a5af5c3674534fc34f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:1439-1445 | src/PhpSpreadsheet/Calculation/Calculation.php:1454-1460 \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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b9212b81987e6256ffaff532eff2cf6963c77df01882047658b589ec774fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:1928-1934 | src/PhpSpreadsheet/Calculation/Calculation.php:1940-1946 \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/PhpSpreadsheet/Calculation/Calculation.php:1928\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0936cdb237e846d7b0bb0266761ea2270cca2dcc381725fe559807060a085e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:2488-2494 | src/PhpSpreadsheet/Calculation/Calculation.php:2497-2503 \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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b246fdfcb1a291d573b7db68bfef6f4167bee2db348b7b658112c57a9243e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:66-72 | src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:177-182 \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/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:66\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/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a059ff8f2b1d8a3da37b81c0cb9e633a6f0644b96833783714b4caf88201e0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php:62-68 | src/PhpSpreadsheet/Calculation/MathTrig/Random.php:72-78 \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/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php:62\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/PhpSpreadsheet/Calculation/MathTrig/Random.php:81\u0060 calls \u0060VALUE\u0060 and \u0060src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php:69\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/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da8d49d794cb9f320ef7549ff4b335bc29056e5c07730f3ea8740049f656f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1529-1535 | src/PhpSpreadsheet/Reader/Xlsx.php:2823-2829 \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/PhpSpreadsheet/Reader/Xlsx.php:1529\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d907ed12baf03858bd70281d4543046546e0f77db456be84feb8d732557c828d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx/Chart.php:212-218 | src/PhpSpreadsheet/Reader/Xlsx/Chart.php:285-291 \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/PhpSpreadsheet/Reader/Xlsx/Chart.php:212\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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd73492b094b608d604957955f857516e68f48fe37f6690f890f4a7c66ee19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Spreadsheet.php:1736-1742 | src/PhpSpreadsheet/Spreadsheet.php:1744-1750 \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/PhpSpreadsheet/Spreadsheet.php:1736\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/PhpSpreadsheet/Spreadsheet.php"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e934b289ce2a5bee7935863e84d4614465fad80c5d9248c7978b027382263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:558-564 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:571-577 \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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:578\u0060 calls \u0060startElement\u0060, \u0060text\u0060, \u0060endElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:565\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"4addb08250ca9a6b74d82b3c107eca659e54f1fbdfce891e041f1f0231d29931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:575-581 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1153-1159 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"2287122395146e3ee780dcb4708fea354dc881184e4283c4c2d4f604624d417f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:663-669 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:675-681 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964ffaf5286419dfc94511d4d85a7f74eea7dfbaec831e07fc006b8880a4eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1067-1073 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1122-1128 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1065\u0060 calls \u0060WriteElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1120\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f2a7c945972894c484f865f7bfb4413ff7911f325531f042bfd9edc1ee0814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1119-1125 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1147-1153 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd02e196f3412512e434b282dd91250816b4e6c44d724a9e5599e6f9ccb04f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Ods/Content.php:92-98 | src/PhpSpreadsheet/Writer/Ods/Styles.php:51-57 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Writer/Ods/Content.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Styles.php\u0060 as WHOLE FILES: this scan already matched 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Writer/Ods/Content.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. 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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1b09a37fd49b1207082ab422d18788847e5843028fd09ba8bb6c751d4e26e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:91-97 | src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:305-311 \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/PhpSpreadsheet/Writer/Xlsx/PivotTable.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"327888a623269cbbf6395f20859ebc208869d9150383675b4a499759dd63cd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:626-631 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:644-649 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:706-711 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:736-741 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:752-757 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:770-775 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:784-789 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:854-859 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:941-946 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:956-961 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1042-1047 \u2014 all 11 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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f7ec71139879abc7a942cc9276332dab4e1075666f4b41b5d6ec6cb161f9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:634-639 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:652-657 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:760-765 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:774-779 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:870-875 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:931-936 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:945-950 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:960-965 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:976-981 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1006-1011 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1024-1029 \u2014 all 11 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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:642\u0060 calls \u0060formatDateDdmmyyyy\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:982\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"461fbbe18589ca9e2855763848328733827200dce40c1d8a89c284e29951e749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:533-538 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:545-550 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:557-562 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:570-575 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:587-592 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:600-605 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:613-618 \u2014 all 7 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 after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:563\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:539\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f590ca1ec67a789d4388fac18da25685305cf06b6cca6b94407fcce170341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:662-667 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:674-679 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:722-727 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:796-801 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:815-820 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:835-840 \u2014 all 6 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:822\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:803\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"142177feee4681815be747cbb92cdd41787ec5d1b5ed49dc71c3a037e80a2386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php:35-40 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php:63-68 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:72-77 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:38-43 | src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php:34-39 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php:35\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/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa601aeb0ee5d337f18746af7fb402545377caae9f055e696678564c955e474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:711-716 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:741-746 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:820-825 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:883-888 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:901-906 \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. 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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4656fca19fdff938950279fc1e58b721a9fd296582023e525569ac82c29824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:726-731 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:805-810 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:825-830 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:844-849 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1053-1058 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:802\u0060 calls \u0060startElement\u0060, \u0060endElement\u0060, \u0060writeElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:725\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b367571edf054132386f7d35c492315bf99b2a41687da1f21e2c1e2e0feb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:725-730 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:804-809 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:818-823 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:843-848 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1052-1057 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:802\u0060 calls \u0060startElement\u0060, \u0060endElement\u0060, \u0060writeElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:725\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7512904e12515702bf114de80f78df04c368582815be15c4bcb4b1b0acfc7188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:819-824 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:882-887 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:896-901 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:927-932 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:972-977 \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. 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 before the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:817\u0060 calls \u0060writeElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:881\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36cb218d0d8ee89959a5d99cb11443614b51378502e80012d8b67b6e886d1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Writer/Ods/Content.php:63-68 | src/PhpSpreadsheet/Writer/Ods/Meta.php:32-38 | src/PhpSpreadsheet/Writer/Ods/Styles.php:27-32 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:397-402 | src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:70-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PhpSpreadsheet/Writer/Ods/Meta.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PhpSpreadsheet/Writer/Ods/Content.php:68\u0060 calls \u0060writeAttribute\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Meta.php:38\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/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94052d19f4c1789bd850e609ea3bbccefa701d5cc08b951c4c1c20853097140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1066-1071 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1096-1101 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1121-1126 | src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1149-1154 \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/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1065\u0060 calls \u0060WriteElement\u0060 and \u0060src/PhpSpreadsheet/Writer/Ods/Cell/Style.php:1120\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/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9eb521f08d3ac56c2b9f59def1ea3f36f7d0716d80858eca31037abea1235e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:2145-2150 | src/PhpSpreadsheet/Calculation/Calculation.php:2177-2182 \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/PhpSpreadsheet/Calculation/Calculation.php:2145\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdfcb0507c61ea37907f8744861afd882eee3ba89c2d99baac6dfbf95c77ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Calculation.php:2579-2584 | src/PhpSpreadsheet/Calculation/Calculation.php:2587-2592 \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/PhpSpreadsheet/Calculation/Calculation.php:2579\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/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bf879e3db2b16b20aae423dde29ca633b3573ca095ff83136cffb5cf331c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/CharacterConvert.php:86-91 | src/PhpSpreadsheet/Calculation/TextData/CharacterConvert.php:99-104 \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/PhpSpreadsheet/Calculation/TextData/CharacterConvert.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd93572f60fd0ff5e68c6551bad9543073e113eb0792d778fb1dcf94630e56c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/TextData/Extract.php:155-160 | src/PhpSpreadsheet/Calculation/TextData/Extract.php:219-224 \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/PhpSpreadsheet/Calculation/TextData/Extract.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d780e9a007eccba7736eb0f9c5461bee7b993a1365e3556c2b6d86516186ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx.php:1596-1601 | src/PhpSpreadsheet/Reader/Xlsx.php:1707-1712 \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/PhpSpreadsheet/Reader/Xlsx.php:1596\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/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb676d2604a9c5cdbf9db7e780eb8931963733219c758ceeb4938185f1e6c1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:176-181 | src/PhpSpreadsheet/Shared/OLE/PPS/Root.php:354-359 \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/PhpSpreadsheet/Shared/OLE/PPS/Root.php:176\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/PhpSpreadsheet/Shared/OLE/PPS/Root.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa52942c9008b397c19f0b21ef433ca75d28ded8db36faedfca604625458eb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php:281-286 | src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php:335-340 \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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ee576c0ba9b1cea5e3827264eff3aba3dbca20a1a57c244892201fc94324eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php:288-293 | src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php:359-364 \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/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd867f45a31a87ac95ef07b85b6c1d5847af5378a7660deb0fa65c6384157c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): src/PhpSpreadsheet/Writer/Pdf/Dompdf.php:32-37 | src/PhpSpreadsheet/Writer/Pdf/Mpdf.php:32-37 | src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php:59-61 \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 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php:59\u0060 calls \u0060getSheet\u0060, \u0060getSheetIndex\u0060, \u0060getPageSetup\u0060 and \u0060src/PhpSpreadsheet/Writer/Pdf/Dompdf.php:32\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/PhpSpreadsheet/Writer/Pdf/Dompdf.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fea83924b152f2e4e74a9bcc840ab8de6414ab81bf54a8cbd97d86d1f0284ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1871-1876 | src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1879-1884 \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/PhpSpreadsheet/Writer/Xlsx/Chart.php:1871\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/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"921059dcb910356d550d29db60fbffaf04793f86f67b33f95319662bb88523a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:198-203 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:219-224 \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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e9efe2de214631a04d065959fa1aa73b455ac9028dc6b9e18db62d56dec0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:322-327 | src/PhpSpreadsheet/Writer/Xlsx/PivotTable.php:341-346 \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/PhpSpreadsheet/Writer/Xlsx/PivotTable.php"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829d3bea0b9072385ec7452fe3aa2a9fd777652c12e76eb7c41e0a25328d860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/PhpSpreadsheet/Reader/Xls/Escher.php:198-202 | src/PhpSpreadsheet/Reader/Xls/Escher.php:264-268 | src/PhpSpreadsheet/Reader/Xls/Escher.php:305-309 | src/PhpSpreadsheet/Reader/Xls/Escher.php:346-350 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls/Escher.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c6f3b1193a215be81f69d1df3ae16816be10699fabc5ccec96005bee1442e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php:41-45 | src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php:81-85 | src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php:58-62 \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/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca858a75e3f28d84a9939ab86e6c91cfbae369c5531f58832f1650a8b8b67d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/PhpSpreadsheet/Reader/Ods/PageSettings.php:55-59 | src/PhpSpreadsheet/Reader/Ods/PageSettings.php:96-100 | src/PhpSpreadsheet/Reader/Ods/PageSettings.php:108-112 \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/PhpSpreadsheet/Reader/Ods/PageSettings.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/PhpSpreadsheet/Reader/Ods/PageSettings.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f58d6f0f8f748f338ee172ccc496975a15fa496572b12fb74b2f1afc11c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Chart/Properties.php:797-801 | src/PhpSpreadsheet/Chart/Properties.php:805-809 \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/PhpSpreadsheet/Chart/Properties.php:797\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/PhpSpreadsheet/Chart/Properties.php"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b120e34a4f22dcdd21fc522f9c9d8cfab789f5766799e0a3061aacb28bfa21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Chart/Properties.php:803-807 | src/PhpSpreadsheet/Chart/Properties.php:811-815 \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/PhpSpreadsheet/Chart/Properties.php:803\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/PhpSpreadsheet/Chart/Properties.php"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e32f1b2eea6ffa8fe9775ce4ab99a51a3a3a7fb518889d9295e6885b6c4bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:300-304 | src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php:591-595 \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/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"60734552b4755bed8a3418a9063c7d9cbd752b459ceac032f953ea9ea77976f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Reader/Html.php:742-746 | src/PhpSpreadsheet/Reader/Html.php:1028-1032 \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/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e333c879ed82678a462ed5bf2b6ac3cc450024c3f791ec8bd50568d95081bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Reader/Xlsx/Chart.php:202-206 | src/PhpSpreadsheet/Reader/Xlsx/Chart.php:275-279 \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/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06603474eb4108479bf81bd448b0881cd0a9284be226c1f9d3c109fc1844b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls.php:744-748 | src/PhpSpreadsheet/Writer/Xls.php:884-888 \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/PhpSpreadsheet/Writer/Xls.php:744\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/PhpSpreadsheet/Writer/Xls.php:742\u0060 calls \u0060elseif\u0060, \u0060pack\u0060 and \u0060src/PhpSpreadsheet/Writer/Xls.php:882\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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb051d8b5dda68b21ed3b2d3c7244cfd75d85ebe906606c22f0a9ad5cbee6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:96-100 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:104-107 | src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:111-115 \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. 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/PhpSpreadsheet/Writer/Xlsx/Drawing.php:100\u0060 calls \u0060writeElement\u0060, \u0060stringEmu\u0060 and \u0060src/PhpSpreadsheet/Writer/Xlsx/Drawing.php:107\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/PhpSpreadsheet/Writer/Xlsx/Drawing.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c5f72953c3c209eee8361bd02265c50434aad5d234152d64078f7fb20f5d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:27-85 | src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php:20-78 \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/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:27\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/PhpSpreadsheet/Collection/Memory/SimpleCache1.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb4a1294746e6bca96d0ae19e6b86f5c0758063f59fdfd339f664923f70aacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php:194-202 | src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:71-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. 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/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcef8400e564889be3c1e5c25e1406f5daf6aaeb67d3025bb68088ea4b0a055a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:115-120 | src/PhpSpreadsheet/Calculation/Financial/Securities/SecurityValidations.php:25-30 \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 \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/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7868094ab8be4b7069217c751851d64bfb7b9f472bbc7f41505ea80387377278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/PhpSpreadsheet/Calculation/LookupRef/Filter.php:41-50 | src/PhpSpreadsheet/Calculation/LookupRef/Sort.php:152-161 \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/PhpSpreadsheet/Calculation/LookupRef/Filter.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800bf18fa16b4c10a3776854eb2e9a503ef804d1b01f629fc75847163176447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/PhpSpreadsheet/Comment.php:293-300 | src/PhpSpreadsheet/DefinedName.php:260-267 | src/PhpSpreadsheet/Style/Conditional.php:359-366 | src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php:238-245 | src/PhpSpreadsheet/Worksheet/HeaderFooter.php:443-450 | src/PhpSpreadsheet/Worksheet/Protection.php:465-472 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Comment.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c423e8cc46a524c3cd0dd7284f1498cd7f2f21aeef8d353c114378672255b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/PhpSpreadsheet/Reader/Gnumeric.php:274-279 | src/PhpSpreadsheet/Reader/Ods.php:268-273 | src/PhpSpreadsheet/Reader/Xml.php:274-279 \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 3 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/PhpSpreadsheet/Reader/Gnumeric.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b488b00d1c09c0d12bc089a8e98024d1da34d8677a6d95f5b2336126f840198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/PhpSpreadsheet/Reader/XlsBase.php:354-360 | src/PhpSpreadsheet/Shared/OLE.php:567-574 \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 \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/PhpSpreadsheet/Reader/XlsBase.php"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64c17b6c7c4f431863d47d17d457c6fcf989ecc7257c9b48b2fec39d1375538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php:86-91 | src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php:58-63 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php\u0060 and \u0060src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php\u0060 as WHOLE FILES: 83% 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 2 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. 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/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63384513b6f0b7641f4bf71c0945403895dbe2e66f0ef0da66531f4e3aac6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Blanks.php:87-93 | src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Duplicates.php:66-72 | src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Errors.php:83-89 \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 3 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/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Blanks.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cb9001d6dca9a48fbd98a421913e97a02951bb997d3c9a93901bf643a30b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Database/DMax.php:36-43 | src/PhpSpreadsheet/Calculation/Database/DMin.php:36-43 \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/PhpSpreadsheet/Calculation/Database/DMax.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b31f02aa62fe3b936d375f1c92de79a24ce7c350016471e3a74becf8c21ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/PhpSpreadsheet/Calculation/Engineering/BesselI.php:62-66 | src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php:61-65 | src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:59-63 | src/PhpSpreadsheet/Calculation/Engineering/BesselY.php:58-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Engineering/BesselI.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"384183ed6ebf19767e432cb826622d0cf591ac3774805791b633bddf6ad7b0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:73-78 | src/PhpSpreadsheet/Calculation/Engineering/BesselY.php:72-77 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Calculation/Engineering/BesselK.php\u0060 and \u0060src/PhpSpreadsheet/Calculation/Engineering/BesselY.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/PhpSpreadsheet/Calculation/Engineering/BesselK.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bdebb146232d2a530d414011ea91b70a03d72a97fe7f72903dd9fa6f0d8cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php:207-211 | src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php:169-173 \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/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07911361d433695e255abed9fcfd6253ac2c47f3835113b088c4eed228d5961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/PhpSpreadsheet/Calculation/Financial/Depreciation.php:248-253 | src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:47-52 | src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:85-90 | src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:95-100 | src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php:105-110 \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. 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/PhpSpreadsheet/Calculation/Financial/Depreciation.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c13abeaa96f84b143f9eca3c9a8558dcff63a929b5f0ba71ff6c2483fc5287b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/PhpSpreadsheet/Calculation/MathTrig/Absolute.php:25-35 | src/PhpSpreadsheet/Calculation/MathTrig/Exp.php:25-35 | src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosine.php:26-36 | src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php:26-36 \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. 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/PhpSpreadsheet/Calculation/MathTrig/Absolute.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd416dce46fa1236946921b8d35728e50b7e057533b4ad8a057be58047619edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php:102-106 | src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php:74-78 | src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php:92-96 \u2014 before extracting anything, compare \u0060src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php\u0060 and \u0060src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php\u0060 as WHOLE FILES: 83% 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 2 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. 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/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c0a9722478bef8d83029bb8a394105551f08a171ed833e25dd8fe3b0eea2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Calculation/CalculationLocale.php:144-148 | src/PhpSpreadsheet/Calculation/CalculationLocale.php:222-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/PhpSpreadsheet/Calculation/CalculationLocale.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/CalculationLocale.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"37816d65ba8d5f8f3da13311b277c1a57efc859822dc8ded6d43f5d785c30412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Reader/Ods.php:361-365 | src/PhpSpreadsheet/Reader/Ods.php:425-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/PhpSpreadsheet/Reader/Ods.php:361\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/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7071ef8c6d183facbe7b4354f28beba0a5fbc0d0c24f67f47bf7c9c3c9080c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/PhpSpreadsheet/Writer/Html.php:1444-1448 | src/PhpSpreadsheet/Writer/Html.php:1491-1495 \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/PhpSpreadsheet/Writer/Html.php:1444\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/PhpSpreadsheet/Writer/Html.php"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"99294f4d1eef3720d76dc10216511deb016c6d4c56e499373b0e75574c1bc504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/PhpSpreadsheet/Writer/Xls.php:751-756 | src/PhpSpreadsheet/Writer/Xls.php:891-896 \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/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe0ecefe53570740ea9a7e572bb2485a84fcdfee1d160fb38e3ec9e6d74dd16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): samples/Chart33a/33_Chart_create_line_dateaxis.php:359-367 | samples/Chart33a/33_Chart_create_line_dateaxis.php:375-381 \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":"samples/Chart33a/33_Chart_create_line_dateaxis.php"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddebb155b8503aa7b948a39dab2cedd7a741be07c0a9c5a02e1f9ffb2210c326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): samples/Basic5/55_DefinedStyles.php:98-105 | samples/Basic5/55_DefinedStyles.php:113-120 \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":"samples/Basic5/55_DefinedStyles.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3df5dcc2812df93985740403b1a13f8fe926116ec75f6eb71c5f74de50aadff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): samples/Reader/11_Reading_a_workbook_in_chunks_using_a_configurable_read_filter_version_1.php:25-36 | samples/Reader/12_Reading_a_workbook_in_chunks_using_a_configurable_read_filter_version_2.php:25-36 | samples/Reader2/14_Reading_a_large_CSV_file_in_chunks_to_split_across_multiple_worksheets.php:25-36 \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 \u0060samples/Reader/11_Reading_a_workbook_in_chunks_using_a_configurable_read_filter_version_1.php:25\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":"samples/Reader/11_Reading_a_workbook_in_chunks_using_a_configurable_read_filter_version_1.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f6680ad5a25b2ef3705e88888502cc86ff0d2397c1639954a4571ae929f3c1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testACCRINTM: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53a9ca6b5f2e4f13109e6da9247ebd86a0b112eecb2610d659ae83c258be20b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testACCRINT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c7ce8ea7b9ed731d89bd8d793aac11676343858809b860f53b1d93222c0b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAMORDEGRC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1991b626a1a1e9b36b589af269eac535a91ee444d8a98b441e2e17c30525adf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAMORLINC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bb9b0b3b9c980531d4aedb129275ddf1c38996afb7ebe7fdb78f4ea4b164f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPDAYBS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1cc86de89aab7c3e427883b4033e5e3c080a7856c66930926662fb462cd26c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPDAYSNC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9700b343bccf46cbe30b4cc0fe95ce777f3d1622f99f04ae215da28cdc956699"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPDAYS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a20016463a02496692a6059c62c0138b3c4c1651c138cead0314560a714c36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPNCD: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4550d7e2948d17aae93e33b394d87a8c70235d31b16f9c601e9ce863601211a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPNUM: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"961410ff98b654ac3f4f15b4f8cc8e2f47e3c7471fc6398648109c0c75a67d04"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUPPCD: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6452224c722d1ae3737eb1582dd93a26eefadeb5265b9616d857151802c00aeb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCUMIPMT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf9853af38fd8327ca7448306153d4ec850aa31b6128601b74fc03a14f97ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCUMPRINC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13de594e33f08eee64c4f7f32fa97cb8b692981465e6cb4444f07042fd7cbe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDB: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"87912993db224b06a973b1b6132d4ce56cfbc1e79b13f31be891a0bd747fac9e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDDB: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fa4baee4388e001b008454b798b3ea0380a534c6ba2ecf068f473313f83079"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDISC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e1ef538b6ab911f9638961e288e23bbcb813b838d85ae1d1fd81f3fd96294b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDOLLARDE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"374818b9532f3e340524c27193152d3fcfc2e80c86b2d5261bd437cc54876d93"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDOLLARFR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bef4e93778583bf0c0ecdedddd4d030996d448b05f1736d966c2d31e1c4e2f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEFFECT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7627d08c4da5419cba96a587fb24da1e611b6b944aebb7df9dd5bfdff7c370f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a642d81137add4a78ca299224df6472a38c79c173a657402dcb173fb2b66dbc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIPMT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"90288949cafa87ec9feae6e4d642b314738d5fa299ca288fe36a928c32ccf0fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testINTRATE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"184ccf1b72bb44eba9a75d1f1afaaa38fc0a9aa4c6dfe1aa4182ae6825732ad7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testISPMT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8b5de42e1987a1202320f596eb732780be7cc21f972680a6dbe74aa763085"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNPER: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee00dbfd1913cd6c09b23ddde055dc273682a349eeb7638edb8945c0bbc6171"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNOMINAL: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b504d635ea500dd42df7f686eadbda2fd026af3cc109b4100c6eed07bc92709c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNPV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"85778b9be943aaae30ad09c3ad9c9e7601dea05045b476ca76dd6a1476877faa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPDURATION: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"974e09680ccc2b05effd36cfd5aece903d18f9a3c3c81c9b9c1a3922b21c7ea0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPMT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"08de5da2c4267286813327846ae866c5791e87f293f64567544c1478541722c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPPMT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"923c994fde7951e7077d9ba5759ca48bf5169e834f71528fc993446ea8dbe179"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPRICEDISC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1947a53d6a05ec0764cca4b2c9a613b4c3068403bfc9ca2fd4aedca9854620"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPRICEMAT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f4093bfba7bb0f6cb293edc586e4155e2090c07b97b8dfc09df6f7e5ea07a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPRICE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd39d9a3bf29f94e7be355fc8b8a81ef51fabecb6abf750643459846e1149240"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPRICE3: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3cd192ade0ce5e075ea8d77d00d8d7de6e807756b0670bf6658e7949a6ef7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcb239db4e11624e8b9d1fd35c22440e00ed53c9e398f21cb7bc095a9356c8f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRATE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd0ebd85cf7cb71152959e8e4a45c5ab1c58459f2b6989859d3b30858b97128"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRECEIVED: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd8587850974ca2250ef7012af3a97ce8897de19f65f675207165ecc6f02545"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRRI: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79a6b268c1e5ab3a90a52e782726f78090de7ec8c4fbee49e3ebff3cc8580c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSLN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90003bf5573eac907b4811be1c759ae2a67933ffd311ca0f51d3f3fe84ec981"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSYD: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"122ffa25a5e1eb21eb8207814f98fa5d99171b50f2858fae4fd560fa174ca6e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTBILLEQ: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd71e4523ebb5f207a9d334967c00c2284e44328bc5e367e67fac35bb7d3a40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTBILLPRICE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"355d45a48160cfea5854117f86539e825333821dc602e7c93f3b998ac257d61c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTBILLYIELD: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fffb54e3a74e15033fa8714114f92f35cf4c9310326d030d00bef93c572ba8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUSDOLLAR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/UsDollarTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3ca080c09c78ea4bed54cc7384017ac51610efdeb7ce38c17d793ee17ef7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testYIELDDISC: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a376d2b32954eab583a812695d48604e3a5fbf758089272c7519e9df347d6d4d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testYIELDMAT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc73b10f66891797fbe2c43a9442fa28fdbeb5b0c9ad930fcc3fa5891c53c49"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAND: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9a39ad32cf66979ea93887a026f245929a70af99022745ca39ab9ecccb9c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFALSE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/FalseTest.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dd554417fa194b46395aa3ea40692976041cbb4e1f8481d80392d4eb13fb47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIFERROR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"de99cc0c948eb30fa552d9c0330029d376405146404d0f073cd08affb80a19ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIFNA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"057ee21f3575c3d6657888378cf5fc73dfbe63940afc91815ed26fe29873a2a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIF: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1ac1b8ba45ac40c52053fc96e5b6a1152ea782bb997b5ebb5af3b98d0a22a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIFS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a756c7d95ee8652b65cabc917973f6b7bc0edae69a4914416fffcea39d89d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNOT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"39393b4f13c79b299998530b0727ce8478d34421dbaff15b75bf06dc2704ceae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1d2e82c8101c4522962ec756ce366cf70dc4c150e0c5ebc6777261a042c3bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSWITCH: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8269d3c6187f01a4dad8b46ca3eb9173307ce40d6a07c16002793e73e78b2702"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTRUE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/TrueTest.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9030a1cb39e670b078aa9f222a4a4867b2a81e9161e1aad246ffafaa9485cb3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testXOR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"712a7b52ae4c261f073a8cde54be5745fb3b3851c944f3106fe1b798f5cbb61f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAVEDEV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd17f8cdf87f1d54c5bdf29abbbbe17525b76e9f4f7d548c8cb28f009b88407"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAVERAGEA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3774dc59548c8eaff2dda2fc1a72a5443992ab9027de99ddcfe1d1f80b8c191a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAVERAGEIF: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3aa2532b85aa2a448e9069d3d91be6777cad5d54b90391e1d79ad2e88078a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAVERAGEIFS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a135c4f68277aa250693f04921941f7f7037bf2ac3d4d65a401de0ccdb28f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAVERAGE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"890ae4acdb10cfbff1cfd0a25e226bff31db70f909182598a384a98d3172f3c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBETADIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe3de76a9042a6d1409813f5a752b96b64453abcd0311cffd88823598ec300c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBETAINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65c8b0765f58889a550dfcc2b36050939ae5c2107c931b1f91bdd1e900040b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBINOMDISTRANGE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9abc2303679440efeaeda804b0e3a64163031d5da9cd338b417c9be97bb0e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBINOMDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bef726d85f0bbcab0542150975a6247f04233d72b513417145c20bab6e6baad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBINOMINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"365bf87ae74c6b9383a4a7d30d93d0b2722df7d13f6d5800eddf26588fb53a8b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCHIDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eb4dffe0c7e44ed9c99240cd33374ea040bb6b92474be145d1f5e981fd1af2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCHIDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"facfafd1c087145c49a5f44ed4f27e87b91ba72ddddb77b2a665693a8ead24da"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCHIINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7972322694c2b6820c58dca8b4483295445a7ce599cae5dc6a35257d16c1f147"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCHIINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7307d803884986d15e37750881fd606b6fc2fc65ecc75b361a3bc92c957d67"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCONFIDENCE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2adfa966f33988d5937616f293e332a0e5588fa57ee6ca364d96d27f1b83d0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUNTA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0728107fe73e7adfd7c3dea4fae00b61e1b09e4da61c26aaf921132e867e7796"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUNTBLANK: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5d3e5077b54c871a1fa4a977941e453cc0a63e00b5d8b9834ad85f40f6d99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUNTIF: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"26353515f998c7e0fe1d3108e54be0e0f84d9280a3c21b9dd660d109f90faeb7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOUNTIFS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfa55f5b8b9479e2fc48284aa83b467ac60c36630d525f931ade7b1fb561608"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBasicCOUNT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1331dd143f4a59edf741948a85a1d900de4477f040a73c5574ac2e8c0197e8dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExcelCOUNT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f7c766bed5d6cd3955546c95a670e5e67421cdc93340d61ad6ed720c47be8f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpenOfficeCOUNT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41e04c067166f0d673dff23c646a946b21e1c6e648fff883c4d99d9e14f3b0e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGnumericCOUNT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3170029f08d6da8e131e5685d3a62f9dd96454a54ccc75d54dae12fce46327e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCOVAR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e2085da26c410cd7724633b84fcb022530d85734bf1e52cff4c5ba17ee5073"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDEVSQ: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/DevSqTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3187dbd8e3d73f47f159a7e7918d3ef1ddd28ac072f813114e6bbffa92d1f916"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEXPONDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f1dca2b49b845813668ba324e75d77d43529ddd43ad57f7d91fd87032cc024"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0bf760553521be9d447c2979faf8656716865ce0816f64829343b9d4430fd0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFISHERINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f5ed1f418289aea0ed23a244e5e3a5d95af749c67ff5c52f4000260a07fcb8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFISHER: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e87f17254625519023e80c941e9916b773cd9f00a1816f02f580a6e7a4bfc4f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGAMMADIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b42460a9c52bdd28d43c70cdfd394a7c3b04976c58dcf1c1f1e954e09ec2aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGAMMAINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7da3a4a0554eabb29ab68f19369d1fe1e2e50b4f1936eb53760bd49f0dc7a89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGAMMALN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24393cf4cb8bc94a75bfff54866ec0d0a1316221212d92d26e1302c18b2e54c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGAMMA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9eeb67869659061f957bed710b053861b48ef10c621cb4b41f48c2427c54f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGAUSS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GaussTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b2169514f40a44c2e39655ec92830f76a677f8bb481f3d2d5eef7db730f441"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGEOMEAN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27e6a032045561f2597bf24dbdbfb121a30d77ebb3f98abb9c74b61191ba13"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHARMEAN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"492b4ce86e297ba33c1dbc493558321a01d2486e8c2ddfdb24ded7f042190b91"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHYPGEOMDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"85816a82ead9aba55f4899afa6f0472055d1666509ac66cd2abbb029570aac70"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testINTERCEPT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d051e4614bdbcae6e75590bb3da44131afa2cbf56095285e0ccf717275f9952"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testKURT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"692794ff8fdcdee535cd9bb3dbeb211cdc6d644bee812d5e8ce74f6e021f4485"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLARGE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fea0ad0dd5ed4c1cfe382626bb0a9619d607d9c965a0a97ed0f2af3b4e01032"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLOGINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbf7b8b76c64ad790a0f3c46af64f5f0a64106fea3be6595352def55cc43f0d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLOGNORMDIST2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDist2Test.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"222140afdb819b2755b7552fbf81046f85c4e5ba65d167b00b3e0e017dfa438b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLOGNORMDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e7b9b2c6280aa20a4f51a3031f41e6b73c02ab6c5bd1772edc059750d30bef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMAXA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6d02d9a567be1573c78cfa62902e39f755acf079c7caabde8a01a2e9ae581"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMAXIFS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"159582d88585668f8deff5b61fd2baeb6a795ff5e9fedfab1e0ad387206a0d34"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMAX: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"79393692fd9f63288f29e36f3bc528a89eaadaabf93b62a5589e0352a8e9930a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMEDIAN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1eb6541d67496b5d443503ef339523a61c949a6d134748fe9fe82f25b29d1b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMINA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9a7432aaa51a3efa24e025ff79188b73a0d0b6978b2469ce42856ddfcf498"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMINIFS: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5766d4993388fa40ef56071e6bbbce5e6c4deadc37174bcc7f68ba942d568a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMIN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0908ede4c34a318e865e955e818ee6b32361f04ce46bed74c591fbfb944b9b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNEGBINOMDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015f8cfcb319a08f0408b60ce4662611436cded0cf8ccc3181016abd0da19c1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNORMDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e339ef5d50aa41223eba75c8528a21a6d4cbe7bd16d68743821b5a1129ae21"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNORMINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d2412f452b8a3fe5358b8510087dbc1a228371a62901a94c21cc21bfb2619"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNORMSDIST2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSDist2Test.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9284634bb1f4aa074a90fe6feed59cf9d8fb782907c07ae006c45602f37a1b41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNORMSDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1da8489d85256e949803e55f2a847d9cd684219f79829ea575fa9cd62f5cb57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNORMSINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSInvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"54515b9d839c6cf383fb31086cbe717d418a6e90893fc5c7f0519cc136bfbc52"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPERCENTRANK: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb70bf6aebf24c0eb9d72f0ebccf9394b6ca66f81fcf4dc4f199865dd400a3c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPERCENTILE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3a9272c50e3170fbaa013ec4da42c9c792959784ca02d45649f3bbb827e08"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPERMUT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233ea9ed453b7100385fef4febb3a5ca87a12bc4d87a469a67b8fd26ca16055"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPERMUT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8e68fbfdb16f06373701c9eefbf9804c6f4da2190a69624ece44e5c63e8f40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPOISSON: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a761290cb52334be2b5e29c27ffd05e3425d0bd459678629fb21b45a93ecc2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQUARTILE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"386d3022a51767f053a5dae518a8575f7947a8f66bdbef5e811844a2f56bfdd6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRANK: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7161712f88452ae82a5dd2a65e4f9aeccab5f52bd6a5aa35f476c9de84812129"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRSQ: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bab2c27deb97332c9a8c193daf35f3696b0a8520f2b5b4460f4c41e9061e402"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSKEW: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5fdd473552d73825a3d44150cc871b7e7327ab76a641ff74ce46e0f1e1fbaa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSLOPE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf55d1ab0ad48c4c8345e1581e2b330a78faf9c92378ab9d8b260086443b8ec0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSMALL: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c820fd36ef71cd507eded7dd67c252c3889151c3b4c445279233a3e32baf9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTDEVA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e6224064d2bef2ba3626b38fa9ef7fa80af3eb4f41172d1a3e748f6ecc743"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsSTDEVA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e9325f8a598343b355c4f91094dcb428bfc115c72eb2915250fcccbec3c2b2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTDEVPA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"93451d477a4304cdbe0187a9905a2a479f41a5d9a5ffdcc63a79f51f6e0af312"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsSTDEVPA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"27193bd0c96d328931af8a704333a8a8bb446b5fd96365f0d91935da4b03228b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTDEVP: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b78ac42b4dd5e606a2cc9263f5cc327dc9e187ba272811b58692ef1e3743fe2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsSTDEVP: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3595480b7d6ffb3ce56700e35b6aeb9e0c92872c5eeb12272b96bed0af21bc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTDEV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ea6f6499084bf2a83c921438cd542820ff60cbd45b67f48cb05ea5ffcd1d77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsSTDEV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7b809725255a424f332e4fbba64216f9cf8f0fe82021ce97e58339d67b3464"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTANDARDIZE: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StandardizeTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97215faf7f1788be62de4354b60e3e8d1e379cd50bb30a4f61d1325f86a12f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSTEYX: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3fb45caa81eecffdf79c0357a6b8ea04ec536da86cadd66ea70a772faeb4bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTDIST2T: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDist2TTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"202fd1da70a4d56810c213aa8bd01bc09d8ac59deecf2b7d58ff855f09339cb4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTDISTRT: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistRTTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eaaaf3e86821d72abee615a0ca06756ac89486d6fb176761d318f79be72aa8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTDIST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b041b0f6b066bed6079f92bce333366c0698310ac0229f8c3beeee0cc136a0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTdotINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDotInvDot2TTest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2555623c6ad30eabcbbb94e0d9e25367062e940c7a73082fc9613c2fb61bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTdotINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDotInvTest.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b566f2859cbda1a7355f0784b58feb5bc9ef3e743e87edb65f7b388d787e21e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTdotDistFalse: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TdotDistFalseTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f331b9e656ff0e3a2aa984069d7cd1f262535c5633a912d8be20e89269da64"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTdotDistTrue: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TdotDistTrueTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e2a90020cfdc02a4ed66055f7efd1687e94e07f104fa36ff12451c56ec4611"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTINV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fc58b5367cb4fd89ae68d25f1e507317cb3c88ad2d78e78132c8895aae89f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTRIMMEAN: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"214548be8ab1d13835fd5ee25c044087f677b76f76d51a3007094cf43d7c8716"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVARA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df40339c0d00c513c08f5537745fa348dce157f7ef6c26f36d3ee6cd61f74c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsVARA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"386f2598cca75262032dc3cf4465531a88bfd39ca5eca04c9d0870d63d84cece"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVARPA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9fbf35b4c0474eee748ac18a90e96fee5290d0d2ba61881a8cade63c5201e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsVARPA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefedcc761ac9cc4fe0299332652788c21f4f23f4e4802a50008b27b1b4997ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVARP: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e1b14c185751029a55b865bd433e2d0200efa72fa4ba5dda9b2af4b4c25ffb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsVARP: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7778d333a1de4fbb1262b433ffaf8af091832b97ac4334bebd40f96d24fdf5ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVAR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a43b4556ae24ad59338e1d5d28fd1ed51ec235bfcb9a96c4cb8be3a16d8212"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOdsVAR: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43925c57be6365293f352a46037cc6124aa0e3bff10cb8c399de5bc93e2251c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWEIBULL: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dab0141fd2c6866f0aaba45734bd1caddec60735165c49dead3ded34655c829"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testZTEST: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9500f314b671abd48c0b39a64abc90703f5b8fedddf0a59af2ded834d58a02"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAll: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/Functions/Web/ServerTest.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c483c439501cfd562729565162d3e1577855b3478f91e885f1575b6ed86fc75"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMergedBadRange: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Calculation/MergedCellTest.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d13ed2482f4ae80d68578aff9702efe881b3503626baa14824aabc5e614524"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadFromString: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Csv/CsvLoadFromStringTest.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aadaff3beabfdacc642137ea0b9ee5b45da2a2b0929a42abe5137281c31dec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadFromString: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Html/BinderTest.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"412f516e2becb60a3ee9a3fca71917e3ec25a5694ed8c16bda7ad60281609810"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoad: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c7dfa78e25ea9f497b7c26fdf1f0e55d1ae1613e725a07a06d6b16cbd46890"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadXlsxConditionalFormattingDataBar: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd459464b427efb2195fa05d5c5b1e8670b69bdea51f83da63db625ff3bea5b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReloadXlsxConditionalFormattingDataBar: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb35900d631b28b8366b61e3c0875ff3176f8dc2a9b6d92fdd21e92a1e77acf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadEnglish: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Xml/XmlLoadTest.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8802b5559db4131c15024d9038873bb7b8c67ee1dee4ddae70d5f90fd89d85"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadFrench: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Reader/Xml/XmlLoadTest.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3904e5ccf43ddd3e2d6b1f6d4cf9505e0fe3e313c03df653fde2fd0488097e62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testClone: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Style/ConditionalTest.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"600954bee59a6f3c6977f3539c5cc992a8e8c1abe805092579eb407779a6f8bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVariousAdds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Style/ConditionalTest.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b972921b1b4d95995ae8c400163f2e37daa8764753d9005edbf156917f593"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetRangeValidRange: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Worksheet/Table/TableTest.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c330f946a140cdb46d9abde5c069b916bb4881467351e29ed8eaca7ca305fbd5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPreCalc: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Writer/PreCalcTest.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"11071a4c00c0e3139dfa9a70332b71925c5ae1dc9cafe5ec73a5f04aa0d20953"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFormulaError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d031e4ffc65c318d56763468adbcd5f89546697a02518589e66df5850233e068"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddColor: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d58642b6d1700a1f73b278d4c642a420afd030eeee5f0245e230c24808f22b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Reader/Xlsx.php: src/PhpSpreadsheet/Reader/Xlsx.php changed 10 times in last 90 days, max cyclomatic complexity 314 in Xlsx.loadSpreadsheetFromFile at line 560. 1 of those changes was a fix/bug commit, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Reader/Xlsx.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"65775fe77192c04757b202a5a08f4be995b91ea97d5460d99cf76e220f3283d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Calculation/Calculation.php: src/PhpSpreadsheet/Calculation/Calculation.php changed 7 times in last 90 days, max cyclomatic complexity 203 in Calculation.processTokenStack at line 1724. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Calculation/Calculation.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Calculation.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faf5084597bd4341daeddc0f61264a4e25d56e3fd7d5fc7a4a52af80ea27665"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Reader/Ods.php: src/PhpSpreadsheet/Reader/Ods.php changed 7 times in last 90 days, max cyclomatic complexity 91 in Ods.processTableRow at line 813. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Reader/Ods.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Ods.php"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7d73b9ec500f051592aaea4449a31561a3b94cb17507d56151b60c4dc39f7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xls/Worksheet.php: src/PhpSpreadsheet/Writer/Xls/Worksheet.php changed 4 times in last 90 days, max cyclomatic complexity 86 in Worksheet.writeCFRule at line 2806. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xls/Worksheet.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966dadaff89a33a82b768a33f7e8a898a5a00ecc910b685f457f90d1ee13f05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Reader/Xml.php: src/PhpSpreadsheet/Reader/Xml.php changed 3 times in last 90 days, max cyclomatic complexity 109 in Xml.loadIntoExisting at line 287. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Reader/Xml.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xml.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdadb16dffb7be8831af3694554fd2f4c202841cdb667f8b549a18bbf8e7aa2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xlsx.php: src/PhpSpreadsheet/Writer/Xlsx.php changed 6 times in last 90 days, max cyclomatic complexity 51 in Xlsx.save at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xlsx.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a0f85913a5da92577bafaa3c7989ce68632979f875184a43b7739ba24d3b16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php: src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php changed 7 times in last 90 days, max cyclomatic complexity 40 in AgileEncryption.parse at line 106. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/Xlsx/AgileEncryption.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540fa01b859171bc4943284e1910d42cf5ba238fc5883413cc2a0f25282c72e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php changed 6 times in last 90 days, max cyclomatic complexity 38 in Worksheet.writeSheetViews at line 277. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c9cd77ae70a1af1cdcd1ef2a6010ead9dae64f4e7d2c21cb064987378f0e7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Worksheet/Worksheet.php: src/PhpSpreadsheet/Worksheet/Worksheet.php changed 8 times in last 90 days, max cyclomatic complexity 24 in Worksheet.rangeToArrayYieldRows at line 3355. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Worksheet/Worksheet.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Worksheet/Worksheet.php"},"region":{"startLine":3355}}}],"partialFingerprints":{"codehealthFindingId/v1":"be016f845fb9de5ca636cecf853f41efacd4ca306135714380e9e30d61b857ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Reader/Xls.php: src/PhpSpreadsheet/Reader/Xls.php changed 2 times in last 90 days, max cyclomatic complexity 87 in Xls.getNextToken at line 4381. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Reader/Xls.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"382f0a0160220f5d9f095c3b866737cdd028b4fe3c4eff1e0ff32ec3556da3bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Ods/Content.php: src/PhpSpreadsheet/Writer/Ods/Content.php changed 4 times in last 90 days, max cyclomatic complexity 31 in Content.writeCells at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Ods/Content.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Ods/Content.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecbe2ba9f1b2f636c6a67575c08fe05e05a0c7e3131e593d739d604a51e706c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xls/Parser.php: src/PhpSpreadsheet/Writer/Xls/Parser.php changed 2 times in last 90 days, max cyclomatic complexity 61 in Parser.match at line 1038. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xls/Parser.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3456f3c5c8fde429ed4164eaf4234c83c5226cec54369411b6bc62d3d345b95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Worksheet/AutoFilter.php: src/PhpSpreadsheet/Worksheet/AutoFilter.php changed 2 times in last 90 days, max cyclomatic complexity 50 in AutoFilter.showHideRows at line 789. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Worksheet/AutoFilter.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Worksheet/AutoFilter.php"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"79361010152bd82497727c2ef051362bb6cb4b8e7b4d66d99dbcbfdbd51ae110"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php: src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php changed 3 times in last 90 days, max cyclomatic complexity 20 in ChainedBlockStream.stream_open at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"732b2d30cadf0c838b3f1a0fb6d9a35ee28ae1fae3e59a8a57db74d9cc994235"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xls/Workbook.php: src/PhpSpreadsheet/Writer/Xls/Workbook.php changed 2 times in last 90 days, max cyclomatic complexity 22 in Workbook.writeAllDefinedNamesBiff8 at line 551. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xls/Workbook.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"349008c6e2aca5dbae314a41af5489826247fa5f71bcabde5a2f83cf9b29ab0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xls.php: src/PhpSpreadsheet/Writer/Xls.php changed 2 times in last 90 days, max cyclomatic complexity 19 in Xls.save at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xls.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xls.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf64dda3ccab9bc2b1f5819bef296e8238727d399a26d404058104b34ce59dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Writer/Xlsx/Rels.php: src/PhpSpreadsheet/Writer/Xlsx/Rels.php changed 2 times in last 90 days, max cyclomatic complexity 17 in Rels.writeWorksheetRelationships at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Writer/Xlsx/Rels.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Rels.php"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0aa4b22b718dbf420d4a9f20646430fb24c60f2ba7a9c9ab0c5f9aa8a31bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Shared/StringHelper.php: src/PhpSpreadsheet/Shared/StringHelper.php changed 2 times in last 90 days, max cyclomatic complexity 15 in StringHelper.getIsIconvEnabled at line 279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Shared/StringHelper.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Shared/StringHelper.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"88381a0f2eb6a4cd377fbf1a722eba0f970249cccc711891d5091aea2e89ae3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PhpSpreadsheet/Cell/Coordinate.php: src/PhpSpreadsheet/Cell/Coordinate.php changed 2 times in last 90 days, max cyclomatic complexity 15 in Coordinate.coordinateIsInsideRange at line 342. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 14:47:56 \u002B00:00\u0027 --until=\u00272026-09-23 14:47:56 \u002B00:00\u0027 --full-history --no-merges -- src/PhpSpreadsheet/Cell/Coordinate.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Cell/Coordinate.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"203640beda6d9dd5384a35af5acfe6ddf115460a1620bc34e46c56e77df07dd9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 82 significant file(s) lose their only recent owner: src/PhpSpreadsheet/Writer/Html.php, src/PhpSpreadsheet/Writer/Xlsx/Chart.php, src/PhpSpreadsheet/Reader/Xlsx/Chart.php, src/PhpSpreadsheet/Reader/Ods.php, src/PhpSpreadsheet/ReferenceHelper.php, src/PhpSpreadsheet/Writer/Ods/Cell/Style.php, src/PhpSpreadsheet/Reader/Html.php, src/PhpSpreadsheet/Worksheet/AutoFilter.php (\u002B74 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e360e65aead98f72b525c44c7b6eae35ea2bcdc9de6bbc4bc139ffec3a2a01cd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: src/PhpSpreadsheet/Reader/Xlsx/Sparklines.php, src/PhpSpreadsheet/Worksheet/PivotTable/PivotTable.php, src/PhpSpreadsheet/Worksheet/PivotTable/PivotCacheDefinition.php, src/PhpSpreadsheet/Worksheet/PivotTable/PivotField.php, src/PhpSpreadsheet/Worksheet/PivotTable/PivotFieldGroup.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"61defee7bf0fd83293c251c61c502cdf12d3cd55587d0ab05a55741c3b39aed0"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (92 single-owned of 369 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 369 of the 545 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle period value between 0 and 1 (e.g. 0.5) \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":"src/PhpSpreadsheet/Calculation/Financial/Depreciation.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc73036ccc69654962687bdb139a1462994e29c7e38ce1c74faf6c3968a59a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handling for fractional $period values \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":"src/PhpSpreadsheet/Calculation/Financial/Depreciation.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"358dd1b5c81d01a6d63eec4ce8071e47aac488edb391c72552251f14a81557ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO How are we going to identify and handle a #SPILL! or a #CALC! error? \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":"src/PhpSpreadsheet/Calculation/Internal/ExcelArrayPseudoFunctions.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efc6d681e46dff36b8d858a67fe233fc96bd48e8deb4146a85dd0de872f9451"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Sanitize Rich-Text string (max. character count is 32,767) \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":"src/PhpSpreadsheet/Cell/DataType.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9a3d615641bc979d4f648b4a9a1e85091d556d1f7c527b422349339f1de2ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Autoshapes from twoCellAnchors! \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":"src/PhpSpreadsheet/Reader/Xlsx.php"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7bfa63369fe52f71a6af83d9704ebac2d0850397ca5d3ca1a2c7732d225196"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: what if string is very long? continue record \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3268}}}],"partialFingerprints":{"codehealthFindingId/v1":"450fc58492ae15413a7a262acf2b4443224a7fc0853c8f2d8bd851cb1534f3f7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: set $firstVisibleRow and $firstVisibleColumn \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a02464ec157dc50174f83f6701c3b5b6b406b184d7be33be5de13dbb3bfd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f7175e07046cb86bdb0054e842282fd00f203e356e53291c372cdf96141ae0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate structure for .xls SHEETLAYOUT record as saved by MS Office Excel 2007 \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":3884}}}],"partialFingerprints":{"codehealthFindingId/v1":"946ba1a54764668b2e8901fd27296a03f799cabe20eb7c98339f3ee555b5eaa8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: check if we have identified the whole set of special characters \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4818}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4e73682b7e7e3ba7819687fe6c7678daf6a213596e9acd98558cd16d830899"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: external sheet support \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":"src/PhpSpreadsheet/Reader/Xls.php"},"region":{"startLine":4828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7974d0b022204ffa1e8e286da2cfb3ac50ceeb061431d705af53ed32b332c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO \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":"src/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b9f1e41980289d668c6f60e6aaffbc262a45d73e4db37912f778b7bcc42747"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO \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":"src/PhpSpreadsheet/Reader/Html.php"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20e8026a769f561ac2a47d7147108b1280dd429a6e4ce40680b6b8f4f1657dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Why is there no BSE Index? Is this a new Office Version? Password protected field? \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":"src/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"876ff5b18553af5d662c74d2995f7bc05c364bb4e39598b5ff7789d1cb2c42c2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: what if sheetname contains comma? \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":"src/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbce62b69f1fdaec546539e3d7353e9a53f15feed270ca3870dd289bdf85cfe7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: what if sheetname contains comma? \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":"src/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"94de48fc9262407dce4d2d01e074a6badd99649fcdb89ebcd8012c9381a6b674"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO Provide support for named values \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":"src/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"c475d0c036465dcf0e42fd40908b45f002506a76987e0369f0d53f340fe6dc46"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: if cell range is just a single cell, should this function \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":"src/PhpSpreadsheet/Reader/Xls/Biff8.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f1ad727e6dcc6c534e8bc1493f8293dac08bc71c90c6d75523f41cfbfc35b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if cell range is just a single cell, should this function \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":"src/PhpSpreadsheet/Reader/Xls/Biff8.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4cc8ea5b4a9e60cc8bd13e716bdc76d00be76ea992cc44fc692bb5033535d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The cfIcon element is not implemented yet. \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":"src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3d7b8a408fe2b0e4193527f85aff7411c084e941c9898ff0ee8492aa39ffed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO parse title elements \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":"src/PhpSpreadsheet/Reader/Xlsx/Chart.php"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c0c6b58e625655e51e6df5f91838311a39796d5a1dd383594dbb2e3de60a85"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME missing FIXME \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":"src/PhpSpreadsheet/Reader/Xml/DataValidations.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1011eb6dbf0fde805e08f0e31a70b250bdde3234a07daa28bc212f044060e2c1"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: //  XXX: Constants created! \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":"src/PhpSpreadsheet/Shared/Font.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f0b350262254c4204cc2a308f9156b778a8d9d7f916be0efe59537ac0d324b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO :: To be implemented \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":"src/PhpSpreadsheet/Writer/Ods/Cell/Style.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7173e78e86b19db0adb3c64d49dab6b347e552a23a9acff27bb37968a68fe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME !!! \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":"src/PhpSpreadsheet/Writer/Xls/Worksheet.php"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e37158388a00c06b088e072906b4debeefc406737d753e865143a332ae226c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //$supbook_index = 0; // FIXME: only using internal SUPBOOK record \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":"src/PhpSpreadsheet/Writer/Xls/Workbook.php"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"d335513092cf579e45d15c5450baceb1986131610cd605e95697ee2b3680b6b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use real error codes \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7371d75bb9b95f53c8a014cfdaa311b03603537fafe41977e24d652c17cda1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use real error codes \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"522ace7adbb319ae51949c00a169ad078bfcda769cd91602e4c38a243c636710"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use real error codes \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d36dcdaf144af921c3205107a792bb7f38986ca53c7f7d3a9724c5abb21d02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: possible class value 0,1,2 check Formula.pm \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f97a919fb56a1a1c1c3331538208c6ffd5b53ea4d8575b2995c8b7877d542b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: maximum possible value for Excel 5 (change this!!!) \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"2859a00cd7f7892c96f0c9c341bc383416e0a1443818629f5ff4a2b52b59526e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this changes for BIFF8 \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":"src/PhpSpreadsheet/Writer/Xls/Parser.php"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"189525097de974c02dbff0031073998f670890a3dfcbebfee27513ab9aab0980"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"753720f1a295c6ea5ba08f3d43a0577193b017378d278b9ae3cd52a00c8c42e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d051dd55c96f71f8f3208dace1378f16dc2f7d53f978858ebaa79bed34c160"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f777f5eb0ac9ced96ed625ddcd32dc74370116035181e2c9e38f8f726623f170"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee3d193da9518ca1fb34c8ff53df82e1ba4c8e3013fd7c9cb86408dc8d8df51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e1831adf1c30f0f5355026b816a5c7ca873035d94802ba8b75c7fb4a628a9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \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":"src/PhpSpreadsheet/Writer/Xls/Escher.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9882ba3df0333806976fc2abbf726e258f2c8b88f1c13bad6d69340c864c7d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO output title elements \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":"src/PhpSpreadsheet/Writer/Xlsx/Chart.php"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"649133a2db302deb08fcd2efa88f26efdddc5cb91f684001578506033247352c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Reinstate full validation and disallow single cell merging for version 2.0 \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/PhpSpreadsheetTests/Calculation/MergedCellTest.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e37dca2cf35684d70ca24733fb43fcc30965dc262af6067e798ccbe5cf55ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Run test in spreadsheet context. \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"390949be5b1870cb376d744a99fe58c96e913914b3a26ce6b92373eeb7b41cb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO run test in spreadsheet context \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e7852ddb13c6aaaf2bb4abbdd6bdb1eecff9663ca0369cb31763bc600d879a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO run test in spreadsheet context \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d0067dda31b3a61d94ab35501e4383cdef05e6897330bc737b8785461b82cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Run test in spreadsheet context \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3f258fc6aae617f286acab9c8a03d14324044e2a4e456cd448c7818b7677ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Spreadsheet context. \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea9368f52f0248646730478cbea323779a55d552a806679d636a3d3aa822e54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO There are some commented out cases which don\u0027t return correct value \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d68604cc8e56e23461465c2267427e8924e8f45c6e5ce0a1d034362a07aadb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Convert to Spreadsheet context. \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/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"430b5009f3262ed37bd110e93553307961fc48da1a2f293b6f1e1eaf0d1b7e89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO  I think the third parameter can be set\uFF0Cbut I didn\u0027t succeed \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/PhpSpreadsheetTests/Chart/Issue2077Test.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e11e84376dc7a987c0818eec7429051d445b2a39fea31d1f32f9f94088628a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Rich Text not yet supported \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/PhpSpreadsheetTests/Reader/Html/HtmlTagsTest.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"66302db0c6757ffc246f691ef3feadf1297d492b30d25af0dcd08c44d2d17cc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We don\u0027t yet support Structured References in formulae, so we need to disable precalculation \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/PhpSpreadsheetTests/Writer/Xlsx/TableTest.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddd382d29854fe8e597369e127830fb4106f9b962c6ef911f60c2fc200870ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We don\u0027t yet support Structured References in formulae, so we need to disable precalc when writing \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/PhpSpreadsheetTests/Writer/Xlsx/TableTest.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38a07f0c4496a436ac479db52c502b267d8a36e916e4708590297b69281d51c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - I think the spreadsheet below is too difficult for PhpSpreadsheet to calculate correctly. \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/PhpSpreadsheetTests/Writer/Xlsx/ArrayFunctions2Test.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f006a90574b60af00f505d509b4f55a71709aaf826ea4dc0af86099e582cbb8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO I believe that PhpSpreadsheet counts false and shouldn\u0027t. \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/data/Calculation/Statistical/COUNTIFS.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"44533c833e336f1e779ce662394e5bd5fea135758cdf42552791d572ceae9388"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The installation link points to readthedocs.io (https://phpspreadsheet.readthedocs.io/en/latest/#installation) rather than the current package repository. Update the install instructions to point to https://packagist.org/packages/phpoffice/phpspreadsheet or the Composer homepage."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The README does not show any working example of how to run PhpSpreadsheet. Add a short \u0027Hello World\u0027 example demonstrating instantiation and outputting a cell value, mirroring the faq\u0027s code fixes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant factory methods with ambiguous null-handling semantics. \u0060getInstance\u0060 likely throws or returns a default if no spreadsheet is provided, while \u0060getInstanceOrNull\u0060 explicitly returns null. This forces consumers to guess which method to use based on error handling preferences rather than clear intent.: Remove \u0060getInstanceOrNull\u0060 and rely on \u0060getInstance\u0060 with a clear contract (e.g., throw on null input), or remove \u0060getInstance\u0060 and keep only \u0060getInstanceOrNull\u0060 if null is a valid state. Alternatively, use a single \u0060getInstance\u0060 that accepts an optional spreadsheet and returns \u0060?self\u0060. (signatures: Calculation.getInstance(spreadsheet: ?Spreadsheet): self | Calculation.getInstanceOrNull(spreadsheet: ?Spreadsheet): ?self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f7332c22307e7bb855c168a2b2b1bb0990344405541a815bdbf78455b436d411"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate configuration methods for global vs. instance state without clear distinction in naming convention. The prefix \u0060Instance\u0060 is inconsistent with other methods like \u0060setCalculationCacheEnabled\u0060 which likely applies to the instance but doesn\u0027t have an \u0060Instance\u0060 prefix. This creates confusion about scope (global static state vs. instance state).: Unify naming. If these methods operate on the current instance, drop the \u0060Instance\u0060 prefix. If they operate on a global/static configuration, use a \u0060Global\u0060 prefix or move them to a dedicated \u0060Configuration\u0060 class. Ensure consistency with other cache/pruning methods. (signatures: Calculation.setArrayReturnType(returnType: string): bool | Calculation.getArrayReturnType(): string | Calculation.setInstanceArrayReturnType(returnType: string): bool | Calculation.getInstanceArrayReturnType(): string)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e4e7118ae5c668d683cacebba7e9d8ca70f625c22a41427a2d8432e6a922522"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent boolean configuration pattern. Some settings use \u0060setXEnabled(bool)\u0060 (standard), while others provide separate \u0060enableX()\u0060 and \u0060disableX()\u0060 methods. This forces developers to remember which pattern applies to which feature.: Standardize on \u0060setXEnabled(bool)\u0060 for all boolean configuration options to reduce cognitive load and API surface area. (signatures: Calculation.enableCalculationCache() | Calculation.disableCalculationCache() | Calculation.setCalculationCacheEnabled(calculationCacheEnabled: bool): self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00c65808e0d65d46d43aa6bede7301e8df61db042c2ff5c4c0a4d0017f8cf410"}},{"ruleId":"D22","level":"warning","message":{"text":"Same inconsistency as cache: mixed boolean configuration patterns. \u0060setBranchPruningEnabled\u0060 takes \u0060mixed\u0060 (likely bool or truthy/falsy), while separate enable/disable methods exist.: Remove \u0060enableBranchPruning\u0060 and \u0060disableBranchPruning\u0060, keeping only \u0060setBranchPruningEnabled(bool)\u0060. Also, fix the type hint from \u0060mixed\u0060 to \u0060bool\u0060 for clarity. (signatures: Calculation.enableBranchPruning() | Calculation.disableBranchPruning() | Calculation.setBranchPruningEnabled(enabled: mixed): self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9267c086f25a1d52089caf9c8c976f99b3014136d4aaeecc8aa3435a9caa078"}},{"ruleId":"D22","level":"warning","message":{"text":"Overlapping calculation methods with unclear distinction. \u0060calculateFormula\u0060 and \u0060calculateFormulaValue\u0060 have nearly identical signatures. The presence of a private/protected \u0060_calculateFormulaValue\u0060 suggests refactoring debt or internal vs. external usage confusion. It is unclear when to use \u0060calculateFormula\u0060 vs \u0060calculateFormulaValue\u0060.: Consolidate into a single public method \u0060calculateFormula\u0060 (or \u0060evaluateFormula\u0060). Remove \u0060calculateFormulaValue\u0060 if it is redundant, or clearly distinguish their purposes (e.g., one handles raw strings, the other handles parsed tokens) and document it. Remove the leading underscore method if it\u0027s just an internal implementation detail of the other. (signatures: Calculation.calculateFormula(formula: string, cellID: ?string, cell: ?Cell): mixed | Calculation.calculateFormulaValue(formula: string, cellID: ?string, cell: ?Cell, ignoreQuotePrefix: bool): mixed | Calculation._calculateFormulaValue(formula: string, cellID: ?string, cell: ?Cell, ignoreQuotePrefix: bool): mixed)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40a3e304ac3150a18058b9f537c10bfe0f9aba1b0103f9ce4d57e32cebcc92b7"}},{"ruleId":"D28","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":"a6e2224f84f3abeddd3802bd24075887408889b76bcfc6b56a1a2e0e20c17ae7"},"properties":{"commitSha":"509f27e5c601c002090af18a5dd545b06b7183ca"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"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":"11f5b095ab25acacb4714e01305145b26658a8b25c68e48a685c01c3b97e24dc"},"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":"a0f76a84beb7eadd4096a00cc28754136beb2112e30929199650b06b1c9ae9f5"},"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":"5765e1e55cb8bbac1ae78590d758aaa0259dae39bf72a40153b88d7cc8d8167c"},"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":"40a864093f03d4c396fde6966b5c2626ab74e3d2191f263ef35d8cdddaa06fbc"},"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":"3f2321d34b69b906146cf17448b78b90950e950c1a30d022863c72ee60abea03"},"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":"d11d13b1097c44e36c777a0eb543acbf74984dd185274177e2ca2b40a4dd3a0a"},"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":"364cd49e27ecd6fb2dd059ef55e68c8bdfac3ea4b2ea6c66f0ffd356c1756807"},"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":"4fe457cf29b954daddbff8bf3a3735a797cb6afb51475f1f1ab4ab8e03f3f71a"},"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":"bfe0deb199606d005dcc7389b4e303fbcd6eb0c514569fd5f7f87483de6ae166"},"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":"d88e9fa70502fb0bc0853f3147e88b7c4f245ce4d564d01b2d0d6fc6d5a73731"},"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":"be3c925becfde5b3808b50255bd93e337650d5603c49b047609939a9fce8f4f1"},"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":"96f04ff25aaf9074af5ca624681c5994c907bafaf1ebd9e534c5e789c7271451"},"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":"9b950e643e45b63e785ac4ddafb9c26b3200d660e7566fd701890ff547d9af2a"},"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":"29c7c85521392a8ddde13f9a4e3684f55f0d464b9a6fe5b7ba210970cc962647"},"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":"ac3fdfea4edf0bc8c5214c2e3d92fd2bfb530631c92cf5ee3f1716bfb9f3a4d2"},"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":"2b95c536f666b5ab345ad16ba7b2db0a266b69ea6d772d0ea01c55922fcb5a8f"},"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":"360da01c583e2043977a63a1132874ec9c2dd07f036ce4c449ce00adac777fd4"},"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":"96a38fd5f79ed055b5fecec5fd4320ecc63159341e6a81526149fb7b83511a41"},"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":"241930c64ebe6b7bd78c468b937bd6c39e404b504d0c189ccda8b650b9ce10ec"},"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":"37b6d74cc1f04393eccee07989c2000c05d85d8dc061a1ab8e2666d54de3cdfa"},"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":"9e9e0bb78fcb148be9479554f52e6e3123b47e66b0b6aff3cbe870f66d56a6d2"},"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":"e42e649cebe45c8b6a524aa5a80da02da7b8913f1c26e8a577328a8d82175d8d"},"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":"75754ee9724fcd0433f8d223b0b31a5b29fe3455ea375e844f3f09c18aacb7ab"},"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":"cf044466c03c99ce98fab0801ff89aee6541a9ee66480db7a2de2767b5199cb7"},"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":"a30ad0c94f1ddd54d3d84f13f1a9ab1744346bb947443520ee145fc21925aae4"},"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":"60fb5e83d17f0e4a62b14752c214105e779528501c5c78a92e853b2320e8bce0"},"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":"2d4a941906ee01744df019fe1d5043e939414ca3b5beab0554d05fa10425b158"},"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":"61019e748b822a6767943f092284e0452f8b3e8cc024120401ac939eea2a7d3c"},"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":"c17348840ad6512a2fe7c49a728ca2bba72581b2a94a67c9d99b6974a9926af3"},"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":"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":"1af6e1750072124d806c97c21cc21fd28c3fe370f40cdf6cb30ee903c2c23d1b"},"taxa":[{"id":"CWE-79","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":"a511ea1a4bd9d7c0163a9214cb028fe4ca9b0fef66216796c970488deab3981b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec27fd0eb43db02b61a344db01f318856d26b689399858092a21e6a09e61bae2"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Worksheet/PageSetup.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588324a0829db07a826781bb3185520c5ddc1d8714ba40b6d784ec0b4e28f309"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Xlsx/Theme.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f02386d32d936115ec073ea36f234c473684a56fff4505b555f4bab0e8a2e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897fb5e8cc980794fe68d610e1f7ee6fc68084dc388459cbe37a1bb819f41e10"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/Xls/Escher.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea7f369968d4add3eb67876beb1a0fcd29d70c05e275cb88ff9cc4e3cde13c"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 142 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/PhpSpreadsheet/Calculation/Financial/Coupons.php, src/PhpSpreadsheet/Writer/Xls/Escher.php, src/PhpSpreadsheet/Calculation/Statistical/Trends.php, src/PhpSpreadsheet/Worksheet/AutoFilter/Column/Rule.php, src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php, src/PhpSpreadsheet/Calculation/TextData/Extract.php, src/PhpSpreadsheet/Calculation/Engine/Operands/StructuredReference.php, src/PhpSpreadsheet/Shared/Xls.php (and 134 more) (147 orphaned of 369 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 369 of the 545 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Dompdf.php \u2194 Tcpdf.php: \u0060src/PhpSpreadsheet/Writer/Pdf/Dompdf.php\u0060 and \u0060src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php\u0060 change together 74% of the time (17 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u006015fbc9a9\u0060 Headers and Footers in Pdf; \u0060580c741c\u0060 Improve PDF Support for Page Size and Orientation (#2410); \u006097a80f38\u0060 Improve HTML Writer (#1464) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Writer/Pdf/Dompdf.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f198654744cef2723cfc9a417f13267f28363c854da3d5a5dff0073cabf53d75"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BaseReader.php \u2194 IReader.php: \u0060src/PhpSpreadsheet/Reader/BaseReader.php\u0060 and \u0060src/PhpSpreadsheet/Reader/IReader.php\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a9c6cbe1\u0060 All Readers - Allow or Forbid Fetching of External Images; \u0060dd56df2b\u0060 :wastebasket: Deprecate \u0060IReader::SKIP_EMPTY_CELLS\u0060; \u00600c2708b1\u0060 Xlsx Reader Optionally Ignore Rows With No Cells \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PhpSpreadsheet/Reader/BaseReader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dc51f7d2a18c4655eb56f934cc1f7b2043dc6ae481b7f357be049c0c3cafb7"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README claims Patreon articles exist but the evidence shows no Patreon project \u2014 searched for: \u0060Patreon\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}}],"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-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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":37,"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."]}]}