{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"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":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"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":"Debugger.deprecatedErrorHandler (cyclomatic 54): Debugger.deprecatedErrorHandler has cyclomatic complexity 54 (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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b98f4c3de585eab87bbdb69cd78b616a7f847802ade7f980b64d48c0c7fba59"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.getCollection (cyclomatic 50): Pages.getCollection 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1c19de863798fcda3196fa169de56ea9d6a83d840df6e56b9cf78c9eb70c77"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.header (cyclomatic 49): Page.header has cyclomatic complexity 49 (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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"5366a67ed9f87956c3b2770243600342fc7c8c310338fe2d51e94495c4d37690"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.recurse (cyclomatic 49): Pages.recurse has cyclomatic complexity 49 (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"990055e910c2941a5a702e97e7b1aa18fde627bbe368c09b44626473b31709c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.buildSort (cyclomatic 44): Pages.buildSort has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22ba40743698201404813d682cfaa01ac602831c89e7c93e44dfab6bdcf7867"}},{"ruleId":"D1","level":"warning","message":{"text":"PageIndex.getLevelListingRecurse (cyclomatic 41): PageIndex.getLevelListingRecurse has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a1e6584699ab979a920f7f9f87e0baada31948b09d29eda1455053ccf3692f"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.init (cyclomatic 41): Media.init has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Media.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9ead25768b5311e3d876f0a44741395853b744fff13d35bb911a7a6e0f11c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache.clearCache (cyclomatic 35): Cache.clearCache 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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafa51846827cb21871110a22c5c303b5cc33739afe889d9e88d8aa684fba15b"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.evaluate (cyclomatic 35): Pages.evaluate has cyclomatic complexity 35 (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc8c502257daef928bbec609a030a4634a227230abdac18a8827a6f1633091"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.convertUrl (cyclomatic 35): Uri.convertUrl 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31cbebbb7dd9ba0d703f49d614139d6259777db1ba866b60b33db4ddb94653f"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerCommand.serve (cyclomatic 35): SchedulerCommand.serve 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":"system/src/Grav/Console/Cli/SchedulerCommand.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9723d5ab982e14937d451fc4cbde4a1b256094c2f2873e20e82374c5d60b78"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler.processJobsWithWorkers (cyclomatic 34): Scheduler.processJobsWithWorkers 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"062105465ed4cbe31da581de65300dc422cd9aaa54f7dea27f7fbb379ed2e4e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Twig.init (cyclomatic 34): Twig.init 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":"system/src/Grav/Common/Twig/Twig.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5204e6405aff1b29cf71918c15895a19631a2afe2634c6ae004a9f258a3be3"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.url (cyclomatic 34): Utils.url 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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"119ff42606b6ae89ae127b7da4e7255f909e327d7a5d840be25dcab2ba788872"}},{"ruleId":"D1","level":"warning","message":{"text":"PageStorage.getObjectMeta (cyclomatic 33): PageStorage.getObjectMeta has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e969dda3361ad2eac652b571896b1027fd1bb24e96b80b0e89b79062e5e0d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCollection.buildSort (cyclomatic 32): PageCollection.buildSort has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b6b36e5acaa7b28be8033578d65bf52c8dcbddb9a435a2927332641481dd92"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.resetPages (cyclomatic 32): Pages.resetPages has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"58933c4acd9598b7caad8d633e647c2040839cd9a54abd79fb2a304fc95d9f9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigServiceProvider.saveCachedFileList (cyclomatic 32): ConfigServiceProvider.saveCachedFileList has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef4efa16c9e9e4962c5d69375bc0a32176d2efc4527744d40d3e78f8adba7c"}},{"ruleId":"D1","level":"warning","message":{"text":"SelfupgradeCommand.handlePreflightReport (cyclomatic 32): SelfupgradeCommand.handlePreflightReport has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5053b213b57a217c55c467bf3b9df0451e21ff9418538404a00825bb22d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"PageContentTrait.processContent (cyclomatic 30): PageContentTrait.processContent has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"633d92448740ec12f5f800f53300549834db9fefb14354d6e20765031e315343"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.buildFlexPages (cyclomatic 29): Pages.buildFlexPages 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29a2191c9b8e154c2d455b09063a0a7af968524933a477c4a85d09648ef3802"}},{"ruleId":"D1","level":"warning","message":{"text":"PagesServiceProvider.register (cyclomatic 29): PagesServiceProvider.register 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":"system/src/Grav/Common/Service/PagesServiceProvider.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95b77aec90502ed6deffe13afa2fc8d84eaf3ddbd7bc0271b50d793347f3f86"}},{"ruleId":"D1","level":"warning","message":{"text":"GPM.getDependencies (cyclomatic 28): GPM.getDependencies 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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6623a9f9120f1b579d5b2fa8650d2a28fa1bc95eaa726d9546304a7b817f6200"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.content (cyclomatic 28): Page.content 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"707564b7577f9014be1147c0bbb3a7ad5b26f470dc5da24787278bbc5457ebf5"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectInstallCommand.serve (cyclomatic 28): DirectInstallCommand.serve 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":"system/src/Grav/Console/Gpm/DirectInstallCommand.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"696ad838a207101d16261d46076e31bf59a320bab85ec73f0847e5bb32b89e2d"}},{"ruleId":"D1","level":"warning","message":{"text":"BlueprintSchema.filterArray (cyclomatic 27): BlueprintSchema.filterArray 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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffb8b2d2bc5cfe870cafc719436d271efff8e4f8f9adf761dbf980fbb74b8ff"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateCommand.serve (cyclomatic 27): UpdateCommand.serve 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":"system/src/Grav/Console/Gpm/UpdateCommand.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8c74ab3ecd6e8c30ac33e18abd15b4258417551a1077a5a690245a66fd0e53"}},{"ruleId":"D1","level":"warning","message":{"text":"Session.start (cyclomatic 27): Session.start 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":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b4afed94f01614559dc44b8836bcb8151924abf5a0e357d6dd99c078f2727f"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache.getCacheAdapter (cyclomatic 26): Cache.getCacheAdapter 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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb040b9a91dd8ee5c2c4b862898f89e34ecf11af58358d018dbfe3b94d851cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"BlueprintSchema.validateArray (cyclomatic 26): BlueprintSchema.validateArray 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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"58271657057843ba50d6683218aec74897b5f935fc05ac6b9baa452691edaecc"}},{"ruleId":"D1","level":"warning","message":{"text":"Folder.all (cyclomatic 26): Folder.all 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":"system/src/Grav/Common/Filesystem/Folder.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bb5660b89d4c3f6612f1cd4823b3baac07538f6082d34ee6929eb16c324940"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.detectXss (cyclomatic 26): Security.detectXss 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f201fad613a2c35d1d938eb791ca35240ef8e6b554a8793cb1e88eedfb4cba"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallCommand.serve (cyclomatic 26): InstallCommand.serve 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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296fcbc80641135e80f6eaca1ae090cdef11d3d22d7ceeab5ec9e020f81a027"}},{"ruleId":"D1","level":"warning","message":{"text":"UninstallCommand.uninstallPackage (cyclomatic 26): UninstallCommand.uninstallPackage 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":"system/src/Grav/Console/Gpm/UninstallCommand.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e00cc4e37dddaea037fbfafe9ae5e2552836626a4626d2fe21ddd5c6ff9b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Setup.__construct (cyclomatic 25): Setup.__construct 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":"system/src/Grav/Common/Config/Setup.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff23d310045381b76aab5d9ec4966644fd2b4c966e52a0d93d3e4667bfbecc5b"}},{"ruleId":"D1","level":"warning","message":{"text":"CompiledFile.content (cyclomatic 25): CompiledFile.content has cyclomatic complexity 25 (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":"system/src/Grav/Common/File/CompiledFile.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bdea6d7dfd24ba7a23c3985c64b2497297d68b21ec7a1b5f6af3fa4fe23863"}},{"ruleId":"D1","level":"warning","message":{"text":"Installer.install (cyclomatic 25): Installer.install has cyclomatic complexity 25 (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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"de343efcc3f1cbbeab3d278ffc09f1b8ee29bf703ea906b2b3715422455edeb1"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaUploadTrait.checkFileMetadata (cyclomatic 25): MediaUploadTrait.checkFileMetadata 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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15d06e52c522903d8e8361111fb05f24fbc02528f5536382a60a4d7804a1b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"PageStorage.saveRow (cyclomatic 24): PageStorage.saveRow 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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fc2e7564c688038dc8d5b45ebc1f5828fb4f786159beae582f655a7d90d52b"}},{"ruleId":"D1","level":"warning","message":{"text":"Installer.unZip (cyclomatic 24): Installer.unZip 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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"afabc5606ec4a73c31b38b4004f27a4f50204eefc7616a6475f304ebe34d00f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Grav.fallbackUrl (cyclomatic 24): Grav.fallbackUrl 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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dc6367c23e445697008be34054f130c987c70415dbcb7f049fba85c79b8b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.value (cyclomatic 24): Page.value has cyclomatic complexity 24 (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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"4647a4e1ae859ef9f35aa5bbd088a5eff5cecb7f35ff4e0ac4060913abc52d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"InfoCommand.serve (cyclomatic 24): InfoCommand.serve 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":"system/src/Grav/Console/Gpm/InfoCommand.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c0eb16a85f2331b93a5946e318406c4138d89317fd1bdf1d2aecf8d9dbeac"}},{"ruleId":"D1","level":"warning","message":{"text":"Flex.getObjects (cyclomatic 24): Flex.getObjects 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":"system/src/Grav/Framework/Flex/Flex.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd01495e027e90dc0fc8d291ad47ec770ce3ede7deaecaaa00295d0529a456"}},{"ruleId":"D1","level":"warning","message":{"text":"Installer.getDestinationIssue (cyclomatic 23): Installer.getDestinationIssue has cyclomatic complexity 23 (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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b1cec5181c20b089febc1cb735b02a13789a204a64c4563c17f7ccebbce697"}},{"ruleId":"D1","level":"warning","message":{"text":"FileReader.read (cyclomatic 23): FileReader.read has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Helpers/FileReader.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a18c8519f1ccd1833ee1b47081dddf13b662d18e0ec07ddaed0511a53dd19e"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaObjectTrait.parsedownElement (cyclomatic 23): MediaObjectTrait.parsedownElement 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":"system/src/Grav/Common/Media/Traits/MediaObjectTrait.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"535b34f853de2a5052209110426a2b53bf05b394ab89d1f92c727c18ce9a7ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.moduleOutputCacheId (cyclomatic 23): Page.moduleOutputCacheId has cyclomatic complexity 23 (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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d4da4f3088855099420f51389cced0a490dc19ac06a9c6a8b32c10f8232c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Validation.arrayFilterRecurse (cyclomatic 22): Validation.arrayFilterRecurse 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd4faf1b531267cbd722e7a648c423f46c78d36fd8e01f2853695d120e0232"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageMediaTrait.derivatives (cyclomatic 22): ImageMediaTrait.derivatives 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":"system/src/Grav/Common/Media/Traits/ImageMediaTrait.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77ad1607406915d494c80d8f74c8dc3d9f636be9488a28e653134f254d3fc08"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownOutput.mainRegion (cyclomatic 22): MarkdownOutput.mainRegion 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":"system/src/Grav/Common/Page/Markdown/MarkdownOutput.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"89632dfb43adb76e52184606e77ace455592409a708520182f9f1ec0fe911520"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.dispatch (cyclomatic 22): Pages.dispatch 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e1fd7fadc7e71283810c5515f000c47711bba0fa596c1054e33cb30eaa1a6a"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.buildRoutes (cyclomatic 22): Pages.buildRoutes 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111d5b1c64b16de3c90da0290aa4a0e965952c37a50dc5f5559d687b7f2fd03"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler.runJobs (cyclomatic 22): Scheduler.runJobs 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d48eff7c10d5a3772b68882c8856f42564459dc3608ea87d8810bc797a9c2b0"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.resolveTwigContentEvents (cyclomatic 22): Security.resolveTwigContentEvents 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef75d0d3bd0d2a9501f85ce533ca3ff3fbdaa4e53c48b48cb6537ba5b2301035"}},{"ruleId":"D1","level":"warning","message":{"text":"Install.detectPendingPackageUpdates (cyclomatic 22): Install.detectPendingPackageUpdates 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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b118b0c3e0c1ebc4df644e45c5cfa261aacf20de2e0d57cbbcb629d39d398d"}},{"ruleId":"D1","level":"warning","message":{"text":"Validation.validate (cyclomatic 21): Validation.validate 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b669e08c0c965361f3924cb5010171d9dac8a77e08fd4fa18c757cd3cbcc5d70"}},{"ruleId":"D1","level":"warning","message":{"text":"Language.setActiveFromUri (cyclomatic 21): Language.setActiveFromUri 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":"system/src/Grav/Common/Language/Language.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6dc5edd6ecc3356a2f37e97a78757e8b87f924a950a50fea9be5dd594ec0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageMediaTrait.saveImage (cyclomatic 21): ImageMediaTrait.saveImage 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":"system/src/Grav/Common/Media/Traits/ImageMediaTrait.php"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9ae24093bf3ac6a902e5f267fabe7dbdd6facb9118c59e968f52c95150aec"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageFile.jpegFrameSize (cyclomatic 21): ImageFile.jpegFrameSize 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":"system/src/Grav/Common/Page/Medium/ImageFile.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b3174415a7121a236e06d8a020d8348432300e4675c86092eb7c2452b6d2bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.allItems (cyclomatic 21): Pages.allItems 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb98597b41c2f82d7b2fbd3765cbb0cebdb953f09e72c83e1161d11143fec49"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.extractTwigTokens (cyclomatic 21): Security.extractTwigTokens 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c8a43ad2ff982b5525fb55c48f4566f3558a8121ac415d8adbbf3bfa293c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.scanContentTwigUsage (cyclomatic 21): Security.scanContentTwigUsage 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87bc513fb16d4f8d77aea4acad15a2237efe02d04fe2d3c4befa96930f63a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionServiceProvider.register (cyclomatic 21): SessionServiceProvider.register 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":"system/src/Grav/Common/Service/SessionServiceProvider.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3a3723f45d75afce7abf1af97b178c326c3a9dff4012a71974a3bfb6a3a1bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Validation.typeArray (cyclomatic 20): Validation.typeArray 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f03f5888767d2b87bf2c8edae518ca1bea75824328450ff96c73212f367c42"}},{"ruleId":"D1","level":"warning","message":{"text":"Excerpts.processLinkExcerpt (cyclomatic 20): Excerpts.processLinkExcerpt 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc04ae6a347211a9216c95ef6403f1a7054cbeb62e61da5df0b6cd25c9970e81"}},{"ruleId":"D1","level":"warning","message":{"text":"Excerpts.processMediaActions (cyclomatic 20): Excerpts.processMediaActions 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fa18879af2c3c91278c58a3b96d4512cfda281b2de45049b96b8f59d0a9ecf"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.isExternal (cyclomatic 20): Uri.isExternal has cyclomatic complexity 20 (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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48cc7e99577fe7697ad764f21ea692e6ce2b5b602eeaaa2477a3b632f5a834"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexIndex.updateIndexFile (cyclomatic 20): FlexIndex.updateIndexFile 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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b789925da1ef58fc560aecefab924c7305a6fa0f556d50a892fcf28b1c1b000"}},{"ruleId":"D1","level":"warning","message":{"text":"PageObject.reorderSiblings (cyclomatic 19): PageObject.reorderSiblings 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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c544955dd7c9198c8f8367a90ad2a36b1437e3526bbc6ffe0fb8cce24949d6e"}},{"ruleId":"D1","level":"warning","message":{"text":"Truncator.truncate (cyclomatic 19): Truncator.truncate 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":"system/src/Grav/Common/Helpers/Truncator.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42811dd8ddeb627ae56317301a08a807c821ac768662fded7fa01390f385a44"}},{"ruleId":"D1","level":"warning","message":{"text":"ParsedownGravTrait.blockTableContinue (cyclomatic 19): ParsedownGravTrait.blockTableContinue 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":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b206dd79f68b8d27d4b8b50ef893058126c7c17a378b7352fb2266763a6b985f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParsedownGravTrait.blockTableComplete (cyclomatic 19): ParsedownGravTrait.blockTableComplete 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":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbe3116c871fe70b145a73a310b9ce7797e2e7ebf201fb61839cef745afff77"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorImageMedium.__construct (cyclomatic 19): VectorImageMedium.__construct 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":"system/src/Grav/Common/Page/Medium/VectorImageMedium.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4566c2d7cc8c2f22f59bf01604a737d89bc2828bff1f800fad18fc03c1507fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.metadata (cyclomatic 19): Page.metadata 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb284fa24cb9d218e30e8e5dcd129e003a0ce0d1ea1fc35374bf3011c50a07"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.init (cyclomatic 19): Uri.init 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1381b312845e34e278ef05cba0dcc90073ad9a772826ca7e53a0903939da8026"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.createFromEnvironment (cyclomatic 19): Uri.createFromEnvironment 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7201400ea485b4e6dad7e86f26753325f3772c3a6b2f958e6243bc20fa1b507"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.getPathFromToken (cyclomatic 19): Utils.getPathFromToken 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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aa6de375d27e47eeeb3b27a18e7f00bd20bc2995bcbdb9ceaeb27d81102805"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexCommand.filter (cyclomatic 19): IndexCommand.filter 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":"system/src/Grav/Console/Gpm/IndexCommand.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf7fb6609a5fda585761f4c0c37aef4ca920956bc8f48e85781a6fa72697ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"SelfupgradeCommand.serve (cyclomatic 19): SelfupgradeCommand.serve 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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9904a63b61ace273c4e162e6960f6014adc8ba3f7604c53bafd87cc8981fd0c"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexCollection.render (cyclomatic 19): FlexCollection.render 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916c687b6bb8cd22335e00224e84875f897d46f69bf7a5624b02e93f522f66b"}},{"ruleId":"D1","level":"warning","message":{"text":"PageContentTrait.pageContentValue (cyclomatic 19): PageContentTrait.pageContentValue has cyclomatic complexity 19 (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":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a714d8c9d5baf140640845c0bdee3a826abd31454cd7f026785fd5f6b77759"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAsset.init (cyclomatic 18): BaseAsset.init 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":"system/src/Grav/Common/Assets/BaseAsset.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bfeda00be24614cb72d1ab81150718135297c794603fbdcd5ed8401e0fe914"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache.purgeOldCache (cyclomatic 18): Cache.purgeOldCache 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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b607ff0577cb64f83d028bd7f90a203b848bc1bea4482490d14476551bc6594b"}},{"ruleId":"D1","level":"warning","message":{"text":"Debugger.init (cyclomatic 18): Debugger.init 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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e242389add7542aef88be7a754cf35bb0333927c932e48594c68e84165440"}},{"ruleId":"D1","level":"warning","message":{"text":"ZipArchiver.compress (cyclomatic 18): ZipArchiver.compress 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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4555c6ed01e7c1bb5ec680b47a98675f4dbc95a1d8a63b5d3ce38d83d63b5c8"}},{"ruleId":"D1","level":"warning","message":{"text":"UserObject.setUpdatedMedia (cyclomatic 18): UserObject.setUpdatedMedia 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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ff96c2ffcc3363ab2caba34bce285ccb05df390f5bb38dd52dc38aab9448e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ParsedownExtra.findEndTag (cyclomatic 18): ParsedownExtra.findEndTag 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":"system/src/Grav/Common/Markdown/ParsedownExtra.php"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c69d0260ce7546d2dd579ebe3c8e6339b25b9f9266d6b7a3ed8c4db93aaf67a"}},{"ruleId":"D1","level":"warning","message":{"text":"Excerpts.processImageExcerpt (cyclomatic 18): Excerpts.processImageExcerpt 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c289957b43dd48d5ef6e822a100657eef9c97dca59798c7dfd4cc24288986637"}},{"ruleId":"D1","level":"warning","message":{"text":"Cron.cronToArray (cyclomatic 18): Cron.cronToArray 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":"system/src/Grav/Common/Scheduler/Cron.php"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8517e692ff386762d2c778d5e7a554dbae0617af8ea16a67c363ab249cbd99a"}},{"ruleId":"D1","level":"warning","message":{"text":"GravExtension.arrayGroupByFilter (cyclomatic 18): GravExtension.arrayGroupByFilter 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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"368545e3d5d02cb9d17711649807bdf2ac61e940a26dfcfdf55c156c5a709c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.ip (cyclomatic 18): Uri.ip 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed6573fe36b6d0ad7b2fa13a698e4ad039881cb0dfeeb7c00d7ff39975a5e5"}},{"ruleId":"D1","level":"warning","message":{"text":"Uri.convertUrlOld (cyclomatic 18): Uri.convertUrlOld has cyclomatic complexity 18 (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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48b160d2603ee98b3743919115f6ae2e1f286458fa1e14c7ad7bcda68a35e71"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheCleanupCommand.serve (cyclomatic 18): CacheCleanupCommand.serve 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":"system/src/Grav/Console/Cli/CacheCleanupCommand.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf8ba90f31fdf1c082416c9d5b9850348ff128803665ec2e410c0db5ebf78d"}},{"ruleId":"D1","level":"warning","message":{"text":"PreflightCommand.serve (cyclomatic 18): PreflightCommand.serve has cyclomatic complexity 18 (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":"system/src/Grav/Console/Gpm/PreflightCommand.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb85e9a1a57a13b49eaa75da48a3bf85dfcdb80abc81b7af5e8ef753bb3567f6"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexObject.render (cyclomatic 18): FlexObject.render 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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf4ed8bbd9468b75aeffc11e76ff40efa80606dd0b70883b82e4807b1024a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"PageAuthorsTrait.isAuthorizedByGroup (cyclomatic 18): PageAuthorsTrait.isAuthorizedByGroup 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"790de6c1969ef138fd60b7fe242f0b84ca7f371830cffb3bc81a9c95e5bf4cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"Env.load (cyclomatic 17): Env.load 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":"system/src/Grav/Common/Config/Env.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce38ac9876d5fc8b87f04c7d20da885afde1ae70a2c093f88d4ceb3c6ffedd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Blueprint.extend (cyclomatic 17): Blueprint.extend 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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06152d502c9050245e243ac30ee8ae6a2e2e8a43f5e5ed9d43300d640593ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Blueprint.loadImport (cyclomatic 17): Blueprint.loadImport 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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"765265446556071d74094129d6e8099df019d31f48beb98a2864ecdd15690ea4"}},{"ruleId":"D1","level":"warning","message":{"text":"PageIndex.filterBy (cyclomatic 17): PageIndex.filterBy 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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8833dc93f97cacb4e5ad75322ff6f1500c6212f4153262e1321a6972acfbb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"LogRotator.rotate (cyclomatic 17): LogRotator.rotate 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":"system/src/Grav/Common/Log/LogRotator.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52591441cbd0d2342f55dfd2d2476ea33f9792da7c6b749bd35546f3c16abb1"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.httpHeaders (cyclomatic 17): Page.httpHeaders 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"598bf2d6a7eb1945fb29adc644d9040e0900b61de532b282adb406f96af1d00e"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.summary (cyclomatic 17): Page.summary 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"788fd0006e0a8c7cd01926e44be0972d92e0a849414ed9e2686137bfbac0924d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.resolvePagesHash (cyclomatic 17): Pages.resolvePagesHash 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2061064cfe6350cab32d7f93fb745336184dbbc79bbd767b909a95532fdd923"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.planSandboxDefaultsMigration (cyclomatic 17): Security.planSandboxDefaultsMigration 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5510e4cd5078c70ec412e36d78b9274040d4b585364c2654369b04cf3d3b131"}},{"ruleId":"D1","level":"warning","message":{"text":"User.save (cyclomatic 17): User.save 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":"system/src/Grav/Common/User/DataUser/User.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"94effed02f108a64dbe7a92a00513b35a8aa01e724f79563ac7a3350baa4aac9"}},{"ruleId":"D1","level":"warning","message":{"text":"PageIdsCommand.serve (cyclomatic 17): PageIdsCommand.serve 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":"system/src/Grav/Console/Cli/PageIdsCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85499b6ef0cacddd4a6e316053ce8d8ad5245e349a5ddeb30554d867f44bd40"}},{"ruleId":"D1","level":"warning","message":{"text":"PageLegacyTrait.metadata (cyclomatic 17): PageLegacyTrait.metadata 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0e3e53029311ee05442bdd6c7024e1d74bc50f6769e27733a2927a3def6b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"Validation.filterArray (cyclomatic 16): Validation.filterArray 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c8246f97fd50b063b806e1296e90afd7a95659c5fc1af9d7c29ff75677ad0"}},{"ruleId":"D1","level":"warning","message":{"text":"Debugger.debuggerRequest (cyclomatic 16): Debugger.debuggerRequest 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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bf0a5c6e8e5318020b4b1322cb1e0150c167af627d2f450c2a7eae129a2cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"PageObject.filterBy (cyclomatic 16): PageObject.filterBy has cyclomatic complexity 16 (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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"41858742e9d9729e111b4bdf8c9a885baa05f487398a692d95215b95b0a74c31"}},{"ruleId":"D1","level":"warning","message":{"text":"PageStorage.assertValidPageKeys (cyclomatic 16): PageStorage.assertValidPageKeys 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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b855bbfafcede7e1947404e7508e61dba2039aa003ac89ec569450fd62b642"}},{"ruleId":"D1","level":"warning","message":{"text":"PageTranslateTrait.translatedLanguages (cyclomatic 16): PageTranslateTrait.translatedLanguages 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":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"119eaaa663a60430ce15c351f8f7be282e021ef1ae1a17cbeee6503fae1ff7fc"}},{"ruleId":"D1","level":"warning","message":{"text":"GPM.calculateMergedDependenciesOfPackage (cyclomatic 16): GPM.calculateMergedDependenciesOfPackage 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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4814169aa0d572547fd139f2db116d66873515d3603d02145dd346aef8bee3e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Grav.getRedirectResponse (cyclomatic 16): Grav.getRedirectResponse 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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"b234577e0c6675cda5621a34958fd970f980c05868d7af291dff32db915103e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Language.getFallbackLanguages (cyclomatic 16): Language.getFallbackLanguages 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":"system/src/Grav/Common/Language/Language.php"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec743302d66b1d4f505eb1535f4fb63f75902d947bdd919ce68a2f9cd601d08"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler.executeJob (cyclomatic 16): Scheduler.executeJob 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d033e2a8fa1dbe74f3e5eec0a71f1d74e47a80aee22752743c0ca5fd2f4aba13"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallCommand.processGpm (cyclomatic 16): InstallCommand.processGpm 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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"634baa211ffdb8ba0b3a0ac3a1bc8e867fb244af8ee911e44751785983cda30d"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexDirectory.loadObjects (cyclomatic 16): FlexDirectory.loadObjects 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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a7b608382b3b05789b1551a19ae248e1c27d7cf87f4e4b10204b773c71b707"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.processJobsWithWorkers (cognitive 118): Scheduler.processJobsWithWorkers has cognitive complexity 118 (threshold 15). Drivers by points: if/else 18 (64 pts), ternaries 6 (41 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 84). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d520d82ddce85fe9acc8e8f51387ed2d40c932da883cc6e280cb26043d2f897"}},{"ruleId":"D2","level":"warning","message":{"text":"Debugger.deprecatedErrorHandler (cognitive 113): Debugger.deprecatedErrorHandler has cognitive complexity 113 (threshold 15). Drivers by points: if/else 30 (75 pts), loops 8 (23 pts), ternaries 2 (8 pts), boolean chains 7 (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"722b0f694d3c57608f2533c2760d67d36da4980bbe5039784420d13ead20b14d"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.header (cognitive 102): Page.header has cognitive complexity 102 (threshold 15). Drivers by points: if/else 42 (89 pts), boolean chains 4, error handling 1 (3 pts), loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 53). 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a341585105d386bad6d9f684cb1c1224259bb60cc4f8f60eac3302f4101d98"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIndex.getLevelListingRecurse (cognitive 96): PageIndex.getLevelListingRecurse has cognitive complexity 96 (threshold 15). Drivers by points: ternaries 15 (55 pts), if/else 17 (29 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"df54dd1081623580d835dc5f81a0067cd376badd5f06db3915b283911f6b4826"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.init (cognitive 91): Media.init has cognitive complexity 91 (threshold 15). Drivers by points: if/else 25 (64 pts), loops 5 (11 pts), boolean chains 10, error handling 2 (5 pts), ternaries 1 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Media.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2625acb6c0c58c2e81160afcacad6fd2252916060fd9582c20b784944e131c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCommand.serve (cognitive 91): SchedulerCommand.serve has cognitive complexity 91 (threshold 15). Drivers by points: if/else 31 (64 pts), ternaries 6 (17 pts), loops 3 (7 pts), boolean chains 3 (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":"system/src/Grav/Console/Cli/SchedulerCommand.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"17281d08f7797a8091cfed1d6f6696bb2529bc9549b5a0845badab6265ec713f"}},{"ruleId":"D2","level":"warning","message":{"text":"PageStorage.getObjectMeta (cognitive 89): PageStorage.getObjectMeta has cognitive complexity 89 (threshold 15). Drivers by points: if/else 21 (62 pts), ternaries 4 (10 pts), boolean chains 9, error handling 1 (5 pts), loops 1 (3 pts) (nesting depth added 53). 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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"952983af7b8fde70e606a0b5f1f6f45a1c519784a2a444c1e02a7b2b6293aa7c"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.buildSort (cognitive 84): Pages.buildSort has cognitive complexity 84 (threshold 15). Drivers by points: if/else 23 (54 pts), ternaries 5 (16 pts), loops 4 (7 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef87d2ff42f6859a3b24d29396e93490f96742f0c1d39d7c1d5cb879d8bcbda"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.getCollection (cognitive 82): Pages.getCollection has cognitive complexity 82 (threshold 15). Drivers by points: if/else 28 (52 pts), loops 7 (13 pts), ternaries 3 (8 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"336b89a586c470fe1e2566d6866fb4910e21ca03d38b9599f7ab253d096ffe76"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.content (cognitive 80): Page.content has cognitive complexity 80 (threshold 15). Drivers by points: if/else 25 (74 pts), boolean chains 6 (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0e298449ff5b2b38c50d75dc24a517c333534a05c25fb69206cd933aabb432"}},{"ruleId":"D2","level":"warning","message":{"text":"GPM.getDependencies (cognitive 78): GPM.getDependencies has cognitive complexity 78 (threshold 15). Drivers by points: if/else 21 (66 pts), loops 2 (7 pts), boolean chains 5 (nesting depth added 50). 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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"009a5b44d16f5076544d4986d90ff1ada2a36e734533923ae1e550fb45212aba"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.recurse (cognitive 77): Pages.recurse has cognitive complexity 77 (threshold 15). Drivers by points: if/else 29 (58 pts), boolean chains 14, loops 3 (4 pts), ternaries 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dcb97533b1ef2d4f90ef44c8ea391fe59e9fbbcfecc18b8093313afd04fc49"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.convertUrl (cognitive 76): Uri.convertUrl has cognitive complexity 76 (threshold 15). Drivers by points: if/else 29 (62 pts), boolean chains 10, ternaries 2 (4 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Uri.php"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a382fad2e30127e8c5cb3ae489b7c2bd041fbfec312d61810416cd35bd476b8"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectInstallCommand.serve (cognitive 69): DirectInstallCommand.serve has cognitive complexity 69 (threshold 15). Drivers by points: if/else 24 (56 pts), ternaries 2 (5 pts), loops 1 (4 pts), boolean chains 2, error handling 1 (2 pts) (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":"system/src/Grav/Console/Gpm/DirectInstallCommand.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"42851962ddff42db3effaec0f92ce4fe93897e0ae9e2434b80627a14e279b796"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.url (cognitive 68): Utils.url has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (55 pts), boolean chains 11, ternaries 2 (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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87198d8bd128cedc2e756c601284cbc4d271d734e05ffa23d295ff1a69fea9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigServiceProvider.saveCachedFileList (cognitive 67): ConfigServiceProvider.saveCachedFileList has cognitive complexity 67 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 10 (23 pts), boolean chains 5, error handling 1 (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":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c4d30cae6b4dd4ffcfd9585f001cec9dbd021b7e27b30e480cd4aa1ab6a52"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.serve (cognitive 64): InstallCommand.serve has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (39 pts), error handling 3 (9 pts), ternaries 2 (8 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d28576321364944273963e277baeb7be6fb0b358dd54a398a608f329a54451"}},{"ruleId":"D2","level":"warning","message":{"text":"Twig.init (cognitive 63): Twig.init has cognitive complexity 63 (threshold 15). Drivers by points: if/else 17 (38 pts), ternaries 5 (15 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Twig.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0353b1b949c9e07b668455af22f938aa7e47d256f7f2194df0d1f0cb84db53b"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.clearCache (cognitive 58): Cache.clearCache has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (36 pts), error handling 3 (9 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Cache.php"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6220d3a0b68807b77000ef20246fd1b572fa163b9294687a4c595e28ab540716"}},{"ruleId":"D2","level":"warning","message":{"text":"Grav.fallbackUrl (cognitive 58): Grav.fallbackUrl has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 5, loops 1 (4 pts), ternaries 1 (4 pts), error handling 1 (3 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Grav.php"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce7214d7c900033fd72790b9df317b7d8ee65655455651f291740378ad9b1bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.metadata (cognitive 58): Page.metadata has cognitive complexity 58 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 4 (23 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 38). 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efefa2365ab9949b39139b58dc3cf32af87d2ba6a60e445e8feb525961f796b"}},{"ruleId":"D2","level":"warning","message":{"text":"PagesServiceProvider.register (cognitive 56): PagesServiceProvider.register has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 4 (11 pts), boolean chains 9 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/PagesServiceProvider.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9680b18edd0319d2e1bcd49451809222c9c444b506268b4186554e0a3035e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.extractTwigTokens (cognitive 55): Security.extractTwigTokens has cognitive complexity 55 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 7 (22 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c0939d1f40960441d7920b593b61d0ca0888120788178cd9402d5291e97801"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCollection.buildSort (cognitive 54): PageCollection.buildSort has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 4 (15 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a152759ce52a92211764388c87effff03bf974cbd68fbcf0c475775e98cbe036"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.buildFlexPages (cognitive 54): Pages.buildFlexPages has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (34 pts), ternaries 5 (13 pts), boolean chains 5, loops 2 (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"0832f48a7265aced83f0b2b88aa2f0fcf24d3bfec34ca71bfc84c6f10d7c98fa"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallCommand.uninstallPackage (cognitive 54): UninstallCommand.uninstallPackage has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (38 pts), ternaries 3 (7 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/UninstallCommand.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb6c05fd8f1e32948f430bc0c9eb4cfe4137b3ffbf6767f4e66a4214933a94f"}},{"ruleId":"D2","level":"warning","message":{"text":"PageContentTrait.processContent (cognitive 53): PageContentTrait.processContent has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 10, ternaries 1 (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":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"353081f48b2bdd3b9033a69aeeb16a6c9a0982b849ca32727c1b938ce46cc5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.resetPages (cognitive 52): Pages.resetPages has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (28 pts), ternaries 6 (12 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36a14ef32f677fa663503267dfa83c4a941e66a46e3115a570833154b79e5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateCommand.serve (cognitive 51): UpdateCommand.serve has cognitive complexity 51 (threshold 15). Drivers by points: if/else 23 (44 pts), boolean chains 4, loops 2 (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":"system/src/Grav/Console/Gpm/UpdateCommand.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6092b8068ae20d74c444d30ca58d5c855cf630323050bfc790e1a868ba8c8976"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.allItems (cognitive 50): Pages.allItems has cognitive complexity 50 (threshold 15). Drivers by points: loops 8 (23 pts), if/else 7 (14 pts), ternaries 3 (10 pts), boolean chains 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0812e4ea8ea6804b62344393b9903decc58fda1aed7a4fcfde1383b667d4d6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Folder.all (cognitive 49): Folder.all has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (34 pts), ternaries 5 (9 pts), boolean chains 5, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Filesystem/Folder.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0753654948276d9505796edc84c7b9092b5e0233b918a252007bfe44aa4175d"}},{"ruleId":"D2","level":"warning","message":{"text":"Truncator.truncate (cognitive 49): Truncator.truncate has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 3 (9 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Helpers/Truncator.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a489a39a8f3543852c7f6ab21f814bc0fb9a51f5d2c0b8e18990778a5e1a5378"}},{"ruleId":"D2","level":"warning","message":{"text":"Flex.getObjects (cognitive 49): Flex.getObjects has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5 (13 pts), ternaries 3 (5 pts), boolean chains 3 (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":"system/src/Grav/Framework/Flex/Flex.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"953732bb3870d1e23e4100eeb669772a43fcf6803fddb8ced08d92f420eaef21"}},{"ruleId":"D2","level":"warning","message":{"text":"PageStorage.saveRow (cognitive 48): PageStorage.saveRow has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 4 (11 pts), boolean chains 4, error handling 1 (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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27efa5f83f9295591823fd2d8847e38e7315e4771489a9b2cb2fe293bfa7529"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageMediaTrait.derivatives (cognitive 48): ImageMediaTrait.derivatives has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 5 (9 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Media/Traits/ImageMediaTrait.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b754302765c6976aee2502c6ffe8ac2a16cebb6d9a7b1eda804e9bcdb9d782e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.unZip (cognitive 47): Installer.unZip has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c813000d543dcb5fad9768b1353ebe657fa0c5592407095cdba0cc23c1b8ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfupgradeCommand.handlePreflightReport (cognitive 47): SelfupgradeCommand.handlePreflightReport has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 9 (17 pts), boolean chains 6, ternaries 3 (6 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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"236b41aa641a2752d8b8b3d29851e5b07abd2577f6ccf373f0e0f10beab96f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"BlueprintSchema.validateArray (cognitive 46): BlueprintSchema.validateArray has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (31 pts), boolean chains 9, ternaries 2 (5 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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6028a330b80f8087d5d938507441c0a183821b4d95bb9faa84dd150ad0eb1e1"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCollection.ofOneOfTheseAccessLevels (cognitive 45): PageCollection.ofOneOfTheseAccessLevels has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 3 (11 pts), boolean chains 1 (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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36320718c2018db6eac000e54532fee93bf94107e4acfad9ef9b7c6f499d319"}},{"ruleId":"D2","level":"warning","message":{"text":"UserObject.setUpdatedMedia (cognitive 45): UserObject.setUpdatedMedia has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 3, loops 2 (3 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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d304aa5597269a066bade0926cea134b531ce96c56f6cb87a1db6af339bc6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Collection.ofOneOfTheseAccessLevels (cognitive 45): Collection.ofOneOfTheseAccessLevels has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 3 (11 pts), boolean chains 1 (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":"system/src/Grav/Common/Page/Collection.php"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9317e34ba7f22145a125cfa2cd9e7c04a75e7ec03cbd61a792a3a0200950dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"PageLegacyTrait.metadata (cognitive 45): PageLegacyTrait.metadata has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 4 (20 pts), if/else 7 (16 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c344a13b79736f98442025e94978df4fa4dae25db2a069bde030cabe8d4802"}},{"ruleId":"D2","level":"warning","message":{"text":"Language.setActiveFromUri (cognitive 44): Language.setActiveFromUri has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 9, loops 1 (4 pts), ternaries 1 (4 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":"system/src/Grav/Common/Language/Language.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47018d4828f31b1190949f6b875a31603f02d29e9e62aac6dcea05a8138fd4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.getCacheAdapter (cognitive 43): Cache.getCacheAdapter has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 5, error handling 1 (3 pts), match/switch 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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"735079ca981ddc30d97c37a03bb04506dceb852607b286d5ec2e565a23ce72a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.getPathFromToken (cognitive 43): Utils.getPathFromToken has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (35 pts), ternaries 2 (7 pts), match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa45d8a2d09eb27009a613f27874554eb5e8081a09ac221edcca3ecb733d340"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheCleanupCommand.serve (cognitive 43): CacheCleanupCommand.serve has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (34 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 1, ternaries 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":"system/src/Grav/Console/Cli/CacheCleanupCommand.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ef17d149954548d1333ca02df1b20adbf255d60b4d3c020bbe559a5004c411"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexCommand.filter (cognitive 43): IndexCommand.filter has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (32 pts), boolean chains 6, loops 2 (5 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":"system/src/Grav/Console/Gpm/IndexCommand.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"654cdce0898f0ff300b20443cc30e818e8f2e8ce9664cd53be21d2a922b4321c"}},{"ruleId":"D2","level":"warning","message":{"text":"BlueprintSchema.filterArray (cognitive 42): BlueprintSchema.filterArray has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 11, ternaries 3 (6 pts), loops 2 (4 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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6dddd7b449c8ff9c4415601ff161e62295a6ff24b0a74e5a843bd6f432450c"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.runJobs (cognitive 42): Scheduler.runJobs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 5 (10 pts), boolean chains 3, ternaries 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d09e452cf912ccbf9d78da6ff1f58ef107f08b64af4c479f7693c98808c80"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAsset.init (cognitive 40): BaseAsset.init has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (3 pts) (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":"system/src/Grav/Common/Assets/BaseAsset.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ebe285214133a43200d30924146834e79f19553c7b7e70cfb8e8f9af6edca"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.buildRoutes (cognitive 40): Pages.buildRoutes has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4b15c66e89e15b5a01cb6bedbdd3ed9abad2ddb86edf8fb826eb8d358c13dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Cron.cronToArray (cognitive 40): Cron.cronToArray has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (16 pts), boolean chains 4 (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":"system/src/Grav/Common/Scheduler/Cron.php"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c092afe67d77b5f9ec8a1b7264396a32379551a1ad2d576f924bce5aa4bef"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoCommand.serve (cognitive 39): InfoCommand.serve has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 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":"system/src/Grav/Console/Gpm/InfoCommand.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9ef2bc8b5ee468a97edec19e84408c6eb9a71ed19543dc14333dd5b70c56f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Setup.__construct (cognitive 38): Setup.__construct has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 6 (7 pts), boolean chains 5 (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":"system/src/Grav/Common/Config/Setup.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6f39cbfd4c23a52d2c9c1bdd177ba4bc9c1607bed1c74d0735757b8cf681e9"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledFile.content (cognitive 38): CompiledFile.content has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 12, error handling 4 (9 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/File/CompiledFile.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9661a3ac02ec59149e7ea8297df29065c64804ee8f48ef98391bfea02096531"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedownExtra.findEndTag (cognitive 38): ParsedownExtra.findEndTag has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (35 pts), boolean chains 2, 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":"system/src/Grav/Common/Markdown/ParsedownExtra.php"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6ca80bbe6222be370ac3e34f3a59779d118164e939d85e50fdd629c0d428fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Excerpts.processLinkExcerpt (cognitive 38): Excerpts.processLinkExcerpt has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 3 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 19). 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6768d166f78503afa45e573ac829d96b0894a761d615b36faf7b7a6660087e45"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.dispatch (cognitive 38): Pages.dispatch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 7, error handling 1 (3 pts), loops 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41893b7b25ff4ee721823e998d9d930890d5842ff8a15a835d8a8a13c1a81f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Debugger.init (cognitive 37): Debugger.init has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 1 (2 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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e900390a3ef1234a16accc31ae4ee389c7ecfd064a366151b93861b2fb43484"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaUploadTrait.checkFileMetadata (cognitive 37): MediaUploadTrait.checkFileMetadata has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 5, 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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b28c37eff7a4643c546aa7a34044347a023fc4c7cb2292fcc70f9ce4b85473f"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.detectXss (cognitive 37): Security.detectXss has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 9, ternaries 3, loops 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"962396f7e926792db4f5559f5a769e9044d603da6931aca66e7de284e0243eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.start (cognitive 37): Session.start has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 4 (10 pts), boolean chains 6, error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"46419d0c9077dfaf79bed72990d3abb9cdea70b6ca28ebff95d535133766a0e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Validation.arrayFilterRecurse (cognitive 36): Validation.arrayFilterRecurse has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 2 (7 pts), boolean chains 5, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a6ffe91e4887dfb84e51e7b6461d65af09ffbc669733722e43babf08df57ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.detectPendingPackageUpdates (cognitive 36): Install.detectPendingPackageUpdates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 3 (5 pts), loops 3, boolean chains 2, error handling 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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8efa522408a6c8b860bd129ed6050dd8a1ac0f0fe09224f141a624beb6ab4e"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.processGpm (cognitive 35): InstallCommand.processGpm has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e37f2b4df313adb6ffec37a3ca471423521971122b19dc740ae38a9195bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipArchiver.extract (cognitive 34): ZipArchiver.extract has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 2, loops 1 (2 pts) (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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d1215fe085440e439f446710f4400c2f68dce949f0a7d101ad5a322a909c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.install (cognitive 34): Installer.install has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 9 (nesting depth added 6). 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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe1104db6f87983d7ee63be4ac217689a0b6db4a40e2d6195b223895f960423"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.scanContentTwigUsage (cognitive 34): Security.scanContentTwigUsage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 7 (11 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ebe3766e1c46e68d9cbf032c69cbb9742a4b2bb5e12cb1f4dd72698716d21c"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexIndex.updateIndexFile (cognitive 34): FlexIndex.updateIndexFile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 5, loops 3 (5 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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd01798916076655c6f1a1f22278920dc1eb275a288a86af22b15cc351b07c5"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexMediaTrait.setUpdatedMedia (cognitive 34): FlexMediaTrait.setUpdatedMedia has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf344196c6688b2759818dad27710fe10fa65fc287ef5799bcf8f03276620fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.purgeOldCache (cognitive 33): Cache.purgeOldCache has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 5, loops 3 (5 pts), error handling 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Cache.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36851bced2545dc60c9004c00f5d919adbea427a26baf222496937375123540"}},{"ruleId":"D2","level":"warning","message":{"text":"PageObject.reorderSiblings (cognitive 33): PageObject.reorderSiblings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 4 (7 pts), ternaries 2 (3 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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a1e42dda6fa2afdda3624f821b6d734db10571e725e84731ace10f777846c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Language.getFallbackLanguages (cognitive 33): Language.getFallbackLanguages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (6 pts), boolean chains 4, ternaries 1 (4 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":"system/src/Grav/Common/Language/Language.php"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8469575b3e08d050bbaf6c8c753afd2253de0b5ec103c0d83d517bacafb450ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedownGravTrait.blockTableContinue (cognitive 33): ParsedownGravTrait.blockTableContinue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 9, ternaries 1 (4 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34c73100571300989e680f50e30b810d049c50ade68fb8da55244a6a033df21"}},{"ruleId":"D2","level":"warning","message":{"text":"Folder.rcopy (cognitive 32): Folder.rcopy has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 1, loops 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":"system/src/Grav/Common/Filesystem/Folder.php"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcf3449c0b89df935dc500619eb28a9c00bed2b432ecdc6c8700607d8bfbb58"}},{"ruleId":"D2","level":"warning","message":{"text":"GPM.calculateMergedDependenciesOfPackage (cognitive 32): GPM.calculateMergedDependenciesOfPackage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 2, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa5f16cb4d788a9b4d2203cb0c82e0717f3251c70fffcc45f60e07b8bbca4e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.download (cognitive 32): Utils.download has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b3611ce75ed201a7efdd7d271d03d578ff12de1f07c2db87604dcf7449ea60"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfupgradeCommand.serve (cognitive 32): SelfupgradeCommand.serve has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 3, loops 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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"259d171733ec76f8b04387d0efbe4be67eb4bffaa1e7b061e92b1d186441bf78"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedownGravTrait.blockTableComplete (cognitive 31): ParsedownGravTrait.blockTableComplete has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, loops 2 (5 pts), ternaries 1 (3 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":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ae719afecf35009a5919ebcd3d3d7cd399edb90ed92d62cbf1654725ce52d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Excerpts.processMediaActions (cognitive 31): Excerpts.processMediaActions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 3 (5 pts), ternaries 3 (5 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cabe22a1dbae2255e6981ff4316d7e990a1beb519090ac412f0193b55fefb7"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.get (cognitive 31): Pages.get has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 1 (5 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7846f4b5dbab200d7aa4e481fed330a0ae7ebbdf3bdcd9f17d605ee62e6b6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionCommand.serve (cognitive 31): VersionCommand.serve has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 1 (2 pts), boolean chains 1, loops 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":"system/src/Grav/Console/Gpm/VersionCommand.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d0873058aa8a8ac46e7ae323f304ba54f6ee9f3d06fe6d655cc85341ed074"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlBlock.getAssetsFast (cognitive 31): HtmlBlock.getAssetsFast has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 5 (13 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":"system/src/Grav/Framework/ContentBlock/HtmlBlock.php"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d463eb1fe5aee5801a2834fa284ef3f0b7c4e6b324686e4b94dc49d5f3b944a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageFile.jpegFrameSize (cognitive 30): ImageFile.jpegFrameSize has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 8, loops 3 (5 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":"system/src/Grav/Common/Page/Medium/ImageFile.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7580477ffcabf8a9f977399f7e6c028337d76a77bf835685bb9eefce2d6d5c"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.value (cognitive 30): Page.value has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (20 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"44542abc0520ee1389e71e07cd675473581f93e11af2e9228ca72c62c3db0742"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.executeJob (cognitive 30): Scheduler.executeJob has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 9 (13 pts), boolean chains 3 (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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5802bf3660455a55588d119ca1c4eca4a7d20e7d55df1c6626c6dfde0a246630"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexDirectory.loadObjects (cognitive 30): FlexDirectory.loadObjects has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf1374b2f315351b560de34dd8dba2a1f0adee2f3e26c51753c518342d16f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Blueprint.extend (cognitive 29): Blueprint.extend has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (7 pts), boolean chains 5 (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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b792142f0a32698be49c4233877e4c92e39eaaf50dc17760be0342fb0b4104"}},{"ruleId":"D2","level":"warning","message":{"text":"BlueprintSchema.processFormRecursive (cognitive 29): BlueprintSchema.processFormRecursive has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 5, loops 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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"79767533e14f2247cbea5da10dd6d375228a546766e5554edd109fb0a2c8217b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownOutput.mainRegion (cognitive 29): MarkdownOutput.mainRegion has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 6 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Markdown/MarkdownOutput.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8fba362c3d057f7e2d99353934481c8321a3888ee29608ef6dafcb5339cfd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.resolveTwigContentEvents (cognitive 29): Security.resolveTwigContentEvents has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 7, 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d98de6aa6e8b7eedbaf231c8465bfa9387f6ee041378069931fcf63305f746e"}},{"ruleId":"D2","level":"warning","message":{"text":"User.save (cognitive 29): User.save has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4, ternaries 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":"system/src/Grav/Common/User/DataUser/User.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72bf481bf4806e850b97f9496c3d3fcaf63baab29e496c3123bd21c58ef6ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.sophisticatedInstall (cognitive 28): Installer.sophisticatedInstall has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts), ternaries 1 (4 pts), error handling 1 (3 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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084965c909c64f7fe062803392eae8f24d239492f4865d6b7c25de434c01733"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.getDestinationIssue (cognitive 28): Installer.getDestinationIssue has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 10, loops 3 (4 pts), error handling 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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e6e59e0f6533959e617cfc65072f5ffa05a96974f35bcef5025780248829ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Grav.getRedirectResponse (cognitive 28): Grav.getRedirectResponse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 4 (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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b77c8fe80d017f438e61dd93749b883f030092c3291572e5bc5ef4be5f9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedownExtra.renderMarkdownElements (cognitive 28): ParsedownExtra.renderMarkdownElements has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/ParsedownExtra.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23e945e73ab492d9c5ac70be8c6677a729c1d37a00b0a77b1e24d892909b3eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Excerpts.processImageExcerpt (cognitive 28): Excerpts.processImageExcerpt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 8, ternaries 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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf67eb269afaf228ed59b7b7351fe1e195503aaff76a5d5d7b1b7c6d789d86e"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.evaluate (cognitive 28): Pages.evaluate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (2 pts), match/switch 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"205920fe3f234eeb4dbefc7cad9185bf70ad36304fb505831cc2c2cf3572d650"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.planSandboxDefaultsMigration (cognitive 28): Security.planSandboxDefaultsMigration has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0a0ca868f844b5e2025b926c098aecfcaf82aa5c5edf5c580428fe4147abbc"}},{"ruleId":"D2","level":"warning","message":{"text":"Validation.validate (cognitive 27): Validation.validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, ternaries 3 (5 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c59da10971f18535474d9f4d5934c83bcddb5c2510d5f96a3462d1a0f665fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedownGravTrait.__call (cognitive 27): ParsedownGravTrait.__call has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (11 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a991f23ca8c1238c9e5b7822381600bf2194bc2382c70b14557f6d502fe40a8"}},{"ruleId":"D2","level":"warning","message":{"text":"PreflightCommand.serve (cognitive 27): PreflightCommand.serve has cognitive complexity 27 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 8 (10 pts), boolean chains 3, ternaries 2 (3 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, 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":"system/src/Grav/Console/Gpm/PreflightCommand.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8cb37248654418c303a4496269d6ceafb3e4ed9a7b1f14d77fa979eeb89ed"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexIndex.__call (cognitive 27): FlexIndex.__call has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (5 pts), ternaries 1 (2 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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"46348ce78f750650dcb7e4b70bf1288c657ef0ba22a4c484a9b4d206386529d7"}},{"ruleId":"D2","level":"warning","message":{"text":"FileReader.read (cognitive 26): FileReader.read has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Helpers/FileReader.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cbb041aa5f45eed517a24c96a35e903b288986f9f93054ff0a036b23d68220"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.init (cognitive 26): Uri.init has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4, ternaries 3 (4 pts) (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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc01da2c2f8363e21c59aa4772a2c90a7923a35347c6bd420c85fb290cef275c"}},{"ruleId":"D2","level":"warning","message":{"text":"PageStorage.getIndexMeta (cognitive 25): PageStorage.getIndexMeta has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (5 pts), ternaries 1 (3 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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcb28b4dd7ee84d36151213ff57726e0090a71b126814ee28af8be262230550"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaObjectTrait.parsedownElement (cognitive 25): MediaObjectTrait.parsedownElement has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 1 (2 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":"system/src/Grav/Common/Media/Traits/MediaObjectTrait.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc625e0b6f40d9c9cd956d01f0de469e8205a738f786cee98fb1c9a3724c0a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Job.runWithRetry (cognitive 25): Job.runWithRetry has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), error handling 1 (2 pts), boolean chains 1, loops 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":"system/src/Grav/Common/Scheduler/Job.php"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"82af9ede4d0f21fa3d05747e3ec9c7c3214b5a7c922ff18e4f9133230667eb86"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.convertUrlOld (cognitive 25): Uri.convertUrlOld has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 3, ternaries 1 (2 pts) (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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1808df659f8919e9f0096261ed5171649df9f3f259501ce6549670fff2cd41d"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexObject.render (cognitive 25): FlexObject.render has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (4 pts), boolean chains 3, error handling 2 (3 pts), 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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"073439dfd635c368a98b3eaf2d0c5f2715ab53f912c47db4b3b495786f72b083"}},{"ruleId":"D2","level":"warning","message":{"text":"PageAuthorsTrait.isAuthorizedByGroup (cognitive 25): PageAuthorsTrait.isAuthorizedByGroup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, ternaries 2 (4 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce7655b556a5f3ac1d438e14d5777a82b027733a25ff049aa032db4b649133"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlUpdater.findPath (cognitive 25): YamlUpdater.findPath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 1 (3 pts), boolean chains 1, loops 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":"system/src/Grav/Installer/YamlUpdater.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e757d98ee5ae6490a8615fb7ffa91f81824efc2b2b28b0b1635ca4529bf91b1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Grav.shutdown (cognitive 24): Grav.shutdown has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e564c5adccb4b365cf76b1114be697916b13fa0ff902593d477909112dc8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageMediaTrait.saveImage (cognitive 24): ImageMediaTrait.saveImage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Media/Traits/ImageMediaTrait.php"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9031fcc7563f605f907b784481e6e3c2ee7b8b16611e7ce45b22cf16dc08479"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.accessLevels (cognitive 24): Pages.accessLevels has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (11 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"92251bc220629027f6a51ddb5d98cbc0a792c24010930565f8b0b0280f8833a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugins.init (cognitive 24): Plugins.init has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 1 (4 pts), boolean chains 1, loops 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":"system/src/Grav/Common/Plugins.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1a9abe682d14aebb4ba536d0055f518ce974c9df93d3b14d44b59539842d1"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.arrayGroupByFilter (cognitive 24): GravExtension.arrayGroupByFilter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d22085cfcc2f535d889043f829dc4f816cc7d54e55f2c770e3467f53adab73"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexCollection.render (cognitive 24): FlexCollection.render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 3 (4 pts), error handling 2 (3 pts), 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eff5a8d20582b7fca0c817102e333ae060b91f23e4152ea7fadb2c21f5a4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Validation.typeArray (cognitive 23): Validation.typeArray has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, loops 1 (2 pts) (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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50cad889d7b20a5710ef3c22c999d1ea3ce18886f559c1b7f6cc25c9cfe77b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipArchiver.extractStreamed (cognitive 23): ZipArchiver.extractStreamed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60008ca06d4bc9e936bf8a18db86c2b452841ea955495c208b9f2174981f5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.extractStreamed (cognitive 23): Installer.extractStreamed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bbd5602112d823869ae2976ff1d8e8d3c7869f05386d0d476e3f89c9317031"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.moduleOutputCacheId (cognitive 23): Page.moduleOutputCacheId has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), ternaries 2, loops 1 (nesting depth added 1). 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9959414836a3c00f8c77891807e08b57299408d22ef883e05bd0ddf5ab987251"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.getList (cognitive 23): Pages.getList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48087eaa3ed642ac4d87e0dcd7205514d9be2c4f06e831c6f19521e90386127"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.getTypes (cognitive 23): Pages.getTypes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b5a9187e5786b3cf4cfd7732d5193e111e8b01279518ff5a839f855e2d8454"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIdsCommand.serve (cognitive 23): PageIdsCommand.serve has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (10 pts), loops 4 (6 pts), if/else 4 (5 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":"system/src/Grav/Console/Cli/PageIdsCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9726305cfe8fd2a0a4245e2b1076ec718212e32f82773cb30aded6ba54b37b2"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.installDependencies (cognitive 23): InstallCommand.installDependencies has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (6 pts), loops 2 (5 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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85714958fbc33163ab55968b30637305a98ed0e6371b352d5b4311106d64706"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaIdentifier.getObject (cognitive 23): MediaIdentifier.getObject has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 12). 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":"system/src/Grav/Framework/Media/MediaIdentifier.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e4fb06abec3385f605d3d78a9df664c3abcf979def6fcf5ab50344354e6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetUtilsTrait.gatherLinks (cognitive 22): AssetUtilsTrait.gatherLinks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/Traits/AssetUtilsTrait.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d64f69ff499e006d88d70cffbb0eae35de0f4a25339df8506d4cea502a6f429"}},{"ruleId":"D2","level":"warning","message":{"text":"Validation.filterArray (cognitive 22): Validation.filterArray has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c295a8acafbbfc8d26770890412aef39ba455cf568740e4f3af73badf9bccf9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Debugger.addMessage (cognitive 22): Debugger.addMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (22 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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56886d443b146be623a4e81bde4fd005c2f09c63522176bbd9078000f8432d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipArchiver.compress (cognitive 22): ZipArchiver.compress has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, 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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27fdbee40307cb245ec780e7bd61196477da49871c569d244857f31bb7f32a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Base32.decode (cognitive 22): Base32.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3, 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":"system/src/Grav/Common/Helpers/Base32.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3973786efe52ae1898ebfbb360d266a692fbc6353f99480d6101427deeca438e"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractMedia.compareMeta (cognitive 22): AbstractMedia.compareMeta has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (4 pts), loops 1 (3 pts), boolean chains 1, match/switch 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":"system/src/Grav/Common/Page/Medium/AbstractMedia.php"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"14af1ae2ca8bcd7c6bf1490b5b44167ad586d936469c14b2e50d168b6a681339"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIdentity.assignAll (cognitive 22): PageIdentity.assignAll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (7 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":"system/src/Grav/Common/Page/PageIdentity.php"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"767ee381ee87b310bdaa75d05da3a34cce0468da708df19c8f29dc21168b87ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.resolvePagesHash (cognitive 22): Pages.resolvePagesHash has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (2 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"158405117005301e035ee2dc0bd8371c00118b7dd2fa8d0a210ef7135d6a69b0"}},{"ruleId":"D2","level":"warning","message":{"text":"InitializeProcessor.initializeConfig (cognitive 22): InitializeProcessor.initializeConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Processors/InitializeProcessor.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a0190f0a93756a72d11781ec5696b33bc7281b0130cd4b99d265ae0f7f75c2"}},{"ruleId":"D2","level":"warning","message":{"text":"JobHistory.searchHistory (cognitive 22): JobHistory.searchHistory has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, ternaries 2, 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":"system/src/Grav/Common/Scheduler/JobHistory.php"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5fd05afd27475cb3946836417125e0ac2a4d7e82c91cb75aa8491650e164e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionServiceProvider.register (cognitive 22): SessionServiceProvider.register has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, ternaries 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/SessionServiceProvider.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdc2ab1f505953610d38084d0c33c31c7e791ae3383f3f3a5035b76430240a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.getFlashObject (cognitive 22): Session.getFlashObject has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Session.php"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f324590d29b2b899f521566b790653b18d0e64977c63ff19dc5d5b693dd4369e"}},{"ruleId":"D2","level":"warning","message":{"text":"Taxonomy.findTaxonomy (cognitive 22): Taxonomy.findTaxonomy has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 4, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). 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":"system/src/Grav/Common/Taxonomy.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8e2782adc2fe9c480c662b540ec097623c74f35c37c152e7921c6ea114804f"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.ip (cognitive 22): Uri.ip has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, ternaries 2, 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a0fb456f230fa16532335d5122d74de05142be1fe87550a036038343136ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"Assets.splitPipelineAssetsByAttribute (cognitive 21): Assets.splitPipelineAssetsByAttribute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (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":"system/src/Grav/Common/Assets.php"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fe14b40afd0ab511ece3bd3b9c46e1365a18ea5d369fee7061351356642abf"}},{"ruleId":"D2","level":"warning","message":{"text":"Setup.isStreamFolder (cognitive 21): Setup.isStreamFolder has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 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":"system/src/Grav/Common/Config/Setup.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc5750bf54bf2b5222ef6c65402092722f738dfc94086b3d0112087ddb82cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"PageObject.isAuthorizedByChildren (cognitive 21): PageObject.isAuthorizedByChildren has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff38c88706871737e8167f49c79a86800eb8bb0ab2e85a0cdf30f988ebbeac54"}},{"ruleId":"D2","level":"warning","message":{"text":"PageTranslateTrait.translatedLanguages (cognitive 21): PageTranslateTrait.translatedLanguages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (7 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af605ee1bc1e751087e8221985001048933e38dd0a2908e7f0819c3cf02a259f"}},{"ruleId":"D2","level":"warning","message":{"text":"LogRotator.rotate (cognitive 21): LogRotator.rotate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, error handling 1, loops 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":"system/src/Grav/Common/Log/LogRotator.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f56cf5fe1de647ec74aaed27746a4331b58fe0b775fef76d2e3f81ba24ecca"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.summary (cognitive 21): Page.summary has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a07ed4c1c74b9cd228e5410d04a175991ddf01639f4c730056e7fc3369fec5a"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.doReorder (cognitive 21): Page.doReorder has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":3367}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaa1b64dceb162ec7bc72c914a4b9df577d93caef39133120ce614940946125"}},{"ruleId":"D2","level":"warning","message":{"text":"JobHistory.getJobStatistics (cognitive 21): JobHistory.getJobStatistics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, ternaries 2, 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":"system/src/Grav/Common/Scheduler/JobHistory.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a13fb24b97a5b1a4c9f624095895619d376e1e656f8138526e1a4850eec2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfupgradeCommand.upgrade (cognitive 21): SelfupgradeCommand.upgrade has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (10 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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db754aea98dafe498ccaaf3803dabac60dc0c12cf8b59ce37bf0ed82299677"}},{"ruleId":"D2","level":"warning","message":{"text":"PageLegacyTrait.copy (cognitive 21): PageLegacyTrait.copy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (6 pts), loops 1 (2 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eaadf797f2a2c9af3b3de5e91cdeb029306c5d4cf631479148d22d2bbe2fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"DOMWordsIterator.next (cognitive 20): DOMWordsIterator.next has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (3 pts), 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":"system/src/DOMWordsIterator.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e3bdb4fac5e07b0faeefe3c7552437ebc29b89dec536ba96015fe45c20fed"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.renderCss (cognitive 20): Pipeline.renderCss has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 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":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"73014163bf9aad4b98b03abb53a08de86294d76b92c9a6d454060b6bf38cb880"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledLanguages.loadLanguage (cognitive 20): CompiledLanguages.loadLanguage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 2 (3 pts), error handling 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":"system/src/Grav/Common/Config/CompiledLanguages.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428e6773d86bff9a716f43f5dd65f302a985606e8b2a8feb1bed146ef79f093"}},{"ruleId":"D2","level":"warning","message":{"text":"Blueprint.init (cognitive 20): Blueprint.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bf856430267986806895dcfe724edd86d12cdacc46c8044920ddcfb92491df"}},{"ruleId":"D2","level":"warning","message":{"text":"Blueprint.getFiles (cognitive 20): Blueprint.getFiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bd7ad8b9ce0b0f77bf50b9d7541f4183385d016d808f0a9b937c912caada5c"}},{"ruleId":"D2","level":"warning","message":{"text":"GPM.filterDependenciesForGeneration (cognitive 20): GPM.filterDependenciesForGeneration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, 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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"07affbcb0435a05757643c370de58fdaf61c289b8bbf72f505f4188d681fd73f"}},{"ruleId":"D2","level":"warning","message":{"text":"Language.translate (cognitive 20): Language.translate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (2 pts), ternaries 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":"system/src/Grav/Common/Language/Language.php"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e51e6bad4a3e11db73447942997af3534e10f8e67c7a6434f85b1dd9de9bf00"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorImageMedium.__construct (cognitive 20): VectorImageMedium.__construct has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, ternaries 2 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Medium/VectorImageMedium.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b059edaa767bec68f4e9df0dd4c7180e970b7fcf00b5351845d77b2d84b7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIdentity.pageFolders (cognitive 20): PageIdentity.pageFolders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (5 pts), boolean chains 4 (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":"system/src/Grav/Common/Page/PageIdentity.php"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"363464d35d472ee0e570b3b0a83df9283d25f1d03ccadc6dd7b35426edc2e2df"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.loadSavedJobs (cognitive 20): Scheduler.loadSavedJobs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c845db67cd48ae38c3554b3bfee3c4e0894044c2c09e63880125e2954b3b76"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.recordTwigContentEvent (cognitive 20): Security.recordTwigContentEvent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, error handling 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd8cb2ee165ef5d71600d995e2de233fc409824e16a3dc0727ffbc3be4b1c30"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.getNonceKey (cognitive 20): Security.getNonceKey has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, ternaries 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d0059d5abff63bb4c951044ecd4436d68e82837ec36b49efc7150b2ad4b8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"UserCollection.find (cognitive 20): UserCollection.find has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (6 pts), boolean chains 1, ternaries 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":"system/src/Grav/Common/User/DataUser/UserCollection.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08f0cb75d45158557a06c5ae82fadd88174d73d6c9a8ee61124aea414772f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.arrayUnflattenDotNotation (cognitive 20): Utils.arrayUnflattenDotNotation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec680363d25bd1f89b927bb2bb378dabec09b1d7fe971f3999e205cb6e60cec"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateCommand.reportSkippedSymlinks (cognitive 20): UpdateCommand.reportSkippedSymlinks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 5, ternaries 2 (4 pts), 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":"system/src/Grav/Console/Gpm/UpdateCommand.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"649b56c9200b172138d3b9ff16b2f0ed91201c9b0380fbfbcb533e9565cd1943"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectExpressionVisitor.getObjectFieldValue (cognitive 20): ObjectExpressionVisitor.getObjectFieldValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (2 pts), ternaries 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":"system/src/Grav/Framework/Object/Collection/ObjectExpressionVisitor.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c5db90e9396f4d67c4290ac3d0001731effdc5416b6b3e31a64e20ecf9a9b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Assets.add (cognitive 19): Assets.add has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 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":"system/src/Grav/Common/Assets.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa698d563c758a8ebeee959c11a0adeddacc8517d93f4558f80fe4ae54780b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Assets.addTypeNow (cognitive 19): Assets.addTypeNow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets.php"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"19da550f76e03db1db473742737179fa98e6d858b0d8ae7dc60cc765ef7c2939"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.renderJs (cognitive 19): Pipeline.renderJs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d782ee8648d915cfb50529f1443368a9fd7aa68b5fa814332a772accd91dbea"}},{"ruleId":"D2","level":"warning","message":{"text":"Setup.check (cognitive 19): Setup.check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), boolean chains 1, 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":"system/src/Grav/Common/Config/Setup.php"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb5f94c40e8c80ff9f7ad5d00565268bc66e432ae15e3b493689f9abfaad4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"BlueprintSchema.checkRequired (cognitive 19): BlueprintSchema.checkRequired has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f4b529da3af81a7b2f9955dbf19be2808176950d882c9434add1483309d32"}},{"ruleId":"D2","level":"warning","message":{"text":"PageObject.isAuthorizedOverride (cognitive 19): PageObject.isAuthorizedOverride has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, ternaries 1 (3 pts), 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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cfbcbe28eb0424b7ae6f22ee52843169ab3d9f909bdf6beafa5aed0d9f3659"}},{"ruleId":"D2","level":"warning","message":{"text":"Inflector.pluralize (cognitive 19): Inflector.pluralize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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. This shape REPEATS in the file: one other method here (Inflector.singularize) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Inflector.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4a1583f0367acdd7b4587ab460e9dc3218648217527fe4d13e45e2fa0e4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Inflector.singularize (cognitive 19): Inflector.singularize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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. This shape REPEATS in the file: one other method here (Inflector.pluralize) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Inflector.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a73719671182435c3ee10278528938d7ff1acf7a499022ef72c612bba1b8b81"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaUploadTrait.doRemove (cognitive 19): MediaUploadTrait.doRemove has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1, ternaries 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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db64ee4748b95637bc6b472730f9c6655c0faafdc7bee134482e795176ce389"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.httpHeaders (cognitive 19): Page.httpHeaders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bd852ece150dcb262b47916176f375c9667b9312ae501c7e686c8e45827e37"}},{"ruleId":"D2","level":"warning","message":{"text":"Job.run (cognitive 19): Job.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 1 (2 pts), boolean chains 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":"system/src/Grav/Common/Scheduler/Job.php"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4c772212909f171e5d66e51feeedf333ca25481653b4ded88dbff8403a6632"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigServiceProvider.loadCachedFileList (cognitive 19): ConfigServiceProvider.loadCachedFileList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 2 (3 pts) (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":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f3bfdde87158c4fd5bc061a734a0108ad93a8a08fdf9a61f2be0b991bc97f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Themes.initTheme (cognitive 19): Themes.initTheme has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), error handling 1 (2 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":"system/src/Grav/Common/Themes.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c784435ed22cb38d4df3098e7a857bebe8720a4159e5a19f8e218d09554988f"}},{"ruleId":"D2","level":"warning","message":{"text":"TwigTokenParserScript.parseArguments (cognitive 19): TwigTokenParserScript.parseArguments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 1 (2 pts) (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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b17938c777b07dc4bac90f7b5648cb429ad5dda8a7731dade220b96d6305e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.isExternal (cognitive 19): Uri.isExternal has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 17, if/else 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ebbead8dba63dec31845af2cd72eaeb72fc51bf369e5e592816fe649a222f5"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.installDemoContent (cognitive 19): InstallCommand.installDemoContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (3 pts) (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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76a6a167fb5c7ac4e57aefd396426b27fbcbddd995d8e3fa4e0fc0e9030c658"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallCommand.serve (cognitive 19): UninstallCommand.serve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), loops 2, boolean chains 1, error handling 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":"system/src/Grav/Console/Gpm/UninstallCommand.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f072e827cbf4a72bef5d865aae2e83303ec93d1ade4fd0fd7125f95064a4d1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexPageObject.filterElements (cognitive 19): FlexPageObject.filterElements has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (8 pts) (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":"system/src/Grav/Framework/Flex/Pages/FlexPageObject.php"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaad9ed72121f6f653d98b163a92c88848062645d1f692eb4817f69683df6a9"}},{"ruleId":"D2","level":"warning","message":{"text":"UserObject.authorize (cognitive 18): UserObject.authorize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50c2e2dd0e82f7f9c625edffb5093d573c9dd5ea39ccb2a4e3fbe11eb2cc59e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaObjectTrait.getThumbnail (cognitive 18): MediaObjectTrait.getThumbnail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 1 (4 pts), loops 1 (2 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":"system/src/Grav/Common/Media/Traits/MediaObjectTrait.php"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"55853655658c1373a4292a9936bc94158fb413c8289ed2fc1ebcd317d5bb682f"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownOutput.links (cognitive 18): MarkdownOutput.links has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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":"system/src/Grav/Common/Page/Markdown/MarkdownOutput.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"570258c6996509a999eb54f693eabc0319081cd11daf95a9bb8d1d4a3df53343"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalMedia.addMedium (cognitive 18): GlobalMedia.addMedium has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 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":"system/src/Grav/Common/Page/Medium/GlobalMedia.php"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a4ae2363f5d6df38946163fb2e62b50fdaf335bd35e658975de7fe07aad627"}},{"ruleId":"D2","level":"warning","message":{"text":"JobQueue.reconstructJob (cognitive 18): JobQueue.reconstructJob has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/JobQueue.php"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cf52a57ff3c68cbc08257a21e009fa80f79fa7984d490a607a2aaa8184b279"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.exifFunc (cognitive 18): GravExtension.exifFunc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (3 pts) (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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b849750efe71415fb2093b073908ace932b1d5cc6232ee463804d07493bb3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"TwigTokenParserStyle.parseArguments (cognitive 18): TwigTokenParserStyle.parseArguments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 1 (2 pts) (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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7110e04a0b700b1b529cc180b9a8cf7746bd595d2405bb6d6a08c3d09587d"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.createFromEnvironment (cognitive 18): Uri.createFromEnvironment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 4 (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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4762c0246b3481b6150fcb35462774312ba59340f1f3e6f49546a646c2762ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"Uri.post (cognitive 18): Uri.post has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), ternaries 1 (3 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8beb1c618006154c6bf5669c241dd8cc04ac03c9e16bc14c47546df048ab338"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlLinterCommand.serve (cognitive 18): YamlLinterCommand.serve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 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":"system/src/Grav/Console/Cli/YamlLinterCommand.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d28ab4b4d93da1d3e7bb15d236d284b1d1356d409edaf31cc2f2afac45a55ac"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexIndex.orderBy (cognitive 18): FlexIndex.orderBy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (3 pts), 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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf977e82ac2fd13fb9a2856035a7616ca59a82e881ba16df1cf5782130c7a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DOMLettersIterator.next (cognitive 17): DOMLettersIterator.next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/DOMLettersIterator.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa00fdfd04f1f039c4d44ae482db334acd92e552f69de98d1d6de043c6ff9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.gatherAndMinifyCss (cognitive 17): Pipeline.gatherAndMinifyCss has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 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. This shape REPEATS in the file: one other method here (Pipeline.gatherAndMinifyJs) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ffc3495563a253aa09cfbffc1764934c8c9804e96948d4402190b246b5718"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.gatherAndMinifyJs (cognitive 17): Pipeline.gatherAndMinifyJs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 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. This shape REPEATS in the file: one other method here (Pipeline.gatherAndMinifyCss) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1c50d17f0fd61b9309cf1dc4ef50ea44e06737e91ce50fc9b4096c4685de28"}},{"ruleId":"D2","level":"warning","message":{"text":"Backups.backup (cognitive 17): Backups.backup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 1 (2 pts) (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":"system/src/Grav/Common/Backup/Backups.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffed9e162c4e45117ee0f654c57f580df395c2936ece63ac10508b3f5d89ac8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Env.load (cognitive 17): Env.load has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/Env.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f42ab9293dc0699bbc7406c15c0f8c8d5321dc4ee42498864c792f616140c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Debugger.addAssets (cognitive 17): Debugger.addAssets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d774c7a0456f549b3e407ed0255a682ad674c96bd825467f614736d7e4d8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PageStorage.assertValidPageKeys (cognitive 17): PageStorage.assertValidPageKeys has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), loops 2, ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e300d5187ef1ccb1e19fbe63e2e2e50896fc8de78a2c0de3a40840a39cb48d5"}},{"ruleId":"D2","level":"warning","message":{"text":"UserObject.save (cognitive 17): UserObject.save has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3675ae26277ae37bc2fe63ecdd30bbeb22baa30c7e61a3be1b8846abaf7ae097"}},{"ruleId":"D2","level":"warning","message":{"text":"Installer.mergeInstall (cognitive 17): Installer.mergeInstall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb8d7fe8e8fced3d2dc2513f3bc31ee9d46983d57edb942260dadd35e77bc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractMedia.getFileParts (cognitive 17): AbstractMedia.getFileParts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"system/src/Grav/Common/Page/Medium/AbstractMedia.php"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74fcdf514b6543c4cc00d402f5723979ea5e2b4fb2fe5a4eb0f1d750adfa467"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.listFolder (cognitive 17): Pages.listFolder has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), ternaries 1 (3 pts), loops 1 (2 pts) (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"588c2033e924a2d63eff88ea1c124eafd22b72c795ca6239ea89a84bdc5a9c17"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerController.formatHealthStatus (cognitive 17): SchedulerController.formatHealthStatus has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 6 (7 pts), match/switch 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":"system/src/Grav/Common/Scheduler/SchedulerController.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40372d7ca42a3d87821478fcfbb8137731a348055fb8cb4a7a16cacfa42f77f"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.splitMethodNames (cognitive 17): Security.splitMethodNames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c864370b310aaf37917db705d20a84e08641b0ed2709fa7824743b0c82b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.dump (cognitive 17): GravExtension.dump has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ae1b4fcf658fe6aca55e86418679a5fa37ad6e4de480e8276e578abbb0ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.themeVarGuarded (cognitive 17): GravExtension.themeVarGuarded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbd488c8703a69cb41b97128beb747aefb7bae75a6a1606dd9fdbeeb35e78aa"}},{"ruleId":"D2","level":"warning","message":{"text":"TwigEnvironment.includeFromContent (cognitive 17): TwigEnvironment.includeFromContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1, 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":"system/src/Grav/Common/Twig/TwigEnvironment.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9f6cbfa3927ccd571364d8c0c5b112eeb612413e9e2c1472599ba4c1e1638"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginCommandLoader.__construct (cognitive 17): PluginCommandLoader.__construct has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), error handling 1, ternaries 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":"system/src/Grav/Console/Application/CommandLoader/PluginCommandLoader.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c4f1a77bac8c3762161e1b4a30c263b62014f80d7627a42bab91cd01c3584f"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.symlink (cognitive 17): InstallCommand.symlink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Cli/InstallCommand.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6696b0dc8aad7b18e9e630f21ced1a91f7b21fbd961224236aff2dea567e003"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfupgradeCommand.upgradeGrav (cognitive 17): SelfupgradeCommand.upgradeGrav has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, error handling 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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33daa682366cbededdfb502cb9190b6de2fba6a480f0cf93dd3380c029a8ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateCommand.userInputPackages (cognitive 17): UpdateCommand.userInputPackages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 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":"system/src/Grav/Console/Gpm/UpdateCommand.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"872f5648a6b1cdc91dc657432a0685f59d1be78bf1c471b55c5e30066d393c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexDirectory.loadIndex (cognitive 17): FlexDirectory.loadIndex has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (5 pts), ternaries 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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b849c143c5359dc85cb4c1218d77a409ab0c29fe17e1648d0ca98dca829e6215"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexObject.refresh (cognitive 17): FlexObject.refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), boolean chains 1, ternaries 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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af987a4b1435b20805c2766461e12e1cbf529ee0dd6805ae4906d7aef555933"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderStorage.deleteRows (cognitive 17): FolderStorage.deleteRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"system/src/Grav/Framework/Flex/Storage/FolderStorage.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d247270c15a03c1013500276fb0cc661b7515b50776fc6bbaf599ecbe739697"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexMediaTrait.addUpdatedMedia (cognitive 17): FlexMediaTrait.addUpdatedMedia has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (3 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":"system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d50c1bbe27685be1dc332d75cf3f403759ba2adb3e5f9417a0b1f239c9df1b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.regenerateId (cognitive 17): Session.regenerateId has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (5 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":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"af18500a387b2897e044f9c85c5feaecd91113f956157a1d8f36936aee68094b"}},{"ruleId":"D2","level":"warning","message":{"text":"Blueprint.loadImport (cognitive 16): Blueprint.loadImport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 5 (6 pts), boolean chains 3 (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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40226f72bc3d4409a5185fef2056bee122ed59f2cc81aaa38527a5ed9396045"}},{"ruleId":"D2","level":"warning","message":{"text":"Validation.checkSafety (cognitive 16): Validation.checkSafety has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee9d618fa3c7913ba73118af9d0e27e1aeeae5d04e4bec500ec147ee41cb726"}},{"ruleId":"D2","level":"warning","message":{"text":"Debugger.debuggerRequest (cognitive 16): Debugger.debuggerRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 3 (5 pts), boolean chains 3, error handling 1 (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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd0776fe96eb236362a5e108265b0876bc343ed44c322a43ba3baed83301e8"}},{"ruleId":"D2","level":"warning","message":{"text":"PageObject.filterElements (cognitive 16): PageObject.filterElements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dcacf939d4bbf4551470ec5a9ae3543bec01628ab7b269c0e8f8172c5c48c0"}},{"ruleId":"D2","level":"warning","message":{"text":"UserObject.isAuthorizedOverride (cognitive 16): UserObject.isAuthorizedOverride has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb6f72f9f0423483b1397793e6352e6dfaf4a8c6f0082ecdcd1ed2eba035928"}},{"ruleId":"D2","level":"warning","message":{"text":"GPM.findPackages (cognitive 16): GPM.findPackages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4551c44f2eca2247484e17f0af79a79e6f472ad588671aed52a88ce24831c"}},{"ruleId":"D2","level":"warning","message":{"text":"Collection.filterByPageFlag (cognitive 16): Collection.filterByPageFlag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Collection.php"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"656cf502761f352628c79abec77537660d04e2d1b81f2a354387ca223f684e73"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageMedium.__call (cognitive 16): ImageMedium.__call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), error handling 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":"system/src/Grav/Common/Page/Medium/ImageMedium.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bb24f369c73438bb1af46572d029e07ee5fe96795220cc263d8d45a05024bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.url (cognitive 16): Page.url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3 (4 pts) (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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6450e163fc83639c6d735b3218741af22e1fb2ab51a92cb6b41ce76acf3806"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIdentity.scan (cognitive 16): PageIdentity.scan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3 (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":"system/src/Grav/Common/Page/PageIdentity.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353abbb038bae68f32ea087e0a4283ee115a9322ec11e90f4f028d3040417d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.referrerRoute (cognitive 16): Pages.referrerRoute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), boolean chains 3, 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f749ee4f817f47965c9d82e05930dc13d5df3a89dc0e2c9fda989fd272978af"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.findSiteBasedRoute (cognitive 16): Pages.findSiteBasedRoute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), loops 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c7e2b2e54c3cd3f7b5b8de737fc48f6fb63fc51c7cc4d64fbb36e9c93a912"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.loadCachedPages (cognitive 16): Pages.loadCachedPages has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 5, boolean chains 4 (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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9449cea3b51708616439c0b990ba6881f9e897cc6582f80201d4592adf9ab42"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.normalizeMethodsMap (cognitive 16): Security.normalizeMethodsMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"527aaeaa6af6a346ca764e80d26dff2d7df5279cb718313fe2748a849194929a"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestServiceProvider.register (cognitive 16): RequestServiceProvider.register has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 1 (3 pts), loops 1 (2 pts), ternaries 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":"system/src/Grav/Common/Service/RequestServiceProvider.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b7b6ee4c24dc48495bbf036a224dd55e8f4ed1985d7d61265d05c57b83acc"}},{"ruleId":"D2","level":"warning","message":{"text":"Themes.configure (cognitive 16): Themes.configure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), ternaries 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":"system/src/Grav/Common/Themes.php"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"daea1a5f245977433d58dbae314ebcc40e3c6eeea99827bd96dfa3f14b45236f"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.nicetimeFunc (cognitive 16): GravExtension.nicetimeFunc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 1, loops 1, 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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6ab78f2271b44a7773e0616f22b88292f49efa4849968239eb6585e4167fff"}},{"ruleId":"D2","level":"warning","message":{"text":"GravExtension.authorize (cognitive 16): GravExtension.authorize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ef989830d1667e7ede40fe43f2236f0ce9b5cf6fb15f333785269363e0f696"}},{"ruleId":"D2","level":"warning","message":{"text":"TwigNodeScript.compile (cognitive 16): TwigNodeScript.compile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4 (8 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":"system/src/Grav/Common/Twig/Node/TwigNodeScript.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3432950284de71a7defcc728d9d4a3f3b1a5a6d7a706bec91ae45623cf037778"}},{"ruleId":"D2","level":"warning","message":{"text":"Group.save (cognitive 16): Group.save has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 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":"system/src/Grav/Common/User/Group.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2638e0fd99bb29d91ac9160cf3ef818d9539c2ea2135b72cc0b480c9b8ada38c"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallCommand.addSymlinks (cognitive 16): InstallCommand.addSymlinks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 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":"system/src/Grav/Console/Cli/InstallCommand.php"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f29f0dca38d71b1b2de1cdeb42caf84e1bc726cc150d9d096ce3cc82dfa776"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonFormatter.getEncodeOptions (cognitive 16): JsonFormatter.getEncodeOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (4 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (JsonFormatter.getDecodeOptions) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/JsonFormatter.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f924d0087c145b2307e08db31fa0930922ebc9f011d37f314e66f640c73bb"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonFormatter.getDecodeOptions (cognitive 16): JsonFormatter.getDecodeOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (4 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (JsonFormatter.getEncodeOptions) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/JsonFormatter.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27749b9d5739fdaa62a89770de1bc188e7e82f853da210cbc7d268685ea80ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Filesystem.normalizePathPart (cognitive 16): Filesystem.normalizePathPart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 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":"system/src/Grav/Framework/Filesystem/Filesystem.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f5f17786adac8bb4955e080f738f460ff239ddf39afb63d69200da55b59a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexDirectory.dynamicFlexField (cognitive 16): FlexDirectory.dynamicFlexField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"9437941cb3e419b70247928f44b0fa92d34b70176a0035e6a05e2a2069c2eb25"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexObject.searchValue (cognitive 16): FlexObject.searchValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"147a87aecd04a350fa336493db752ee023ebba61f77ce5c82226e1e248faddc8"}},{"ruleId":"D2","level":"warning","message":{"text":"PageRoutableTrait.url (cognitive 16): PageRoutableTrait.url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3 (4 pts) (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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbe93c76c93ffa31cba264a836a5460f297b5a01e2ddcc2646c065365f75ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexMediaTrait.buildMediaList (cognitive 16): FlexMediaTrait.buildMediaList has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 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":"system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"7356c5639c65dd226eca4e70f6117a26b4cf2b29a23d2251179cfbf096e6b576"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.detectPsrLogConflicts (cognitive 16): Install.detectPsrLogConflicts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ce148549e55b1de121e5bb3524afff27d8fff9da571577d0a47d6327a473a"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.detectMonologConflicts (cognitive 16): Install.detectMonologConflicts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), ternaries 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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"56db2cfefe4649471e7857150227cd2f0aeb321e22d1b9a4b29266d804988fe5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Page: TooManyMethods \u2014 138 methods. The bar is 30 methods; this is 108 over it, 4.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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e29d0bf0cbe9eeeb3a780de4e1c44148b25b98389844ecad32e2077e53a1bb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pages: ClassTooLong \u2014 1503 significant lines (blank, comment-only and punctuation-only lines excluded), 93 methods. The bar is 400 significant lines; this is 1103 over it, 3.76\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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb6ccfc3771b56e345f838b6fa0eed0b83531af5d04cf9b04873b925a681470"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GravExtension: TooManyMethods \u2014 108 methods. The bar is 30 methods; this is 78 over it, 3.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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaca22406d9b8657c4e574b87bb460b08eafd1497456ee53fa0f485e1feb858"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Page: ClassTooLong \u2014 1286 significant lines (blank, comment-only and punctuation-only lines excluded), 138 methods. The bar is 400 significant lines; this is 886 over it, 3.22\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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf00e7ad806600ce747cd94a21f80aa6b028d47f9559153b1d38b95f01ba21a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pages: TooManyMethods \u2014 93 methods. The bar is 30 methods; this is 63 over it, 3.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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb720c3da031f294517916d5ce27a4e8854b6a60ba320a4eb6688587a506611"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Page/Pages.php: FileTooLong \u2014 1547 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Pages (59-3417). The bar is 500 significant lines; this is 1047 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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfadb321afabf98c0b7010efb8093bdfd6097f56af595c6b9d04dce6380f9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utils: TooManyMethods \u2014 86 methods. The bar is 30 methods; this is 56 over it, 2.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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"044ece2ef1d2116e8a781b4f0e5310242e2904f1be4fff9912985bd7eee35e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Page/Page.php: FileTooLong \u2014 1328 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Page (58-3497). The bar is 500 significant lines; this is 828 over it, 2.66\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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb21d403e575f214b0bc4d84c547a2356f5c455320275a7808cec4d3b269cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Utils: ClassTooLong \u2014 1053 significant lines (blank, comment-only and punctuation-only lines excluded), 86 methods. The bar is 400 significant lines; this is 653 over it, 2.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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1dbe21ac2df5f403335af24237531ff2bb6e16d45e0c8c2ccd08af17352914"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Validation: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5639c62e0d4355dd9936488d8cfe3790251619d0f38083612b7874b136c4a67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Job: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.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":"system/src/Grav/Common/Scheduler/Job.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5aefe43550368ad803f8b9c8f5016d9cd92d3c767a6f68491cd03126f74362"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexObject: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd8ff4860f8d42f5227c06acd5c68537620e21a835773e67937f50784e85a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/Utils.php: FileTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Utils (53-2556). The bar is 500 significant lines; this is 591 over it, 2.18\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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e69a2fae6d85cf34ae3f680b81d074472f51a2094972f64735f66ff4c8aaf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GPM: 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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09eb10e76dfe1db27f963c34e7a585f246cc47124d8314350f784e755b31265"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Uri: 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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c77443e31d0dd342308da56171ffb8b852780431ac375797f9c5e2ac4a5b90"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GravExtension: ClassTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded), 108 methods. The bar is 400 significant lines; this is 394 over it, 1.99\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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5ecaa6b1f1196608e3cb796c67607a146f9dbd25ac6ac80c89de4fb654fe75"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormTrait: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"system/src/Grav/Framework/Form/Traits/FormTrait.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58b62a78931d035f75b7a0d6aba090a91e1f7ae4c7059e401e297aa1475f0ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageLegacyTrait: 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2224443647c202148f4b53d99474ad3ef86e65ed6852d44e3c6d60c87bc7f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Scheduler: 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf1e2a34fdfe8387ee6a2792763cfe3a800a1c6441eabc07317044829bcaccf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageIndex: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"18346361d4562d3e01fe46943308a078a7b5c0a800db19e5872782bdaa84b43b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserObject: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ae1bfe3775c957eee3c17bce04c1f462b6805dbcedcb87cab6cc51d40eb41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexIndex: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9d79dcb1c44195fa0396d77257f8300db91e461d151b8c5a886ab7a9f67b7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/Security.php: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 384 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d966d44188a22cedd96ec33d8011b64c943d5c95644afe7e8ba97219a5cae9db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexDirectory: 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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a671ebe1721d1706729947c76088d2de4539a17aafd8e6c39906096d348599f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Extension/GravExtension.php: FileTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: GravExtension (81-2479). The bar is 500 significant lines; this is 360 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":"system/src/Grav/Common/Twig/Extension/GravExtension.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"946a2ffd75320f5ca28659276e77bf993c9e4d63107693fdf3c5d78bc2723995"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Security: 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":"system/src/Grav/Common/Security.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04808c45af72db7f10a73f9e08b5de67b860022cf29242c4b3022a0dd537c2bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractIndexCollection: 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":"system/src/Grav/Framework/Collection/AbstractIndexCollection.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af90aca0e81cdbdfca67de035bbbf6d1b3f57e2083526a4f099f1148628d1e9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Uri: ClassTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 254 over it, 1.64\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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b10ae92b7c1bf8a0519b335d065c3e54c001d64171a3b93f5d1416933412b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Scheduler: ClassTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 240 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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbafab50ec539463dde6ba93634781c8fbdba64422b839c09dae2b12b22f795"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Debugger: ClassTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 233 over it, 1.58\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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5664c5f030d512162e8cb9733eaf10d6bdc043be44fbe6189f1c430b9c7ce15e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Install: ClassTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 225 over it, 1.56\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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d61d1c601e4a9f72faec68bafd307fd232e23c9feef900811fb92d50125a17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PageIndex.getLevelListingRecurse: MethodTooLong \u2014 getLevelListingRecurse runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6c5a2e536f7a54c30cea5bd7f7a24c13a21c8187f081d05895367582d8720"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DirectInstallCommand.serve: MethodTooLong \u2014 serve runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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":"system/src/Grav/Console/Gpm/DirectInstallCommand.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c018fa0766e5438958d461667a95153d12376d27b5263367c6f6a709f67bf58"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchedulerCommand.serve: MethodTooLong \u2014 serve runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"system/src/Grav/Console/Cli/SchedulerCommand.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4defff9d2cd183c140a6d9a67e7773ba4c8cef79406e963cc2a3c2fb5ac194f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GPM: ClassTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 179 over it, 1.45\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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4ec3fc8f65e54a2429db9bb6b6d90f3b69ae617df1d235c5b15b22dc223735"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collection: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. Most of these members implement Interfaces.PageCollectionInterface (30 of 42 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Collection.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c2fd914c4318f42d9d8b0752dfb842d7873ecf59147ca15c3a6fb3db025d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/Debugger.php: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Debugger (69-1461). The bar is 500 significant lines; this is 187 over it, 1.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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7d81b951e734c03af61d3b9a0dd9cc4dfb7563a3f2276e88e51f2bbf83a3f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Install: 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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"60053b04b170aca0fdfc57c232900c40f75476cced60f113bd2eb8d8213f497b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/Uri.php: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Uri (36-1640). The bar is 500 significant lines; this is 175 over it, 1.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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f09345f6ecbe1790ccb51ebcb89b8e814ce6a31b6a60e8f1bd92efcf518478"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Debugger: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"87368114a811188a25f4208a3786160370ce77b32f97e6cc945a85a6c04a0472"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageCollection: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"18127ba8f8535cf49fc18a7bf6c3d3a984a84442dab8bc38763cf64630443922"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Debugger.deprecatedErrorHandler: MethodTooLong \u2014 deprecatedErrorHandler 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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f73de035dbab0b9a198e40d196f6806e6ff96fe7a9b2498f17c05e0247a4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Scheduler/Scheduler.php: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Scheduler (34-1678). The bar is 500 significant lines; this is 159 over it, 1.32\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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e0240c9d4f2cb6121a6db035c872fce04345a32cde35f5546eaf56a0fdb1eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Installer/Install.php: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Install (50-1252). The bar is 500 significant lines; this is 159 over it, 1.32\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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef6e820428e63286f08559995ba9ba6b00407f364da68526e3111db1c7d422"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Blueprint: 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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ee8ce9dacf413b8396e79136f5dd9321f4235a9fc07ec8ed34ca54d4b7e47"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageContentTrait: 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7985be63df9fd86ef4e352ac55b364a05f3d3eac18aeee67455cfad245244b4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexCollection: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4002c51f3b31c58daf9779f9e4aeb9ab666a20e006b5fd952bced21ad2a1ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlexDirectory: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 105 over it, 1.26\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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"506dc5b79eef228a50b4f11cb28fd88c28c09b31790ea762098cc79ec523d7f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaObjectTrait: 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":"system/src/Grav/Common/Media/Traits/MediaObjectTrait.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"def77eff8fec83d92b1326c556e0acb45c0635edb3ee40e9653710ee7d031c51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Pages.getCollection: MethodTooLong \u2014 getCollection runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d5169aeebda75f4ae9a92d002ab14b83cb06015476267fba6aa30d47fd4969"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlexObject: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 87 over it, 1.22\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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bbf74ec8d5865530d850ba5f43c8a85e7b9152867f4a782b2715f5a5c47091"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Validation: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 83 over it, 1.21\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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fa59f0c82609323982498fc8ea938022a6877c54bb6f7cc3263b2066f13227"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormFlash: 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":"system/src/Grav/Framework/Form/FormFlash.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca8a0f13c5b5a0b7372d79131749864e365f0fa5f87d33b8a4d43177f59591"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GPM/GPM.php: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: GPM (34-1610). The bar is 500 significant lines; this is 98 over it, 1.20\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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8313402817d38a876dd67d93642066dc01a363d14ece9bb55bf4fdbfc0880"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Installer: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 75 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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"71479ff81b3c724166703210d36e88e0568bdcda78b190a2ef3ac58793015760"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Job: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 69 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":"system/src/Grav/Common/Scheduler/Job.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b533331c496f779eb0e37137b0a416dafa458498953ccd170002c5de30180e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParsedownGravTrait: 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":"system/src/Grav/Common/Markdown/ParsedownGravTrait.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bea026d50bfadf7ea3ef96d982b6a776413a76fd03bc904fd357f1b949d4d5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SelfupgradeCommand: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 64 over it, 1.16\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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4b321a355bfe7a24ff3357d33ebec21d1288beffb954b83b430382137bc29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SelfupgradeCommand.handlePreflightReport: MethodTooLong \u2014 handlePreflightReport runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e888735b3704d40ebb528f3f2b34949e108b855099a70a013f44e657edb365b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PageIndex: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 54 over it, 1.14\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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75d107f1466eff63dae0a4cb3458fa8732436b32e4f82c3aeefb2d81416dad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Pages.buildSort: MethodTooLong \u2014 buildSort runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630f5990bd5413823a46c5f1f812c141eae15093a3856dee08826248d4c21a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserObject: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 47 over it, 1.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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"271d46c7675ef85980a6d20a5f477fb90a0a28ed43d0a40e405cc06efb043cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Utils.isDangerousFunction: MethodTooLong \u2014 isDangerousFunction runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"25711fc1da803f40d7485c2418b29348cfa3d99ac0c557e7dd50bd733cb9cf2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cache: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5b0235893a7484b2194ab203bcb634d952f85fececee40c956a3985f2e18cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Route: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.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":"system/src/Grav/Framework/Route/Route.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aa0439c82f4f7b42c03779e54c324de777c3829237de0ccff6e8453618e369"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdateCommand.serve: MethodTooLong \u2014 serve runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"system/src/Grav/Console/Gpm/UpdateCommand.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ca9d0cda7ca5e7c4b9fa25e8f66382400beed2aa29a9780cc96e197cb069b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Flex/FlexDirectory.php: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: FlexDirectory (52-1292). The bar is 500 significant lines; this is 42 over it, 1.08\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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83fc8d92a0d74ba58faf06776cd7dee31da6dbe4278dff3c81bc30f668f6bf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Cache: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Cache.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"099d04636a06200ca661843743a40272904a225ae2061a03b9c4959595f6c085"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Page.header: MethodTooLong \u2014 header 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddae3ea11e95977241038a7b54d31f31b40691911ebdba3480f91c8dd0184eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractMedia: 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":"system/src/Grav/Common/Page/Medium/AbstractMedia.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0c9c5dacfc1b811ac43e91152d3910766ce69e889d150250fd52755ddd2c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexForm: 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":"system/src/Grav/Framework/Flex/FlexForm.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f2c605a1c4534530ba7361bbf94938dbda34040d262e6ef91b62d2a467e18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FolderStorage: 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":"system/src/Grav/Framework/Flex/Storage/FolderStorage.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edee5df04bf229e0350a7c332bbe4e3d038f1eb6cb3fa1b51fa5c5b79635f30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: 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":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"407b1f8534010b49b57786e30b67691f8a203e16febcc92da5af9890753193d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InfoCommand.serve: MethodTooLong \u2014 serve runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"system/src/Grav/Console/Gpm/InfoCommand.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f2ee29666ad3df47e821af10b7867352f6e64347e3e38fecbd068f089ff230"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Flex/FlexObject.php: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: FlexObject (54-1277). 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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d5e6c8c3889d3d89520013185ae12008aa4e646a45623d7ed3a9035acbacff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SelfupgradeCommand.serve: MethodTooLong \u2014 serve runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afb487eb560f13d556b92b78e7aeb5a6289ea7cf491bef620e55c629aba8971"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Twig.init: MethodTooLong \u2014 init runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"system/src/Grav/Common/Twig/Twig.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d5c51db2e87f957c0e2de93e55b3c46990cad97dfd5c253c101a8869342bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PageObject: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 10 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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd55df017d6d763c7f0cee8ed00e1208d1a1420682a485f266c58121b39e58a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstallCommand: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 4 over it, 1.01\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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b9aafe1b98082bfd15d5ee814921c2f4e4b89126a8602e025891ac4a8e865"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Data/Validation.php: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Validation (37-1467). The bar is 500 significant lines; this is 5 over it, 1.01\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":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cd372efaae12c306415f2c8aa7982044ba2762deda9d2687f1041a040cd9e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): system/src/Grav/Common/Twig/Node/TwigNodeLink.php:54-112 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:54-131 \u2014 These two members are variants of one another: 39 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":"system/src/Grav/Common/Twig/Node/TwigNodeLink.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"45113f2cbfb089ed529089d7dd130eba67a9c40e8ff9c1d9716bf204c7e6e008"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): system/src/Grav/Common/Inflector.php:65-97 | system/src/Grav/Common/Inflector.php:110-142 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"system/src/Grav/Common/Inflector.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d862e18b956144860e9d9022d62e535ed4ecf5804d1032213ff6ff54e4e10a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php:65-97 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserRender.php:45-62 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php:64-111 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php:57-98 \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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1f99df65c29df660f141605e55c2c5e94a0981e623c898926fdd2e13555f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): system/src/Grav/Common/Scheduler/JobQueue.php:142-181 | system/src/Grav/Common/Scheduler/JobQueue.php:209-248 \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 \u0060system/src/Grav/Common/Scheduler/JobQueue.php:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/JobQueue.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1171e3b0ea8cc0e813e0d6be3f70ed922b650e0c8add718743812a53519b75d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:402-440 | system/src/Grav/Framework/Flex/FlexObject.php:581-620 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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 \u0060system/src/Grav/Framework/Flex/FlexCollection.php:402\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, \u0060system/src/Grav/Framework/Flex/FlexObject.php:621\u0060 calls \u0060getKey\u0060 and \u0060system/src/Grav/Framework/Flex/FlexCollection.php:441\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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2286e1e85e96e0adbef43aa2adfb8252fc54ee5a8d647c5ed8aaf0048da24837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserObject.php:1069-1106 | system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:385-422 \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 \u0060system/src/Grav/Common/Flex/Types/Users/UserObject.php:1069\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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e72694a45c717c94c0ba4838525021f9b30cb7ac34336135c224acb114e53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): system/src/Grav/Common/GPM/GPM.php:301-337 | system/src/Grav/Common/GPM/GPM.php:446-482 \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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1cf97215ded9c5e8a1cb93700758b9d25650015fecac2a44c4982702eb205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:2431-2466 | system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php:134-169 \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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4607cd7886fd7aa7a0265a4a452dd90d768e2e2676b648dfd9899cab13191631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:215-243 | system/src/Grav/Framework/RequestHandler/Middlewares/Exceptions.php:43-70 \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":"system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ddbaa6029870c77c322b6ed6d7805d4a60d38529fe013d03a58364a473d9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): system/src/Grav/Common/Assets/Pipeline.php:537-563 | system/src/Grav/Common/Assets/Pipeline.php:608-634 | system/src/Grav/Common/Assets/Traits/AssetUtilsTrait.php:75-102 \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. 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":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a74fb157455f0e68663292d8b3b35d786f3ae53331cacdfb7b35b36998fe78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): system/src/Grav/Common/Inflector.php:68-95 | system/src/Grav/Common/Inflector.php:113-140 \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 \u0060system/src/Grav/Common/Inflector.php:68\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":"system/src/Grav/Common/Inflector.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a30747c074b7cb7c100dfafa4a371678a4366e802db6079adc38563c195eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): system/src/DOMLettersIterator.php:103-127 | system/src/DOMWordsIterator.php:103-126 \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 \u0060system/src/DOMLettersIterator.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/DOMLettersIterator.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f9645bd38011e6f941302660fb8eac0c436f8be986f99d3d2b2914a0ef3a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): system/src/Grav/Common/Filesystem/ZipArchiver.php:188-212 | system/src/Grav/Common/GPM/Installer.php:380-403 \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 \u0060system/src/Grav/Common/Filesystem/ZipArchiver.php:188\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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"37708647bdd23affe34a3ce5c9d2810c0248490f5435ae2f2a9f01daf6c047e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:372-396 | system/src/Grav/Common/Page/Pages.php:3081-3105 \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 \u0060system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:372\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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff7a0902d2280b167cad83f53e9438250ef6dfd9fbfdcf952083b61e9a603e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): system/src/Grav/Common/Page/Medium/MediumFactory.php:59-83 | system/src/Grav/Common/Page/Medium/MediumFactory.php:119-143 \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":"system/src/Grav/Common/Page/Medium/MediumFactory.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45a269ac39354a77119ac9a60265d2d29b665aad9e4ea805a6cb4cfa3af4cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserObject.php:1123-1146 | system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:426-449 \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 \u0060system/src/Grav/Common/Flex/Types/Users/UserObject.php:1123\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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddd2662d662a0b1fac8a11fbdc8d6afd49168db989cb11c6ed4ae4678a7dc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): system/src/Grav/Common/GPM/Installer.php:662-685 | system/src/Grav/Installer/Install.php:450-473 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8644bef83021f76b4245d63018e113e7e402485f135c6b579b3a8ea8f4c9601b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): system/src/Grav/Common/Twig/Node/TwigNodeScript.php:55-102 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:54-101 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/Node/TwigNodeScript.php\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeStyle.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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 \u0060system/src/Grav/Common/Twig/Node/TwigNodeScript.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":"system/src/Grav/Common/Twig/Node/TwigNodeScript.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac75a3133db705fa11068e0c630846c49311dc4678383c860b73eccbc360f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): system/src/Grav/Common/Uri.php:946-968 | system/src/Grav/Common/Uri.php:1173-1195 \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 \u0060system/src/Grav/Common/Uri.php:946\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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f818eec374738881b503ab386b17110affb9f59c2c3b916c223497ba0a3b900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexObject.php:875-897 | system/src/Grav/Framework/Form/Traits/FormTrait.php:230-252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c9bf34f2949bf712e2e189be333b5b62d1a7ca8d59a3e1490ad4aea7d6c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): system/src/Grav/Common/GPM/Local/Package.php:92-113 | system/src/Grav/Installer/Install.php:1203-1224 \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":"system/src/Grav/Common/GPM/Local/Package.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42b4457d62dc92c4dd52a05ae7f27bd553f9be0585e0511a399b91793999e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:707-728 | system/src/Grav/Framework/Flex/FlexObject.php:1167-1187 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3097128e0046e9188920afc9521d2d137185f2e6d92bf3eee6a350b87d5e541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): system/src/Grav/Common/Flex/Types/Pages/Traits/PageRoutableTrait.php:101-121 | system/src/Grav/Common/Page/Page.php:3111-3131 | system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php:522-542 \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":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e2b8297a3c7a89066b0f8b11bbb615b9799c660cd9e4c6f7b42e5d11b5a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:615-635 | system/src/Grav/Framework/Flex/FlexObject.php:1049-1069 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf5d0e339f83d59a62088baff1dd8f031bcace462472c75440f653d142f7132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): system/src/Grav/Common/Security.php:190-209 | system/src/Grav/Common/Security.php:1752-1768 \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 \u0060system/src/Grav/Common/Security.php:190\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":"system/src/Grav/Common/Security.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89b873cc7f81b4a841e2987ff0fa8820a9cbe92b45162fddfadbddf221c592e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): system/src/Grav/Console/Gpm/InstallCommand.php:710-729 | system/src/Grav/Console/Gpm/UninstallCommand.php:277-296 \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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cd57e9bb9d3ffb7e67fe841c8c9ca37f8c6e70e104dfae1197e42d9f8525b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php:64-82 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php:57-75 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php\u0060 and \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ffe4cedc6d7e59d7e1c72f8e5ee8a05d1f94eb27816a6fa85eb6fb9858018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:307-325 | system/src/Grav/Framework/Flex/FlexForm.php:373-391 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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 \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php:307\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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c283438c971481102fe87a1a8160d4e5e3d83fa924f0ee38cf1c7a0f167da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): system/src/Grav/Common/Scheduler/Scheduler.php:1289-1306 | system/src/Grav/Common/Scheduler/Scheduler.php:1397-1412 \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 \u0060system/src/Grav/Common/Scheduler/Scheduler.php:1289\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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e917f09470f570c773d816653bca42e15843be2f71e341bef297e42b1b5a329a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:156-173 | system/src/Grav/Framework/Flex/FlexForm.php:199-216 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"723077568efb6e6031fa8c351f34a125c3f31212b4263130fcce49cb3cd5a443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:269-286 | system/src/Grav/Framework/Flex/FlexForm.php:320-337 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2136353977db674d5d611693b12055a9e4713db3938ef2f2b7c8e282032939f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:839-855 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:180-191 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:179\u0060 calls \u0060instance\u0060 and \u0060system/src/Grav/Common/Page/Page.php:836\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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dc1e5993c274aa919ae84fb9293d3383991341d097fd3f74560fe79a4d0d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): system/src/Grav/Common/Page/Pages.php:2036-2052 | system/src/Grav/Common/Service/AccountsServiceProvider.php:105-121 \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 \u0060system/src/Grav/Common/Page/Pages.php:2036\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, \u0060system/src/Grav/Common/Service/AccountsServiceProvider.php:122\u0060 calls \u0060getFlexDirectory\u0060 and \u0060system/src/Grav/Common/Page/Pages.php:2053\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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"968830bc903a1e46e496022b2e12d3ed73ecaa7d4e6a519f538f64afa54f8ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): system/src/Grav/Common/Plugin.php:395-411 | system/src/Grav/Common/Theme.php:52-68 \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":"system/src/Grav/Common/Plugin.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"436cfe5f79580b4dc1f937ebfc8eb36162867bb21f31f0063b0ead92ca88ca8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): system/src/Grav/Installer/Versions.php:299-315 | system/src/Grav/Installer/YamlUpdater.php:450-466 \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":"system/src/Grav/Installer/Versions.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"42628668bbeac9e8e37d404bbd3b92b377e1c0936788ad0781cbe91d8b97f5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Common/Data/Data.php:205-220 | system/src/Grav/Common/Flex/Types/Users/UserObject.php:512-527 \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":"system/src/Grav/Common/Data/Data.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e4b70598d3604fb083efeeafb40ef8bd1da606bf8cf177c74f007a8706f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Common/Form/FormFlash.php:54-69 | system/src/Grav/Common/Form/FormFlash.php:86-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Form/FormFlash.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f61b553662c38eb52fba072ce0096454d8767fc6d9046bc7e374509ea21ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Common/GPM/Remote/GravCore.php:83-98 | system/src/Grav/Common/GPM/Remote/Package.php:49-64 \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":"system/src/Grav/Common/GPM/Remote/GravCore.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd1729cf72cf6ba63eace613b15461dcbb186a0b55ebfc22c19902e013552f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Common/Service/ConfigServiceProvider.php:99-114 | system/src/Grav/Common/Service/ConfigServiceProvider.php:141-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f4a2dded8c0d3ec022a8c652512a76f5aaaf6710d9fefc9f476294c46a9777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexObject.php:786-801 | system/src/Grav/Framework/Flex/FlexObject.php:818-833 \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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da3a94ad94f75ffa9341aad9259f2ecd43272ef38e9c0141ebe028e174b7e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php:81-95 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php:95-109 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php:82-96 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php\u0060 and \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php:81\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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"222f5e323469549178cfecf0d0847615b8bce0b0f57c6a0bdfb0df8e544fdf6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Filesystem/Folder.php:40-54 | system/src/Grav/Common/Filesystem/Folder.php:79-93 \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 \u0060system/src/Grav/Common/Filesystem/Folder.php:40\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":"system/src/Grav/Common/Filesystem/Folder.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c6bae869ae3ea826eab281669341d30ef3f5eb56600a26ff2883eb4d064dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Filesystem/ZipArchiver.php:289-303 | system/src/Grav/Common/Filesystem/ZipArchiver.php:384-398 \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, \u0060system/src/Grav/Common/Filesystem/ZipArchiver.php:305\u0060 calls \u0060getArchiveFiles\u0060 and \u0060system/src/Grav/Common/Filesystem/ZipArchiver.php:400\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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9feb27aa041974a3fd3e95a2ecba5c2734276ee07921aafe751a0e3515d0295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:350-364 | system/src/Grav/Common/Page/Pages.php:3055-3069 \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 \u0060system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:350\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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba12d21952ad0bd2059c6bc8f08824153404e1e716c31d3801a848adc31545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserObject.php:1181-1195 | system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:509-523 \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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3d64fa5bd49b03844a906d157031de18d784c82ba1e6774e0b18d119fa4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Twig/Node/TwigNodeLink.php:98-112 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:98-112 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeStyle.php\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php:98\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, \u0060system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:96\u0060 calls \u0060hasNode\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.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":"system/src/Grav/Common/Twig/Node/TwigNodeLink.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c553acac4021dc8a7bbe8c4ee27e471e4359525236538bb6aa48f9ec585c646b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): system/src/Grav/Common/Twig/Node/TwigNodeScript.php:104-117 | system/src/Grav/Common/Twig/Node/TwigNodeScript.php:126-140 \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 \u0060system/src/Grav/Common/Twig/Node/TwigNodeScript.php:104\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":"system/src/Grav/Common/Twig/Node/TwigNodeScript.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dad3928cfa23aadc2e1302ccf94041d9d9ffeb9c93a46a1065beb8deb73cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Installer/Versions.php:275-289 | system/src/Grav/Installer/YamlUpdater.php:426-440 \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":"system/src/Grav/Installer/Versions.php"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0638db48cb15759598e2939f9aa2221782233befc4d4bccde3761ca2cfbc6c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:144-157 | system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:199-212 | system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:219-232 \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":"system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"188c3a3b571fe7d67c0830bb3d4ed98a21e5d53258c2a0656f344f5250db5a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php:492-505 | system/src/Grav/Framework/Flex/Storage/FolderStorage.php:456-469 \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 \u0060system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php:492\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da85d5d3eb5af225cfc551dfc6f4c01544c297b141476ce12c05d441f767eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): system/src/Grav/Common/Media/Traits/MediaObjectTrait.php:284-296 | system/src/Grav/Common/Media/Traits/MediaObjectTrait.php:304-317 \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 \u0060system/src/Grav/Common/Media/Traits/MediaObjectTrait.php:284\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":"system/src/Grav/Common/Media/Traits/MediaObjectTrait.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f42cf811b3404a91d72b4f08fca15e1be30643316c507782615db74c4b0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): system/src/Grav/Common/Service/ConfigServiceProvider.php:355-367 | system/src/Grav/Common/Service/ConfigServiceProvider.php:401-414 \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 \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adc1ef7d9017fe21e721ac1d95465c328f7fbee60a43dbb744b633089e52f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): system/src/Grav/Common/Service/ConfigServiceProvider.php:355-367 | system/src/Grav/Common/Service/ConfigServiceProvider.php:385-397 | system/src/Grav/Common/Service/ConfigServiceProvider.php:401-413 \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 \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26032a2aebe0efc652c70b63fcd6b5ea1b2556106304ee3aab188025dfede77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): system/src/Grav/Common/Filesystem/Folder.php:487-499 | system/src/Grav/Framework/Cache/Adapter/FileCache.php:260-272 \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":"system/src/Grav/Common/Filesystem/Folder.php"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"346a2ed9424f5b2b8c21c16c205b826775c534b14c692e04ee811226bc9fee53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): system/src/Grav/Common/Page/Medium/AbstractMedia.php:359-371 | system/src/Grav/Common/Page/Medium/AbstractMedia.php:467-479 \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":"system/src/Grav/Common/Page/Medium/AbstractMedia.php"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d32cccfc459522de0d30311af93c3492d2812651fd4e178487481095c7f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): system/src/Grav/Framework/Cache/CacheTrait.php:140-152 | system/src/Grav/Framework/Cache/CacheTrait.php:216-228 \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 \u0060system/src/Grav/Framework/Cache/CacheTrait.php:140\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":"system/src/Grav/Framework/Cache/CacheTrait.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd669056dc054d26e03b131ba973b46cfc5e8271b5da8578ac5d0c825b22adf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): system/src/Grav/Common/Twig/Node/TwigNodeLink.php:73-84 | system/src/Grav/Common/Twig/Node/TwigNodeScript.php:58-69 | system/src/Grav/Common/Twig/Node/TwigNodeScript.php:72-83 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:57-68 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:71-82 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeStyle.php\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeLink.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f9ddbecf9aa500cc7eaef27e83bbdfda04eaeb892ab9f10d603146fe4faf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php:84-95 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserRender.php:49-60 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php:98-109 | system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php:85-96 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php\u0060 and \u0060system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"953f59d5de66034df717ed71951ee0511ee497356261eec2582bc26d7155dbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Common/GPM/GPM.php:119-130 | system/src/Grav/Common/GPM/GPM.php:279-290 \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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"186ef65bbee895937c78a755d064899143335c6429a9708437a476f563b29d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Common/Service/TaskServiceProvider.php:29-40 | system/src/Grav/Common/Service/TaskServiceProvider.php:42-53 \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":"system/src/Grav/Common/Service/TaskServiceProvider.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f653666ac639c33f2e5b3d654fdc7ac291736d59fa3c04160b9856f73cf2a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:96-107 | system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:177-188 \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 \u0060system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:96\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":"system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a7eb53d7c8c19aa197cbbfa06ca663f1901b93cc82d6e9d040433d41a632c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Console/Gpm/InfoCommand.php:144-155 | system/src/Grav/Console/Gpm/UpdateCommand.php:210-221 \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 \u0060system/src/Grav/Console/Gpm/InfoCommand.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":"system/src/Grav/Console/Gpm/InfoCommand.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b012f302b42c8bf07b87b273f50ee96851dfce900b400bb616f2d04c744841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:371-382 | system/src/Grav/Framework/Flex/FlexObject.php:545-556 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d8533f33166a6c29b2ef0c4fd553da40a594cd7e53e853ed501d96e324781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectory.php:1002-1013 | system/src/Grav/Framework/Flex/FlexDirectory.php:1046-1057 \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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b2b36857616fdc36ebdec58eff64ed84c6f780e2292d106ff52b51a354f874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): system/src/Grav/Common/Twig/Node/TwigNodeLink.php:60-70 | system/src/Grav/Common/Twig/Node/TwigNodeLink.php:72-81 | system/src/Grav/Common/Twig/Node/TwigNodeScript.php:57-66 | system/src/Grav/Common/Twig/Node/TwigNodeScript.php:71-80 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:56-65 | system/src/Grav/Common/Twig/Node/TwigNodeStyle.php:70-79 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeStyle.php\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.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. 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, \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php:81\u0060 calls \u0060write\u0060 and \u0060system/src/Grav/Common/Twig/Node/TwigNodeLink.php:70\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeLink.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"46315450941860f11096c6ff58a7aeda3917d2203ca3344bf2ac0a192ff774ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): system/src/Grav/Common/Flex/Traits/FlexCommonTrait.php:39-49 | system/src/Grav/Framework/Flex/FlexCollection.php:649-659 | system/src/Grav/Framework/Flex/FlexObject.php:1226-1236 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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, \u0060system/src/Grav/Framework/Flex/FlexObject.php:1221\u0060 calls \u0060user_error\u0060 and \u0060system/src/Grav/Framework/Flex/FlexCollection.php:645\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":"system/src/Grav/Common/Flex/Traits/FlexCommonTrait.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6908a459aee4934f006525c4ea4dcab6177403a20e04b5edd53c459cf4fa879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): system/src/Grav/Common/Media/Traits/ImageDecodingTrait.php:28-38 | system/src/Grav/Common/Media/Traits/ImageFetchPriorityTrait.php:28-38 | system/src/Grav/Common/Media/Traits/ImageLoadingTrait.php:28-38 \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":"system/src/Grav/Common/Media/Traits/ImageDecodingTrait.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a55a5086d4dde417cdf437685a40fdf6ef16df9b33d6a94522a1f757b88f154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): system/src/Grav/Common/Data/Data.php:108-118 | system/src/Grav/Common/Flex/Types/Users/UserObject.php:445-455 \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 \u0060system/src/Grav/Common/Data/Data.php:108\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":"system/src/Grav/Common/Data/Data.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d560e0257d24540af06edd7b9c5729b5675fca87e37e71370d579937b12237be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): system/src/Grav/Common/Flex/Traits/FlexCollectionTrait.php:39-49 | system/src/Grav/Common/Flex/Traits/FlexObjectTrait.php:50-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 \u0060system/src/Grav/Common/Flex/Traits/FlexCollectionTrait.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. 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":"system/src/Grav/Common/Flex/Traits/FlexCollectionTrait.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b60d447fc0b3440ddea889e28e8342a5b7b33fbab30ef0f9c7d49b1ba71b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:475-485 | system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:250-260 \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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5134c2ede9e67fc4994953c0647d3f922efb318761dfa1520ac8603c4f80e24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): system/src/Grav/Console/Gpm/SelfupgradeCommand.php:110-120 | system/src/Grav/Console/Gpm/UpdateCommand.php:106-116 \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":"system/src/Grav/Console/Gpm/SelfupgradeCommand.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0e1bdffd3eefc5060945935ab35217e8ba915145d8b02ec1a90c11a0923e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:102-111 | system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:127-136 | system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:183-192 \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 \u0060system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Compatibility/Twig3CompatibilityTransformer.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"13541531c90f33a835355f068d4b15995640806ed297ed3f18bb99e07159dc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): system/src/Grav/Console/Gpm/IndexCommand.php:256-265 | system/src/Grav/Console/Gpm/InfoCommand.php:146-155 | system/src/Grav/Console/Gpm/UpdateCommand.php:212-221 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/IndexCommand.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fa4eb0373d0bbc9845c5e2a06b03a411e69a057a15c861b767ede0763eefb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): system/src/Grav/Framework/Flex/FlexCollection.php:131-140 | system/src/Grav/Framework/Flex/FlexIndex.php:143-152 | system/src/Grav/Framework/Flex/FlexObject.php:164-173 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08462fd96723c6af1bd61760c7d5f0b120728b776508a9f36adb7d811665a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php:146-155 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1010-1019 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php:141\u0060 calls \u0060isAdminPlugin\u0060, \u0060getInheritedParams\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1008\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":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6e6b9d46338d62bd2e00fa1afce902c806f8b67950862234d2fb3f70279741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:806-815 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:154-163 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060system/src/Grav/Common/Page/Page.php:806\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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe85594cbaa2d33416c9747d9fa215696280343b3d28a99a1899e8ea1b396c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): system/src/Grav/Common/Page/PageIdentity.php:288-296 | system/src/Grav/Common/Page/PageIdentity.php:415-424 \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 \u0060system/src/Grav/Common/Page/PageIdentity.php:288\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":"system/src/Grav/Common/Page/PageIdentity.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f58664b7d36c93d2d99dd1f6c0e26d7cc33a7468d0658bea5e0010c7fffcb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): system/src/Grav/Common/Security.php:886-895 | system/src/Grav/Common/Security.php:915-924 \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":"system/src/Grav/Common/Security.php"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ab856f481b7b0bc8aa4d9deeb9913d0a67dadda816dc042b4310de60d197e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): system/src/Grav/Console/Cli/PageSystemValidatorCommand.php:168-177 | system/src/Grav/Console/Cli/PageSystemValidatorCommand.php:179-187 \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":"system/src/Grav/Console/Cli/PageSystemValidatorCommand.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a279b5ba50677bc3d93a61c58935a87baa829ff7f425ccb6bdc11fb6a851503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): system/src/Grav/Framework/Flex/Storage/FolderStorage.php:438-447 | system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:365-374 \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 \u0060system/src/Grav/Framework/Flex/Storage/FolderStorage.php:438\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, \u0060system/src/Grav/Framework/Flex/Storage/FolderStorage.php:436\u0060 calls \u0060assertValidKey\u0060 and \u0060system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:364\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":"system/src/Grav/Framework/Flex/Storage/FolderStorage.php"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd059d05a8d5afa03a790799b28f589a5c9d2a9e0b3bf2fcfd6e5aa8717d5b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): system/src/Grav/Installer/Install.php:1097-1106 | system/src/Grav/Installer/Install.php:1124-1133 \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 \u0060system/src/Grav/Installer/Install.php:1097\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":"system/src/Grav/Installer/Install.php"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70a4575feb082fe9ad0412019b811f6ad4ec249f56eb8dc0dcc6cf21a6300b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserCollection.php:82-90 | system/src/Grav/Common/Flex/Types/Users/UserIndex.php:138-146 \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 \u0060system/src/Grav/Common/Flex/Types/Users/UserCollection.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":"system/src/Grav/Common/Flex/Types/Users/UserCollection.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3def8559207ac4b9d2ad4c076045d2dc5c804b3a0e629ecac232f67d37632403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Common/Grav.php:354-362 | system/src/Grav/Common/Grav.php:582-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060system/src/Grav/Common/Grav.php:354\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, \u0060system/src/Grav/Common/Grav.php:595\u0060 calls \u0060registerShutdown\u0060 and \u0060system/src/Grav/Common/Grav.php:365\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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef079801f2d998b1453b3cb86b0ff31ea2e1e6d4ea526d8608b2785814f55d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Framework/ContentBlock/HtmlBlock.php:161-169 | system/src/Grav/Framework/ContentBlock/HtmlBlock.php:205-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/ContentBlock/HtmlBlock.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a071888d3f566728b04d25076c84153751e58c97fc2142967d2b8b256053cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Framework/ContentBlock/HtmlBlock.php:239-247 | system/src/Grav/Framework/ContentBlock/HtmlBlock.php:281-289 \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":"system/src/Grav/Framework/ContentBlock/HtmlBlock.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb794cc4b899d4550ed66cd1e391bc8bf110b0a0aadc8eb65a3912fa0cafb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Framework/Flex/Storage/FolderStorage.php:506-514 | system/src/Grav/Framework/Flex/Storage/FolderStorage.php:526-534 \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 \u0060system/src/Grav/Framework/Flex/Storage/FolderStorage.php:506\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Storage/FolderStorage.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fc01e36cc1d6da323409808845ac82e01d76d8af5ad45a1fe163251491b982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): system/src/Grav/Common/Service/ConfigServiceProvider.php:107-114 | system/src/Grav/Common/Service/ConfigServiceProvider.php:149-156 | system/src/Grav/Common/Service/ConfigServiceProvider.php:201-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 \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:199\u0060 calls \u0060get\u0060 and \u0060system/src/Grav/Common/Service/ConfigServiceProvider.php:104\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":"system/src/Grav/Common/Service/ConfigServiceProvider.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f2ecc1f9533ce8aecc1e826921e90047bb3d48ec62e3e69fd2719cf6b2d139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/PageObject.php:341-348 | system/src/Grav/Common/Flex/Types/Users/UserObject.php:661-668 \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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9b3328a24eacec1bf8df0a11f016e208920aca46b66f74dd9044301eecf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Common/Markdown/Parsedown.php:32-39 | system/src/Grav/Common/Markdown/ParsedownExtra.php:72-79 \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, \u0060system/src/Grav/Common/Markdown/ParsedownExtra.php:81\u0060 calls \u0060__construct\u0060 and \u0060system/src/Grav/Common/Markdown/Parsedown.php:41\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":"system/src/Grav/Common/Markdown/Parsedown.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee6a01cc835f1637764dcc6d00970738578b5e54b27452cfcbb0b6952feb474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:713-719 | system/src/Grav/Common/Page/Collection.php:725-731 \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 \u0060system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:713\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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741ddf8b694624aa8dc6119439784bd278d1f6bf85d3fafc9a9cc4fc2e4dac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:2302-2308 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:671-677 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060system/src/Grav/Common/Page/Page.php:2302\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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"951a1fa6c0c5cce8fe721d4f907b3b5c6b4a04ae5fdd0fd3260ebfd2d641ba58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Scheduler/Cron.php:538-544 | system/src/Grav/Common/Scheduler/Cron.php:546-552 \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 \u0060system/src/Grav/Common/Scheduler/Cron.php:538\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":"system/src/Grav/Common/Scheduler/Cron.php"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7083e825e32ff3b67e08034f1ea24dd72f0f3276b48a4353a71321806c71ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/src/Grav/Common/Data/Blueprint.php:230-235 | system/src/Grav/Common/Page/Page.php:1544-1549 \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 \u0060system/src/Grav/Common/Data/Blueprint.php:230\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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d470c40233f953d5cb91cf5553a3bb5bfb4f5d83d6116259815a713fb4e550c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/src/Grav/Common/Uri.php:1087-1092 | system/src/Grav/Common/Uri.php:1626-1631 \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 \u0060system/src/Grav/Common/Uri.php:1087\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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc20eb9bc147409178db59256f6e6634fcb88050f53834551a6c2617ad8bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:174-179 | system/src/Grav/Framework/Object/Base/ObjectTrait.php:162-167 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php\u0060 and \u0060system/src/Grav/Framework/Object/Base/ObjectTrait.php\u0060 as WHOLE FILES: 82% 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":"system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb817347d3f3c22d66e734bfe8bff1148ea79fdff459d604dd1b042445a3f346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Common/Filesystem/ZipArchiver.php:127-131 | system/src/Grav/Common/GPM/Installer.php:354-358 \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":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd61250e9d0330bff47e683b3c08e70d5b424449db598425e6823829d9b5c646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Twig/DeferredExtension/DeferredNodeVisitor.php:37-41 | system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php:49-53 \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 \u0060system/src/Twig/DeferredExtension/DeferredNodeVisitor.php:37\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":"system/src/Twig/DeferredExtension/DeferredNodeVisitor.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cbf0e7430ae8b02234bf912aedc5659a542a3cb91e427fba5645a5b35c50b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): system/src/Grav/Common/Assets/InlineCss.php:27-42 | system/src/Grav/Common/Assets/InlineJs.php:27-42 | system/src/Grav/Common/Assets/InlineJsModule.php:27-43 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Assets/InlineJs.php\u0060 and \u0060system/src/Grav/Common/Assets/InlineJsModule.php\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060system/src/Grav/Common/Assets/InlineCss.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":"system/src/Grav/Common/Assets/InlineCss.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9394e86e6e16d963bb677f7e12de8fc5b1596b7ba4b3bc499e6269e301d0d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): system/src/Grav/Framework/Object/Access/ArrayAccessTrait.php:27-64 | system/src/Grav/Framework/Object/Access/OverloadedPropertyTrait.php:27-64 \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 \u0060system/src/Grav/Framework/Object/Access/ArrayAccessTrait.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":"system/src/Grav/Framework/Object/Access/ArrayAccessTrait.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8365b47612bc61e1d80bf01f183f3b963ddbe2e417b412b2ed26634f155c3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/DOMLettersIterator.php:42-50 | system/src/DOMWordsIterator.php:41-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/DOMLettersIterator.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a2ef64e18c0c0f2a7ed7f2f2b4b577f135479e03c5c768789dfcd5ad9ea9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Config/Env.php:71-77 | system/src/Grav/Common/Config/Setup.php:186-192 \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":"system/src/Grav/Common/Config/Env.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"42111bd9deb879a58e168f7a87f7776a07fd60c51ae2e7f11d5cb5fac22cded1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/Storage/UserFileStorage.php:41-47 | system/src/Grav/Common/Flex/Types/Users/Storage/UserFolderStorage.php:31-37 \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":"system/src/Grav/Common/Flex/Types/Users/Storage/UserFileStorage.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"569d261097e6fad059a3b6afc12e74171cdab1196d73cb2caa70e741add6c838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserCollection.php:112-119 | system/src/Grav/Common/Flex/Types/Users/UserIndex.php:119-126 \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":"system/src/Grav/Common/Flex/Types/Users/UserCollection.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2113356b40ea7ec2f65725c7c1397a3450dd5190b039e05db52931c2943629d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/GPM/AbstractCollection.php:33-39 | system/src/Grav/Common/GPM/Common/AbstractPackageCollection.php:42-48 \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":"system/src/Grav/Common/GPM/AbstractCollection.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e4a1e6f60b4f55e7648509f60c09df591be22e61dbc633e8847b6808a85e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php:27-33 | system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php:44-50 | system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php:61-67 | system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php:78-84 | system/src/Grav/Common/Media/Traits/VideoMediaTrait.php:42-48 \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":"system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f5fac802b42dc84434aedb4ab8d007cb1e73fcba063f0b6f959cd8b39e8cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:471-479 | system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:212-220 \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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff39f8c701446486c4e1167bd494d3caabec5b59a62eb4f68ec9b090cc38054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:1767-1774 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:383-390 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"98172601e7592560ea5d87e456571c846c81d0bdba333a5ab0065143e6127eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:3275-3289 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1077-1091 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdf903258fca62409e2292812b2593fc0f4ab000dcc0202cd574cd62af15b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Common/Processors/ThemesProcessor.php:34-38 | system/src/Grav/Common/Processors/TwigProcessor.php:34-38 \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":"system/src/Grav/Common/Processors/ThemesProcessor.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe1e8c906fdecca25fc30783aea09d8aaf3b8f278158a959033967a27120048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): system/src/Grav/Common/User/DataUser/User.php:419-438 | system/src/Grav/Framework/Flex/Storage/AbstractFilesystemStorage.php:224-243 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/User/DataUser/User.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b1042cd733afdbfcc68cf06385f39858ecf3fb58b32311e399b4f3bf2b3874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): system/src/Grav/Console/Gpm/InstallCommand.php:792-800 | system/src/Grav/Console/Gpm/SelfupgradeCommand.php:591-599 \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":"system/src/Grav/Console/Gpm/InstallCommand.php"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d4af413fbb75fcc8a727d3bf8b0ad99a392e1128011102fa6568b4d12716e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:602-606 | system/src/Grav/Framework/Flex/FlexObject.php:1036-1040 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexCollection.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexObject.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3467db0a953658e0623ede6daa36580eb065f1068fecf684a500d0daefd967a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexCollection.php:692-696 | system/src/Grav/Framework/Flex/FlexIndex.php:920-924 \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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7636129a639e789981ce4225ddd4fef9a3c4273fd92db9b8ccdd19deca3b3322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:183-190 | system/src/Grav/Framework/Flex/FlexForm.php:226-233 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6bbeb74792b4f76d6ee8a2d5bfd5633c32c910c21147c0e6c71fb1cb0accf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:363-370 | system/src/Grav/Framework/Flex/FlexForm.php:453-460 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"43038ec93fe6fcfa7f64db589503181660aefef8cf66d979cb758c465a7e4f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Flex/FlexDirectoryForm.php:393-400 | system/src/Grav/Framework/Flex/FlexForm.php:483-490 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Flex/FlexDirectoryForm.php\u0060 and \u0060system/src/Grav/Framework/Flex/FlexForm.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 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":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ec1451595330518dbc6b7c64f17d8a84cb6f1c4defb95473b91f5453e649ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php:455-459 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:710-714 \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":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e2aadb0b4dbf968e26360f29e5b98aa5492da468a7f9c1c23eb961726e84f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Framework/Media/MediaObject.php:185-196 | system/src/Grav/Framework/Media/UploadedMediaObject.php:127-138 \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":"system/src/Grav/Framework/Media/MediaObject.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6afbb87423d434c571453994ed779e465f5efca3635e1c5afa0d846b8b00ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:51-59 | system/src/Grav/Framework/Object/Base/ObjectTrait.php:45-52 \u2014 before extracting anything, compare \u0060system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php\u0060 and \u0060system/src/Grav/Framework/Object/Base/ObjectTrait.php\u0060 as WHOLE FILES: 82% 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. 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":"system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"644dff590782d45f00991d3369a85d2217e46bcd42e8acd2ad37efc2606c5da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:222-229 | system/src/Grav/Framework/Object/ObjectIndex.php:190-197 \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":"system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"206309780c1aeb352299c682bcf022b1379328f70ca7b3d21b914c77f68c601b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/src/Grav/Framework/Relationships/ToManyRelationship.php:135-140 | system/src/Grav/Framework/Relationships/ToOneRelationship.php:110-115 \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":"system/src/Grav/Framework/Relationships/ToManyRelationship.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"215fc153bf299797ebf3c96b76855edcba956e1fc4451c17d2283733577de0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): system/src/Grav/Installer/Versions.php:253-264 | system/src/Grav/Installer/YamlUpdater.php:404-415 \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":"system/src/Grav/Installer/Versions.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe47870f8ca6b27bd041b36a6bd3d2ac6a107e34700b58123b9f998da2de64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Users/UserObject.php:1018-1025 | system/src/Grav/Common/User/DataUser/User.php:446-452 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc334e85fed4b3761ea4921cfdff1905dd0ae972e7e637d27712b3768b54d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Common/Page/Page.php:1796-1800 | system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:412-416 \u2014 before extracting anything, compare \u0060system/src/Grav/Common/Page/Page.php\u0060 and \u0060system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5947df596b50db942869b1b59d99937df5645b430e8ca8fbc0bba01b9ab1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/src/Grav/Console/Cli/ComposerCommand.php:26-41 | system/src/Grav/Console/Cli/LogViewerCommand.php:29-44 \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":"system/src/Grav/Console/Cli/ComposerCommand.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb175041cb48622a96d7bbef5f30b4e61326b45d5acba49387e68504c0a50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): system/src/Grav/Framework/Object/Access/NestedPropertyCollectionTrait.php:27-34 | system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:264-271 \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":"system/src/Grav/Framework/Object/Access/NestedPropertyCollectionTrait.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1c1a1bc3a77c8db3a7d54edc821256465b152dd49f5b2fed1da518fdb2d0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/src/Grav/Framework/Relationships/ToManyRelationship.php:252-257 | system/src/Grav/Framework/Relationships/ToOneRelationship.php:200-205 \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":"system/src/Grav/Framework/Relationships/ToManyRelationship.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b8567c2def40cb213dcff894bca5a1b6b441082d6a968bd0ef71173caf6555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/src/Grav/Common/Flex/Types/Pages/Traits/PageRoutableTrait.php:86-90 | system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php:507-511 \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":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c229b543b92bdc026505888d20da7001eed2375be260dae172bd8cb05a3e7eeb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlexPageObject (LCOM4 15): FlexPageObject\u0027s methods fall into 15 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 15 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Pages/FlexPageObject.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbe695f824c68bfa2df5134dca7e4834ab55547410cae6cc32f58dba3c27302"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserObject (LCOM4 12): UserObject\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e37aa0063e3892f33ec6879f783e90596272339451a1f4a4a53a7007b030ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Grav (LCOM4 8): Grav\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Grav.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"119e81a7e32ca8a6a2b8a118c737c9b8cf108e7bf3d65fb466aa757b5b2c4342"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ParsedownExtra (LCOM4 8): ParsedownExtra\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/ParsedownExtra.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"493364278c8b4959fef955b73ff4da1bd1449bd28868146a481c7f2ef61e9e09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlexObject (LCOM4 8): FlexObject\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b87ae8aa0455b7da542c116f697a08f7229f511b3021d6f371ea4e3c3e4fb3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Blueprint (LCOM4 6): Blueprint\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"659fc67b927d0942cde1fb4365f63693095f09f8ca716e02d615cd3befeae053"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Parsedown (LCOM4 6): Parsedown\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/Parsedown.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7ddb1fa5ff1d9070166ed859f25dac0bc9af2f113838d056ce3b7252b2bffa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractFilesystemStorage (LCOM4 6): AbstractFilesystemStorage\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Storage/AbstractFilesystemStorage.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78afad9b26ecc3043a2d5ddad9966e460d48b6292d673b208c8da8c15705ac4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlueprintSchema (LCOM4 5): BlueprintSchema\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf1ecb5a4711b715f2cadffb748c980a61fea218ae9f870725b57d00449e111"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PageStorage (LCOM4 5): PageStorage\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"935ec1d8631385c6a39fd6bee32a63c0b9fd5c0b571a2043998e82d571f6faad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Page (LCOM4 5): Page\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdacc430489ca4b1cd0a50b12f551d187e09c502f1221dd89bfb6593757367f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LazyObject (LCOM4 5): LazyObject\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/LazyObject.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d490f70554799756795c5ccc88a48ac9afbb6eb741ac4fcd566a9abc391034a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Languages (LCOM4 4): Languages\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/Languages.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"372de6f188bc94c5d97049ab370e653087d3380b83a46e8283bd3c9489da1ef2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Scheduler (LCOM4 4): Scheduler\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cb381e10035186ec777f9a7dd5fdc6eaa77647def23d7621598f49012b37f7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Uri (LCOM4 4): Uri\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Uri.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f8e8850ac32768b21d4da2660de1657718a6712fa0e8bb915c22c1a92168fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConsoleCommand (LCOM4 4): ConsoleCommand\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/ConsoleCommand.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76c13f833d85ba4360088b510a86398c850213ab33ea5aa0b66e7c0c1caa12d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GpmCommand (LCOM4 4): GpmCommand\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/GpmCommand.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d31ae14a708307c5fd355b86acbb7e8f3053c140f1393d86898e82f1071c1a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GravCommand (LCOM4 4): GravCommand\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/GravCommand.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0260d4efc63999e80563570fdc512f7552e458fc1f62efeb228186dc4e93be"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlexDirectoryForm (LCOM4 4): FlexDirectoryForm\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5a8d38458a289500a84bcdc7ce854510605e753ba5e64569f023bb22b3c9bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlexForm (LCOM4 4): FlexForm\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexForm.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9826a9a5a5cbe65c96edced4fc7a5040d3b651022af4fdb07bbbec5223db3900"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Page/Page.php: system/src/Grav/Common/Page/Page.php changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in Page.header at line 569. 5 of those changes were fix/bug commits, and the other 19 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Page/Page.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":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf09e572dbfa0a7b512ce743e5657a7a367564e5eeec99762fa5c30b3e04df75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Page/Pages.php: system/src/Grav/Common/Page/Pages.php changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in Pages.recurse at line 2688. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Page/Pages.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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59555468dfa44a65fe216a4261a077d8a049114120476c08625c1a02e49a4dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Grav.php: system/src/Grav/Common/Grav.php changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Grav.fallbackUrl at line 998. 3 of those changes were fix/bug commits, and the other 15 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Grav.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":"system/src/Grav/Common/Grav.php"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a01a0f072598a68682b4e3f8a48ae5893c8ca888c08b7056afd9347424c42d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Security.php: system/src/Grav/Common/Security.php changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Security.detectXss at line 278. 4 of those changes were fix/bug commits, and the other 12 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Security.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":"system/src/Grav/Common/Security.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec74a24cefba7c05a8963847d0083125aca0a8e006f39d7a720c3cbcf48f27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Media/Traits/ImageMediaTrait.php: system/src/Grav/Common/Media/Traits/ImageMediaTrait.php changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ImageMediaTrait.derivatives at line 263. 6 of those changes were fix/bug commits, and the other 12 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Media/Traits/ImageMediaTrait.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":"system/src/Grav/Common/Media/Traits/ImageMediaTrait.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dfaca535edfd4956f7a75d7cbf15d02a9d961bc019c6c7cc9a28cb828811e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Utils.php: system/src/Grav/Common/Utils.php changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Utils.url at line 81. 2 of those changes were fix/bug commits, 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Utils.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":"system/src/Grav/Common/Utils.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b602fe028aea8303f5f65202e5a618e9bbc800ff15903f8d3e306b37bb997c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Twig/Twig.php: system/src/Grav/Common/Twig/Twig.php changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Twig.init at line 130. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Twig/Twig.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":"system/src/Grav/Common/Twig/Twig.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"56634d751fd8d32039075c2b60e6d65c789c980c1eb358733b4a483c0718de02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Scheduler/Scheduler.php: system/src/Grav/Common/Scheduler/Scheduler.php changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Scheduler.runJobs at line 383. 3 of those changes were fix/bug commits, 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Scheduler/Scheduler.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":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e109fb5aa3bfabc0daa69a385ae3d36479531c5c205aee85fa44266840cc07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php: system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in PageStorage.getObjectMeta at line 631. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.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":"system/src/Grav/Common/Flex/Types/Pages/Storage/PageStorage.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd30cc51f722e8cf005b7473d1b816c5ba5018efdc1e8dde9384b52b6fd9121f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Page/Markdown/Excerpts.php: system/src/Grav/Common/Page/Markdown/Excerpts.php changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Excerpts.processLinkExcerpt at line 98. 4 of those changes were fix/bug commits, and the other 8 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Page/Markdown/Excerpts.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":"system/src/Grav/Common/Page/Markdown/Excerpts.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db50added502d426d9c005de0eb7430585996aab8245b5a7c4dcfd94f0b2e0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php: system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in PageContentTrait.processContent at line 715. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.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":"system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"72731d84e6daa3fe153738121b59cc933e83f7895e085ce10ff4b79ad600f522"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Flex/Types/Users/UserObject.php: system/src/Grav/Common/Flex/Types/Users/UserObject.php changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in UserObject.setUpdatedMedia at line 1047. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Flex/Types/Users/UserObject.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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c8d6be4e5c66d4c700dce7a1595187896875f95eb422191f55f4c1ad4edc54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Service/PagesServiceProvider.php: system/src/Grav/Common/Service/PagesServiceProvider.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in PagesServiceProvider.register at line 34. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Service/PagesServiceProvider.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":"system/src/Grav/Common/Service/PagesServiceProvider.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfd4cdd129e16f5da62bf2684a80de41d43ee47dbc0220504badce7a86b6d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/GPM/GPM.php: system/src/Grav/Common/GPM/GPM.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in GPM.getDependencies at line 1169. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/GPM/GPM.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":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0939f0d4ff2d878535363313084fb3c82cd423cdb1541a5721eb72c0b1e39b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Session/Session.php: system/src/Grav/Framework/Session/Session.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Session.start at line 238. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Session/Session.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":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3794b9dbdc70faad9c298115cf2a42c706458b897aecbe95db115045a6200b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Debugger.php: system/src/Grav/Common/Debugger.php changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Debugger.debuggerRequest at line 356. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Debugger.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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb40eb7ae5b36dc4e98ffa9b16b0ebed473227bc4c08223ceb10e22ecd45a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Uri.php: system/src/Grav/Common/Uri.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Uri.createFromEnvironment at line 1324. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Uri.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":"system/src/Grav/Common/Uri.php"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47cb23029d41fd8469154c4441774be322b97b18be72bd86a36fc8aaa89512b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/File/CompiledFile.php: system/src/Grav/Common/File/CompiledFile.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CompiledFile.content at line 34. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/File/CompiledFile.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":"system/src/Grav/Common/File/CompiledFile.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3e660df324deedbdb2f0cb222773391b8d2782fcb7e6f2d5f9581a17a6344b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Cache.php: system/src/Grav/Common/Cache.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Cache.clearCache at line 689. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Cache.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":"system/src/Grav/Common/Cache.php"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7fdb3479e5f2272c7c8ff48c983f78f261a9f5fdea0549f9c1510ccdb60ee3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Service/SessionServiceProvider.php: system/src/Grav/Common/Service/SessionServiceProvider.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SessionServiceProvider.register at line 35. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Service/SessionServiceProvider.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":"system/src/Grav/Common/Service/SessionServiceProvider.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb651bdcd22457810afa9503e462467406f85dc31b3d3b3fec32f10e43d645"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Page/Media.php: system/src/Grav/Common/Page/Media.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Media.init at line 129. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Page/Media.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":"system/src/Grav/Common/Page/Media.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf192717be1986a5cd425d3f51317e2e03947ee066aac8699f6fe614f7c1eac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/GPM/Installer.php: system/src/Grav/Common/GPM/Installer.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Installer.unZip at line 187. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/GPM/Installer.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":"system/src/Grav/Common/GPM/Installer.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"be728024d9902a557866e1e742a58879a3ccf3c74583d8a64ab7275e8edbe368"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Data/Blueprint.php: system/src/Grav/Common/Data/Blueprint.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Blueprint.extend at line 326. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Data/Blueprint.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":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b85462ea4825d555482127389eac792e461fc3ac228c046bbebeab6fb9d0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Assets/BaseAsset.php: system/src/Grav/Common/Assets/BaseAsset.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BaseAsset.init at line 94. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Assets/BaseAsset.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":"system/src/Grav/Common/Assets/BaseAsset.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec139184614bc967b4b4a04dc6c465f3e29ad4a3544e08a6f633106e5de6631"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Data/BlueprintSchema.php: system/src/Grav/Common/Data/BlueprintSchema.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BlueprintSchema.filterArray at line 306. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Data/BlueprintSchema.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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bf9e5472605dc9ce929c158678580f3b8ac864979e60250867397bfd773ac3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Flex/FlexDirectory.php: system/src/Grav/Framework/Flex/FlexDirectory.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in FlexDirectory.loadObjects at line 698. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Flex/FlexDirectory.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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b8628a17273c67459ede27df5cf64912a81b8130a5ffea60fe58a1965ed97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php: system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in PageRoutableTrait.url at line 126. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91e83e81ce268db3dc8b583ebed88b660e3909d0e3d4b04c92c9ad27b319023"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Common/Config/Setup.php: system/src/Grav/Common/Config/Setup.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Setup.__construct at line 198. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Common/Config/Setup.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":"system/src/Grav/Common/Config/Setup.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2303d5ab01018ee7c654f72b328c7c75da9a3ee12f91b42a0262b9b4b5e9e77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Console/Cli/SchedulerCommand.php: system/src/Grav/Console/Cli/SchedulerCommand.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in SchedulerCommand.serve at line 78. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Console/Cli/SchedulerCommand.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":"system/src/Grav/Console/Cli/SchedulerCommand.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b6f0b4325fb7a0f5df44f15bf6320064e0ab3395392a0acc3f063895b52f3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php: system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PageAuthorsTrait.isAuthorizedByGroup at line 170. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.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":"system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aee61ad91051b1e96484695e623baf1030ad3e08dcea058529c1f96be1034f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php: system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in FlexMediaTrait.setUpdatedMedia at line 367. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.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":"system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89e6101b0a69fef8c561a4c80462ffb7407eb206aa5eaed988e200342878c13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: system/src/Grav/Console/Cli/CacheCleanupCommand.php: system/src/Grav/Console/Cli/CacheCleanupCommand.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CacheCleanupCommand.serve at line 68. 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 13:29:03 -07:00\u0027 --until=\u00272026-11-09 13:29:03 -07:00\u0027 --full-history --no-merges -- system/src/Grav/Console/Cli/CacheCleanupCommand.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":"system/src/Grav/Console/Cli/CacheCleanupCommand.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b956ab4610b5922ea1d1360389f49b1ed444b1e4208ed1b6802aea461275a09"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 110 significant file(s) lose their only recent owner: system/src/Grav/Common/Page/Pages.php, system/src/Grav/Common/Page/Page.php, system/src/Grav/Common/Security.php, system/src/Grav/Common/Twig/Extension/GravExtension.php, system/src/Grav/Common/Scheduler/Scheduler.php, system/src/Grav/Common/GPM/GPM.php, system/src/Grav/Common/Data/Validation.php, system/src/Grav/Common/Data/Blueprint.php (\u002B102 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56bf37268feecb9017a0a9a4cd8cb7cd108d1893b84d840debc072eeae7264a8"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (114 single-owned of 293 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 293 of the 539 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: system/src/Grav/Common/Helpers/LogViewer.php, system/src/Grav/Console/Cli/LogViewerCommand.php, system/src/Grav/Common/Page/Interfaces/PageCollectionInterface.php, system/src/Grav/Common/Media/Traits/MediaPlayerTrait.php."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u003C- \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/unit/Grav/Common/UriTest.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9662fe251c44c891a4551a20da0fd9324fd6f7fb72042983f212e7008ae8a4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u003C- \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/unit/Grav/Common/UriTest.php"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b3f74390c1f29a80cd2116bc5259cfa789b051541bbd553dd5a5052002dea5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u003C- \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/unit/Grav/Common/UtilsTest.php"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d70914c425ed586fbca0992f25125f1da21340232e10734ab54b11c0827df3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //\u0027addNonce\u0027 =\u003E \u0027%22%3E%3Cscript%3Ealert%3C/localhost/script%3E:/nonce:{{nonce}}\u0027, // FIXME \u003C- \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/unit/Grav/Common/UriTest.php"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493e844b4db4018b698d3cae62205b3dac0b689c74476014e6ae7edd683b08f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //\u0027addNonce\u0027 =\u003E \u0027http://localhost/something/script%3E/p1:foo/p2:%22%3E%3Cscript%3Ealert%3C/nonce:{{nonce}}\u0027, // FIXME \u003C-"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/Grav/Common/UriTest.php"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7268610507443d24109e7622ad4f7a33fe8b3b2553bfb24c1543e0d70a9618dc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // self::assertSame(\u0027mailto:[e-mail redacted]\u0027, Utils::url(\u0027mailto:[e-mail redacted]\u0027, true)); // FIXME \u003C- \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/unit/Grav/Common/UtilsTest.php"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b755aae2ce19805477db13aa81840778340d8af1f3af54988ce5caf55d4c9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: session_create_id() segfaults in PHP 7.3 (PHP bug #73461), remove phpstan rule when removing this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Session/Session.php"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3035a5741d64e32ed827065ebe57e1721542820d312095a15482b71c9f1fdec3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This only works for images \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":"system/src/Grav/Framework/Media/MediaObject.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"337e5a1b0c5c7bf1514410ead56a55aeeab16027d981ff410cde7b320da11fba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove hardcoded logic \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":"system/src/Grav/Framework/Flex/FlexCollection.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5e710cecda0c2454ddfc79fe8f850e9d943e0f61913fbbc17da04d44c91298"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log about the issue. \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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ae304eec75997b7ee932ba3db8791f392c28238da82ae8525904651b59c393"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log about the issue. \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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3096cd5390244fe1ba757e3b4133d0e3431b0125aa9f78028ef06898a1a4ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: media 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":"system/src/Grav/Framework/Flex/FlexDirectory.php"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9125582b24061c3890e31f766ec65eb25e3329eeb4e8388aaa3df548232305fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update instead of create new. \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":"system/src/Grav/Framework/Flex/FlexFormFlash.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae2e4581730d34b877d02e70387895221a511ea464aad634ae792bfc874be2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log 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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb19f69d36d7dcbf18479e02e12c5105496751b29bf7a1714aba4c46494dab9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement findFirst() method. \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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fefeeb9842ac10363960de7be8e0f21939a1c808e018c19b9d5981eaf4ce21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement reduce() method. \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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"74489231fd54d8c9da5e8502e17fb5d54421386590e7d1ae48b43507d742ba2a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: For some reason locator caching isn\u0027t cleared for the file, investigate! \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":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead8399b5e11eb77e6ebd1e83947c4a1da5dced84dd458e1341930b5f56ea656"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Not needed anymore with flex users, remove in 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":"system/src/Grav/Framework/Flex/Traits/FlexAuthorizeTrait.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99cf25086b1b34606143a50ed15b884e629774c0229f0e6add2fdbb269375cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: start using the new file classes. \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":"system/src/Grav/Framework/Flex/Storage/AbstractFilesystemStorage.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4401c1bccc9db949752ae0ca3fbd37fbebb01362a546c0dd00e70a648308ba"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"291d5c9b16aa4284f29b657c51a93a0f310be48d1d5fd76fde3caea95b46072b"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"46acc57d629b8b22f9fa9118d9fc56fd12f21c3e0f4fda53429882a26f7aeaea"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"78177e4df39432c3e591122ee651625a81962019cf1e7edc54cc4af832dbd8e5"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c287be8f9dd322b7198438470e3b76d7316cae0a16f3195c830f3790feab6224"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"2324b54c00b361746c62ddb4686029a9b1c2d0be391c473475946b40671f8972"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c516b449b232122dcb35bf163f20be6dafa30ed0fbd2f356992610fe6bd691a8"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b915e53e67c024736abed533a3f8be7a2a52fc88ceff53f717386dfe6fc310"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1924429a086e6695c13938c1d77e6b3f2550489c006c91c4a37fa35053c01b37"}},{"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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c999dc5b85a5debdc4c8c8ed720a385c4bcca276b101ae6f36eae9977b3e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: better language 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a4cc5c94e78d70e971f42800cc201bd110a10d74f782afc08f7f871260fe37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not the best approach, but works... \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":"system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19eebb9ec95818cf5a8d982db5e88b9205d9332a234d16b672a9b0b546888a6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: only published is not 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7364e09eec2dca028c0caa8da7bb86bedccb43e2462e70a05b67b0bd32b87dd2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: only published is not 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":"system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3369050ee006fddc8597aa30c8885c33674a0a32a92770554db2292546c1cdd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add multipart download 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":"system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e26e6cd2d4424ed80e22636f183c6cf0f114db2bce7e327e37d580d3b37882"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve error page \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":"system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d138f6ae205faedbd88a5c1514737f71b3f526f43a1f6fc7f34ea07a6620c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for image/* etc \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":"system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d3d5d9e55900c62d18647e89d0cfc41197e19e990fdcf614a88cf07fa11c9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make configurable \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":"system/src/Grav/Console/Cli/InstallCommand.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"19364ad752a25121a64541748d0b7f6412029bfeb304b195f38b12ad4f633ffc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when upgrading to Twig 2\u002B \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":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"85907830a1d38a33ea5f7c016492258c2cb5134bad84f675220d94aa0911a6d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no longer needed in Twig 3. \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":"system/src/Grav/Common/Twig/Twig.php"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e35feca5bc20ae6670f02a0698ddaeb1db93e06e9311cc4343f47a09ce178"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove in 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":"system/src/Grav/Common/Processors/InitializeProcessor.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"893741abcb57a1708a630b0720f8f69d68f7e97d65e18f76074fa663c2546c83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove in 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":"system/src/Grav/Common/Processors/InitializeProcessor.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"28409f4fb0d0e40654e8ccf12a9f28906b5e9067af01e5dadde6eaeedb0eaf41"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Initialize session should happen later after plugins have been loaded. This is a workaround to fix session issues in AWS. \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":"system/src/Grav/Common/Processors/InitializeProcessor.php"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6a96c035a8c48c5d40a53707c925eee995243a8b2d9f78eb9149c70753e8fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: right now we are just emulating normal pages, it is inefficient and bad... but works! \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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a8ac4879906f62682fe66ddf71961685d7bff8e0ffd86bc823ed79b6daa512"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecated, only used in 1.7 betas. \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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3defd63639b9f0eb025911d633e7a740d1bd3a8282b1a55de1eabf9d50c9634"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: still not perfect, will only work if the page has been translated. \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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c443a7dd0b9a3b464625f0da7ed3eca1c63e7c52609a5fc06805ead1379b1ce"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: ... better... \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":"system/src/Grav/Common/Page/Pages.php"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f6247bedf177d74cab6fb125be50c35b387bf7f1bfafda87770cea0fd73807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use own language string \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ab0d33e14a541b51d1adc7468125bfd4ab5f1a8d38731a4246fb73e8f5aad3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"507025f6839a80a21d1dd2b644ceb1fb29988839a464207ea527074eab1d20df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bda36ca0a4640460b293ba20ab7a0899ebbe4d5f042366080ecd454cc29eb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This overrides metadata if used with multiple retina image sizes. \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0802cdaf9f4968c863ecb0364228652ce5cd8e6514b20c44130847b23595523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This overrides existing media sizes if used with multiple retina image sizes. \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bf3c97f2c476acb022a99bc672cc8a7283d390cc888a0b89dbf8726c836c62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate error message \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e7b0cd403eb2cc089045237dec4ce649892d5bc1194f3170970b97b098c87a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate error message \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"349161f6abd5c3d51441617ab10930f890a2dcb202a691f4c2886acf8be5ecb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate error message \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4efba6db5f5c6e912ca2bad02b72a8024654ce57509aa5993f05c63389cd5dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate error message \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e0d106c5ccb0a2c2bea9e99d2f16c6bd13ec95288205e9525821f30986b02d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: translate error message \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca646fef587de16829045a479dab59c1f44514fcc4586dd1c4ae09ccdcd8fab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add missing logic to handle retina files. \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":"system/src/Grav/Common/Media/Traits/MediaUploadTrait.php"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723b2e6ae0b0d543c64dcd006d4b5b2de0a9766c324d586371588da2c732495"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Following check flex index to be out of sync after some saves, disabled until better solution is found. \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":"system/src/Grav/Common/Flex/Types/Users/UserIndex.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad7e6e88d2e291f00cf1d823db93965d92aaa0d72dadadabfbc787b77206e23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Following check flex index to be out of sync after some saves, disabled until better solution is found. \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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef5a9831376873de5fb07f6a71d530c76e891ecadac2897b41e7dcb95dd75e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We may want to handle this in the storage layer in the future. \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":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb47b2c04e31161cd183c6a4364b57b2a178e860a8f4065c8881140afcdb446"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: With folder storage we need to ignore the avatar destination. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"d404c26e2cfe1fc8b769d1683342e3289ace6b961c00ff22943664c763a37515"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: support other keys. \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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c72a06876f6597f85410f925621d44bed79674b0a81af4cd1fb5b4c6d0368"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this method does not rewind the internal pointer! \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":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075b85a519bf913e066452c77421e6c3f1271fcef764de6ab905f750a2debdb"}},{"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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c164efb947a8a08093568cde37c1c537ececa8ebd84995a5c0d9996602d6d"}},{"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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c585f150af352f2b57a24500bf2ad9bed5ddd77cb5030e201705edd8e9d50329"}},{"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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"853454f97f8a86c51ea71f7ed495558a4aff3fe77ce225f54571846010d78c60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: all these features are independent from each other, we cannot just have one icon/color to catch all. \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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8896a8b3095690514abe6d6eef09f0b8c6be177b10615b1d23d6f4f615bef7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe icon by home/modular/page/folder (or even from blueprints) and color by visibility etc.. \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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c1be2b42fed36f39a08ea0e9c3c08f727e1918b89f9367d22f783e76397473"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add 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":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcc0b53986dc55d4e0983c840aed4c7531c2cc90029f4c271b15ce0cec0bf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should not be template! \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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"601ddd933f04eafd6e78dcc0378368a056aa768aeaedcb3db6b290519677d400"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make sure that the page doesn\u0027t exist yet if moved/copied. \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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"20854da3ca76f1e0130d7bc6a1fca77e0a87cce7c7b25e5ba09b236845de108d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We need to move raw blueprint logic to Grav itself to remove admin dependency here. \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":"system/src/Grav/Common/Flex/Types/Pages/PageObject.php"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6d35eb8858cdbca05d35af7a0859e633ec37098f7abf021ab7a685a92aece1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: use flex, also rawRoute() does not fully work? \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":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"27636ae61b3fdb56bf03363d3746868aaf5f0550d9e10fac5e1e3f1969a5ab50"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to get the same result as with old pages. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"112e9e0974131dfab44799cd8bead056e20163c349b5a4aff055dc2e90e5e1fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support to collections. \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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e655d796b56948aa808bd6e72a74eeb24b6e9cad530726af2c9e1ea0b68c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We need better overridable support, which is not just ignoring required values but also looking if defaults are good. \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":"system/src/Grav/Common/Data/BlueprintSchema.php"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"af61bcd75d1a0ba1295ef64f23f0bafd2defa5f1ee3dc404e5806000ecfaa2f3"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"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":"b2bab46a244f0d2ca6ad8abfc4db3f47d82620fe9d3fbc80ac719bd4f2b491b2"},"properties":{"commitSha":"cd3fd5a7b7ffaa7bee6cd09b32f900f644b41649"}},{"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":"6e246a86c622df402601e7f709d975d4140ef9648e1de6c571c0bbe9ae691315"},"properties":{"commitSha":"9adf81294dae55fdefce09981f82fe99cfa4ddc5"}},{"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":"18b19f247152b5c87af5bf97aaa161568436f75019f31efd50a5da36ae6eea4e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"341e0e23b7bfe280e79b4e96681c71055dc357ed494a527ec241e9a29a64801d"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b2994428b295fed4fa5c3aa91ca6abc5013a9b34d04919e47c9d2bbd498bb7fa"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ac0df8eb3dce409e30a23cad204769b6819d318d70f8fbc44010104762fd64a5"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"80b3ff6629c1614527cafe32a9f5fd2ecdfa2480c3850d5e81b4d623c98982e4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e0e1740e0ca9e262556ac6c6103cbe08d2e3f7ba41438f6529c19aafd8fabdb5"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f74cd51b6db39cb153c11c7945380eaf4e9aa9fc4af2a8c6cbdd0372e976cc8d"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"67e3f72c177cba537b7f030e84043bb13ce4b0c1a199be717d11156dc03da969"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ae435106449480bedaece298dfaeb73e469443eb934f9d2648cd6606a4517f95"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"aa20ae62efbf08e2268476f99ca57d16a0d42118dc8db898f46407f3f7d50d3e"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"260885a079a2f5300509a06c08954fcffd0d73d807c8a5cbf01c55900d8536bb"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"12d4b977b89032a305b2e9f365a603ac9e627f1cdf3bf233063153609c6ef8a0"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"61882cbe17a694c2e461787e99cfb9483432db7ddc279eb4a6c065b62b30c21c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6519d157bf2bccbc1df44dd6e60f1782f94b29cde10d6a6028d6a49fa5d5435c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"10c56a38858357ca9e1678c77c6b09a50a04b3f7d5c5aa9d458ffd15a74a7c6a"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f59b8a83fe4db5d95cdda29eb7db13adea9f8b2f574e5eddb03417851bb3c67e"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"49e9df15abb5f92add0830591936c7eef68c563b22208cadcbe80ba32728ab96"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d2bbf4db0c0e09606afc98b04e17df3bfe887cdfdd807d54822b0c9b8316e441"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0957cc7f47d1931c56662464cd3ce406765637560a7f96e94ab37853c0558962"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"412c1645b34de4d8b933f74d9d2eef104e2079eaebc525a30b1aab3b7c658fb1"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3f98281cfc60d3bee1072250d2e03e99ea82b9481d7775fee4f581de842c6353"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c6f69965917ea5bd053ae8202bc67d44f9076acbc5d12f8afc46b667ec70ed0d"},"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"1ea978a064a5205b89c055c0dadfde287e3b39c248cb5ad467b7f1de56bdc56d"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"eb1187ef23ecf4aebbf3f534e8aa5d638c6c7ce7ccc44d6118e7e9c4d19f9afc"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8e31db01254bd917d5a5cfb56b252dafbe021095607ceb2fc8824c62d1b91772"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"20a8e7165c5e91f4f9680e14d3eb6157678c413c5db6828fb0602d12e1259a1c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"95873ce35df1f64e1fa8781607909a505e4ef82e504b10dbd640b9eaed7ca92b"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6c5d44cedf5a910d3406e17501ea3d402d66890d0a2a1cc9fc64da5aa3a2c6dd"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"23088fd53304cc39c0338ab43e4e42a8495afce264646edd42a407d74831f1c2"},"properties":{"dependency":{"package":"twig/twig","version":"3.x-dev","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"35bd835fcf003cf3a7b49b86bdff9a197a4b7f04ac962e67f6482102c80b3d29"}},{"ruleId":"D31","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":"0dce5c76b4d2af805a1c14a2898709442a23e84a1900331e33673126123a6e00"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1ff66fb5adfce19822f6ee60eed2056f9f84bb453d61e403ed05e2bc7b74cdfc"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"fe67381a1731e7879f0699086f3695bdcac724a7480a76fd1b9b5f3976fc7fb1"},"taxa":[{"id":"CWE-426","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-693","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"system/src/Grav/Framework/Flex/FlexIndex.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8f34d721d48076d1503f3d197fc1ba6bffd4602b1ad5db5365d42a3d7c0505"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 107 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: system/src/Grav/Framework/ContentBlock/HtmlBlock.php, system/src/Grav/Framework/Flex/FlexDirectoryForm.php, system/src/Grav/Framework/Flex/Storage/SimpleStorage.php, system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php, system/src/Grav/Framework/Collection/AbstractIndexCollection.php, system/src/Grav/Framework/File/AbstractFile.php, system/src/Grav/Framework/Flex/Flex.php, system/src/Grav/Framework/Pagination/AbstractPagination.php (and 99 more) (108 orphaned of 293 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 293 of the 539 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":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/ContentBlock/HtmlBlock.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac4766fba7c6562f4ef255c7787c75a01bdc6d5b99064707a882072186eaf8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexDirectoryForm.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ae8111641f298fdca9b124dd87f3f2aec65635ee2a9700f610290b721f18fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Storage/SimpleStorage.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743b12b9663a7f262cf2980e75283045866c01658fe061a5fd282feb67dc48bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d04d86006e42d518db708ea55b90362e6fefcba8fc4322f6ed44a85ac0c017"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Collection/AbstractIndexCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42041a849a91eea1f76a50b7ef91009db95961c9be03e1c39abca1e81bf9da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/AbstractFile.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a32458b1d6f96585877abd47b4e598a439007410d98d52a9da50f62e58604"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Flex.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e59f2a59c3a5934d368e3742895a7a34f7bc7a92254aa02dafbf9c919543189"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Pagination/AbstractPagination.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbc204ed3caa727aab0adb9eb2a18c6ba8e1169a1b2ade57d3e9bcc0a74ddde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/AbstractUri.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c0cf7b50a89bebbca1383c288380ecf2a23e97bff917e0186581d5dea46855"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Route/Route.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d95073999f9331a0a2cd0730bf0696ff1e1bea4fafa1457511645c12e0273b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Cache/CacheTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1550f0cc3bc1819f1267a41045f0c3fc3aae1ce8ecf60f0db8d1927f09bf4436"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/ConsoleTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b5c2a286418ef9e052f2faa2160b78a3fb20722ca0ee895265ba56bf7e93ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/ServerRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcda291dd910f50565660f118f6c120bec98577a66a6584792a1fde72b3ebf2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Filesystem/Filesystem.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"842706cad3917fee7090273c5686c928bd1e7050cc2f0f20d6754e9094097cf3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cf4af9519975dbf6b0fc652c031d47b6f307baaab016ff1957c79c9a4ae191"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Cli/PageSystemValidatorCommand.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9a2cdcb16d1c253c402c7fd1a688a11373eeba1a083a2f36fc150f62e116f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"761aa3f62a6b2cbbb875dae8a67fb0663f521af4061072c1d8ede06e9e00f0f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Cache/Adapter/FileCache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e6a6c07b5f09f173c8fa27faab659e933d2f101aaf1dc3627257cfd487c2b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/ConfigFileFinder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c2f76ca81a8bbed8db1aa181bc9610ac0279c5a95a34b603f6b4513c51d7a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Interfaces/PageContentInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc6d6c3f3c7b6d95e437670632d8f73619560efa353e5f208bc9df7f907469d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/ObjectIndex.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b55784a9c9aeef100a14becbbfbb579f00f002e85809fbb77a6ccaa0d5d298e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/Versions.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899699397f64ea7183d7e86a0fa562440dcac42fe5886514da97f83f9902190"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Interfaces/FlexObjectInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11a9f511c5e3d5d181fb52979e5f5ce6b2085760b8156b43415b5e4af7f1ca7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Response.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92339649b46f9eda9eeacf5da7963d9e27ada2ed5c74f92be2d25dac3d4db14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Collection/AbstractFileCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244165ea695c42e7b2efd1c2e5f48a88500392f819ff3b8bc742aaef11abc183"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/ContentBlock/ContentBlock.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9726b8e0e1c3ed720f6a875870e472733140075d7723c2445979639200499e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1471ff8de61bd910760f787478e93f2d685fee1678fe25ff8593a17d6810f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Storage/AbstractFilesystemStorage.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf0e31e51b5f041595de56641cc5816957e2580f12fb4ac7647da40bcba014b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Relationships/ToManyRelationship.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c72c392169963c64d62632bdee8fd80e9b648f012e76904d896e9ca92d9b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/BlockAssets.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8adb9825cb289dd2307398ef3992fbe07f36f9ac0660e9518c3d9d4fba5282"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Property/ObjectPropertyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e065bcab5e497ace32bb0077ce8a573fee196c3181a261104b84b776fdb50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Interfaces/FlexDirectoryInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca7322356fcfa92ea1007536cebd279c9ba345cc165395b8225f4f4d47142a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Iterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd33924b21b0276b2cf0139580dbeeb843772270d850df0dd0d288588f9e87f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Uri/Uri.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1150555c2a8408c814b9a245865c324ab4a37940f08ed8047a6f06f31b8df2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Access/NestedPropertyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1de74bd4baffb90475e309ff3a4aecb24f996b4431c8f3cb30ef274d982379"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/AccountsServiceProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9d5be4cdc2ff3a0cef501ade9a166a5840017511fda7a391022c6194ee9cb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Route/RouteFactory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48f2d6830d730a570abdb2ddb5c2b36f0b39256430c5e67063408f38fb5993f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Pages/FlexPageCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d30683c058aa544076af0aa23a5079b8d5d13b89c635871bd9f1262048b1ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Relationships/ToOneRelationship.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b77ea8254a94069a48a74424d37168dc63f1d5041ad9b3d5710b4bdc2b0126"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Acl/Permissions.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a201f1f535226fecee627622fa602dc15e0d1b0d383d3d88a40fd01b2de302"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeScript.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f610794bf3a09802d5587d5f0bb2d6db7f3d8aba743cbd9d66da1f395086be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/User/Group.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0419759886aee442c9fd22c3d1e9863ea1ad49e6923db989471d8144f7a7eb23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Relationships/Relationships.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706ddf515d79620e4c41670ba7ee8c5ea57048b2e1a56c149adb3518547eec8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/JsonFormatter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9020c79de50995ab7d8dbe3c3db5a54ba4ecd7b0e4b23168521152fa4340610"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Acl/PermissionsReader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb483d98674fc7e91e7723a6b152888a17cc2e433efc1296e35dfccf8adb980d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Cache/Adapter/ChainCache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809d25c961f2903e4f6ca42494b727c44ffbbc0387dd1933b3918b08cf076150"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Interfaces/FlexCollectionInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8356c2dfa2ea1a5237ea79e01ddbb86fe819e85629e0707e042f88070c86e451"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Interfaces/FileInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee5739544097f819d0f4de7eda3ff705c6a82ca64c242c8eb9566e95a59bb41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeStyle.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2743102fa7da7758d1ec2d72e646cbf958c6fc47defbddcbda96e67d33e6a44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/CsvFormatter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671b0eeda5efb0528c8fa4a4bcbd65032b73e0fef142de8ebef62d7de75b32ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Types.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cbb1f3f02aea37c51082757e278ae00d1393c4dc706dcdfe04f69a9cbce480"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Base/ObjectTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c086a60f36f3de0fa0fb03014ea22c44f3b5edd9b78ba78f685d4a98577330"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Media/MediaIdentifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7523b872daa83538e6c66a1715729478445859029bc28cc8ad6bef98dab042"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Acl/Action.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c618857a685cf3f3d84be1b09e7f89594dbe595d6e14f5acc27892c0426a748"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/DOMWordsIterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f8d15f52bef3362311e566704bf3a14632a612b0a3f6428aee4e6513952c23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Uri/UriFactory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5909d313c8fe53cb0c79d2c2cf2dbc611b1ac3142fc918288fcb592dab213925"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/DOMLettersIterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9368eb9049ccb34ace653fadc1ef554727383eff1718288ea73f8c4065979b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Interfaces/FlexStorageInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08362d7cbba6e14651cd889aa54eef886aecbd2e968eb670af1fe42bd7269159"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Property/MixedPropertyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c74e26339eb0322ef60eed7fb6adab0b5188fc466ceec0b44355d607968d85d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Uri/UriPartsFilter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ebe89a3331551ece3600f6f5f91919691dec4cf8989d29679fa75083d86017"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserScript.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d2d2425c07d265b410d2e3f7279d1af80afe8348bfefb5b0e81cbd8dea52b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Uri.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e4716e6241a4215fc513218a71e3273a815849d94e0f1c2c168c756aa8e2e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Property/LazyPropertyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d42fff7f86089c1c05551a4a5bc03801f036e6a1e00b5fdcbfd58fadf03d82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Form/Interfaces/FormFlashInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d75baa05ff4e23c4539de23bafd0e4c68589c6cd8039056496935c38262e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/VersionCommand.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563a5eb0484203d67775feaebcc6b32ba0f1be84b50166af8e742e03d681877"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeLink.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fa42f27e041528eb55f727357b2ad79378c04b8a7f99f8fe9b76f2558fed76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef8f09b50ebbdeef470fa7d69809b3a40a58b542c1905c3c0589a694d286943"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Media/UploadedMediaObject.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c699ea1caeeb58e2465b447fe84398f87c420346afd550946bf03be81f6a1e1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Traits/FlexAuthorizeTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21ff5fcbf3bfa46c94a8d3254ef508fe79936459fc949a54bbdbfcb2867096"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Form/Interfaces/FormInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff49889455ab9691d1402fa104631e3af50f8990691ac61fd2664ab9101378a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Access/NestedPropertyCollectionTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f22d086b8380aa519a7715eb2ec5636d0e1cb60c274d430636d44f37a43bdcf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Traits/UriDecorationTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba314ff91777b39cee27ee4452053ae306bab00bdc0c4574db855156c0d5d767"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/Config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac4bce1dc5972102498e1cf78d18d83820e07410e4014bffa2fe8fb69e3ac09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/ObjectCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c25f2c7b4939a3516b74effe443b2386171fffd25a2b8478e1e13216f1bb5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Service/FlexServiceProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa451156c0601085c683b2ba001945e8b69943eb745fa5e35e69e24456a5136"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Session/Messages.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a540692d0bec6111caae92f9a1a747935fc340a456543ecc19eab36e266927d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Traits/ServerRequestDecoratorTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1d066635421c5e8136727a35d6e084a58a3f5ad41d85cd846b558668d5b282"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserStyle.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c4640ffb0ddc2359ce7bf7482a6fbb552c917676d12b38af7812982f029d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a1fbd518dd30cf4c67cdb9950c1171dc3fa95b71f899a3c3df7cb3d6a8bf6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Traits/PageFormTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b61b9c184886caf19dbbb0e6dc9ff08c117c685d63e9e8395a918d5faa0a8e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/Interfaces/FlexInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fcc7e950edb271764607d8ee390227bea502be1b0e6326e0db1970331ff62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/ContentBlock/HtmlBlockInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b042d38813d63fe3258afe7bf1910abddbaa7aef06a4dc0592f9cdf0ebb0372f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageTranslateTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a6c3c8c128a670231938cf88a63fa433fb352ec0c643deffbd8da06c9093ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Session/SessionInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d0501777f0f638035a045b99202a54df6632acb269f3c75d245940142be6eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Relationships/Traits/RelationshipTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08290757f74c42512841818338b3a04c4b470c2543c416ee484a2a489bd8184a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Application/CommandLoader/PluginCommandLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bb4afc38e21c173b534c7eb005ca872d83abdcabfd64d759053ffd286ba149"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/CompiledBlueprints.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46752306fa4aa0f2bed1612e462d3dbe74886caf59b669022a1334ab98e74cf2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Blueprints.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92260d2952a92118bdf0fbc1b0fed8d7ae335efca754b693429d95b8b7bf11d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Application/PluginApplication.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad0b61957cc638981eee589f76e7d5f192cd17cddd8ea64685590f73a048383"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Cache/Adapter/DoctrineCache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb7decdcc0b281890981ac3a186af9c7db317b7a3e3b5f8249a77f5447d6b46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Object/Property/ArrayPropertyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f71f8ed48d61d130ed148153b1e43b5352d69b30124337f00c3174c419d6fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/VersionUpdater.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb12c0358f4ef06b850856c017b559ccf40d627ec459ec28934b15efebafa0bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/RequestHandler/Exception/RequestException.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4271d0425e709549f57a5c2bdfad7d0f794e4bb7a781a8a371cb502252f965e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Traits/MessageDecoratorTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b0cbd593ebc29eb056d54007df121436354ac5ec2239902865ce464cedddb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Form/FormFlash.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71841f6da6c5ac7370103117e5c97afd594a5a716921e250f46adb7e6e87927e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/Node/TwigNodeRender.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34db656d292884876d3b049445dc553fa81eccc42a46dfe2a7c20c6cebebc37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/TokenParser/TwigTokenParserLink.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fae67c6a707fccd3682dcf35a2d8329258c02253399c36bfc96b12d5a2ac88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Collection/ArrayCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5933802fe2edf35ac2fd903f8f160a961188404c7cafd99e33276213257304bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Filesystem/Interfaces/FilesystemInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6149cab56c027246ca825b3a915524cba7118142db08a0a426f8299cc101cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/Traits/UserObjectLegacyTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dabe027241cf17a1f556b2f3f919cf79923871362d292f235a3acb36d0789b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Config/CompiledConfig.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cf8163363f97cc10045590599ea50670674c2ccb81f0920ec4ce18d2875a2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Traits/StreamDecoratorTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f374b9b52833bb5f7e511c565fc36d60615393c002406ad9dea28399ec5f29f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/RequestHandler/Middlewares/Exceptions.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eafc6ebad2265ccdd4b977d6ffcbb746e098acd50d40fa44be85c45574f67ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Media/Interfaces/MediaCollectionInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e69566f2edf9ba57b6227423f19a16a0863a4cf1c939c926ddf20ee0e968b74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/AbstractFormatter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4d88dd389cf42031acde20846561fa7eebfac1e84a015c02ffe5a9305373f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Media/Interfaces/MediaUploadInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e5c3c03fe3b6a0cb9509a48e1ae6f592f166181b0787d5641e05d725a44cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Mime/MimeTypes.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"672da920ee183e0d0d3dfa7b85f2961b6f29812d95a507691363a651c125d4a3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PageCollection.php \u2194 PageIndex.php: \u0060system/src/Grav/Common/Flex/Types/Pages/PageCollection.php\u0060 and \u0060system/src/Grav/Common/Flex/Types/Pages/PageIndex.php\u0060 change together 60% of the time (18 of the 30 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 18 shared commits counted here, the most recent 3 are \u00603c83efd8\u0060 Add Collection::notOfType() to exclude page templates (#3910); \u0060179dec4c\u0060 More phpstan fixes; \u0060a57c18f6\u0060 Fixed some phpstan errors \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aba73de1e54e46a25676eb61cbf4308b8960765036961d585777287d2403daf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: InfoCommand.php \u2194 UpdateCommand.php: \u0060system/src/Grav/Console/Gpm/InfoCommand.php\u0060 and \u0060system/src/Grav/Console/Gpm/UpdateCommand.php\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u006031dc6831\u0060 Add 2.0 migration wizard, preflight, and compatibility flag extensions; \u00606324cca5\u0060 Recognize \u00272.0\u0027 in compatibility inference and CLI badges; \u0060e460ed66\u0060 Add compatibility: blueprint support and preflight handling for 1.7\u21921\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/InfoCommand.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8927a47eb9b5b5a6100c66cd22db64d4d0d022730b98bdd24df275bf5995feaa"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8fa7fc50be45235aa3806c2f252b34d68032a2f651ae7ba7d68ec8341651b7c7"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch composer: \u0060.github/dependabot.yaml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060composer\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yaml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52b01a64eb83b60bd68c9f61743f3923e224ceeced691ec2193296cc18f2ca7"}},{"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"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new CurlHttpClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/HTTP/Client.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df746df1a20a7eee724ce1658e17d21c45989b849f8219a06f4c38b7d3f6435"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new NativeHttpClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/HTTP/Client.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f31dcd8c3f212d460a16020f7695104b64befb45486d27a4351d2fb869cae5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HttpClient::create(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/HTTP/Client.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9703379ee24e0ae06f47d8475ad371e1ebb172b98202be09a7dd9c2b32e4fc35"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060-\u003Erequest(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/HTTP/Response.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be732af1c6ccece33ea66ecded186742708a6bb73dc4f5cafc971633dafb6dc"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060nginx.conf\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webserver-configs/nginx.conf"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5877a20c6609d8cfcd14a82894f83ee2253e11f1fdfd89fa506c0aa5716fb07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$cleanVersion || version_compare($diff, $cleanVersion[0], \u0027\u003E=\u0027)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/GPM/Remote/GravCore.php, system/src/Grav/Common/GPM/Remote/Package.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/Remote/GravCore.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2c0cc98508830fe03608ece90e3ad456dcfac2c39a9016875614f0e49cdebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$excerpts || $excerpts instanceof PageInterface || null !== $defaults\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Markdown/Parsedown.php, system/src/Grav/Common/Markdown/ParsedownExtra.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/Parsedown.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"375838b008601a9f2001dedbb07af1c131307e2f45820a24bf0079eaf5bcb059"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$path || !file_exists($path) || !filesize($path)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Medium/ImageMedium.php, system/src/Grav/Common/Page/Medium/VectorImageMedium.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Medium/ImageMedium.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c286a8052b8ed0d5958494fb363f20e96fce8889ae60b0ff39e14d3ae36299ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Installer::isGravInstance($this-\u003Edestination) || !Installer::isValidDestination($this-\u003Edestination, [Installer::EXISTS, Installer::IS_LINK]\u2026\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Console/Gpm/DirectInstallCommand.php, system/src/Grav/Console/Gpm/InstallCommand.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Console/Gpm/DirectInstallCommand.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97f2255b08995118252c5fa15e47fceb7dec1b707560dc0d013288a43916567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($settings[\u0027disabled\u0027]) || !empty($settings[\u0027validate\u0027][\u0027ignore\u0027])\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Types/Users/UserObject.php, system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Users/UserObject.php"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5b60da7cf87574dde1f3559b3421536fd7ee694f7314e6e3d4e2b43dca4540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_array($current) || !isset($current[$field])\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Installer/Versions.php, system/src/Grav/Installer/YamlUpdater.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/Versions.php"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3182d9a59582044d3124bb707bfdfe37526828ec1b1db1e09e33471b1c2ad8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_file($file) || !is_readable($file) || !is_writable($file)\u0060 appears character-identically in 5 files \u2014 system/src/Grav/Installer/updates/2.1.0_2026-09-10_0.php, system/src/Grav/Installer/updates/2.1.10_2026-09-22_0.php, system/src/Grav/Installer/updates/2.1.8_2026-09-18_0.php, system/src/Grav/Installer/updates/2.2.19_2026-10-31_0.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/updates/2.1.0_2026-09-10_0.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa62fa473f99f67073c64cc12fd18b47ce9baecfc87d1dc9fcb3cf55d0abb5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_string($value) || strlen($value) \u003E Utils::DATE_MAX_LENGTH\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Data/Validation.php, system/src/Grav/Framework/Flex/Pages/FlexPageObject.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Validation.php"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b128514a3e1f38c8d78479bd981bcf367fe2b88ebdc807bd1230096cce48cd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!method_exists($storage, \u0027isIndexed\u0027) || !$storage\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Types/Pages/PageIndex.php, system/src/Grav/Framework/Flex/FlexIndex.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageIndex.php"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec4c5bb135a79026caddac1e101521ea37c67055673d3109f76b82df3d6b1e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!str_starts_with($name, \u0027onFlexCollection\u0027) \u0026\u0026 str_starts_with($name, \u0027on\u0027)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Traits/FlexCollectionTrait.php, system/src/Grav/Framework/Flex/FlexCollection.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Traits/FlexCollectionTrait.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b20ca77b0b7ba76b28f61f77924a238987f0698385cb48181b327ef66d5659"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!str_starts_with($name, \u0027onFlexObject\u0027) \u0026\u0026 str_starts_with($name, \u0027on\u0027)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Traits/FlexObjectTrait.php, system/src/Grav/Framework/Flex/FlexObject.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Traits/FlexObjectTrait.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f224988ac951285928b069b0a36a284900598fa295314de41808409efab61298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$buffer !== \u0027\u0027 \u0026\u0026 fwrite($out, $buffer) === false\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Filesystem/ZipArchiver.php, system/src/Grav/Common/GPM/Installer.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Filesystem/ZipArchiver.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ff2d387bedaebad0cb70877186500ba08a282623dfec75cb6cc426c7797287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$content_twig_requested \u0026\u0026 !$content_twig_allowed \u0026\u0026 !$this\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2f2685100736d1b02df27714eefd47cb42ad50311c46beda5ec026b2ecee3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$extension !== \u0027\u0027 \u0026\u0026 !$raw_route \u0026\u0026 $this\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageRoutableTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2461}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ffc48212fef5e4e175a6653cc2382ae0592ddb75e24999ee01172f7c3a0557"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$identifier \u0026\u0026 is_callable([$identifier, \u0027getObject\u0027])\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Framework/Relationships/ToManyRelationship.php, system/src/Grav/Framework/Relationships/ToOneRelationship.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Relationships/ToManyRelationship.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cab91bc546764232c6d963554b07654902018a1e6f5374379526bbd79c0dfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$inheritedParams \u0026\u0026 is_array($inheritedParams)\u0060 appears character-identically in 3 files \u2014 system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php, system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e742b2bae00a881480a393d7426c2fec581f59a9d5081a580515172c5f490c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$separator \u0026\u0026 $separator \u003C strlen($key) - 1\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"052b272e3085f37c4ed62745627f766a7139497d1b94bd0c887c3f9e07fce086"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$settings === null || !$settings[\u0027enabled\u0027]\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Log/LogRotator.php, system/src/Grav/Common/Log/RotatingStreamHandler.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Log/LogRotator.php"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f20d7ba3c79d0b69af09a59edca41571aeaba398fdce7cb52372858c8bf120"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!$start || $date \u003E= $start) \u0026\u0026 (!$end || $date \u003C= $end)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Types/Pages/PageCollection.php, system/src/Grav/Common/Page/Collection.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/Pages/PageCollection.php"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d798534357ef88d382ed4281501e49768df17c12b55218bfa4a6be1257a19a63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($this-\u003Ebase_url !== \u0027/\u0027) \u0026\u0026 Utils::startsWith($relative_path, $this-\u003Ebase_url)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Assets/Pipeline.php, system/src/Grav/Common/Assets/Traits/AssetUtilsTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Assets/Pipeline.php"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe350c33bcb0aae82901d485232c1d606167ea63d6352a8c4ed63b058f9bb508"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(is_array($current) || $current instanceof ArrayAccess) \u0026\u0026 isset($current[$offset])\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Framework/Flex/FlexObject.php, system/src/Grav/Framework/Form/Traits/FormTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Flex/FlexObject.php"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"154c3d72aca33983ec18567548736fd170493f5a27427fa6b69d443bf0808b24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060MarkdownOutput::enabled() \u0026\u0026 !$grav[\u0027uri\u0027]\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2742966af8509e02b4414bbde292d92bbae1241e9bbea360e4f6a40158831c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authorize(\u0027admin.super\u0027, $scope) === true || $user\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Flex/Types/UserGroups/UserGroupObject.php, system/src/Grav/Common/Flex/Types/Users/UserObject.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Flex/Types/UserGroups/UserGroupObject.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084a27e3a867b20895da6df9f8e2c525465e2d629ed2ba6d5e893c528ada843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get(\u0027system.strict_mode.twig2_compat\u0027, false) || $config\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Common/Page/Page.php, system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f7637de65d42df02c7da627419bd796df1ce11cec7530e877edce43f344b8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getPort() === null || GuzzleUri::isDefaultPort($this)\u0060 appears character-identically in 2 files \u2014 system/src/Grav/Framework/Psr7/Uri.php, system/src/Grav/Framework/Uri/Uri.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Psr7/Uri.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6e506b02d0cfc9600266d41daba9ef3930d9dcacd70b9211aebfcf4081fec"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060decode\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060yaml.decode_php\u0060 ini setting (changed at line 160, put back at line 163) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/Formatter/YamlFormatter.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3123f07f6d092ab835dca2d5582e8f306e4d353af099204822bb1453ff6ddbc"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060writeCacheFile\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process umask (changed at line 46, put back at line 48) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Twig/WriteCacheFileTrait.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecc0af3985047874bbffd7e991652d3642f72b6aca099704d23bf451bbe59ac"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060mainRegion\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 402, put back at line 405) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Markdown/MarkdownOutput.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4db7d1daadfcae5fd7e51cb021f1be30bcf1b49ad2759012d11d66f4e41ae4"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060processTag\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 287, put back at line 291) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Markdown/ParsedownExtra.php"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b5c7014d86fc7e201e59796d7796fdd3569a7d107e82dd26ecfb265035fa8c"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getExcerptFromHtml\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 90, put back at line 92) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Helpers/Excerpts.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca2d6845d27ede17c56871aff54ed6c5869535d64f1096c7dff1c7ba2af4a10"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060backup\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060max_execution_time\u0060 ini setting (changed at line 254, put back at line 308) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Backup/Backups.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e608cc39b0cac59b4a3cecfc37b1c512a975f2da8ff36e1edff8a6f524933e"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060route\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060href\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060route\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/assets/debugger/clockwork.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3edd80fca96f0ba12d4450de2408f7cdd32ef41147b9363b9ad28776fda1e21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/Install.php"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1273f951b83d24a68034cc39c25f6fe46efd08559f05b05b02171766e37ab9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Installer/Install.php"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e9ee1d3efe2eebfdc2b05b6cf4342cd4a15bf346958a76c95d5cc3163e5a4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/Form/FormFlash.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aedc82c3a7b8e0ae2022265b5635cad0ecc640d6e37b55a6c03181e03b3a738"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Framework/File/AbstractFile.php"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb289ad5f61bba5ebd2ce21a46b458b0b7f51066e7cc5754cde29ba0b78e8da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Debugger.php"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"630877cff464d3a44a9597137568156f154949e129a1c11b7a4007f3609681df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f75c60e59d65a4b23d64949a09f53d1ba3781d95647b2c048ebbf5901b3699"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4a1981240c5ce2db33b2f859031da12b246d86e7a9d410c23353a69e0b1342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43490b099d7b03ac8d3a41aa8fc0c601f244a095c493b4435d7ed3821b50ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabdd5f2b4e342fba22ca453de8fe54cdd1f0ca419af4629258f38ba1198a8f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cc5c528eb0619a3fd7210336785d2d5b6c2ec2dd89fe121f69b55d6602be84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b4db8042784a1db075c514c5253fd9b91a6ff77fb7db1c36da45661bf3fef6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b8bab923ffbc5ac44a60eac4d5f97765e535ec9142a98e8f20f3a099fc1658"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83d63f2def65621e517d6c0d2fcbc31b331ba5c63f7906654052a18ac1c9a0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76f0ea1b6516127df671bc0e2987da5dcc9d4e23ca9df1a2cc866c386ffa36c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff3de910875da8c2e6739f92e2635292c55063e313e9474d069e52dc0437eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9de0f49c813119991fc26e4c376c2a543bce798daaa2d99f73f12803fd8e4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb2cf2dfc0262c774d290e2b37045ac843067f5513c49c3fa70050022d7d704"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2c5c9ac266df7a111485224f26d4321dd830a7bb9fc9392702bc02e18b3d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"747661f73507911a3d3c214eaf68996585ee2fd9afc1147fd7eee5a75a872e90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Session.php"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6acf530effa699ba60c3bb715bf5142c5f2f5d41758ec57746a0d9da5e8b4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1e43110676684ac2be218ce0e1ba46f60f07564080eedebd92c1bba05477a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49607bed14e32b8cd699845aa498725e92b71d4bc85b413c0c9bee37db104a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/JobQueue.php"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b0a6c2bd0c14e649cbc1fc9bb42c9e3b2728c40ab09b78953ac2b41aaa2cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eb61b2f13eb7ec5a760d19adcc2952b482a4f7b4bcbbda1835f994b4d3d6cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef339d65f9156c3830940d83142af32fd430a7b9deb5395c8ebf6d8eb27fa3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c791f9c73d4f766c80584767e4fee263006d73e6809ecb0693a7ddb8ff936b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e58e4c3026c387df69943e7b837c6be7403c9b1b02b718f2d65b1a4fc6e738"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Page.php"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab7181d2d87503d8c6e5d042dfc0f0b04d7ae083107cd5bd05eecff76cc0b4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe2ace938fe3a4c2c397002c7a8d75ad7732344345d71ff963b1844dfe4e67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea549ed789d64fe5a0ae9fdcc71386ef0c658d5b951aef26e56b3ff0c2673295"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"776b08771cd0088eb6449b9263eeaedda3bd3d0edca4e6d430478593aa1e181e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaaf48237de5e4fdd24bc452e4644666173aab0925b04d222702fa50a5db045"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63039edb06a4241b5de9d11535606430ab16cec3aaf7a408609db8760b11f42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fbdf9b954bb9aeb23e86b19226a5538d75401209ff685cf87e3da54434ead6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cea2271be0345980b3025de97317e19ce611d1fa4b26b5b55864cc584e953ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a5eb0955a2993f06bc0d04ab922ef6a9ee7054b260d0a3ecdb4770f5c1399d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/Markdown/MarkdownOutput.php"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3be74edf77ed0e60bd2debec374300407aa0ffcba2d1ad5801a8d9f4c51a79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Log/LogRotator.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacba1fde300fc858e54922a097e0cfa0f51a5ad30d1d17514e19f199e37d17e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Log/LogRotator.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"241a2520fbb3597eab0576f41cd02bdbc5edaa5145a9ec69a8a1c237afdfdee2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Helpers/JsonBody.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d563dacfeb09f461b2e586666c0932884e7141f57a157251bd66b232f38f32b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/HTTP/Response.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10cdd20b76e7599243655521898db525b0421da20244fcb8212a383f625fdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeda493abb757cf995bc1343e0b117291defdb6a7fd73b7f0124613f99507f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/GPM.php"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb38daf7c65143063eee126cd331b6205fe7f333e2fb9a8feec75a3c85b4b38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/GPM/Licenses.php"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e68932d13630a242051447aa7e0102558d30e11abadc0788a69e6adcd02f7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Data/Blueprint.php"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c32773c5e5bb62a1d8b9e82a8df5e4356ec59d79c7511274a367d43f752c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 404 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb35e0f2138acb6e374e11e59b803901afa52b5af6b29d0799bdc599717f1f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 422 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb261218d363de643dd7bf28b3a4e2aa9efb3347d99aeeadb4a07a9cdf256a8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 476 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9347b74ae74685794e14620875691e0494d426959d7846412060d27bd53b59c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 478 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c648575d5cd44dfa7cd2efa4e9dca02ca6ed0fadf8bb6e6c41a88aa2d366011"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1295 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd41dfc4866428266e4ed2448273d2322eebda126ec7af00c40a49c6e7b5419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1301 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dadac0b3a9f129969628eb063d8f8b430cd7f06663a76ea7abec34511134861"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1403 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9893cc1294e6e549363ac3f1ad6929d40dd94b567c802e2dd8df690b8cb0ebe8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1408 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Scheduler/Scheduler.php"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8fd887b46f3bcf57dbb553b29703cb3694e33853813805c955d2dda7694ee"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060doFetchMultiple\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Cache/SymfonyCacheProvider.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbd31e1933cf77a6a37d7a6c1435784073302805f43798f75637cbe600427ee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAll\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a046db1e9611f2f16fe7a1b7d7e8483f1c6df0c360bf1d1ae464227983a8ef4d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAllRoutes\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c1b6ae7e2fa515458dc8dad0457b76909670e8cb448c229cf8599a8cf3e61c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTaxonomyValue\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a19a9957c7b753001152f886f0cce81173e5641bc49ad5469857f010c661fc6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTaxonomy\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Page/PageIndexStore.php"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7277e814fcdcae86fc3956ed1884b9d1c65dac6a9877cb751bad16d8d7deaae2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060recentTwigContentEvents\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67aaf371d77420ba977d3899319c01698f79512f897c3e857501f705c5abe3a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveTwigContentEvents\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Security.php"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaca74887ee96ddddb36255caf576b6bd16fa5e2f91fff9d6862d6c57a7706e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPageFormat\u0060 swallows every exception into \u0060return \u0027html\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/src/Grav/Common/Utils.php"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"af918317737c93382bc03aadf130a83ceefc30fc65d0140a6b8b70e50ef983e3"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-426","guid":"7b39d500-c310-9a5d-9a3d-4c2bf49492a3","name":"Untrusted Search Path","shortDescription":{"text":"Untrusted Search Path"},"helpUri":"https://cwe.mitre.org/data/definitions/426.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":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-693","guid":"b9b141dc-018a-9c59-8953-1e3c4e020745","name":"Protection Mechanism Failure","shortDescription":{"text":"Protection Mechanism Failure"},"helpUri":"https://cwe.mitre.org/data/definitions/693.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-918","guid":"2e9b9091-5a0f-dc57-b644-7ad04bd56e64","name":"Server-Side Request Forgery (SSRF)","shortDescription":{"text":"Server-Side Request Forgery (SSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/918.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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":43,"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."]}]}