{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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":"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":"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":"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":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"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":"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":"PdoEventStoreReadModelProjector.run (cyclomatic 26): PdoEventStoreReadModelProjector.run has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a03d875daba91cab765a993fccf4a15a980b308a7acbead00fef978e8d97e91"}},{"ruleId":"D1","level":"warning","message":{"text":"PdoEventStoreProjector.run (cyclomatic 24): PdoEventStoreProjector.run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d16df031ae04b40d13763a7094b5b3aa0cf0aaaabdc4a88a8c22650e10ae74"}},{"ruleId":"D1","level":"warning","message":{"text":"MariaDbEventStore.appendTo (cyclomatic 21): MariaDbEventStore.appendTo has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d414f44e3cbd4d7889bc6ee2ae62a863945b152af5549d6913bfe0781b03fe"}},{"ruleId":"D1","level":"warning","message":{"text":"MySqlEventStore.appendTo (cyclomatic 21): MySqlEventStore.appendTo has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134dc8679e9728d9525a73e211a59e1adab9da49f4f9baab11dd0dca068d29d"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoEventStoreReadModelProjector.run (cognitive 33): PdoEventStoreReadModelProjector.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6, error handling 1 (3 pts), loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b728ce07038da7b8bcc2340301564c65edcda95f398e51b5bc8b17e94700e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoEventStoreProjector.run (cognitive 31): PdoEventStoreProjector.run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1a5ec89c6738b3ac337e34a6e81a6dc423ffe051bfca48cfcc9006c81ce135"}},{"ruleId":"D2","level":"warning","message":{"text":"MariaDbEventStore.createWhereClause (cognitive 26): MariaDbEventStore.createWhereClause has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (6 pts), ternaries 1 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfacdba29cce0f6a38515b1cae7e7067f25585ed217345c8fd1456a392da462c"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresEventStore.createWhereClause (cognitive 26): PostgresEventStore.createWhereClause has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PostgresEventStore.php"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d313efa9d576673fc128f253bbb2555778cabf57f03848bd08f9b2a24fcf1b"}},{"ruleId":"D2","level":"warning","message":{"text":"MariaDbEventStore.appendTo (cognitive 23): MariaDbEventStore.appendTo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c243a79309cc5f72dd0e7d64a843582b7a0599d45e54d8a26b87728ac1f95b9"}},{"ruleId":"D2","level":"warning","message":{"text":"MySqlEventStore.appendTo (cognitive 23): MySqlEventStore.appendTo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1771ad22a5c906a0c2e16a048c08865d538b8ec1a56d7567984e3b78f0616a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"MySqlEventStore.createWhereClause (cognitive 22): MySqlEventStore.createWhereClause has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aeaec95d562e42808a420d2e37ea9f1b211898d53d07a55cd93a78adb1df3d"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoEventStoreProjector.handleStreamWithHandlers (cognitive 16): PdoEventStoreProjector.handleStreamWithHandlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 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":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d266f733a9350dcfdb613a32ce3e4b36dd7fe58509eb32f5d6b5002f003a639"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoEventStoreReadModelProjector.handleStreamWithHandlers (cognitive 16): PdoEventStoreReadModelProjector.handleStreamWithHandlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 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":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f48d37ce4c2d2a00b1e658b9a82e21f9c4af3c45d6134776cc1467e0b8c244"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PdoEventStoreProjector: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 156 over it, 1.39\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963fa4cf021292367e02d09b5bce6c46ca9302ad66f5f7cd0fd342fcc16b5a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PdoEventStoreReadModelProjector: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 143 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b6e36ce7be5882469e46b8323e0007d4f08302407d5b1011382d5aec30a207"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MariaDbEventStore: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 104 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":"src/MariaDbEventStore.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6dcfd9a8cbab5af9e11e9bc560ab8d29d1cb11352fd92ddaa9a47f60f3b085"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MySqlEventStore: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 97 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"416f30fa0dd1d21364bdebf1e325751ec0c5932878cd7676502f02c1142f3e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PostgresEventStore: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 89 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":"src/PostgresEventStore.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39fdcd36cdd61ce5d547b18773a5b76c93131b9ba3e7dd7e0c73acca335d81a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PdoEventStoreProjector: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dca73c61825df2d8d11ec618415bf8e2cc362efc6d3913846ef0e6613a2adb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Projection/PdoEventStoreProjector.php: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PdoEventStoreProjector (41-1139). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c9abcb7adb4dc065fb1a6f29a0a1a6e194d756c36760752af8df6aa87699a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PdoEventStoreReadModelProjector: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd514a8c694b5df807e5ebf965fd8a4710022e5ea5c385efa708d3e8d266c572"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Projection/PdoEventStoreReadModelProjector.php: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PdoEventStoreReadModelProjector (37-1110). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreReadModelProjector.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd92608664aa568920f85ce7a7e1e237c47618f50879f2b8fc865af0ea6cb6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/MariaDbEventStore.php: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MariaDbEventStore (36-899). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d17b78c49516cc022b5431499c16ca627f2c0e90c06eccac7f0ad9d9cb504ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/MySqlEventStore.php: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MySqlEventStore (36-882). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40660329aaf302f990eeca312d1061dacdf9f30fdb253a674c17686d1900a08c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/PostgresEventStore.php: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PostgresEventStore (40-866). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PostgresEventStore.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c18a0937f0b07b9bae6cd3ef4b02f8bf35370aba8919a0c2d6c6fd240b95ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 39 shared lines): src/MariaDbEventStore.php:320-390 | src/MariaDbEventStore.php:399-475 | src/MySqlEventStore.php:320-390 | src/MySqlEventStore.php:399-475 | src/PostgresEventStore.php:268-337 | src/PostgresEventStore.php:346-415 \u2014 These 6 members are variants of one another: a block of 39 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace73c72f286cc0ec6f598d490f28bfb0a198b8a566b87a8b77685ab9bbb51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (109 shared lines): src/Projection/PdoEventStoreProjector.php:508-622 | src/Projection/PdoEventStoreReadModelProjector.php:468-588 \u2014 These two members are variants of one another: 109 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4e65651ad97cf492274fb3ed6e099be71bbedff89785afd7fd45ae1558707a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): src/MariaDbEventStore.php:721-792 | src/MySqlEventStore.php:721-791 \u2014 These two members are variants of one another: 56 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfd99b575e635eac7d035f56bac259dcc532a9ce83e4f5a8fdce2ce7b5b98cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php:76-93 | src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php:71-83 | src/PersistenceStrategy/MariaDbSingleStreamStrategy.php:87-99 | src/PersistenceStrategy/MySqlAggregateStreamStrategy.php:72-89 | src/PersistenceStrategy/MySqlSimpleStreamStrategy.php:69-81 | src/PersistenceStrategy/MySqlSingleStreamStrategy.php:75-87 | src/PersistenceStrategy/PostgresAggregateStreamStrategy.php:79-96 | src/PersistenceStrategy/PostgresSimpleStreamStrategy.php:76-88 | src/PersistenceStrategy/PostgresSingleStreamStrategy.php:91-103 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67dfca94e080cbc98a39aeb71e731f6a00c6c60df57aec5b82a4bc05d1a7a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/Projection/MariaDbProjectionManager.php:129-173 | src/Projection/MariaDbProjectionManager.php:178-216 | src/Projection/MariaDbProjectionManager.php:221-259 | src/Projection/MySqlProjectionManager.php:129-173 | src/Projection/MySqlProjectionManager.php:178-216 | src/Projection/MySqlProjectionManager.php:221-259 | src/Projection/PostgresProjectionManager.php:132-159 | src/Projection/PostgresProjectionManager.php:164-185 | src/Projection/PostgresProjectionManager.php:190-211 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a40ab225c7e5da3ac14d2f01f8f09b17babebdcc3f0874df6af715752ab81"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/Projection/MariaDbProjectionManager.php:383-407 | src/Projection/MariaDbProjectionManager.php:413-437 | src/Projection/MariaDbProjectionManager.php:443-467 | src/Projection/MySqlProjectionManager.php:383-407 | src/Projection/MySqlProjectionManager.php:413-437 | src/Projection/MySqlProjectionManager.php:443-467 | src/Projection/PostgresProjectionManager.php:330-354 | src/Projection/PostgresProjectionManager.php:360-384 | src/Projection/PostgresProjectionManager.php:390-414 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa800d41ac85e42c8b783e6980af97bc2015f30e299b12d955b5b2624f35d0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/MariaDbEventStore.php:120-143 | src/MariaDbEventStore.php:178-195 | src/MySqlEventStore.php:120-143 | src/MySqlEventStore.php:178-195 | src/PostgresEventStore.php:121-144 | src/PostgresEventStore.php:177-194 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dec5e4ddf58eee0199713ce486688cdc1ca68acbf9f63aa6dc2baa50f4b436"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Projection/PdoEventStoreProjector.php:385-426 | src/Projection/PdoEventStoreProjector.php:978-1003 | src/Projection/PdoEventStoreProjector.php:1110-1137 | src/Projection/PdoEventStoreReadModelProjector.php:348-385 | src/Projection/PdoEventStoreReadModelProjector.php:940-967 | src/Projection/PdoEventStoreReadModelProjector.php:1081-1108 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"323392778a53bba731f4a0f8be032003f542726826aa594ae26ee616b914a2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Projection/PdoEventStoreProjector.php:465-503 | src/Projection/PdoEventStoreProjector.php:801-825 | src/Projection/PdoEventStoreProjector.php:830-846 | src/Projection/PdoEventStoreReadModelProjector.php:429-463 | src/Projection/PdoEventStoreReadModelProjector.php:761-785 | src/Projection/PdoEventStoreReadModelProjector.php:790-806 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d98e1fd349389d6978165acbb454e24bb56cd677ac416afe7c6c9d40a69be61"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Projection/PdoEventStoreProjector.php:660-693 | src/Projection/PdoEventStoreProjector.php:699-741 | src/Projection/PdoEventStoreReadModelProjector.php:625-658 | src/Projection/PdoEventStoreReadModelProjector.php:664-706 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95495f5d33a57783cd9b3cc62b1cfe0ec3a84a6067c375e42b26364e89f137d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Projection/PdoEventStoreProjector.php:875-907 | src/Projection/PdoEventStoreProjector.php:912-951 | src/Projection/PdoEventStoreReadModelProjector.php:835-867 | src/Projection/PdoEventStoreReadModelProjector.php:872-911 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"7569c58bd4b107641fbecafdad9b1ad28105df686b06b3e339372bcddcd82dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:1008-1069 | src/Projection/PdoEventStoreQuery.php:388-449 | src/Projection/PdoEventStoreReadModelProjector.php:972-1033 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09012657734e2355302b2319b07a7650bf188642c45a32208eeadabcd20dcd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): src/MariaDbEventStore.php:251-311 | src/MySqlEventStore.php:251-311 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef184281be01e71cd11b8f0685f86c906be43e0631f4fb5ab97f8c04b0a41a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201355 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:565-618 | src/Projection/PdoEventStoreReadModelProjector.php:530-584 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projection/PdoEventStoreReadModelProjector.php:528\u0060 calls \u0060count\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:563\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"df880ab6ffeb1ff11bc53fe472f559331b15f5a01dd85d3db6b7126d17ccda06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:912-951 | src/Projection/PdoEventStoreReadModelProjector.php:872-911 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dff4921f5191e42f6afdb29c539cf9e0a6f23ae5b169259ccc5888a18bc2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): src/Projection/MariaDbProjectionManager.php:264-301 | src/Projection/MySqlProjectionManager.php:264-301 | src/Projection/PostgresProjectionManager.php:216-253 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/MariaDbProjectionManager.php:264\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a70b22eb5131ca33c786ab52db1599d2c2420d482092ca923ea19e9ba33c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/Projection/MariaDbProjectionManager.php:323-359 | src/Projection/MySqlProjectionManager.php:323-359 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe656f760be4adc4413170109685f08c872b74a646d3fbc06a65b45cffafd24c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 4): src/MariaDbEventStore.php:321-356 | src/MariaDbEventStore.php:403-438 | src/MySqlEventStore.php:321-356 | src/MySqlEventStore.php:403-438 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b174802902fd332787924b823527f83269bfe78544de8dd955d03b7adacc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/MariaDbEventStore.php:480-514 | src/MySqlEventStore.php:480-514 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976adde5b355f42ebb370e23d3d664fa63bc44c35d2f2d46101b4a90cc85d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:708-741 | src/Projection/PdoEventStoreReadModelProjector.php:673-706 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:708\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"125bc19c0d8ad942f41f42ede41c224d5db0419c27b702125f84109c047fd6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 6): src/Projection/MariaDbProjectionManager.php:141-173 | src/Projection/MariaDbProjectionManager.php:184-216 | src/Projection/MariaDbProjectionManager.php:227-259 | src/Projection/MySqlProjectionManager.php:141-173 | src/Projection/MySqlProjectionManager.php:184-216 | src/Projection/MySqlProjectionManager.php:227-259 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f00d09eb4f791020dc35dce21803e2106ae5ddda90ee3ee5207e778347f52c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:508-540 | src/Projection/PdoEventStoreReadModelProjector.php:468-500 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Projection/PdoEventStoreReadModelProjector.php:502\u0060 calls \u0060isInitialized\u0060, \u0060init\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:542\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc403eb2c932364de01bd3c956bd7cb2b1e3d95e467326ee3b367570dda4b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:875-907 | src/Projection/PdoEventStoreReadModelProjector.php:835-867 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef210fffea6ba25feda6dbfd9799cc83f0231c112de4cd90a2fe2bbd606e951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): src/MariaDbEventStore.php:797-828 | src/MySqlEventStore.php:796-827 | src/PostgresEventStore.php:780-811 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:797\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea01f90477f956cd31fe6ada3354ec8db0dd85a9e103d8f21a66494af8868198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/MariaDbEventStore.php:202-233 | src/MySqlEventStore.php:202-233 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfba5fafc06d19125242013e4ff902463d4e4d1ed0636031787988e20277d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 6): src/MariaDbEventStore.php:340-369 | src/MariaDbEventStore.php:422-451 | src/MySqlEventStore.php:340-369 | src/MySqlEventStore.php:422-451 | src/PostgresEventStore.php:288-316 | src/PostgresEventStore.php:362-391 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/MariaDbEventStore.php:452\u0060 calls \u0060execute\u0060 and \u0060src/MariaDbEventStore.php:370\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"33daeee080d15ebc9dce178c59cde5422b209474e7ef306df68735f6d7eeedd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): src/MariaDbEventStore.php:523-552 | src/MySqlEventStore.php:523-552 | src/PostgresEventStore.php:506-535 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b335050e7ac0a17bada74d61691d2f9942376a5ae7baf822edcc3f38b4890241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:389-418 | src/Projection/PdoEventStoreReadModelProjector.php:354-383 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:389\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projection/PdoEventStoreReadModelProjector.php:352\u0060 calls \u0060reset\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:387\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ffdf312a291f8e5b24c00070eb7603346247923fec023182b65889ece80127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:627-655 | src/Projection/PdoEventStoreReadModelProjector.php:593-620 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"833bcde124030e76aca5759e8cb2046d48987f75b09c59e04cbe693314dad720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:1110-1137 | src/Projection/PdoEventStoreReadModelProjector.php:1081-1108 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c178cfbf9e1c6453f03934e16b00949de3c5d33742ed135d157711b25bdd946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/MariaDbEventStore.php:626-652 | src/MySqlEventStore.php:626-652 | src/PostgresEventStore.php:608-634 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:626\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"67045ee5059aa730e70c451c8372e42d8535b341d4a0edcff2e88d97622bbc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/MariaDbEventStore.php:578-604 | src/MySqlEventStore.php:578-604 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"616eb47ff28eb955bd39638ab251f426ac91b60096f64616541ddf6b1e032bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/MariaDbEventStore.php:150-173 | src/MySqlEventStore.php:150-173 | src/PostgresEventStore.php:149-172 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91af05ed64278d7ac4c44bf5238634c17ca6e21bfa5f701aed5ca8899b71e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/Projection/MariaDbProjectionManager.php:129-152 | src/Projection/MySqlProjectionManager.php:129-152 | src/Projection/PostgresProjectionManager.php:132-155 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6915f3a6b467f75c0c4b1fcc8fd52e2858a3506d48060e83d37682eb900ed36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/MariaDbEventStore.php:674-697 | src/MySqlEventStore.php:674-697 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d79cd00dee6c4e9d399ba0d6270c7050a1116e58b8654dbf7ea2d791f710f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/MariaDbEventStore.php:769-792 | src/MySqlEventStore.php:768-791 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:769\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45f132adbf3f0e2883d8f3abaa696d4edbb9cd23928453a68ac29896ea90b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:978-1001 | src/Projection/PdoEventStoreReadModelProjector.php:942-965 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:978\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projection/PdoEventStoreReadModelProjector.php:940\u0060 calls \u0060persist\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:977\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc09ac29a3823f0cf522f310024789c689e6103e87138330f8c3c8bc610e3cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 9): src/Projection/MariaDbProjectionManager.php:383-405 | src/Projection/MariaDbProjectionManager.php:413-435 | src/Projection/MariaDbProjectionManager.php:443-465 | src/Projection/MySqlProjectionManager.php:383-405 | src/Projection/MySqlProjectionManager.php:413-435 | src/Projection/MySqlProjectionManager.php:443-465 | src/Projection/PostgresProjectionManager.php:330-352 | src/Projection/PostgresProjectionManager.php:360-382 | src/Projection/PostgresProjectionManager.php:390-412 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/MariaDbProjectionManager.php:383\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da159c8c6d7302def10d11d718d2093e9307156183b5c95ca20c0045e430d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 10): src/MariaDbEventStore.php:544-565 | src/MariaDbEventStore.php:596-617 | src/MariaDbEventStore.php:644-665 | src/MariaDbEventStore.php:691-712 | src/MySqlEventStore.php:544-565 | src/MySqlEventStore.php:596-617 | src/MySqlEventStore.php:644-665 | src/MySqlEventStore.php:691-712 | src/PostgresEventStore.php:527-548 | src/PostgresEventStore.php:626-647 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:544\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0363d19ffbcc25d31be442c1a7b173c1ca02b47bedfe1e1a8407786adf763a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 6): src/Projection/PdoEventStoreProjector.php:399-420 | src/Projection/PdoEventStoreProjector.php:982-1003 | src/Projection/PdoEventStoreProjector.php:1116-1134 | src/Projection/PdoEventStoreReadModelProjector.php:364-385 | src/Projection/PdoEventStoreReadModelProjector.php:946-967 | src/Projection/PdoEventStoreReadModelProjector.php:1087-1105 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projection/PdoEventStoreReadModelProjector.php:940\u0060 calls \u0060persist\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:977\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4b51f3cf121456a9a78fc3f1798d3652d0e6d3fb56e770cfb58f17755ed448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): src/Projection/MariaDbProjectionManager.php:293-314 | src/Projection/MariaDbProjectionManager.php:353-374 | src/Projection/MySqlProjectionManager.php:293-314 | src/Projection/MySqlProjectionManager.php:353-374 | src/Projection/PostgresProjectionManager.php:245-266 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/MariaDbProjectionManager.php:293\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6ad88ba06e487aad14372e0ebf428e3852bc5c26f1ff53b203769d0dd9b81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): src/MariaDbEventStore.php:678-699 | src/MySqlEventStore.php:678-699 | src/Projection/MariaDbProjectionManager.php:341-361 | src/Projection/MySqlProjectionManager.php:341-361 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:678\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"007dfc5bb3162110c4d8f1cbfc0b7f20011477d607c938aed002f4605bc68881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/MariaDbEventStore.php:581-602 | src/MySqlEventStore.php:581-602 | src/PostgresEventStore.php:561-582 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/MariaDbEventStore.php:578\u0060 calls \u0060empty\u0060, \u0060preg_match\u0060, \u0060InvalidArgumentException\u0060 and \u0060src/PostgresEventStore.php:560\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b81a2f2e68e2ab3c722eed44509b2fc749922e496334072388b116534be6fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/MariaDbEventStore.php:745-766 | src/MySqlEventStore.php:744-765 | src/PostgresEventStore.php:725-746 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:745\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da07869ba925ade4e499731071452229ca79c33651628bb841bde52dece6f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): src/PostgresEventStore.php:568-588 | src/PostgresEventStore.php:660-681 | src/Projection/PostgresProjectionManager.php:290-310 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PostgresEventStore.php:568\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PostgresEventStore.php"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeed2414cf3669c4c7e4dcee11fc78fdbf8db2e46ee16c99f9f31a9f8fc2b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:542-563 | src/Projection/PdoEventStoreReadModelProjector.php:506-527 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:542\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383c2e2c928ceca8013efacb4e002ce218845e4f845ae2fb0fa65bfd6c2db9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:672-693 | src/Projection/PdoEventStoreReadModelProjector.php:637-658 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:672\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60b3be813a6847da330a0919bcf4b523187fea71d82e4958a7add614f13246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:804-825 | src/Projection/PdoEventStoreReadModelProjector.php:764-785 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac445ee8b1dd5f8ed514de93e30a95ff80d2ccb98b74be3e8d816bb393049b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/MySqlEventStore.php:721-741 | src/PostgresEventStore.php:701-721 \u2014 before extracting anything, compare \u0060src/MySqlEventStore.php\u0060 and \u0060src/PostgresEventStore.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 472 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MySqlEventStore.php:721\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8940e2e0c3f7273a90756e2dc9327d2f47d52274a9c74912473ad71e1a93e94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/WriteLockStrategy/MariaDbMetadataLockStrategy.php:42-62 | src/WriteLockStrategy/MysqlMetadataLockStrategy.php:38-58 \u2014 before extracting anything, compare \u0060src/WriteLockStrategy/MariaDbMetadataLockStrategy.php\u0060 and \u0060src/WriteLockStrategy/MysqlMetadataLockStrategy.php\u0060 as WHOLE FILES: 90% 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WriteLockStrategy/MariaDbMetadataLockStrategy.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc72eb57e2de488418a4f8a392100a0a361297aecb13295cc0cf2c05d8980c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 15): src/MariaDbEventStore.php:536-554 | src/MariaDbEventStore.php:588-606 | src/MariaDbEventStore.php:635-654 | src/MariaDbEventStore.php:682-701 | src/MySqlEventStore.php:536-554 | src/MySqlEventStore.php:588-606 | src/MySqlEventStore.php:635-654 | src/MySqlEventStore.php:682-701 | src/PostgresEventStore.php:519-537 | src/PostgresEventStore.php:617-636 | src/Projection/MariaDbProjectionManager.php:285-303 | src/Projection/MariaDbProjectionManager.php:345-363 | src/Projection/MySqlProjectionManager.php:285-303 | src/Projection/MySqlProjectionManager.php:345-363 | src/Projection/PostgresProjectionManager.php:237-255 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:536\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabb8c0a14cbfd84656e057d53ea936c532784ce6a6389e17a64a649433f1788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/MariaDbEventStore.php:678-697 | src/MySqlEventStore.php:678-697 | src/Projection/PostgresProjectionManager.php:284-304 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PostgresProjectionManager.php:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e75803cfd34540019e2eeec3acb34aa91fae097bfa6c47b38e0388c3e9f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/MariaDbEventStore.php:844-862 | src/MySqlEventStore.php:843-861 | src/PostgresEventStore.php:827-845 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"2647fd4c93126bdcd0b7239e5d5f5f5775f8a209327922923533d59e1cf81e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): src/Projection/MariaDbProjectionManager.php:178-195 | src/Projection/MariaDbProjectionManager.php:221-238 | src/Projection/MySqlProjectionManager.php:178-195 | src/Projection/MySqlProjectionManager.php:221-238 | src/Projection/PostgresProjectionManager.php:164-181 | src/Projection/PostgresProjectionManager.php:190-207 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727527380d97e04927735b8d3443b50bc344552d2d4b871137ef7a68b524f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 4): src/Projection/PdoEventStoreProjector.php:889-904 | src/Projection/PdoEventStoreProjector.php:932-949 | src/Projection/PdoEventStoreReadModelProjector.php:849-864 | src/Projection/PdoEventStoreReadModelProjector.php:892-909 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:889\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Projection/PdoEventStoreProjector.php:906\u0060 calls \u0060RUNNING\u0060 and \u0060src/Projection/PdoEventStoreProjector.php:951\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ffb0ab652124cc0792446be21583204ce4764a92bb90a1203b5946d357319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/MariaDbEventStore.php:238-255 | src/MySqlEventStore.php:238-255 | src/PostgresEventStore.php:218-235 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfcf31b73383a161e72eebd8fd1b50aade103bb8104f7e7971ec8a7be02c331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:434-450 | src/Projection/PdoEventStoreProjector.php:956-973 | src/Projection/PdoEventStoreReadModelProjector.php:393-409 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"31587c4939368229dd08bce0c8f64baf5217f3a2dfa7f9d07e7d4ff83f5ca356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/MariaDbEventStore.php:553-569 | src/MariaDbEventStore.php:605-621 | src/MySqlEventStore.php:553-569 | src/MySqlEventStore.php:605-621 | src/PostgresEventStore.php:536-552 | src/PostgresEventStore.php:587-603 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:553\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b959461feeb9e9acb5d90c2667b1c6f5343d266b1b98947b247d52aba6e9e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/MariaDbEventStore.php:653-669 | src/MariaDbEventStore.php:700-716 | src/MySqlEventStore.php:653-669 | src/MySqlEventStore.php:700-716 | src/PostgresEventStore.php:635-651 | src/PostgresEventStore.php:680-696 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:653\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cea23478f9a7a5f8fcb972a6cfb415f333cc8e362f75c27c7469f76aad95a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/Projection/MariaDbProjectionManager.php:302-318 | src/Projection/MariaDbProjectionManager.php:362-378 | src/Projection/MySqlProjectionManager.php:302-318 | src/Projection/MySqlProjectionManager.php:362-378 | src/Projection/PostgresProjectionManager.php:254-270 | src/Projection/PostgresProjectionManager.php:309-325 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/MariaDbProjectionManager.php:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca1077570d4649dd231b4db68a5398970a15879b24b2674e52568736d68d709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): src/Projection/PdoEventStoreProjector.php:663-678 | src/Projection/PdoEventStoreProjector.php:699-715 | src/Projection/PdoEventStoreReadModelProjector.php:628-643 | src/Projection/PdoEventStoreReadModelProjector.php:664-680 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/PdoEventStoreProjector.php:663\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a687349aa273b2ee109facea450ccc5ac2b8bba44da3ece7c81cf26cba1e6fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/MariaDbEventStore.php:127-143 | src/MySqlEventStore.php:127-143 | src/PostgresEventStore.php:128-144 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13268dc374a7b08d5bdbaaba8f716029ad6f49f2569cf63ac0c947c76de140f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): src/MariaDbEventStore.php:494-510 | src/MySqlEventStore.php:494-510 | src/PostgresEventStore.php:422-437 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61001737e954d789e720376ac21732d5290ef2db3970fd7767458a4ebbcab1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:325-341 | src/Projection/PdoEventStoreQuery.php:206-222 | src/Projection/PdoEventStoreReadModelProjector.php:316-332 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd08c9c136927e6049c0b1b671f199419e6987d8081cd1745e82ce05570e7f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/MySqlEventStore.php:99-115 | src/PostgresEventStore.php:100-116 \u2014 before extracting anything, compare \u0060src/MySqlEventStore.php\u0060 and \u0060src/PostgresEventStore.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 472 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MySqlEventStore.php:99\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c11be970ee98f38f916b07d5308f651bc1fd620015462d793e41d4b3553dfce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:851-867 | src/Projection/PdoEventStoreReadModelProjector.php:811-827 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6448f2e4ac77b5d12b9ba42ebd561b0ced8f94b163ac2165d46f5c2dddf6cf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): src/Projection/MariaDbProjectionManager.php:139-154 | src/Projection/MariaDbProjectionManager.php:182-197 | src/Projection/MariaDbProjectionManager.php:225-240 | src/Projection/MySqlProjectionManager.php:139-154 | src/Projection/MySqlProjectionManager.php:182-197 | src/Projection/MySqlProjectionManager.php:225-240 | src/Projection/PostgresProjectionManager.php:142-157 | src/Projection/PostgresProjectionManager.php:168-183 | src/Projection/PostgresProjectionManager.php:194-209 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projection/MariaDbProjectionManager.php:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1203237027fc6dd3c34c35920519fd93622a9805f9129b5ba95113fcda26490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): src/MariaDbEventStore.php:120-135 | src/MariaDbEventStore.php:178-193 | src/MySqlEventStore.php:120-135 | src/MySqlEventStore.php:178-193 | src/PostgresEventStore.php:121-136 | src/PostgresEventStore.php:177-192 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"03520e4a95f8ecb77041d9b0fa444f4c79a9165384bb88b0752f3c13d4672673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 6): src/Projection/PdoEventStoreProjector.php:465-479 | src/Projection/PdoEventStoreProjector.php:801-816 | src/Projection/PdoEventStoreProjector.php:830-844 | src/Projection/PdoEventStoreReadModelProjector.php:429-443 | src/Projection/PdoEventStoreReadModelProjector.php:761-776 | src/Projection/PdoEventStoreReadModelProjector.php:790-804 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ddd887bcdf1de722caf87f71c1c70548c925986e75f2b04a568050687fd54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:215-230 | src/Projection/PdoEventStoreReadModelProjector.php:206-221 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projection/PdoEventStoreProjector.php:214\u0060 calls \u0060ArrayCache\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php:205\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90879fe3b6b5d3072498d765967eaddba5d64d3822cd1a6ed7dc81548300d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/MariaDbEventStore.php:867-881 | src/MySqlEventStore.php:866-880 | src/PostgresEventStore.php:850-864 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed301f59c71dc74e67da0f734aef2c2dc31fe69d0ae42f016d0630977e19784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Projection/MariaDbProjectionManager.php:88-102 | src/Projection/MySqlProjectionManager.php:88-102 | src/Projection/PostgresProjectionManager.php:91-105 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e55356013c117fd5f2ed2ab09c4469f2f9951fc975e2209310dc3eafe9be21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Projection/MariaDbProjectionManager.php:110-124 | src/Projection/MySqlProjectionManager.php:110-124 | src/Projection/PostgresProjectionManager.php:113-127 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"426da087d956bb9e03e01567de93745cc990d52a9ffbff8d94c34a02eb217c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:235-249 | src/Projection/PdoEventStoreQuery.php:127-141 | src/Projection/PdoEventStoreReadModelProjector.php:226-240 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad292658abdb412a2ada507526d4d39c45d58354338eb8cbe97757f9c7f11ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php:76-89 | src/PersistenceStrategy/MySqlAggregateStreamStrategy.php:72-85 | src/PersistenceStrategy/PostgresAggregateStreamStrategy.php:79-92 \u2014 before extracting anything, compare \u0060src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php\u0060 and \u0060src/PersistenceStrategy/MySqlAggregateStreamStrategy.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c3f1b221063bcd12a23ef893a82769713729ed58a873a5dfb36cdefaa1c3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:1082-1095 | src/Projection/PdoEventStoreReadModelProjector.php:1053-1066 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d42327d364c0cc5634b39b3c0d0eaf402b785757fa71a3a673856a47dca5fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12): src/MariaDbEventStore.php:553-565 | src/MariaDbEventStore.php:605-617 | src/MariaDbEventStore.php:653-665 | src/MariaDbEventStore.php:700-712 | src/MySqlEventStore.php:553-565 | src/MySqlEventStore.php:605-617 | src/MySqlEventStore.php:653-665 | src/MySqlEventStore.php:700-712 | src/PostgresEventStore.php:536-548 | src/PostgresEventStore.php:587-599 | src/PostgresEventStore.php:635-647 | src/PostgresEventStore.php:680-692 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:553\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7052a25456f6d61005d7b6ee4bacbae809023c42de5b2efb7ee69b992aa61bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/MariaDbEventStore.php:200-212 | src/MySqlEventStore.php:200-212 | src/PostgresEventStore.php:199-211 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd648a404df514053eabd9c171ce560606799ee0e4f9c5ec49e25fa3512f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/MariaDbEventStore.php:399-410 | src/MySqlEventStore.php:399-410 | src/PostgresEventStore.php:346-357 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:399\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7765b380d9635c1de9f6dd5159e4b6ebe70334d3d124bd98c45058de46aa8e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/MariaDbEventStore.php:321-331 | src/MariaDbEventStore.php:403-413 | src/MySqlEventStore.php:321-331 | src/MySqlEventStore.php:403-413 | src/PostgresEventStore.php:350-360 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9da5e667d7682233946fdacb8c629d8fbb3c7a9b7e8628a472caa6258fc933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/MariaDbEventStore.php:320-329 | src/MariaDbEventStore.php:402-411 | src/MySqlEventStore.php:320-329 | src/MySqlEventStore.php:402-411 | src/PostgresEventStore.php:277-286 | src/PostgresEventStore.php:349-358 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/PostgresEventStore.php:360\u0060 calls \u0060generateTableName\u0060 and \u0060src/PostgresEventStore.php:288\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e392d0c79c40592b8083c7c4a235cfd62e1c81cfba094978125b48f6d3f0d7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/MariaDbEventStore.php:734-743 | src/MySqlEventStore.php:733-742 | src/PostgresEventStore.php:713-722 \u2014 before extracting anything, compare \u0060src/MariaDbEventStore.php\u0060 and \u0060src/MySqlEventStore.php\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 716 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MariaDbEventStore.php:734\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/MariaDbEventStore.php:732\u0060 calls \u0060convertToColumn\u0060 and \u0060src/MySqlEventStore.php:731\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MariaDbEventStore.php"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf3d982bcf608a10e27b73bbc58f460d12f9b4aa4d800f8d0c0e5716d3a481f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:746-755 | src/Projection/PdoEventStoreReadModelProjector.php:711-720 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fead495dfe7eba70c091d2c0e8d2a5d61bd5d6136c9f9f2945ea618d253f6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php:71-79 | src/PersistenceStrategy/MariaDbSingleStreamStrategy.php:87-95 | src/PersistenceStrategy/MySqlSimpleStreamStrategy.php:69-77 | src/PersistenceStrategy/MySqlSingleStreamStrategy.php:75-83 | src/PersistenceStrategy/PostgresSimpleStreamStrategy.php:76-84 | src/PersistenceStrategy/PostgresSingleStreamStrategy.php:91-99 \u2014 before extracting anything, compare \u0060src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php\u0060 and \u0060src/PersistenceStrategy/MariaDbSingleStreamStrategy.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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e307eae36fb87faa9a18496b4cdb85640d4b4f5e7d7fb5a8cc8cbbb40d9f1dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php:86-93 | src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php:76-83 | src/PersistenceStrategy/MariaDbSingleStreamStrategy.php:92-99 | src/PersistenceStrategy/MySqlAggregateStreamStrategy.php:82-89 | src/PersistenceStrategy/MySqlSimpleStreamStrategy.php:74-81 | src/PersistenceStrategy/MySqlSingleStreamStrategy.php:80-87 | src/PersistenceStrategy/PostgresAggregateStreamStrategy.php:89-96 | src/PersistenceStrategy/PostgresSimpleStreamStrategy.php:81-88 | src/PersistenceStrategy/PostgresSingleStreamStrategy.php:96-103 \u2014 before extracting anything, compare \u0060src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php\u0060 and \u0060src/PersistenceStrategy/MariaDbSimpleStreamStrategy.php\u0060 as WHOLE FILES: 90% 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 \u0060src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistenceStrategy/MariaDbAggregateStreamStrategy.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ba7aba6b4882c13cddf2448fdbf32d76224d1b93ededd01beccfe843cbd2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Container/AbstractEventStoreFactory.php:61-67 | src/Container/AbstractProjectionManagerFactory.php:53-59 | src/Container/PdoConnectionFactory.php:50-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Container/AbstractEventStoreFactory.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ad744d854ebe6afe53f161ae78f72c478a8e75e2a3c16edd1eece568aef2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/PersistenceStrategy/PostgresAggregateStreamStrategy.php:101-108 | src/PersistenceStrategy/PostgresSimpleStreamStrategy.php:93-100 | src/PersistenceStrategy/PostgresSingleStreamStrategy.php:108-115 \u2014 before extracting anything, compare \u0060src/PersistenceStrategy/PostgresAggregateStreamStrategy.php\u0060 and \u0060src/PersistenceStrategy/PostgresSimpleStreamStrategy.php\u0060 as WHOLE FILES: 95% 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistenceStrategy/PostgresAggregateStreamStrategy.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"826481f381509924e0f16ffce48b53f2ffc4337c2cd13712097356fca78240aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Projection/PdoEventStoreProjector.php:261-272 | src/Projection/PdoEventStoreReadModelProjector.php:252-263 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 649 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811b2ac6b038c42fd32fc18aaf7a8655560416125012a3538c8426f6891b787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src/Projection/PdoEventStoreProjector.php:277-285 | src/Projection/PdoEventStoreProjector.php:301-309 | src/Projection/PdoEventStoreQuery.php:158-166 | src/Projection/PdoEventStoreQuery.php:182-190 | src/Projection/PdoEventStoreReadModelProjector.php:268-276 | src/Projection/PdoEventStoreReadModelProjector.php:292-300 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ad9c4dc8a99c27026483eba0c594b1bc2f35d1601108bab4271e248f1f895a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:290-296 | src/Projection/PdoEventStoreQuery.php:171-177 | src/Projection/PdoEventStoreReadModelProjector.php:281-287 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4569b1f65ff3f8b87b75789c9092d0d20834d61d6faa8f6a2394ecc878729bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Projection/PdoEventStoreProjector.php:346-352 | src/Projection/PdoEventStoreQuery.php:227-233 | src/Projection/PdoEventStoreReadModelProjector.php:337-343 \u2014 before extracting anything, compare \u0060src/Projection/PdoEventStoreProjector.php\u0060 and \u0060src/Projection/PdoEventStoreQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"74de940d1116e0c4b6700b7e0a22f4c5ec3381dd3dda71740fe03912519e0eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Projection/MariaDbProjectionManager.php:60-71 | src/Projection/MySqlProjectionManager.php:60-71 | src/Projection/PostgresProjectionManager.php:63-74 \u2014 before extracting anything, compare \u0060src/Projection/MariaDbProjectionManager.php\u0060 and \u0060src/Projection/MySqlProjectionManager.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"83210d6c9ae3b7e9dc70e102f5486ec3010ffdc84fcb376641c759f78b7894da"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_loads_write_lock_if_set: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Container/MariaDbEventStoreFactoryTest.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e311c4663020abb8f9753362dbf249859cdf86637f8fd1ba634e0826f88a60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_loads_write_lock_if_set: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Container/MySqlEventStoreFactoryTest.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cce5b934d83fea978ccac67a172346749243e8cafac762217a10846a41bde5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_loads_write_lock_if_set: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Container/PostgresEventStoreFactoryTest.php"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"835eb3afa695011da42bb3b09d95d3936fb554aaad5e10a5dd47b2c18a82b02a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MariaDbEventStoreTest.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de9aa87f1d6bfd6b658e1fa1b0ddaab968d1e9a2c0c10f438b56e72538ef4d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_categories: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MariaDbEventStoreTest.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e83e20739798a752771b8a53e5ef58ce3115945c28ab21ea3ce38d7a9b5ed3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_and_releases_locks_when_appending_streams: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MariaDbEventStoreTest.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f84133f8203b9f9c0ec731bedc4c1429d78a38cc181616206e89a816b3fa2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MySqlEventStoreTest.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a687e237bbedefa1a34dddb4c4fdf3e8eee5b9407f18be1a2590c7289d9c9071"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_categories: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MySqlEventStoreTest.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0ba40d1dc3435e30771f16105892ec824d0ad57859c6f4a175b084b8dab87b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_and_releases_locks_when_appending_streams: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/MySqlEventStoreTest.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"846cecfeaa60c105d7314a23d849dda9183311c2d4983e0586829fe9e684e102"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PostgresEventStoreTest.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e422d8a21f836546e687d43d79bf6f37de9b30cc691d092bed11918ecc3f36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_stream_categories: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PostgresEventStoreTest.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88f9bfb20f1e5e914bc57ac38cd39b11eeea52ff08268d3285bd28704ad7ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_and_releases_locks_when_appending_streams: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/PostgresEventStoreTest.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8baaa812e9756911377dfaf87917a8d5a189a0e931cb0c552c1849f4fe3a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_calls_reset_projection_also_if_init_callback_returns_state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MariaDbEventStoreReadModelProjectorCustomTablesTest.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea18f33e8512dcc3af571e437db7e28031b43f8e422bb22c8709ab40d565686"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_calls_reset_projection_also_if_init_callback_returns_state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MariaDbEventStoreReadModelProjectorTest.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0108808b2c0ac565c8717aab987ee4dad36b6fb422c0a82c93c772d983744eb1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MariaDbProjectionManagerTest.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03e707f23aed92377a8712cfdb6bfb1cfa2adf05aff7ca79bff6bd5a14987df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names_using_regex: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MariaDbProjectionManagerTest.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"165b012ca709e3d96eaf239d72eaa7ea561c77254e331e9fb76b4abaa9633f75"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_calls_reset_projection_also_if_init_callback_returns_state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MySqlEventStoreReadModelProjectorCustomTablesTest.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424e75e183deffa44b176368274d4411e5b5894ef1c73436feea61232d43cb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_calls_reset_projection_also_if_init_callback_returns_state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MySqlEventStoreReadModelProjectorTest.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e5b408e7cfe9010a68ae0ceaef80ffdb18c8c43ff556b689245d40bffcd5dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MySqlProjectionManagerTest.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"471be0a6adcff9880087733817694c1f795e54747fec680abb1ab3c1ab72851e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names_using_regex: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/MySqlProjectionManagerTest.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbcbf43caa62d7a2b68a6ac799dbf43f4c96f6079ed2e58f85832c9048bf227"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/PostgresProjectionManagerTest.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb6f9c435669b365f58dda861d1b326fa85b3cb6270edd6f33a98bc819e4c2a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_fetches_projection_names_using_regex: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Projection/PostgresProjectionManagerTest.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a31108e140f9c3c4c2becce3b3e44edb552eb28656f6192714d1c43822a9bf7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_with_given_name: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MariaDbMetadataLockStrategyTest.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c41ef5097197386c2ffe395d88e77e89e9b0fedd96dc01429c154f38db3d6e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_without_timeout: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MariaDbMetadataLockStrategyTest.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0d0d524852d74f71768423bb8444f2199079671a25405e7fd563a4b7936da1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_with_configured_timeout: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MariaDbMetadataLockStrategyTest.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3cf798e7c6a768f3f892bef4ce27d949c9f58b931a666164b6b26ae1dc233"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_releases_lock: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MariaDbMetadataLockStrategyTest.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f944623f3c02923546b520b86d3d475cb33accccef4e4de3989388682ab1751"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_with_given_name: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MysqlMetadataLockStrategyTest.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b1df0711cf509476b4b14416a2579f696795cf2108230e508753285f146532"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_without_timeout: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MysqlMetadataLockStrategyTest.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"edef2fecbbf17ba867ecab09135c2f67cd45a0b294d640a5d6cb2080d6dc3acf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_with_configured_timeout: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MysqlMetadataLockStrategyTest.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1467f184bfd4582b21f5cfdc38c1f0ce26b14d700ca88287f747713c7fd87129"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_releases_lock: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/MysqlMetadataLockStrategyTest.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"941f4e523908487c82aaadf9042cdcf651b65ac0d42facc76641876684b62faa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_requests_lock_with_given_name: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/PostgresAdvisoryLockStrategyTest.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c3cfaec565198ea34b700571fd516c0c472c0b881accf28ff693e3317bd07"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: it_releases_lock: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/WriteLockStrategy/PostgresAdvisoryLockStrategyTest.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aefb8f67cbf43f459ca556a3a83e3a84ae52ac89ac30cd058dbd6da334a592"}},{"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":"3ed22623247dff065af1eb040abdc0ad56635d0f3a410c5f125287b987b3611b"},"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":"250f225cc98744373f93f8dfc8f1df4f74ee9977db1a093beb9a425901b0992b"},"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":"c95ebafc0c891713156d2f81dfcb6037a817825ce1235bf4976e412dd72303f6"},"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":"63f7deadb8493c16e6f08caadd24005b2c85cf4a020694fc407bacabfe046eb3"},"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":"5b28d059de4b96e41891cfc9bf46b60a0422bfb5ec907e6a266fe00b669b97ad"},"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":"66ea8c79cd11387a06b5b41388b374d63c51a67e31d2587aac87d6d7b51427cc"},"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":"a2ac96a9ffbbcc83101e8e929b73934a302ff9180960b68ee9da88e4fc3616b5"},"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":"b35ad23bcf7cced60e71e54424cae13e4ccb811faff3c9f87e0bb593b31623fb"},"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":"267a05b84be618505bf9c2feb5d08d3fac790468d2ae98265bf5f4923ec1efbf"},"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":"25657d23f20e75cdfe8f6b980980f3309fec9ee93a718db312cff9a0a4e247e1"},"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":"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":"55077ab219e21c47aa5a1758e392fef13f92f7d58101d5db31467773da5cfa1f"},"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":"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"839f9315e99d77f02efa42d3cfe90993805e341857b4e0f118d176844d3696ce"},"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":"ee7fef956e5902e58aceeb4d0278f387946b49e1d1de7401946d95e5f017c051"},"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":"9f2444bffbdd7139d4a20c8fd17bcaf93f2a0b83d1f99e00edf3848a3527321c"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 24 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (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; 24 of the 53 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/Container/AbstractProjectionManagerFactory.php. 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":"src/Container/AbstractProjectionManagerFactory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e1d75a8562d7290151726cbc52be4d358f0aab2b71a1a55d707ac6c2b0e614"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: MariaDbProjectionManager.php, MySqlProjectionManager.php, PostgresProjectionManager.php: 3 files \u2014 \u0060src/Projection/MariaDbProjectionManager.php\u0060, \u0060src/Projection/MySqlProjectionManager.php\u0060, \u0060src/Projection/PostgresProjectionManager.php\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/MariaDbProjectionManager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abfc2971511d360a65bc17e45d9b5714323161651b939cccc94a466e2c3ad36"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: PdoEventStoreProjector.php, PdoEventStoreQuery.php, PdoEventStoreReadModelProjector.php: 3 files \u2014 \u0060src/Projection/PdoEventStoreProjector.php\u0060, \u0060src/Projection/PdoEventStoreQuery.php\u0060, \u0060src/Projection/PdoEventStoreReadModelProjector.php\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b698af5686ed8ddceff5ea6cfcf97c36ac2833142ea680c888896aeb71e1b9c6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MySqlEventStore.php \u2194 PostgresEventStore.php: \u0060src/MySqlEventStore.php\u0060 and \u0060src/PostgresEventStore.php\u0060 change together 58% of the time (43 of the 74 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 43 shared commits counted here, the most recent 3 are \u0060f867d50e\u0060 remove php8.4 deprecation warnings; \u0060ce4f7c9c\u0060 Restores custom strategy backward compatibility; \u0060d26d91ab\u0060 don\\\u0027t execute count statement on load \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MySqlEventStore.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef6f739f38f505d067c57a5ae11f80a39f8eaece0a86076c94e8544ede4e391"}},{"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":"ef64e634a5e54bf2117a3609b6e0a3e84a822db9b7001aa81fa89f8aff4864a2"},"taxa":[{"id":"CICD-SEC-5","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","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":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/integration.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060! isset($arguments[0]) || ! $arguments[0] instanceof ContainerInterface\u0060 appears character-identically in 3 files \u2014 src/Container/AbstractEventStoreFactory.php, src/Container/AbstractProjectionManagerFactory.php, src/Container/PdoConnectionFactory.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":"src/Container/AbstractEventStoreFactory.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e1a733483aed538f113461292b689888a8c47320f2eae8098c56a99f3ba047"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u00271\u0027 === $lockStatus[0][\u0027get_lock\u0027] || 1 === $lockStatus[0][\u0027get_lock\u0027]\u0060 appears character-identically in 2 files \u2014 src/WriteLockStrategy/MariaDbMetadataLockStrategy.php, src/WriteLockStrategy/MysqlMetadataLockStrategy.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":"src/WriteLockStrategy/MariaDbMetadataLockStrategy.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7682d4b44e56040891e9379ee77f6729c0dc34b6710ce17a03c1bc158c26d253"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is(ProjectionStatus::RUNNING()) \u0026\u0026 ! $this\u0060 appears character-identically in 2 files \u2014 src/Projection/PdoEventStoreProjector.php, src/Projection/PdoEventStoreReadModelProjector.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":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"6133a61c8f91c078f60c5e1789a77017d91138ed53bab536a853e1011595e321"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isGapInStreamPosition((int) $this-\u003EstreamPositions[$this-\u003EcurrentStreamName], (int) $key) \u0026\u0026 $this\u0060 appears character-identically in 2 files \u2014 src/Projection/PdoEventStoreProjector.php, src/Projection/PdoEventStoreReadModelProjector.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":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f273f3f55ba1a1aea7c623aaec8513af5f7e82ea2aadf3e8d7a1e674a0b8592d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query || (null === $this-\u003Ehandler \u0026\u0026 empty($this-\u003Ehandlers))\u0060 appears character-identically in 3 files \u2014 src/Projection/PdoEventStoreProjector.php, src/Projection/PdoEventStoreQuery.php, src/Projection/PdoEventStoreReadModelProjector.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":"src/Projection/PdoEventStoreProjector.php"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bae6e82845b4b6a381025ae024bab8adad1229b20d801d3cb060bc9835f5aa2"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: 0/3 of this repository\u0027s PHPStan/Psalm configuration(s) run at a level that checks null \u2014 PHPStan level 8 or above (\u0060max\u0060 included), or Psalm \u0060errorLevel\u0060 3 or below (Psalm\u0027s default, with none stated, is 1). A PHPStan level written neither in the file nor in an include inside the repository is 0, PHPStan\u0027s own default. Below those levels the checker removes \u0060null\u0060 from a union before any rule looks, so \u0060$order-\u003Ecustomer()-\u003Ename()\u0060 on a \u0060?Customer\u0060 passes, and the first null reaching it is an \u0060Error: Call to a member function name() on null\u0060 in production."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}}],"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-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-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-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":"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":"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/"}]},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":18,"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."]}]}