{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"P11","name":"BDD / executable specs","shortDescription":{"text":"BDD / executable specs"},"helpUri":"https://codehealth.canine.dev/dimensions/P11"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"CborDecoder.decodeValue (cyclomatic 96): CborDecoder.decodeValue has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/Api/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ceb4ccfcafb109ebdd90309eb7a2e3f9d4e2a292668859853299c337aee18b"}},{"ruleId":"D1","level":"warning","message":{"text":"CborDecoder.decodeValue (cyclomatic 96): CborDecoder.decodeValue has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3aa726a89561303a3e2a6ebcc373637edb3553af0d2ab7651da9c28f6f24e"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlBody.formatPlan (cyclomatic 48): XmlBody.formatPlan has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/XmlBody.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1003b22a9357fcc0274e2c8e947247e468e698df6c4e4932fd475fbbc1e4ebcf"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlParser.parsePlan (cyclomatic 46): XmlParser.parsePlan has cyclomatic complexity 46 (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/Api/Parser/XmlParser.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d39847fc125477516189f760bdf1b15d93a59a72b2187bdc66d957b9afa6ab0"}},{"ruleId":"D1","level":"warning","message":{"text":"functions.parse_ini_file (cyclomatic 44): functions.parse_ini_file has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a06100c8f937eff8f755de275f79c6b095cfd302337d860ce5eaea6e9bd39ba"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonBody.formatPlan (cyclomatic 33): JsonBody.formatPlan has cyclomatic complexity 33 (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/Api/Serializer/JsonBody.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523c2c35699f1bf3078f404a71c9e80b8d2f74272e4987aed0a81a7da7d9534"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointArnMiddleware.__invoke (cyclomatic 31): EndpointArnMiddleware.__invoke has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3Control/EndpointArnMiddleware.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cab07cfbb6695750b9639472a124f76a92007dd21f5b1d6be9c5f0fd79fd04"}},{"ruleId":"D1","level":"warning","message":{"text":"RestSerializer.serialize (cyclomatic 30): RestSerializer.serialize has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestSerializer.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c46c6770fafe437ae0d2b547b94a172c0e7bba72363e734b6997296f6e24db4"}},{"ruleId":"D1","level":"warning","message":{"text":"CborEncoder.encodeValue (cyclomatic 27): CborEncoder.encodeValue has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborEncoder.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef48c8655c498039d0e31be2520fd3bb5bf038df30de5cc9447c1ef1c79d21f"}},{"ruleId":"D1","level":"warning","message":{"text":"InstanceProfileProvider.__invoke (cyclomatic 25): InstanceProfileProvider.__invoke has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/InstanceProfileProvider.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0940d509e5e378cbe206f43973368d2257f8f39766d511b8e5e1c2b65f07f54"}},{"ruleId":"D1","level":"warning","message":{"text":"RetryMiddleware.__invoke (cyclomatic 25): RetryMiddleware.__invoke has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e6c9735a2af23089c6c1195ab8680efb4a70b8dc537c919e60d40f56d50ede"}},{"ruleId":"D1","level":"warning","message":{"text":"CborEncoder.encodeValue (cyclomatic 24): CborEncoder.encodeValue has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd02e350f251f696ff00cad70e871b207189bac908af0d22a83e0f433bf3fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"Marshaler.marshalValue (cyclomatic 23): Marshaler.marshalValue has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DynamoDb/Marshaler.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25b090bddc9733aa7a0b93205beea77a1ca0f9d584cd20c134248da8484605"}},{"ruleId":"D1","level":"warning","message":{"text":"DocsBuilder.createHtmlForOperation (cyclomatic 22): DocsBuilder.createHtmlForOperation has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"53467b07f0440e1e7dedf62b6dec657fe0f9b1d76fbcf91687811bbae38cfc61"}},{"ruleId":"D1","level":"warning","message":{"text":"RetryMiddleware.isRetryable (cyclomatic 21): RetryMiddleware.isRetryable 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/Retry/V3/RetryMiddleware.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46adc1677537d3139ad238ef6faadef9ac35d6d24bd75d0b053fafa175a8e2"}},{"ruleId":"D1","level":"warning","message":{"text":"BucketEndpointArnMiddleware.validateArn (cyclomatic 21): BucketEndpointArnMiddleware.validateArn has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc58ad4d43acb90bb603516e8878546a06483afb653454c0bb998c367f82ca"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractRestParser.extractHeader (cyclomatic 20): AbstractRestParser.extractHeader has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae99eb4154a7fb6df56874d60c170fa377005eb6bc5f5039a808bb44e6bcfea"}},{"ruleId":"D1","level":"warning","message":{"text":"Transfer.__construct (cyclomatic 20): Transfer.__construct has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Transfer.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d4c8fd3c6e9e0ceba2beb7703f92c6b46e5847c3eb40fe9549d4a47efeeffc"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractRestParser.__invoke (cyclomatic 18): AbstractRestParser.__invoke has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee2cbe8366e81d627c3f9900f7760cc75eed272c2b846c0b049e8b0d377d457"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialProvider.process (cyclomatic 18): CredentialProvider.process has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b78bb34876296cba41a21f9af06a48cd03394823edf80b84830bc1afbc3f05d"}},{"ruleId":"D1","level":"warning","message":{"text":"BucketEndpointArnMiddleware.__invoke (cyclomatic 18): BucketEndpointArnMiddleware.__invoke has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"216753c884d2d70355d97d59d7d370d470a9fdf238e9f434174d23e9b09dd705"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractRpcV2Serializer.resolveInputShape (cyclomatic 17): AbstractRpcV2Serializer.resolveInputShape has cyclomatic complexity 17 (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/Api/Serializer/AbstractRpcV2Serializer.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae4a24d5a87c1b12359b84081f03f1e3033c53f7cea182bc186e40acab3cc2d"}},{"ruleId":"D1","level":"warning","message":{"text":"DocsBuilder.getMemberText (cyclomatic 16): DocsBuilder.getMemberText has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"23728cee36ea6f85df6e6b83e003480927ee1f7400212eb35f4e79e8ff1f0b43"}},{"ruleId":"D1","level":"warning","message":{"text":"CborDecoder.decodeIndefiniteString (cyclomatic 16): CborDecoder.decodeIndefiniteString has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67dd84851e64230521ad7d71320f6887850938d3960082c39c3c47fa4f60d4c"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParamBuilder.formatItems (cyclomatic 16): QueryParamBuilder.formatItems has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/QueryParamBuilder.php"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"936eae67a9ce0c0f231696e9bd5a4339600e16a9d9b3b52c596c8b914757cc3c"}},{"ruleId":"D1","level":"warning","message":{"text":"Validator.check_structure (cyclomatic 16): Validator.check_structure has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Validator.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9091fba1e87054b24e5b3754732c8e83666e17a080e4b2cf55bc98e366803f"}},{"ruleId":"D1","level":"warning","message":{"text":"CborDecoder.decodeIndefiniteString (cyclomatic 16): CborDecoder.decodeIndefiniteString has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborDecoder.php"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8bc441bf316437d1cfe85a2ccf407ed8dbffdcd5ae66e4e4aa0f8de4add3f1"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialProvider.ini (cyclomatic 16): CredentialProvider.ini has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"178360fc40f620cb65d4b70b8a68c5cf5e8c745a1faa4636d9adb5339f896dec"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialProvider.loadRoleProfile (cyclomatic 16): CredentialProvider.loadRoleProfile has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"048f7c01433373736ac844560ddb10a81e277448e86b2d23ab5f87a93708895b"}},{"ruleId":"D1","level":"warning","message":{"text":"Marshaler.unmarshalValue (cyclomatic 16): Marshaler.unmarshalValue has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DynamoDb/Marshaler.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"db60c98541a90777398031b4532cafccb11b211f396bebb975a94d3b33cfba0e"}},{"ruleId":"D1","level":"warning","message":{"text":"Partition.getVariant (cyclomatic 16): Partition.getVariant has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/Partition.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd3b34f5a997fb3040878fb1859aa822f286cc7e860c785babc4df1092b76d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidateResponseChecksumParser.__invoke (cyclomatic 16): ValidateResponseChecksumParser.__invoke has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/ValidateResponseChecksumParser.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c02e5a753904f01e77e6d7e476e44f6321fe53b3b466d2cde11de1d1ff4a47"}},{"ruleId":"D1","level":"warning","message":{"text":"functions.parse_ini_section_with_subsections (cyclomatic 16): functions.parse_ini_section_with_subsections has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e141571a80bb00bb172965de71192dcd7960d7ea80feae98989f9fa251906"}},{"ruleId":"D2","level":"warning","message":{"text":"CborDecoder.decodeValue (cognitive 175): CborDecoder.decodeValue has cognitive complexity 175 (threshold 15). Drivers by points: if/else 42 (124 pts), ternaries 7 (26 pts), match/switch 9 (21 pts), loops 2 (4 pts) (nesting depth added 115). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"588ed90700e3d90f89cb6c6834cd19de7ffc8ad8ff80d7b15c7a3391ecb4b707"}},{"ruleId":"D2","level":"warning","message":{"text":"CborDecoder.decodeValue (cognitive 175): CborDecoder.decodeValue has cognitive complexity 175 (threshold 15). Drivers by points: if/else 42 (124 pts), ternaries 7 (26 pts), match/switch 9 (21 pts), loops 2 (4 pts) (nesting depth added 115). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acbe537fb95b971183006ac9f845a0b594bbf2ac0d7691fdc64099266344e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlBody.formatPlan (cognitive 92): XmlBody.formatPlan has cognitive complexity 92 (threshold 15). Drivers by points: loops 11 (34 pts), if/else 14 (32 pts), ternaries 6 (16 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 52). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/XmlBody.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bdba689cd2ab321322dde2af55da6e005395ba10f8878e7dc548ed435db965"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlParser.parsePlan (cognitive 80): XmlParser.parsePlan has cognitive complexity 80 (threshold 15). Drivers by points: loops 10 (31 pts), if/else 11 (28 pts), match/switch 5 (18 pts), boolean chains 3 (nesting depth added 51). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/XmlParser.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4eebe719e5762a41abb4a597332a1ffbaec1dd54d8e96ddbf99a65aaab418a"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointArnMiddleware.__invoke (cognitive 68): EndpointArnMiddleware.__invoke has cognitive complexity 68 (threshold 15). Drivers by points: if/else 18 (54 pts), boolean chains 11, loops 1 (3 pts) (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3Control/EndpointArnMiddleware.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"998099b1deda2be1ae81423c98c5a671b6f296417c64d83083e3b4bd550f94c0"}},{"ruleId":"D2","level":"warning","message":{"text":"BucketEndpointArnMiddleware.__invoke (cognitive 54): BucketEndpointArnMiddleware.__invoke has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (44 pts), error handling 1 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"077c228809539541bebcbc4ce8214e6c148ebd17c61e60948bd2c6767214a269"}},{"ruleId":"D2","level":"warning","message":{"text":"functions.parse_ini_file (cognitive 53): functions.parse_ini_file has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 14, loops 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d25048735ff81d52f528c77bda9da7d253e9b9f676e24936c85f21ddd5c095"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsBuilder.createHtmlForOperation (cognitive 51): DocsBuilder.createHtmlForOperation has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 8 (18 pts), ternaries 4 (13 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d581e7e6e2331ffbbe505ff017bcbb8b0ecced3e7b7506ec36a1e7261c9000d"}},{"ruleId":"D2","level":"warning","message":{"text":"CborEncoder.encodeValue (cognitive 48): CborEncoder.encodeValue has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (44 pts), ternaries 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborEncoder.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec01f35d5e0749acde3b4f53700390891895d4d882f02f65951ce05414114413"}},{"ruleId":"D2","level":"warning","message":{"text":"CborEncoder.encodeValue (cognitive 40): CborEncoder.encodeValue has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (37 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"413126258ee3fd7b190e5f45f0d821a057c27f4f44fc8ed74b12f1c38c499785"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonBody.formatPlan (cognitive 40): JsonBody.formatPlan has cognitive complexity 40 (threshold 15). Drivers by points: loops 7 (20 pts), if/else 4 (11 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 24). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/JsonBody.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af403ba9b8a89f2031c2741748e42ad53ebdd19f3672538404387f4c17054cc"}},{"ruleId":"D2","level":"warning","message":{"text":"RestSerializer.serialize (cognitive 39): RestSerializer.serialize has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 4 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestSerializer.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd95e37f4e2c2058e5acfa66d94293115c02371fdba37223e523affd477ad99"}},{"ruleId":"D2","level":"warning","message":{"text":"BucketEndpointArnMiddleware.validateArn (cognitive 37): BucketEndpointArnMiddleware.validateArn has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 6 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a31f23928355eb3b34ed069b085c35077322cc13da29e2622b733712a1d12d"}},{"ruleId":"D2","level":"warning","message":{"text":"normalize-docs-files.updateHtmlHrefs (cognitive 36): normalize-docs-files.updateHtmlHrefs has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 7 (15 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/normalize-docs-files.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2acdd1ced15e4d69257510303ef5278b873c516e039208899ab6fea5f6d455"}},{"ruleId":"D2","level":"warning","message":{"text":"functions.parse_ini_section_with_subsections (cognitive 36): functions.parse_ini_section_with_subsections has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8602048af61eaec81dc0a0dbe7ec0c1bf12aa280dce1adccef9f74c49276a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.__construct (cognitive 35): Configuration.__construct has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DefaultsMode/Configuration.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"662a9ec724c8d82fad16707fb2afd3c6afacade6953d6aaae1bda0d756bb3760"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceProfileProvider.__invoke (cognitive 34): InstanceProfileProvider.__invoke has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 9, error handling 4 (8 pts), loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/InstanceProfileProvider.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2dbae27a9591cd956c925f6caa9650015f4e10939acfb795b0c5c2407af2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"CborDecoder.decodeIndefiniteString (cognitive 33): CborDecoder.decodeIndefiniteString has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (29 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"241d11360e19ffef62e4c8f6766e0ef414d6a55ff43895bf9b24bd2300343882"}},{"ruleId":"D2","level":"warning","message":{"text":"CborDecoder.decodeIndefiniteString (cognitive 33): CborDecoder.decodeIndefiniteString has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (29 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborDecoder.php"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87f6627a63e0991a89dfbbc31f6ed7fb641ac3c7de77b7efac338ed202ef568"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientResolver.resolveArgs (cognitive 33): ClientResolver.resolveArgs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1660eec1976a771bf42ed596bafea494f5ff114b444ff6d6346ea1d832969a"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointDiscoveryMiddleware.__invoke (cognitive 32): EndpointDiscoveryMiddleware.__invoke has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointDiscovery/EndpointDiscoveryMiddleware.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac31bbe742e9e665a208023cc700d2e16f182cb0c9f167b9f76685df812195b"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryMiddleware.__invoke (cognitive 32): RetryMiddleware.__invoke has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d725f6075c1e2c9931f04b8c19d1392028bb4491a19c4f357cb4bcd26f66f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Marshaler.marshalValue (cognitive 31): Marshaler.marshalValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 6, loops 2 (4 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/DynamoDb/Marshaler.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc31a2f6728db7916c7afbe2a8ecacd84125107cb120a13bf7becddfe1de1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"gh-release.retryUpload (cognitive 30): gh-release.retryUpload has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (18 pts), error handling 2 (7 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/gh-release.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2fb1bdd313096ceeaad1bfd4555efcb74ce36620989ddd9ad1d6dcd144bf12"}},{"ruleId":"D2","level":"warning","message":{"text":"InputValidationMiddleware.__invoke (cognitive 28): InputValidationMiddleware.__invoke has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (17 pts), ternaries 1 (6 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/InputValidationMiddleware.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8956951bc62f77477824763c52fc8ef3c69f851ace1e964f68565a8c187b68f"}},{"ruleId":"D2","level":"warning","message":{"text":"Partition.getVariant (cognitive 27): Partition.getVariant has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/Partition.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"02076f7d6e0e4d016d33aec0ac568837b4d122ac363f3b4c8b930868d62e1ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryEncodePlanProvider.compile (cognitive 26): QueryEncodePlanProvider.compile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (8 pts), loops 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Query/QueryEncodePlanProvider.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075ea0d2c112c920d04789a99c107f2d14b685bac5fddd5978cdaf808077426"}},{"ruleId":"D2","level":"warning","message":{"text":"AssumeRoleWithWebIdentityCredentialProvider.__invoke (cognitive 26): AssumeRoleWithWebIdentityCredentialProvider.__invoke has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 3 (6 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/AssumeRoleWithWebIdentityCredentialProvider.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"999210743918103228dbd4d1a07f1cd5b071d935eb03b5120059426b4aab6fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsCredentialProvider.__invoke (cognitive 26): EcsCredentialProvider.__invoke has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (7 pts), boolean chains 5, error handling 1 (4 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/EcsCredentialProvider.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b9c178a0b058e59949b3e94fdc98ef34697bda129c41b94776ec45a8d30839"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryMiddleware.isRetryable (cognitive 25): RetryMiddleware.isRetryable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bd9a0abf96e6ce4efcbe735255edf2337c167d3fd4bbb66b90284b93624fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"Composer.removeServiceDirs (cognitive 25): Composer.removeServiceDirs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Script/Composer/Composer.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ba58efd4df05796924000c7fb3ba437f4b777283d1f0f44f667f16c777bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"Validator.check_structure (cognitive 24): Validator.check_structure has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Validator.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9642b634570587329d4c5071fe64e46f99d6b2839e91c6b6f235bc1e273e0b"}},{"ruleId":"D2","level":"warning","message":{"text":"Transfer.__construct (cognitive 24): Transfer.__construct has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Transfer.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cb22010f71e5df8ad5d07c595c94587487682b11f467b08b82d4809700bbc3"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Client.getEncodingTypeMiddleware (cognitive 23): S3Client.getEncodingTypeMiddleware has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c992d34817d8e3e984e704014eea1191d6ae3aea1c625f785253eaa939bc54e"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidateResponseChecksumParser.__invoke (cognitive 23): ValidateResponseChecksumParser.__invoke has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, ternaries 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/ValidateResponseChecksumParser.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"565c7a3f51492fbfcd02976b1508c16da22e8f8c50788a08bb65ddbe917481e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractErrorParser.populateShape (cognitive 22): AbstractErrorParser.populateShape has cognitive complexity 22 (threshold 15). Drivers by points: loops 2 (8 pts), if/else 3 (7 pts), match/switch 1 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/ErrorParser/AbstractErrorParser.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305f2d7e0b81cc45b654533f0b39527ebfb116e7cc3f128cb700cc753d8adc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientResolver._apply_endpoint_provider (cognitive 22): ClientResolver._apply_endpoint_provider has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a7567060bfb8c6d1d822297f29723d5746b9eed5a6580db3676f4f883c1345"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProvider.loadRoleProfile (cognitive 22): CredentialProvider.loadRoleProfile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0d3e5228f4c4f2d20e1249b789513023f43228c258806e6003f1291f0b051"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Client.processModel (cognitive 22): S3Client.processModel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":3047}}}],"partialFingerprints":{"codehealthFindingId/v1":"812dc19ec69bb8a5bb4518bfaeb587f27b6bbee9c9ef944000d2574a28768b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsBuilder.updateClients (cognitive 21): DocsBuilder.updateClients has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (8 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3aac4f27b6e5669fe3464e90a87c68cb985a7c2f9754aba9ccca8acd52f2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"MultipartUploader.createUploadPartPromises (cognitive 21): MultipartUploader.createUploadPartPromises has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/MultipartUploader.php"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e180af73a97d9fad0f73fd0b5b3e3aa874a5bc1919621ba793d4f380683254d3"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamRequestPayloadMiddleware.__invoke (cognitive 21): StreamRequestPayloadMiddleware.__invoke has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StreamRequestPayloadMiddleware.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892202f8fba4c4794687eadbc36594b2b6396c33e8dee8df4ba776d3d304f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsBuilder.updateIssues (cognitive 20): DocsBuilder.updateIssues has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 1 (5 pts), ternaries 1 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9ca5ff24fb37831bd9bf3f167320b2e07fedf09b42dfa6d05344006bb20d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStreamExampleBuilder.addShape (cognitive 20): EventStreamExampleBuilder.addShape has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/EventStreamExampleBuilder.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6c7c080488c1ab08fd33554b9fb759797b5517f0cae7f913d7431726fee3ac"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonParser.parsePlan (cognitive 20): JsonParser.parsePlan has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/JsonParser.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e4c3b4c6cff18f09dbecc120ff049ea9b3808b30d2f5810314a68258ca2427"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProvider.process (cognitive 20): CredentialProvider.process has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a58418d7082667156be56b55294a06186767f589f8139ab917a2583482c729"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcV2ParserTrait.resolveOutputShape (cognitive 19): RpcV2ParserTrait.resolveOutputShape has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), ternaries 1 (3 pts), error handling 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/RpcV2ParserTrait.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e7a62347ed9abad098b545a4089da6d71957c6568b812f217c1fa72ee9c2ea"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProvider.assumeRoleWithWebIdentityCredentialProvider (cognitive 19): CredentialProvider.assumeRoleWithWebIdentityCredentialProvider has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (8 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7609c7f272bf9fee0652bbc0536d8142b36de7681fdefa7af974bf058dd7430"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientAnnotator.getMethodAnnotations (cognitive 18): ClientAnnotator.getMethodAnnotations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (7 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/ClientAnnotator.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9628c626403e67d1dae82115f0f665e4ae3548a6cd1d48bd36f42abd98a911"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientAnnotator.getMethods (cognitive 18): ClientAnnotator.getMethods has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/ClientAnnotator.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf8bc2fb6372a6082769ebd1feb1b25cfdffbaa96b7ec2d8050634ad5d989c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsBuilder.build (cognitive 18): DocsBuilder.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"30048ee22bb5ce33cf51034bbb87ed6de8f1731f39f809be59ae2ae61e4c99e5"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRestParser.extractHeader (cognitive 18): AbstractRestParser.extractHeader has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (4 pts), match/switch 2 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f25b6840411b37162ea349cce4a0510aa8257219f986fd3babf17420427a04d"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRequestBindingPlanProvider.compile (cognitive 18): HttpRequestBindingPlanProvider.compile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Http/HttpRequestBindingPlanProvider.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b017d855db938a82bcb0733d7d943d0d814508a94f6405ca14cf5d04ec508fda"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParamBuilder.formatStructure (cognitive 18): QueryParamBuilder.formatStructure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/QueryParamBuilder.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64cb2855cb84d1a509df3626b7855baf9c5f3d2d49a3a8429585fdb760dc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParamBuilder.formatItems (cognitive 18): QueryParamBuilder.formatItems has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (14 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/QueryParamBuilder.php"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3347c304ab221a39e08861ffffc48a41f546db8ee303b89e130a1675de77d47"}},{"ruleId":"D2","level":"warning","message":{"text":"DecryptionTraitV3.validateOptionsAndEnvelope (cognitive 18): DecryptionTraitV3.validateOptionsAndEnvelope has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV3.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"79142d86715772d494e2dfe119eb53ee60a8461c2b34efd08cb44953c1a6fcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"BucketEndpointArnMiddleware.generateAccessPointHost (cognitive 18): BucketEndpointArnMiddleware.generateAccessPointHost has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc85a17f7297de7258e71ff8bb9d69674383ffe9ef62814bc74923e99f6de97f"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Client.addBuiltIns (cognitive 18): S3Client.addBuiltIns has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":3093}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f832cbdfacf18ca90a7bc9b78d38b9cd84536e3b33ad1b9555bd0b6959bb76c"}},{"ruleId":"D2","level":"warning","message":{"text":"SqsClient.validateMd5 (cognitive 18): SqsClient.validateMd5 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sqs/SqsClient.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a53d263a9172441c150e3cddca47ba955bcc976374a499d1e8352fe00656795"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeResult.fromTimestamp (cognitive 17): DateTimeResult.fromTimestamp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/DateTimeResult.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"038683e4d172ed9d9eee148d98452ba80035831ebd7b5f8f3417bbb69cbf778e"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpResponseBindingPlanProvider.compile (cognitive 17): HttpResponseBindingPlanProvider.compile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 1 (4 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Http/HttpResponseBindingPlanProvider.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93778e2447d453fc98e571cdd8c5c86814f88a244b47015d0cf154f93bd5795"}},{"ruleId":"D2","level":"warning","message":{"text":"RestSerializer.applyHeader (cognitive 17): RestSerializer.applyHeader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), match/switch 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestSerializer.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18d532c04854dd73f0d940c740ac68dc353a62327338ddb332d5ac67b03f99b"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProvider.ini (cognitive 17): CredentialProvider.ini has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d030808ba6efdd26baa243d48994504544f1fca08fea3e73df9346a362019ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractUploader.getUploadCommands (cognitive 17): AbstractUploader.getUploadCommands has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Multipart/AbstractUploader.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7962abf041f71c046576da343df1b5546263420839bde7f5c4903b8b07dba74"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryMiddleware.isThrottlingError (cognitive 17): RetryMiddleware.isThrottlingError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6bc93397d8c34907dac5a15022a31013c9032d487bef6549129cbfca102313"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryMiddleware.isRetryable (cognitive 17): RetryMiddleware.isRetryable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/RetryMiddleware.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"146ff1955d71be7407ca66807710d6d290c6966fdef0802b37ab0068f0316b79"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectoryDownloader.createDownloadPromises (cognitive 17): DirectoryDownloader.createDownloadPromises has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/DirectoryDownloader.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9cee4ed7afae3f7e3c17408b9de2c9a02739a2111e94a1d741fed165a6ad38"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-phpcs-report.parseChangedLineRanges (cognitive 16): filter-phpcs-report.parseChangedLineRanges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/filter-phpcs-report.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"66daf58aa295479b1101e261c96b824312b5c61b1d7491fb55c7429e8be5406d"}},{"ruleId":"D2","level":"warning","message":{"text":"Burgomaster.recursiveCopy (cognitive 16): Burgomaster.recursiveCopy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/Burgomaster.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"323977752445db404dbc53ab819df37b26fc06dcc3051f7bf1a4a10a6a676c00"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsBuilder.updateExceptions (cognitive 16): DocsBuilder.updateExceptions has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2cc5af600a817ecef0685386ccc144551bbd53a129709ff0081998566842b1"}},{"ruleId":"D2","level":"warning","message":{"text":"RestSerializer.expandUriTemplate (cognitive 16): RestSerializer.expandUriTemplate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (7 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestSerializer.php"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eb96956438a6ed18bf39976e3568ec59ef039dcd769757de9a3cdfced6e6e7"}},{"ruleId":"D2","level":"warning","message":{"text":"DecryptionTraitV2.validateOptionsAndEnvelope (cognitive 16): DecryptionTraitV2.validateOptionsAndEnvelope has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"15623abe04b377472c7d3483a1b174214a64ef9148cea3beac52c1c223008c37"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionFileMetadataStrategy.load (cognitive 16): InstructionFileMetadataStrategy.load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/InstructionFileMetadataStrategy.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d802d320329c40e4889e1f0df27295138fc8d94bf71fa7cd78e11297bcfb33"}},{"ruleId":"D2","level":"warning","message":{"text":"S3MultiRegionClient.determineRegionMiddleware (cognitive 16): S3MultiRegionClient.determineRegionMiddleware has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3MultiRegionClient.php"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1537cbe91e695782aeb98506428d6c0a65e3fa5188ff888dce5b38929de8b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CborDecoder.decodeValue: MethodTooLong \u2014 decodeValue runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bdd3275536d152adc8a8f99b8333c05c626e9e75f8b712d5335013b34b3013"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CborDecoder.decodeValue: MethodTooLong \u2014 decodeValue runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cbor/CborDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eb587820536e1477f90ce944256eb6e836907e6fb57a4a3c3e642675a815bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientResolver: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1460fb03c3ae74b1f442f26e7ddb54e873a8680de9bb82d6684d000c6bc4cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ClientResolver.php: FileTooLong \u2014 902 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 402 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02e70ab6691b11d265052f4f3b8185170ecaaa780ecd7862e134e67d277926d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XmlBody.formatPlan: MethodTooLong \u2014 formatPlan runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/XmlBody.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0de48f9b87e96bb83c6c259dfe926fb28b8640f44ab09b212ef02fdd577da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StreamWrapper: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/StreamWrapper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a216a30a7a7a7210475372bf30cd1798b0578f0b0a581738cf707ce25cadd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialProvider: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 190 over it, 1.48\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/Credentials/CredentialProvider.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"04369e9f7cde47e7372b064efec7df7c6013ab571aab0325538431b41f51828c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: S3Client: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 186 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3000b7882d6c3fd765b2a309fee1303d5b0a67aadb3e7e7fbbb35e9b68201885"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XmlParser.parsePlan: MethodTooLong \u2014 parsePlan runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/XmlParser.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8756986ed0d6b448336f37a3787577ddcce589e43bd7a70f2e7f5ebcc7304"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AwsClient: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AwsClient.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5343e1a3d6da3967b8cc204707bcde8de8ca478db19f7e34a29f4cf734d944"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: S3/S3Client.php: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: S3Client (2377-3447). The bar is 500 significant lines; this is 116 over it, 1.23\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/S3/S3Client.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c3f6582d2b7b56870c1e1c07d445b4df039c7a4b68bb188e83f739ec42b3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: functions.parse_ini_file: MethodTooLong \u2014 parse_ini_file runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafd14885387ad0bba4dd8a05818d0bcf8e349077fe73e7e421b330acd2ed487"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Credentials/CredentialProvider.php: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CredentialProvider (44-1175). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92839975c8d10619e5e9cf58bb0c8b945934eeff0533fc75df2e604b3a7b9ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Service.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2c4d87d04b28360c17608c345f6ddd25908dc7c612d3d6eca83182ac7b47a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: S3Client: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b08fcc6c34e23216529c2137152957f513716502645d9fc2b0604e03ff5b40f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamWrapper: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 6 over it, 1.02\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/S3/StreamWrapper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a52061f45a88ba0d021ba9baecce99268d28c63bcd3af909aebe95e1e8456bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/ClientSideMonitoring/ConfigurationProvider.php:80-97 | src/DefaultsMode/ConfigurationProvider.php:75-94 | src/S3/RegionalEndpoint/ConfigurationProvider.php:73-92 | src/S3/UseArnRegion/ConfigurationProvider.php:73-92 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:75-94 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5151bb37954523cd1ada0094e0345c621186cc992d05f7809539f2cb7d12268"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Api/Cbor/CborDecoder.php:80-515 | src/Api/Cbor/CborDecoder.php:529-607 | src/Cbor/CborDecoder.php:80-515 | src/Cbor/CborDecoder.php:529-607 \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/Api/Cbor/CborDecoder.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0c987f3aa5af8445a3259e29d055fd28beeab8ef92cf9f1ea72c9c7e4ed50"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Api/Cbor/CborEncoder.php:263-281 | src/Api/Cbor/CborEncoder.php:292-323 | src/Cbor/CborEncoder.php:275-293 | src/Cbor/CborEncoder.php:304-335 \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/Api/Cbor/CborEncoder.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b01dfcfb35d779a02df6a81ce30bb8c76d7f7dd0bc5cda882ab891d682b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Crypto/AlgorithmSuite.php:190-225 | src/Crypto/EncryptionTrait.php:58-127 | src/Crypto/EncryptionTraitV2.php:62-139 | src/Crypto/EncryptionTraitV3.php:71-142 \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/Crypto/AlgorithmSuite.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d249b26bbed4125fbf044d1f166bb4a797d13f724e9f39a2ac84ac55d289bae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): src/Crypto/DecryptionTraitV2.php:65-152 | src/Crypto/DecryptionTraitV3.php:74-180 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba2b328e138ff3083218b8d62ee35434458890218c630c8f3617748b5809673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): src/Api/Cbor/CborEncoder.php:72-165 | src/Cbor/CborEncoder.php:73-177 \u2014 These two members are one piece of code written twice and then edited apart: 94 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"77835a8360c9f172983fc4f57306f4409c336c372a2e67a7383465f42b7f6a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): src/S3/Crypto/S3EncryptionClientV2.php:345-422 | src/S3/Crypto/S3EncryptionClientV3.php:435-525 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClientV2.php"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc01ffb8505a241aaf37bf26588514853da5f96d9d3b8129dc018104934f6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): src/Crypto/DecryptionTraitV2.php:244-304 | src/Crypto/DecryptionTraitV3.php:301-388 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf2e88a8c37d8780c6947520480cc89560cffdb1f433274381a38edac41357d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): src/S3/Crypto/S3EncryptionClient.php:119-168 | src/S3/Crypto/S3EncryptionClientV2.php:181-230 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd02381c9af84aa689beba6c5f38b49a97ee764b2b5bf911d3ac21e8befd394"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): src/Api/Cbor/CborEncoder.php:176-223 | src/Cbor/CborEncoder.php:188-235 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bb3ba0816c14fc2f3f8f3040a2f20710f358134468328fc94982bc804de3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): src/Api/Parser/AbstractRestParser.php:177-240 | src/Api/Parser/AbstractRestParser.php:278-349 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e50f43a7cafba361340752146369422ae633d317c0dbf8e27a00d98c4855c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): src/Crypto/DecryptionTraitV2.php:391-440 | src/Crypto/DecryptionTraitV3.php:479-546 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6594bc33cebac622304d3273a265a6d8a568e7bd8b1aa9f45b4fba1874375c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/S3/Crypto/S3EncryptionMultipartUploader.php:110-136 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:117-143 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e8ffc41d8c2f530f6d5d2c3c0926eea29d2586af6086ad86fc101b95043e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:130-159 | src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php:129-158 | src/Retry/ConfigurationProvider.php:209-247 | src/S3/UseArnRegion/ConfigurationProvider.php:130-159 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a219181dcc82fa7bcd770b2941be8eee4d84cab421bc9e3c3c9671b842a77993"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/Api/Serde/Json/JsonDecodePlanProvider.php:37-82 | src/Api/Serde/Json/JsonEncodePlanProvider.php:37-81 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Json/JsonDecodePlanProvider.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b37d7e84735d9fcdca1720a4eeb756d438d1e22be47fb6f1f2828a43fdebcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/S3/RegionalEndpoint/ConfigurationProvider.php:127-149 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:148-170 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6fbd41c5c435806c734b57da11250b52855d0a813d7ddc9acc599fdb9dfca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): src/Crypto/EncryptionTrait.php:150-191 | src/Crypto/EncryptionTraitV3.php:297-342 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/EncryptionTrait.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330a41333bac08adadcfda9f54feee1a69172e6b9712f34b446ecd65b60ee72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/Arn/S3/OutpostsAccessPointArn.php:69-108 | src/Arn/S3/OutpostsBucketArn.php:67-97 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Arn/S3/OutpostsAccessPointArn.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a78c16e9e02096370f399d173158990a21bc9f0b963ad063e1aa51c1ee6c80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/Crypto/AesDecryptingStream.php:118-144 | src/Crypto/AesEncryptingStream.php:123-149 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/AesDecryptingStream.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98f42edb20a11a52ebf354418fbd8c2a787b73127d20609ffa7c649522dea90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/Credentials/CredentialProvider.php:208-248 | src/Token/TokenProvider.php:139-173 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"039662c7a45ed3f8ccaf2c7698ae64d45ec846119d24b39204defd51e5755a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): src/S3/Crypto/S3EncryptionMultipartUploader.php:146-167 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:153-174 | src/S3/Crypto/S3EncryptionMultipartUploaderV3.php:193-215 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d138bbeea9b0c195888e8d7af7c8e1e2c3e006bfd5fd84e2f09a29719334d755"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:72-92 | src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php:72-91 | src/EndpointDiscovery/ConfigurationProvider.php:76-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6242f6730e099f8e00b8e9261c05f8a1c68022c6054c3313ed8f20ead9d88d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/S3/S3Transfer/DirectoryDownloader.php:327-347 | src/S3/Transfer.php:262-282 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/DirectoryDownloader.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6584eeb953c22cf4bf27b0ae12beeb90e44a8b7930033bb25ba90655a4114c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/Api/Serde/Http/HttpRequestBindingPlanProvider.php:114-140 | src/Api/Serde/Http/HttpRequestBindingPlanProvider.php:145-177 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Http/HttpRequestBindingPlanProvider.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df42dcefcbc854d55e8c648d5cc3574c0ff81d82a87ec9373dd3813a9df2d200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/CloudFront/CloudFrontClient.php:2030-2046 | src/CloudFront/CloudFrontClient.php:2077-2093 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CloudFront/CloudFrontClient.php"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c724c969901009393984f9d4e69ca1a58247b3a4913da1991286986ae294a51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/Api/Cbor/CborEncoder.php:234-252 | src/Cbor/CborEncoder.php:246-264 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3d4b63637b7a2d0e7e3224017d6664243e4722040c9c8ebfc19e8ae301b333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/Api/ErrorParser/JsonRpcErrorParser.php:29-47 | src/Api/ErrorParser/RestJsonErrorParser.php:30-51 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/ErrorParser/JsonRpcErrorParser.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"54df02d6019609afd2c87e2820a1ffb9a33df4cfc7c0c3b665419513a5b8823e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/ClientResolver.php:566-590 | src/Sts/StsClient.php:222-247 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5696fb48496f8f5361abeeff1df48a4eba979cbe3c96208c20fe4e4d8c3083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/Api/Parser/AbstractRestParser.php:252-266 | src/Api/Parser/AbstractRestParser.php:362-372 | src/Api/Parser/MetadataParserTrait.php:72-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b5c94970db4e2f6690d3f3a133445f26a210807e9bafd245cbf9be53070a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/S3/PostObject.php:129-142 | src/S3/PostObjectV4.php:144-159 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/PostObject.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb57c5b633ff7e80c3c711bbb99a55d031ebbc114ad420c5aa7b50b02b9a9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/ClientResolver.php:1205-1218 | src/ClientResolver.php:1223-1242 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"27466677bbe896f8114e184ec9fe4768def94d5ca062032c476707b154f7d188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/AbstractConfigurationProvider.php:37-53 | src/Credentials/CredentialProvider.php:267-289 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AbstractConfigurationProvider.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4237afdc982afc7919ee04f2fc0a94971772ee1121085b790cf973ae9f8a1c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): src/EndpointDiscovery/ConfigurationProvider.php:216-238 | src/Retry/ConfigurationProvider.php:260-284 | src/S3/RegionalEndpoint/ConfigurationProvider.php:176-193 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:183-200 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointDiscovery/ConfigurationProvider.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb59bc38e35d7bdf112f8bbd374e74cb0a56e5c29636c59bc551a56bfcbff7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Crypto/AesDecryptingStream.php:90-101 | src/Crypto/AesEncryptingStream.php:89-99 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/AesDecryptingStream.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605b8ffb5a740e32c9a25afd1b5f6f60c8f4c297dcb53bc97cfc48502f4b977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Arn/S3/OutpostsAccessPointArn.php:42-57 | src/Arn/S3/OutpostsBucketArn.php:46-58 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Arn/S3/OutpostsAccessPointArn.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e6a223329dfa20f9d6e474292787985548ba69d47f659397bf75f63afab6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Crypto/MetadataEnvelope.php:118-127 | src/Crypto/MetadataEnvelope.php:132-147 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/MetadataEnvelope.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5371dfd99d091c3370f45dccbad698774c8e2eb24e605a1cd8c063f4ce78d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/Credentials/CredentialProvider.php:865-882 | src/Credentials/CredentialProvider.php:890-908 | src/Token/TokenProvider.php:230-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bfbe166142aa20641292cae7ef558ca768adaa8082b5f7812fdfe15d4f3984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/S3/S3Transfer/AbstractMultipartDownloader.php:379-404 | src/S3/S3Transfer/AbstractMultipartDownloader.php:417-440 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/AbstractMultipartDownloader.php"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cf56e641726e4816ababd707c368221457025414e81e56a4071ae0056f5039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/S3/MultipartCopy.php:856-869 | src/S3/MultipartCopy.php:878-891 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/MultipartCopy.php"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b7e9247a283161a9d0b9ae509bffc66804bdac530d18e96ef6f37d4600856a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/EndpointV2/Bdd/BddRuleset.php:108-116 | src/EndpointV2/Ruleset/Ruleset.php:84-92 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/Bdd/BddRuleset.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcdb2c87f35a3ccb4385de9578c1fc4e723c96bd7a8862391a885fa3bca7c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/EndpointV2/Bdd/BddResultResolver.php:105-122 | src/EndpointV2/Rule/EndpointRule.php:72-81 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/Bdd/BddResultResolver.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be9874c4d5bbf5d3abdbeac61236e940b93a5fe972c201686b7c6bf60230a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/AbstractConfigurationProvider.php:65-78 | src/Token/TokenProvider.php:111-127 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AbstractConfigurationProvider.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c947179c24b3ab8e79955e4ab623d544e3401f92d915c7191c0c1ec0ea62b7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/Api/Service.php:90-110 | src/Api/Service.php:150-169 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Service.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"105b5e0d118026ddd8824da898487f674dab0b889e379649aa1f023c6e8d2d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/S3/S3ClientTrait.php:282-298 | src/S3/S3ClientTrait.php:323-342 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3ClientTrait.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"14adb92fd8a800d3204ecd38fc29dbf9879c825fed834cbdf90d25f35aa9c04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/S3/S3Transfer/Progress/DirectoryProgressTracker.php:103-125 | src/S3/S3Transfer/Progress/SingleProgressTracker.php:188-207 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Progress/DirectoryProgressTracker.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"176dea5836246d06b9dd48081aa8953dc8d0ace834c3817858da9cc5da36ed83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/S3/S3Transfer/AbstractMultipartUploader.php:292-306 | src/S3/S3Transfer/MultipartUploader.php:471-489 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/AbstractMultipartUploader.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7407befca19ab2e773ccf68ce49745483be497d853592240ca45e09c23c316e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/Signature/DpopSignature.php:160-164 | src/IdempotencyTokenMiddleware.php:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signature/DpopSignature.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f0e6d432b98c1acc733884c503d9f3e3b77c381768ecce26c9c9928560762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/AwsClient.php:767-776 | src/ClientSideMonitoring/ApiCallMonitoringMiddleware.php:113-126 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AwsClient.php"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ca8c98fb3c236e835c56ac87781941f0c8eb7d71b14e696035f60b8deabf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/S3/S3Transfer/Models/UploadDirectoryRequest.php:70-82 | src/S3/S3Transfer/Models/DownloadDirectoryRequest.php:84-96 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Models/UploadDirectoryRequest.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8917aed85fb5462eb63b0a20e5654dcc63e14f96734ebd142a4d8aa42198601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/DynamoDb/DynamoDbClient.php:1558-1569 | src/S3/S3Client.php:3146-3157 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DynamoDb/DynamoDbClient.php"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"431ced0bf4dcaf8c1ff29fa0924bf19a0accb94dd5e272de2ebfc40450b22ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/CloudSearchDomain/CloudSearchDomainClient.php:97-107 | src/MachineLearning/MachineLearningClient.php:405-415 | src/S3/S3Client.php:2903-2916 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CloudSearchDomain/CloudSearchDomainClient.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61ebb73f6f98c2816dc234488b66d092a5f16c3cdd4e0d2538c79c41ca2de9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): src/DefaultsMode/ConfigurationProvider.php:104-115 | src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:102-113 | src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php:101-112 | src/S3/UseArnRegion/ConfigurationProvider.php:102-113 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DefaultsMode/ConfigurationProvider.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c7aa16c28f271d896fab9a36d6463515b1bae6a22fb8bf5abad140dc89ab1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Glacier/GlacierClient.php:363-374 | src/Middleware.php:390-397 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Glacier/GlacierClient.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e822235e7cf12908a80ac169c0f310c18f43a46e8140248fa8493c42b401105d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/S3/Crypto/S3EncryptionClient.php:57-70 | src/S3/Crypto/S3EncryptionClientV2.php:110-124 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b88a6a10ce901a5144c607b22de44a53d2c70082a623156c8af0469e3c52816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Crypto/AesGcmDecryptingStream.php:53-62 | src/Crypto/AesGcmEncryptingStream.php:62-70 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/AesGcmDecryptingStream.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7902566035ec3cc78eb1741038a61a455a4406f123774d68cb0f6d937c8b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/Api/Serializer/RestJsonSerializer.php:36-39 | src/Api/Serializer/RestXmlSerializer.php:31-34 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestJsonSerializer.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71fee8cadb50902a17d606bfb1e7bd346a8565141534a1aee2a18c482b45eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/S3/MultipartUploader.php:176-179 | src/S3/S3Transfer/MultipartUploader.php:582-585 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/MultipartUploader.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a02f4abce1a2e87d6e6aa61c3724824df47d96eda73f57376ae1770e5841ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/S3/S3Transfer/Progress/DirectoryTransferProgressSnapshot.php:146-154 | src/S3/S3Transfer/Progress/TransferProgressSnapshot.php:131-137 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Progress/DirectoryTransferProgressSnapshot.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e349e04d40ed36df67f4cf5f64fbe43f028b33a5bb9b65b3de4fe5ba639af241"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): src/EndpointV2/EndpointV2Middleware.php:66-68 | src/EventBridge/EventBridgeEndpointMiddleware.php:29-42 | src/S3/BucketEndpointArnMiddleware.php:54-56 | src/S3Control/EndpointArnMiddleware.php:80-82 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/EndpointV2Middleware.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d85e84a454987b3f3faf405fc657d408b5177b120a6e5539d7a1119c72c85f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/Auth/AuthSelectionMiddleware.php:49-55 | src/S3/S3EndpointMiddleware.php:65-67 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Auth/AuthSelectionMiddleware.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0beb50e860fadf56f97fd346fd1ac542ccaffaad6947cc137d9c5af530cf817f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/S3/S3Transfer/Progress/DirectoryTransferProgressSnapshot.php:39-45 | src/S3/S3Transfer/Progress/TransferProgressSnapshot.php:38-42 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Progress/DirectoryTransferProgressSnapshot.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd8fa1e7703208fd341b629c42012d4ae0f41c02436b745092407e8e30258c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/Api/Parser/AbstractParser.php:50-55 | src/Api/Parser/RestXmlParser.php:31-36 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractParser.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29c7700eaa5efaa9b85c5af208222757d005a05809bb226ffbe768707d6e4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Api/Serde/Json/JsonDecodePlanProvider.php:91-97 | src/Api/Serde/Xml/XmlDecodePlanProvider.php:159-165 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Json/JsonDecodePlanProvider.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2187d21046e855e6ea9102419b9c0af4dce4a50ee9d0208b1c26feae2b57f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (436 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:80-515 | src/Cbor/CborDecoder.php:80-515 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d75daecd37912a105b1dc170dad00fef724753d7617ebc72ee83e90c5d0b707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201369 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:246-304 | src/Crypto/DecryptionTraitV3.php:306-374 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5122be98cb6ef4c80acc7921021da15f4f46ea0ffbf8b2346dba015a967dfba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 4): src/Api/Cbor/CborDecoder.php:217-260 | src/Api/Cbor/CborDecoder.php:275-318 | src/Cbor/CborDecoder.php:217-260 | src/Cbor/CborDecoder.php:275-318 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborDecoder.php:217\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b72d66ef571cc9b67fc5ed03cf7df07448b1c0283c8369e61b0de12bea78649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:529-569 | src/Cbor/CborDecoder.php:529-569 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborDecoder.php:529\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc897056623f5825c87cc3383df4a05f33fe4f5901c97cfcf83a47fe44633bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/S3/S3Transfer/Models/ResumableDownload.php:188-227 | src/S3/S3Transfer/Models/ResumableUpload.php:138-177 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Models/ResumableDownload.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a30a378c459a723f9041c82132144f575c6389f1ca0077f3e945fbce077e032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 10): src/Api/Cbor/CborDecoder.php:190-227 | src/Api/Cbor/CborDecoder.php:248-285 | src/Api/Cbor/CborDecoder.php:306-343 | src/Api/Cbor/CborDecoder.php:365-402 | src/Api/Cbor/CborDecoder.php:557-594 | src/Cbor/CborDecoder.php:190-227 | src/Cbor/CborDecoder.php:248-285 | src/Cbor/CborDecoder.php:306-343 | src/Cbor/CborDecoder.php:365-402 | src/Cbor/CborDecoder.php:557-594 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborDecoder.php:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Api/Cbor/CborDecoder.php:245\u0060 calls \u0060substr\u0060 and \u0060src/Api/Cbor/CborDecoder.php:187\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/Api/Cbor/CborDecoder.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c05e440ea5639475b7283c82664fc3c825ffa54e87d5884b91e5730a177bb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/Api/Cbor/CborEncoder.php:91-127 | src/Cbor/CborEncoder.php:88-124 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborEncoder.php:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Api/Cbor/CborEncoder.php:86\u0060 calls \u0060isset\u0060, \u0060pack\u0060 and \u0060src/Cbor/CborEncoder.php:86\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/Api/Cbor/CborEncoder.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386e2fadfb4ffe95815b1310095ed732aeba3401db019afe672f7f2c9d32b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201337 lines \u00D7 2): src/Crypto/KmsMaterialsProviderV2.php:70-98 | src/Crypto/KmsMaterialsProviderV3.php:121-157 \u2014 before extracting anything, compare \u0060src/Crypto/KmsMaterialsProviderV2.php\u0060 and \u0060src/Crypto/KmsMaterialsProviderV3.php\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/KmsMaterialsProviderV2.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11517710513972c1a9c7b221705e31ad258db8dad6a1043dda87562626ab963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201334 lines \u00D7 3): src/S3/Crypto/S3EncryptionClient.php:140-168 | src/S3/Crypto/S3EncryptionClientV2.php:202-230 | src/S3/Crypto/S3EncryptionClientV3.php:268-301 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionClient.php\u0060 and \u0060src/S3/Crypto/S3EncryptionClientV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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/S3/Crypto/S3EncryptionClient.php:140\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/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10a74a6bec2d1eb4abdd381ba7eea7987e15e81105ead45679bc9a8c7e0065d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): src/Crypto/DecryptionTrait.php:148-179 | src/Crypto/DecryptionTraitV3.php:415-447 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/DecryptionTrait.php:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTrait.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d4dc46e72535c0b370d88c9463cf9edf7ee7385d70e58050d38d40a40084b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Api/Cbor/CborEncoder.php:191-221 | src/Cbor/CborEncoder.php:203-233 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborEncoder.php:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/Api/Cbor/CborEncoder.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17833cbf574156f2615e777849dbca312cf0825636d803ccd6f31dac7a98a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 4): src/Api/Cbor/CborEncoder.php:116-144 | src/Api/Cbor/CborEncoder.php:176-203 | src/Cbor/CborEncoder.php:113-141 | src/Cbor/CborEncoder.php:188-215 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"363bb28f843adbed822e736ed9a4be024a80f06642a5af7c4f41856c2a0311b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Api/Serializer/JsonBody.php:127-155 | src/Api/Serializer/JsonBody.php:161-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/JsonBody.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"172dcfeadea9b512f89f495b3030f1472564824d50d11f6535582baecdde884e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Api/Serde/Json/JsonDecodePlanProvider.php:55-82 | src/Api/Serde/Json/JsonEncodePlanProvider.php:54-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Serde/Json/JsonDecodePlanProvider.php:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Api/Serde/Json/JsonDecodePlanProvider.php:54\u0060 calls \u0060empty\u0060 and \u0060src/Api/Serde/Json/JsonEncodePlanProvider.php:53\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/Api/Serde/Json/JsonDecodePlanProvider.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"585aeb8fe1d2e2c03fe378fb08690c38efcfc49ee01758d945f11f1968be4253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:414-440 | src/Crypto/DecryptionTraitV3.php:520-546 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dc511dc6d102339e85e63eed23267a32d1daea27288a655348ef157295a1e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Api/Cbor/CborEncoder.php:298-323 | src/Cbor/CborEncoder.php:310-335 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborEncoder.php:298\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/Api/Cbor/CborEncoder.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba13f3204c205f4b4a25c4ad99eb5a8909f0918d3531d9af420dc08dc7396b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Api/Parser/AbstractRestParser.php:291-314 | src/Api/Parser/MetadataParserTrait.php:29-52 \u2014 before extracting anything, compare \u0060src/Api/Parser/AbstractRestParser.php\u0060 and \u0060src/Api/Parser/MetadataParserTrait.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/AbstractRestParser.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc7798ef2e179571ba7e7abd51a7b0425214ad6f0e1c4b14fa178546269d189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): src/Crypto/EncryptionTraitV2.php:116-137 | src/Crypto/EncryptionTraitV3.php:172-195 \u2014 before extracting anything, compare \u0060src/Crypto/EncryptionTraitV2.php\u0060 and \u0060src/Crypto/EncryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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/Crypto/EncryptionTraitV2.php:116\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/Crypto/EncryptionTraitV2.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aecb4e771ea0a2919aada3e3b6fe5d522e34e65aa6816b8f679245a3615bc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/Multipart/AbstractUploadManager.php:121-144 | src/S3/MultipartCopy.php:239-261 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Multipart/AbstractUploadManager.php:121\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/Multipart/AbstractUploadManager.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1824e2abcc2363e9eb4f85dcf7c7f2208b9eff3e4fce77b55aff5e7909e8f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/S3/Crypto/S3EncryptionClientV2.php:365-388 | src/S3/Crypto/S3EncryptionClientV3.php:462-484 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/S3/Crypto/S3EncryptionClientV2.php:365\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClientV2.php"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"760453158e1f8f8b86bbd2277ba0342d3bf7effe21293dd45bdd11692530721c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:97-119 | src/Crypto/DecryptionTraitV3.php:103-125 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9ddf069bb18fe195ce36baa4c6cf6ab447368ad32bfd5de4eefa0d4d8243a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/S3/Crypto/S3EncryptionClient.php:271-293 | src/S3/Crypto/S3EncryptionClientV2.php:377-399 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionClient.php\u0060 and \u0060src/S3/Crypto/S3EncryptionClientV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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/S3/Crypto/S3EncryptionClient.php:271\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/S3/Crypto/S3EncryptionClient.php:295\u0060 calls \u0060fromDecryptionEnvelope\u0060 and \u0060src/S3/Crypto/S3EncryptionClientV2.php:401\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/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d24b189c5cbe5639e1a46dbe1ceab9ffefa4e18f83f516bd2a8aa4a088401a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Arn/S3/OutpostsAccessPointArn.php:74-95 | src/Arn/S3/OutpostsBucketArn.php:71-92 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Arn/S3/OutpostsAccessPointArn.php:74\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/Arn/S3/OutpostsAccessPointArn.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6720e892bd7dc3d00abb4b7d478f260aac3ff1dc3b114a5c12fe79e1f25544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 3): src/Crypto/EncryptionTrait.php:161-177 | src/Crypto/EncryptionTraitV2.php:172-188 | src/Crypto/EncryptionTraitV3.php:316-336 \u2014 before extracting anything, compare \u0060src/Crypto/EncryptionTraitV2.php\u0060 and \u0060src/Crypto/EncryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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/Crypto/EncryptionTrait.php:161\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/Crypto/EncryptionTrait.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"969a106d629085332aed283de4cf6ac7390acad419d45226973f6f50c7c6c7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:120-140 | src/Crypto/DecryptionTraitV3.php:143-163 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb0e444ce7975eb274bfa700ea1f870ab2c62c5c0820f59cb0394cd39a8167f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/S3/Crypto/S3EncryptionMultipartUploader.php:116-136 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:123-143 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploaderV2.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f03448e29e6f367911c537f351ae5ae1e63a18e12648eff3d957dec88134cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/ClientResolver.php:572-590 | src/Sts/StsClient.php:228-247 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9806fa0abc856d610d708f6d253584765eacce8cd066016111df291d711705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Rds/RdsClient.php:3729-3748 | src/Rds/RdsClient.php:3754-3773 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Rds/RdsClient.php"},"region":{"startLine":3729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d17642af4007de72b555dd392131ad5a645fa37073192dba31c1b7e084793c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/S3/Crypto/S3EncryptionClient.php:119-138 | src/S3/Crypto/S3EncryptionClientV2.php:181-200 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionClient.php\u0060 and \u0060src/S3/Crypto/S3EncryptionClientV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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/S3/Crypto/S3EncryptionClient.php:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f17d132a4ad91cd7cc5668c118315dbd5943126165bfabc0b8b5c14570788c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): src/Crypto/KmsMaterialsProviderV2.php:46-62 | src/Crypto/KmsMaterialsProviderV3.php:95-113 \u2014 before extracting anything, compare \u0060src/Crypto/KmsMaterialsProviderV2.php\u0060 and \u0060src/Crypto/KmsMaterialsProviderV3.php\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/KmsMaterialsProviderV2.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8e663740fb4bc47709624795d7a1fdbe0c7834fad0d901dc61dd38ffdc026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): src/ClientSideMonitoring/ConfigurationProvider.php:80-95 | src/DefaultsMode/ConfigurationProvider.php:75-92 | src/S3/RegionalEndpoint/ConfigurationProvider.php:73-90 | src/S3/UseArnRegion/ConfigurationProvider.php:73-90 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:75-92 \u2014 before extracting anything, compare \u0060src/ClientSideMonitoring/ConfigurationProvider.php\u0060 and \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1448113c9fcc4f7defa6a47fa82160a3f08326f4735d8ad9ea0e6c08ea40346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/S3/S3Transfer/DirectoryDownloader.php:330-347 | src/S3/Transfer.php:266-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/DirectoryDownloader.php"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64bc1fbd13b8e11386d6528ed65143d997fc8f38dda2ca1ccaf3e822ddb7a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/Api/Cbor/CborDecoder.php:118-134 | src/Api/Cbor/CborDecoder.php:488-504 | src/Cbor/CborDecoder.php:118-134 | src/Cbor/CborDecoder.php:488-504 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborDecoder.php:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Api/Cbor/CborDecoder.php:507\u0060 calls \u0060CborException\u0060 and \u0060src/Api/Cbor/CborDecoder.php:136\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/Api/Cbor/CborDecoder.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4e46febafda2dc244f63ed9dc9abe32038560f4d33035f98dd5e1225ff8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Api/Cbor/CborEncoder.php:236-252 | src/Cbor/CborEncoder.php:248-264 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bfb57bec42d8d574636ab38349f245fb573822543f9a0a3a28524e5d97d6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Api/ErrorParser/AbstractRpcV2ErrorParser.php:145-161 | src/Api/ErrorParser/JsonParserTrait.php:114-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/ErrorParser/AbstractRpcV2ErrorParser.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d6b20eb2ccbd2e747e95460b4e53d030070aab21e19dd180aa21b31a0d5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Crypto/AlgorithmSuite.php:196-212 | src/Crypto/EncryptionTraitV3.php:87-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/AlgorithmSuite.php:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/AlgorithmSuite.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e408bba9c8ce73004c1d72a0e9ed01459cb72e0e5560417ce52de8d9e780d56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Crypto/DecryptionTrait.php:146-161 | src/Crypto/DecryptionTraitV2.php:328-343 | src/Crypto/DecryptionTraitV3.php:413-428 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTrait.php\u0060 and \u0060src/Crypto/DecryptionTraitV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/DecryptionTrait.php:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/Crypto/DecryptionTrait.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73b63a96f2415a52817c0dfd28bb2fd147883a00c523d9dff796f375764d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:647-662 | src/Cbor/CborDecoder.php:647-662 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a153ea3675c5abecd219c1ecf9a26f9bca44c5d8b9be1d337a68f0bf57673e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/Api/Cbor/CborEncoder.php:72-86 | src/Cbor/CborEncoder.php:73-88 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Api/Cbor/CborEncoder.php:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Api/Cbor/CborEncoder.php:87\u0060 calls \u0060pack\u0060, \u0060isset\u0060 and \u0060src/Cbor/CborEncoder.php:89\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/Api/Cbor/CborEncoder.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"17acd54d4b23a080e400f787f5252559debf94986c11ecb1b83f796f2e53f433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Api/Serde/Query/QueryShapeType.php:46-61 | src/Api/Serde/Xml/XmlShapeType.php:37-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Query/QueryShapeType.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc8add5526fdd0bfeea08b46880e0acf20a7dbde1bd8c2b283b379225eb88fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Retry/V3/RetryMiddleware.php:350-365 | src/RetryMiddleware.php:115-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9665719cac00db488b2a23a6865e158374d5c38d1728985d29bc37a1ae70486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Retry/V3/RetryMiddleware.php:369-384 | src/RetryMiddleware.php:132-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Retry/V3/RetryMiddleware.php"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f129ee7b97197ec969a3013034e496ef4dd1d5fa079f057c350dd23ee4c86684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/S3/BucketEndpointArnMiddleware.php:320-335 | src/S3Control/EndpointArnMiddleware.php:342-357 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a237232589990a9fbf3e60ac3d70baf488ba09651d5f3229dc1b2e9a7de4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): src/S3/Crypto/S3EncryptionClientV3.php:216-231 | src/S3/Crypto/S3EncryptionClientV3.php:435-448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClientV3.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6909989885d7711487f8879148b81868954e5e11b2149c66498ec5888d9a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/S3/RegionalEndpoint/ConfigurationProvider.php:134-149 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:155-170 \u2014 before extracting anything, compare \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 and \u0060src/Sts/RegionalEndpoints/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"777355754d547b027000737b8270c7fea9b96d8c398717fe012ad072e91d3850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/S3/Crypto/S3EncryptionMultipartUploader.php:153-167 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:160-174 | src/S3/Crypto/S3EncryptionMultipartUploaderV3.php:201-215 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploaderV2.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/S3/Crypto/S3EncryptionMultipartUploader.php:153\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41bb518d3be531ca0aba043f680e71f6edaf2b62cc069ba370c654cf86eeeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:620-634 | src/Cbor/CborDecoder.php:620-634 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728c18509275cda75d98e688bcc8b2e83c7cab7de53b5aa3cae8ef9d511851c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Credentials/CredentialProvider.php:510-524 | src/Credentials/CredentialProvider.php:603-617 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"68997125f3f9f9937ffe00ac3f93296fe2d30d74098946af62537f5dc9c32786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:158-172 | src/Crypto/DecryptionTraitV3.php:218-232 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"041cfb627b90ce569394f5a2188ac52623cd1cf9840eb4371f62ab087cbeffa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Crypto/EncryptionTraitV2.php:69-83 | src/Crypto/EncryptionTraitV3.php:81-95 \u2014 before extracting anything, compare \u0060src/Crypto/EncryptionTraitV2.php\u0060 and \u0060src/Crypto/EncryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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/Crypto/EncryptionTraitV2.php:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/EncryptionTraitV2.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2d81984abd6abdce9c3ddbdcde53e4244a8eaf6107dcaa59ce05883680abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/S3/S3Client.php:2664-2678 | src/S3Control/S3ControlClient.php:1082-1096 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"9792d2816a652078c1b7c4eb326f338364d1de7fa2fe7558d03b6600a34cda93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): src/S3/S3Transfer/Progress/DirectoryProgressTracker.php:86-98 | src/S3/S3Transfer/Progress/SingleProgressTracker.php:217-231 \u2014 before extracting anything, compare \u0060src/S3/S3Transfer/Progress/DirectoryProgressTracker.php\u0060 and \u0060src/S3/S3Transfer/Progress/SingleProgressTracker.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/S3/S3Transfer/Progress/DirectoryProgressTracker.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2b991be8eef9f94ee5f6991caacfd7de550bd7a3e083a26ac14856453174ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Api/Parser/XmlParser.php:168-181 | src/Api/Serializer/XmlBody.php:199-212 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/XmlParser.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a40559a5c0ae9f392ab64c4157ab028a549a6557a8d7ce9361301cf2991fefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Crypto/KmsMaterialsProviderV3.php:60-73 | src/Crypto/KmsMaterialsProviderV3.php:132-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/KmsMaterialsProviderV3.php:60\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/Crypto/KmsMaterialsProviderV3.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c684260b0fbc2d7b0cfbf1f762ab0ecceec13b95e9cd30de7fb8ed0209d273a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/S3/RegionalEndpoint/ConfigurationProvider.php:180-193 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:187-200 \u2014 before extracting anything, compare \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 and \u0060src/Sts/RegionalEndpoints/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php:180\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/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3418e1b219843f8a7a56e5a214ce2cefdfdf9d190db11e540c6c5e55ea605654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Signature/DpopSignature.php:203-216 | src/Signature/DpopSignature.php:220-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signature/DpopSignature.php"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a72f12cc23b2d35706d88bb3acefb69be24a7184fd34001851a97d7a23157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): src/Api/Cbor/CborEncoder.php:131-143 | src/Api/Cbor/CborEncoder.php:190-202 | src/Api/Cbor/CborEncoder.php:211-223 | src/Cbor/CborEncoder.php:128-140 | src/Cbor/CborEncoder.php:202-214 | src/Cbor/CborEncoder.php:223-235 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b23f9136bf60430e0195be2563063860c9c40b396e7c173aa7fa0c9b3f90a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): src/Api/Cbor/CborEncoder.php:93-104 | src/Api/Cbor/CborEncoder.php:234-246 | src/Cbor/CborEncoder.php:90-101 | src/Cbor/CborEncoder.php:246-258 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe6dcbd1500aaedfa88292ecae12f919e3d30988ead458e1e9e2a1da35e4a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/Api/Cbor/CborEncoder.php:263-275 | src/Api/Cbor/CborEncoder.php:292-304 | src/Cbor/CborEncoder.php:275-287 | src/Cbor/CborEncoder.php:304-316 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborEncoder.php\u0060 and \u0060src/Cbor/CborEncoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborEncoder.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc250c1127e385d6162caf6fbeb6adcd8ebf39ef6a5fbbee505b983f3c624f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src/Api/Parser/DecodingEventStreamIterator.php:153-165 | src/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php:42-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/DecodingEventStreamIterator.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b02f92f83eb23a7f80e14b12a51ef6f9a15a6bc1f9f63583f0686525354d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:134-145 | src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php:133-144 | src/S3/UseArnRegion/ConfigurationProvider.php:134-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80fc565d4adf2ee0c35ad26242b9885591e8c0f74a820e6547d8951145d31b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/S3/Crypto/S3EncryptionMultipartUploader.php:110-121 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:117-128 | src/S3/Crypto/S3EncryptionMultipartUploaderV3.php:132-143 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploaderV2.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/S3/Crypto/S3EncryptionMultipartUploaderV3.php:145\u0060 calls \u0060getKeyCommitmentPolicy\u0060, \u0060unset\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php:123\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/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e44ef32a248bd4d87aa7fd6038eb5d726082b31de5c2656a93d80328a4a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/S3/Crypto/S3EncryptionMultipartUploader.php:121-132 | src/S3/Crypto/S3EncryptionMultipartUploaderV2.php:128-139 | src/S3/Crypto/S3EncryptionMultipartUploaderV3.php:146-157 \u2014 before extracting anything, compare \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploaderV2.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/S3/Crypto/S3EncryptionMultipartUploaderV3.php:143\u0060 calls \u0060unset\u0060, \u0060getKeyCommitmentPolicy\u0060 and \u0060src/S3/Crypto/S3EncryptionMultipartUploader.php:120\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/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400919827e972785259f27aa82b35e20229c1813e56a5fdfd540072adae9f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Credentials/CredentialProvider.php:897-908 | src/Token/TokenProvider.php:233-244 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d29556bb09a244aabd21325f89520cabb82b76d08912e3bcef998aacc22bf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Credentials/InstanceProfileProvider.php:168-180 | src/Credentials/InstanceProfileProvider.php:209-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Credentials/InstanceProfileProvider.php:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/InstanceProfileProvider.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fa3f4b29ec5db51d5bbcd6ed2fbd931d5ec9a3e5d23a7b0acb566f3a209bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Crypto/AlgorithmSuite.php:196-207 | src/Crypto/EncryptionTrait.php:71-81 | src/Crypto/EncryptionTraitV2.php:76-86 | src/Crypto/EncryptionTraitV3.php:87-98 \u2014 before extracting anything, compare \u0060src/Crypto/EncryptionTraitV2.php\u0060 and \u0060src/Crypto/EncryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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/Crypto/AlgorithmSuite.php:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/AlgorithmSuite.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f63ba7107b23dc4962c8babfc74bebb6191f0c7ee0e65a6408e28e5890b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/ClientSideMonitoring/ConfigurationProvider.php:167-177 | src/EndpointDiscovery/ConfigurationProvider.php:185-195 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ClientSideMonitoring/ConfigurationProvider.php:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe64c5de0898f4cfe98e46a6927c99e2ee646f1cf66b5c54170de84bda36b87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Crypto/AesDecryptingStream.php:118-128 | src/Crypto/AesEncryptingStream.php:123-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/AesDecryptingStream.php:118\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/Crypto/AesDecryptingStream.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"221e31e92c3ee0afc658c1dc8acfc7b0d30d7be1c07198303885cc72e3def4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/ClientSideMonitoring/ConfigurationProvider.php:161-170 | src/Retry/ConfigurationProvider.php:210-219 | src/S3/RegionalEndpoint/ConfigurationProvider.php:128-137 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:149-158 \u2014 before extracting anything, compare \u0060src/ClientSideMonitoring/ConfigurationProvider.php\u0060 and \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ClientSideMonitoring/ConfigurationProvider.php:161\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/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18400f5a41dcc7cad81fc439f165fa940b265bb361d1df74c4f31e9596e9a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:82-94 | src/Crypto/DecryptionTraitV3.php:91-100 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/DecryptionTraitV2.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0270179dcfd8aeee4212fe196f6dbf07e133cbcb80daa5fdbf02f6d95ebc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/functions.php:647-656 | src/functions.php:657-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/functions.php:647\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/functions.php"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee2325fa1e2119733ff26223001d273dca8c605ee7e3aa9df94ed71171364f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src/ClientSideMonitoring/ConfigurationProvider.php:165-173 | src/DefaultsMode/ConfigurationProvider.php:153-161 | src/EndpointDiscovery/ConfigurationProvider.php:183-191 | src/Retry/ConfigurationProvider.php:214-222 | src/S3/RegionalEndpoint/ConfigurationProvider.php:132-140 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:153-161 \u2014 before extracting anything, compare \u0060src/ClientSideMonitoring/ConfigurationProvider.php\u0060 and \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ClientSideMonitoring/ConfigurationProvider.php:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e496db40b365e31536549e8d1944cce7314c8e8bb9e1359f5606c2457cb99b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/S3/PostObject.php:129-137 | src/S3/PostObjectV4.php:144-152 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/S3/PostObject.php:129\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/S3/PostObjectV4.php:154\u0060 calls \u0060strpos\u0060, \u0060getHost\u0060 and \u0060src/S3/PostObject.php:139\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/S3/PostObject.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b3dec7a79d4b0deb2eb23d960d50433f54980a31dff1ebaee2eb5bf2df3935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Api/Serializer/RestSerializer.php:119-126 | src/Api/Serializer/RestSerializer.php:136-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/RestSerializer.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11c8932967ebf0f455b4d860dbae78e03cf4dc6548f4e52d7c8aafb71ab9462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/ClientSideMonitoring/ConfigurationProvider.php:160-166 | src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php:129-135 | src/Retry/ConfigurationProvider.php:209-215 | src/S3/RegionalEndpoint/ConfigurationProvider.php:127-133 | src/S3/UseArnRegion/ConfigurationProvider.php:130-136 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:148-154 \u2014 before extracting anything, compare \u0060src/ClientSideMonitoring/ConfigurationProvider.php\u0060 and \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ClientSideMonitoring/ConfigurationProvider.php:160\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/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38d83355dada2cba407487c7a8cce1585fc88143959752f9cfc9f67f76bd25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:127-133 | src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:149-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a497c8e4ec67e4d77c6a5b09bfb2ceeffeb0f3592e0cc37924807c5a53ecf476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:130-136 | src/EndpointDiscovery/ConfigurationProvider.php:178-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"660c10bc20c36cb08ee2393a41457bd738574348c3c4b8fb503bbbb79ebb7e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Api/Parser/AbstractRestParser.php:258-266 | src/Api/Parser/AbstractRestParser.php:367-372 | src/Api/Parser/MetadataParserTrait.php:77-82 \u2014 before extracting anything, compare \u0060src/Api/Parser/AbstractRestParser.php\u0060 and \u0060src/Api/Parser/MetadataParserTrait.php\u0060 as WHOLE FILES: 85% 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/Api/Parser/AbstractRestParser.php:258\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/Api/Parser/AbstractRestParser.php"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2adb8422abfcd4d8b6f98829f4d9c7a0ce45e7ad1e038d9211367507d90ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 5): src/Glacier/GlacierClient.php:386-391 | src/Rds/RdsClient.php:3720-3725 | src/S3/S3Client.php:3290-3295 | src/S3/S3Client.php:3296-3297 | src/S3/S3Client.php:3303-3308 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Glacier/GlacierClient.php"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceccb21acc07eab444be7baed74dbc178ced1e93e79e38bae1ba5569dec95532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Api/Parser/DecodingEventStreamIterator.php:308-313 | src/Api/Parser/DecodingEventStreamIterator.php:318-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/DecodingEventStreamIterator.php"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"595256bcb0701c169e799746250121cd66040166b3c85fae93a4369df39d1823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Api/Serializer/QueryParamBuilder.php:226-231 | src/Api/Serializer/QueryParamBuilder.php:267-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/QueryParamBuilder.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c20a5767d2c73347a603dfc1d878fe53328f0698c58c07d99d05999233a45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/S3/S3Client.php:3298-3303 | src/S3/S3Client.php:3314-3319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Client.php"},"region":{"startLine":3298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1277569f4f052cc7338dcf628742745db01e848b25ab2a1b2c27048910cfede3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Crypto/MetadataEnvelope.php:118-122 | src/Crypto/MetadataEnvelope.php:132-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Crypto/MetadataEnvelope.php:118\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/Crypto/MetadataEnvelope.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d891abcb46bea6658b94cd49cfcfa8492acad9be84ffc11bfe2f7a4133df75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/S3Control/EndpointArnMiddleware.php:130-134 | src/S3Control/EndpointArnMiddleware.php:137-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/S3Control/EndpointArnMiddleware.php:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3Control/EndpointArnMiddleware.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ef63e4439fda7defc79beb6737c0e2fefc8a16aa24c1e2847b76910ab40a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/S3/RegionalEndpoint/Configuration.php:11-40 | src/Sts/RegionalEndpoints/Configuration.php:11-40 \u2014 before extracting anything, compare \u0060src/S3/RegionalEndpoint/Configuration.php\u0060 and \u0060src/Sts/RegionalEndpoints/Configuration.php\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/S3/RegionalEndpoint/Configuration.php:11\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/S3/RegionalEndpoint/Configuration.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53c81c17075c045b46e2df10557d391efcda1bc7b853adb69208bb075e452ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/AbstractConfigurationProvider.php:89-97 | src/Configuration/ConfigurationResolver.php:269-277 | src/Credentials/CredentialProvider.php:849-857 | src/Token/ParsesIniTrait.php:34-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AbstractConfigurationProvider.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e084fce71af2b69d3bbdf463d5d47c8f3f9eb131eb25d467b32ad6c777e50c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:39-46 | src/Cbor/CborDecoder.php:39-46 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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. Note first that the copies are not typed on the same thing: \u0060CborException\u0060 names \u0060Aws\\Api\\Cbor\\Exception\\CborException\u0060 in one and \u0060Aws\\Cbor\\Exception\\CborException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Cbor/CborDecoder.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ccfedf75f6b5ca4a3d9f7d1174e74f80cd988625ac2f380170950eeb5338c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Api/Cbor/CborDecoder.php:59-67 | src/Cbor/CborDecoder.php:59-67 \u2014 before extracting anything, compare \u0060src/Api/Cbor/CborDecoder.php\u0060 and \u0060src/Cbor/CborDecoder.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 624 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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/Api/Cbor/CborDecoder.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb65030fad2fc86bdccedf31a9c72d81321be865e258f0c00a8a055926072253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Arn/Arn.php:180-186 | src/EventBridge/EventBridgeEndpointMiddleware.php:84-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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/Arn/Arn.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b3e2148167dd7aa41c6e87f760cc665d83401d6ece9a21d86d7575a6641a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:34-47 | src/ClientSideMonitoring/ApiCallMonitoringMiddleware.php:44-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eee33523112c3d518dab5b3f0911605e485e28571daf1de9f8a019f90c1bb9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Crypto/DecryptionTrait.php:98-107 | src/Crypto/DecryptionTraitV2.php:213-222 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTrait.php\u0060 and \u0060src/Crypto/DecryptionTraitV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/Crypto/DecryptionTrait.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb56f627bff028fd4273c08e526b0c444dc3e955d4b7ae339365b4e292f2c0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Crypto/DecryptionTrait.php:114-123 | src/Crypto/DecryptionTraitV2.php:230-239 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTrait.php\u0060 and \u0060src/Crypto/DecryptionTraitV2.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/Crypto/DecryptionTrait.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f08469c383a657238f542d27c056c0257d4e52b1b0a90431b49bf94d1d9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Crypto/DecryptionTraitV2.php:195-204 | src/Crypto/DecryptionTraitV3.php:202-211 \u2014 before extracting anything, compare \u0060src/Crypto/DecryptionTraitV2.php\u0060 and \u0060src/Crypto/DecryptionTraitV3.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 194 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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"063bcd5e6707455d3ed407ffb706aeccd7da8930d40599ecafa80a7323225ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/DSQL/AuthTokenGenerator.php:35-40 | src/Rds/AuthTokenGenerator.php:26-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DSQL/AuthTokenGenerator.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f73d4d4fe2f96416acdbea3109923240a2a114d542a0e032d9af7e67b661ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/DocDB/DocDBClient.php:897-919 | src/Ec2/Ec2Client.php:1678-1695 | src/Neptune/NeptuneClient.php:1223-1245 | src/Rds/RdsClient.php:3678-3707 \u2014 before extracting anything, compare \u0060src/DocDB/DocDBClient.php\u0060 and \u0060src/Neptune/NeptuneClient.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DocDB/DocDBClient.php"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9da7faa3013d1a1dd04d28b2130b6b2d16b977d8768532ae0df81e0517b7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/EndpointV2/Bdd/BddRuleset.php:121-125 | src/EndpointV2/Ruleset/Ruleset.php:97-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/Bdd/BddRuleset.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff1c5797bd4d997492a9dac8569d3b508c7da9a0d3328899159e6a434bf646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/EndpointV2/Rule/TreeRule.php:53-59 | src/EndpointV2/Ruleset/Ruleset.php:108-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/Rule/TreeRule.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"52464ca2de42ff2d8ff96707545c34b14d6d80f81c5e3e5243e2db2df965b11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/S3/BucketEndpointArnMiddleware.php:66-71 | src/S3Control/EndpointArnMiddleware.php:93-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd23b5409d0c9c7571eef9423929806f33185fa81cca52eefc7dce394c31106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/S3/Parser/ValidateResponseChecksumResultMutator.php:197-204 | src/S3/ValidateResponseChecksumParser.php:141-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Parser/ValidateResponseChecksumResultMutator.php"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8fa65172a2527b7e52482e22cccc3545c055bfdfb76c2c4bc0cd2f77ea22e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/S3/RegionalEndpoint/ConfigurationProvider.php:97-108 | src/Sts/RegionalEndpoints/ConfigurationProvider.php:104-115 \u2014 before extracting anything, compare \u0060src/S3/RegionalEndpoint/ConfigurationProvider.php\u0060 and \u0060src/Sts/RegionalEndpoints/ConfigurationProvider.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5839c101c1d377e0aaebc9f7426791ed0837003505c44b010c19fb84c372a412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/S3/S3Transfer/Progress/DirectoryProgressTracker.php:37-44 | src/S3/S3Transfer/Progress/SingleProgressTracker.php:42-49 \u2014 before extracting anything, compare \u0060src/S3/S3Transfer/Progress/DirectoryProgressTracker.php\u0060 and \u0060src/S3/S3Transfer/Progress/SingleProgressTracker.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/S3/S3Transfer/Progress/DirectoryProgressTracker.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca91fe90d965cb8adde83b89cefa10137f34032c279a5a9d0d7e669f1034ba13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Api/Serde/Json/JsonEncodePlanProvider.php:90-96 | src/Api/Serde/Query/QueryEncodePlanProvider.php:160-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Json/JsonEncodePlanProvider.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7de3acb6e46e1d3e07e61182d8732eff91c6a03cf6ee75cc387deae19270af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/S3/Crypto/CryptoParamsTraitV2.php:22-32 | src/S3/Crypto/CryptoParamsTraitV3.php:22-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/CryptoParamsTraitV2.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b12b46244c79a5acb32bbc5e7db6c89a03cab84d897dd5a67d2706d9b824620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/S3/S3Transfer/Progress/DirectoryProgressTracker.php:54-61 | src/S3/S3Transfer/Progress/SingleProgressTracker.php:99-107 \u2014 before extracting anything, compare \u0060src/S3/S3Transfer/Progress/DirectoryProgressTracker.php\u0060 and \u0060src/S3/S3Transfer/Progress/SingleProgressTracker.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/S3/S3Transfer/Progress/DirectoryProgressTracker.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f10f78188406768c716e57afe04da4ab1ce892b367e3eac104ea746ffc757"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: src \u2192 src/Api \u2192 src (one cycle inside a mutually-dependent group of 24 modules)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AwsClient.php"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf46f10365fb8e99b70abe8f90d4bc6b416f2703d770524dbeee460403e7222"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Handler: src/Handler: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f809e6b77f311b50d88975ed5b3085aa682eaea5a7cb05174274907852fd2907"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Exception: src/Exception: abstractness 0.00, instability 0.01, distance 0.99 \u2014 zone of pain \u2014 concrete and depended on by 451 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b18806232d9759260cd9ea73753db8f3c37a73b5dd474236ccd8af1027ca0b05"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Configuration: src/Configuration: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"add9b27836a31c1e6fe0b0cbaa8dd6ea2fc30c9ab83b877d1c2b251ce7acb244"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src: src: abstractness 0.20, instability 0.03, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 455 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91135c2924eb5e42a63d62b42e0d7eaa6e2baf85c9e2b81f54f17eb02a78fdb2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Api: src/Api: abstractness 0.11, instability 0.16, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 16 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1243f83fee6a90495310783c4f6834d426cada045e94ee0332bf48ff8ee743f1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Arn: src/Arn: abstractness 0.29, instability 0.00, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fff906531b183d2c4b62a6a8b2d72139668fdaf756b4f6585a18048ae50d414a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RulesetStandardLibrary (LCOM4 7): RulesetStandardLibrary\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EndpointV2/Ruleset/RulesetStandardLibrary.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e80f196b2ffb29f57dadcaf2c0c8acc857e117cae7719447cccd8f6e8d2651"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Service (LCOM4 5): Service\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Service.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beffd9059d06e0296a5c17d56209c06f63682f6360ce30037e5636db892a1c9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Waiter (LCOM4 5): Waiter\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Waiter.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72e9be4cf60f0d2ea67eb05e8c6836bcfdcf6494a3bcecbf3adf4db2cdb23c1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserAgentMiddleware (LCOM4 4): UserAgentMiddleware\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UserAgentMiddleware.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7324f24d07a8c652c0d1e45b92f41af792866ecac3284a3840779efbea48a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesAccelerateDualStackEndpointToCommand: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c55b17d5855f3ec996528dbfd3a7ce7c6d3edb4db646da6c31a62f3b7a0b35"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackToCommandForInvalidOperationsWhenEnableBoth: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"84563aba3154fe366b52e23e8f3286691fe62df5009ba8bead232265ea1b560c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackWithPathStyleToCommandForInvalidOperationsWhenEnableBoth: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2b727ad8854596b1c2520a9de4b3127ee3df15ab6a29eec3601c05b3040bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNothingWithoutOptIn: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92bba97d654a33c760dc95b707bfd2eb85471470ed8e6b3b45bb128c28d1ca0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesAccelerateDualStackEndpointWithOperationalLevelOptIn: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef23ad96572d72ce693e14db1b2bd4d150f15a54ed052d233b313ac6359b734f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackForInvalidOperationsWhenEnableBothAtOperationalLevel: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a78fc82c59cfffc0dcde8c0aa65c6858bc921d0e8e273d726371b15723edf00"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackForInvalidOperationsWhenEnableBothWithPathStyleAtOperationalLevel: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef957ff0db163b64673f7031818d6186625994694c3cb5b22b6b3b3b1649a301"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNothingWhenDisabledBothOnOperationLevel: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394e8dff2ca9f2a3568ccfd772d8a970ce662f699f6990bcc933b31d0d8b28f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIgnoresExcludedCommands: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ae76e9c37b50b0043af49f6fc8e525b7e7c9f962e1cef372a5d03cb0247d02"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesAccelerateEndpointToCommands: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"91149bb42c98dbc387519e289f6b6df88805a463bf933fce56dd784b09e83dac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNothingWhenAccelerationDisabledOnOperationLevel: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7936866efc4d9c358f38d08d4852e6663cbe8757a094579e26c8c885c3abafb5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackEndpointToCommand: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048d0a0f511316134bc845413d536258060c1387a06802b35a3f61acc5b0ab0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackWithPathStyleEndpointToCommand: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd77ea94c9b1de71a09431e7994e9c7b13e59bb29a4c4da9704acf65b2d96ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackWithOperationLevelOptIn: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"94edf7a7c1ca93fcd0ba2ba07b896a420cdd2ee53bd3ef7dd296eaf26fc826e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppliesDualStackWithPathStyleWithOperationLevelOptIn: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af76ff711557acc3104ab031e51670e5b7716c3510f3c3274f75a23b2790b22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNothingForDualStackWithoutOptIn: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eef8e3e77cf16e3f6417e3f367d965faf7c1dd3a2578baf075b755dddc44b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNothingWhenDualStackDisabledOnOperationLevel: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"612bf30d3824e155626ae3cfe67dd880b24460b193e3eabd96a5f0ce81ceaa71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIncompatibleHostStyleBucketNameFallback: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f95905338da7635672a53433d2d2840c2b9114a92a8ffa883737e7f3143048"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIncompatibleHostStyleIpAddressFallback: 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/S3/S3EndpointMiddlewareTest.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678ccb2ddabbd62795754fb3f45f7728bf7a9ce0b0f66ba2eb67514333b03be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUploadUsesDefaultChecksumAlgorithm: 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/S3/S3Transfer/S3TransferManagerTest.php"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a336643bc1233b498e26842ec2786172bf1266781d428943f6d94ec19662a46"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUploadUsesCustomChecksumAlgorithm: 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/S3/S3Transfer/S3TransferManagerTest.php"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f663ad579590c3df75118d98e2350ba50c41a5f61d61bf734a2bfafbd7b42b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Credentials/CredentialProvider.php: src/Credentials/CredentialProvider.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CredentialProvider.process at line 595. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:06:14 -05:00\u0027 --until=\u00272026-11-17 16:06:14 -05:00\u0027 --full-history --no-merges -- src/Credentials/CredentialProvider.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/CredentialProvider.php"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa1562e65e2622df8d71abeea950e6e899fe5b0b4e39ed11cb3f0c8ec77e81c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php: src/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is NonSeekableStreamDecodingEventStreamIterator.readAndHashBytes at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix event stream output for the smithy-rpc-v2-cbor protocol (#3407)\u201D; \u201Cbugfix: keep final event when non-seekable event stream reaches EOF (#3375)\u201D; \u201Cbugfix: read full message checksum on partial event stream reads (#3373)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:06:14 -05:00\u0027 --until=\u00272026-11-17 16:06:14 -05:00\u0027 --full-history --no-merges -- src/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f132449a235a2b92fbd7774d3c1108049e18ef764d7090bc7ba0b2a7dc3f4ef3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 31 significant file(s) lose their only recent owner: src/SageMaker/SageMakerClient.php, src/QuickSight/QuickSightClient.php, src/Connect/ConnectClient.php, src/Glue/GlueClient.php, src/Ec2/Ec2Client.php, src/DataZone/DataZoneClient.php, src/BedrockAgentCoreControl/BedrockAgentCoreControlClient.php, src/SecurityHub/SecurityHubClient.php (\u002B23 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6c69988731d943e159f0053e4f052db207866679b0b51465e3d1805ad4bf7cb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: src/DynamoDb/Marshaler.php, src/S3/Parser/ValidateResponseChecksumResultMutator.php, src/S3/ObjectUploader.php, src/Identity/S3/S3ExpressIdentityProvider.php, src/Command.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bed9d9432af36f869423232594260ca2334ad9bed7295d5795ffa53b6c7c71a9"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (43 single-owned of 608 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 608 of the 1293 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/S3/S3Transfer/Models/ResumableDownload.php, src/TraceMiddleware.php, src/EndpointDiscovery/EndpointDiscoveryMiddleware.php, src/ResultPaginator.php, src/Handler/Guzzle/GuzzleHandler.php, src/SocketTimeout/Configuration.php, src/Api/TimestampShape.php."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO enable tests when these services support bearer auth \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Token/BedrockTokenProviderTest.php"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b194b2de79401393d08988d146927481b16114ac5d2ef79ac59705d10a556ca7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack time() to returned the canned result. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Token/token_hack.php"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a0eb7076ee19b2167f6ea2a41381da2c20ac95336646058da0a20bc2544a84"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack the class so that it thinks it needs 3 more entries to be full \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Signature/SignatureV4Test.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"39642d00453c7750fb953a0e156c10628846dc10f7ddd3ac1a7ac56456b42d68"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack gmdate() to returned the canned result. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Signature/sig_hack.php"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"512cfbe00eb59df66e1d860582d31d9e42e103575d8ac69c000e80c786425211"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack gmdate() to returned the canned result. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/S3/sig_hack.php"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e56f7966c85761bfcde441ebef82ee52e6785482284fbb7d5de3f9f09342c93"}},{"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":"3e9858c01da5f7eaa35384ecf3a8fd9528cbcc20ba9d9159e2aa5914aeae6d34"},"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":"e164673e8f88bd68b765e779f4e8e23b3ee9f8452d27e0e0abbe76679445bbe3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"4bd0b1f42ea9f2f8e1eba1acef12b83208acce1d9ee2cbed7e2e026dd6f805df"},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/StreamWrapper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37daca4c6983d2514291ddad3c675aeb53f8bcf09b1e1603eb6fb6a60835e487"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClientV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f964452074157938c3977f2785ad979d77dfcb9e069708f6bf5832929ec55af"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crypto/EncryptionTraitV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a4221d6cc7ba7e17c6293f337e7885d4a851ff03ef2be4b18350b4428ccee"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/Crypto/S3EncryptionClientV2.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c714d3f89c70ccc94c490308fca8da6caa19462b00774b6d34ad4fb1f88bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 97 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/S3/Crypto/S3EncryptionClient.php, src/S3/BucketEndpointArnMiddleware.php, src/HandlerList.php, src/S3Control/EndpointArnMiddleware.php, src/CloudTrail/LogFileIterator.php, src/S3/S3EndpointMiddleware.php, src/Multipart/AbstractUploadManager.php, src/Crypto/MetadataEnvelope.php (and 89 more) (101 orphaned of 631 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 631 of the 1293 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Service.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"400205eaa5720c2861cb08957a0240372be4d590f85c358b9a95fce5a30e132e"}},{"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/S3/Crypto/S3EncryptionClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2ccad1aa9734eabfda90df26049524c86803e3862b9cde7719bf7b24ac4dac"}},{"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/S3/BucketEndpointArnMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa2b3db0b6951ad43f2ba118c158a3efda77deaf6c72c1e44307f9dc87eb453"}},{"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/HandlerList.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b341ac597a7ca9ea232d0da116889b40388bbf0191ca58570f07502a0b5bf8b"}},{"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/S3Control/EndpointArnMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d20a7753b9ea72644919de6c4e2b258a4edb046831b6096d9226ce3a9ecc46"}},{"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/CloudTrail/LogFileIterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c12ec5acde9de50035345c46a0710e9f0bf5e63fad55fea42c56824da32ab99"}},{"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/S3/S3EndpointMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9cc09aa0791b18f677a5846cac10b4e1bb93a5d8e4ad47f60d74a46012b26d"}},{"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/Multipart/AbstractUploadManager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ac56f8e596f9afe93784b28b66a45739a188b010b957e8343c61538992ab6f"}},{"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/Crypto/MetadataEnvelope.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c601050054fa22d6424460b6e6163b382036d963ad381916d77de8fa1b560a"}},{"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/Endpoint/Partition.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa020f327c431ad31ada3e52370fd461cd0fddbcf981ee1ddeab1a8dab39149"}},{"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/S3/S3ClientTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d438051e42bc7f46ba5e997f3ea205e5f84e6db85cfeaee27f8ec5a6551ae"}},{"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/Api/Validator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91e07e9246a02c1cf27112f7680cd8201c686b29f65d0a4e6acc0fb2132110"}},{"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/Glacier/MultipartUploader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca4d433b080a93534e91e6799a51b370bf17d91994e78eba2d458ba1beef8b6"}},{"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/S3/Crypto/InstructionFileMetadataStrategy.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bda9c95bc7ee702f751504a4108ef58c10874bf18af38f5ee84aec81dd5d40"}},{"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/DynamoDb/WriteRequestBatch.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe113e9c6c5752375dcc2535b73717b3c383fc96deb17c07bfecc74b428bd2f"}},{"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/S3/Crypto/S3EncryptionMultipartUploaderV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1d1e3e2e92e86ba2e312bd80872770fab8ff4209ebbb3d6d634b6e0ec3211d"}},{"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/Waiter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd50d185d80936f715cc4a6f3444767bbeffe95076edfe194f362f1e4a7aa50"}},{"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/MultiRegionClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e961aead6b40a7e2bf55d057f401b5b095f1fe8dca167cf345d2aac940950fb"}},{"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/Api/Parser/DecodingEventStreamIterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"543238ca37e630f2c0a6a2eb2da3fdf05b2810b7f09d80939da0c0cf7ebc0fa4"}},{"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/EndpointDiscovery/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"561686106dbebf5ebebfeba8e9164f49fdc241562484f5eb6a7649dea78e3e72"}},{"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/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e67c9e2a323adbfe176e59c4b346ddea96db217c8ea3f12e70910518345feb"}},{"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/ClientSideMonitoring/AbstractMonitoringMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"873baf72a69145f79ef0bd8c02eab06c5c146b0535ba20960da4cf424995bffb"}},{"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/Token/TokenProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3169882e602e0aa83632d766ae16e2c7c90f8b9833a9a9e4d06a47735984f160"}},{"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/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3290472336754070faca0e7611b8d92d8c30bf360ff75a095d88a2992e422e9a"}},{"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/DynamoDb/SessionHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb67738a84294aeb39cbbf79384747ef09df5f0d1511afe158389f40b97d554"}},{"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/RetryMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1241dd91c54d601c47ddad8f1a322aa589e9bd8fe8400427f6c7f745a0bc9729"}},{"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/S3/BatchDelete.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79f384aa872f1b59e69cddcf30d9247fcf6e893e1a7cf486a8786bd78a22d75"}},{"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/Api/ApiProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef5e14d121768fcf60004cc9a48df1cdbfe23cdb396605f79f5b158d0b1413f"}},{"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/S3/Crypto/S3EncryptionMultipartUploaderV2.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6c5a0b1766c1b98917e7696f3232896ca5c3ba47648cb3c14e653bd4ec8ff4"}},{"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/Sts/RegionalEndpoints/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeba3c045b07408a8e523a61743117e2524981b9e3f25bc3f78462859e7f0cb"}},{"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/Crypto/AlgorithmSuite.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d6cb65554637ce40ed1baceb053ca774e32c5e653159c632bd9799f30bdf0c"}},{"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/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7a59f874858136f8216daa364e279bdc27c746444aa70cd07c434acb166a9a"}},{"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/Crypto/EncryptionTraitV2.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f9e4149ddb30db88af973823a062145480054bb2eea916c186adacf9749505"}},{"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/Crypto/EncryptionTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af56b258ebe9cb977154a57c3be5ab2e325625a6469dfc5f8350df0ef5b181b5"}},{"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/DefaultsMode/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c249e6ecb99e0e3d6f7457c2a1b4f205417459c46074cbe97bc3251440a8e3"}},{"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/Endpoint/UseFipsEndpoint/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fd444030f078a059eb70a7c6b573ff7f2338f967667fb78cfb60cf5c02dbd8"}},{"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/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659546c4475d5c015a9f04c2cb6daaf683032ceab24b9d2c44eb834ec054a7c0"}},{"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/Crypto/KmsMaterialsProviderV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e58fc4bb9784481b59601bd6a0be98b64193ccf51feba5c79dae556fae0e8d1"}},{"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/S3/Crypto/S3EncryptionMultipartUploader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f80e7c84199653293e2491d0dc4275fa02f564ab20b510970880a92db3452"}},{"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/Exception/AwsException.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eb5f97025e99979cb2db9cb67cddbe5604ada7f7f8c141601c088a7df04537"}},{"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/S3/UseArnRegion/ConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d560374eb076eb4df6bb7612f03b46c153289263f72d710f6ae4b96108bb9f8"}},{"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/S3/MultipartUploader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d8d089d72dbfe14cf6d4c3442ce1d825d55d5ae386e2f0bf85b6c7eb22b7d1"}},{"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/S3/ObjectCopier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97081584048e7c74d102dcc8eb5d866af52741bc6fbc0338478df97c689dbaf9"}},{"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/Multipart/UploadState.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae24dc41f25e049e0553347ed52ef2072095a50a90c471f586d7d9cfcdd0e3b"}},{"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/Crypto/DecryptionTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5ed72dc055ac998e3d853be366b91e70713e141ff530e42b9d5dc7ba5ea014"}},{"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/DynamoDb/SessionConnectionConfigTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fe79e4928e6af3f46909ad5bb195b6fed665022f897798b3e9bc265b826f17"}},{"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/AwsClientInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f05800c5fbb214acaaedbab42c82aaa29191992aa4f567c6bdaca6f5d6118f9"}},{"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/S3/PostObjectV4.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb089dd3bebdfa2d2f8a550f118a2a4bcb9b2995954d08289033cf6cd4e65c0"}},{"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/Signature/SignatureProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48884bd6893e35bba4c7108fdf8d3c61627ed32028bc52eb7d540a4fb4636917"}},{"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/CommandPool.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a780135b870c2d301087dcee7892a6cab389fdf35173acc632dd7e74c2644"}},{"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/CloudTrail/LogRecordIterator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3659cb9dd4784dfdf055979456502c0da2bc98d06c99b822a45f5ed272e6b99"}},{"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/S3/ValidateResponseChecksumParser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88e24d95cc2cdf0932056e81303035835690158efe3672e48066e2e07196113"}},{"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/Retry/RateLimiter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df831f08314b781e0b8d1c29df74f8630e975165228a7fbe7e6e589cc9468347"}},{"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/Arn/Arn.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4182b54c769678fbee02262ae494f752fb8c1fd56b888ab15d1802c0973c3a2e"}},{"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/Multipart/AbstractUploader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e52849378feadfbc359829a3ab838ea2e88ca9969d4dda3de6519e0edf897e"}},{"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/Crypto/AbstractCryptoClientV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab464f4e9684ea7b2214e628d86d6c7208bfdd01f904780b4063b2fda4cdb93"}},{"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/S3/S3UriParser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e159c1636367b22748c5686d1d7c3d8179b3382eca47b34fd99eede79341b"}},{"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/ClientSideMonitoring/ApiCallMonitoringMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1279bc08bfae154bc4cdf714d04f6ab4ad7b813ee3ecc2dfb470e1219fdc43"}},{"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/AbstractConfigurationProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"932f505700f07ec50979757da27810331e09e1786bd5586e4685471784bc804a"}},{"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/DynamoDb/StandardSessionConnection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"911764a4e8ffdd6ce2d9c061fcfcfa67419608f49513db3d0cc2483bb0b91b2e"}},{"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/Crypto/AbstractCryptoClientV2.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9437012f079d5a02d7d0d0a9798d26e8279757cac996d99baf76c2802155fa5b"}},{"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/MockHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681538dd890d057ca880e72aa8ff78e36c0cbd0f8a57e3b8eff3b36afa2cc462"}},{"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/Crypto/AbstractCryptoClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbc0748106e73488dc1a540ccd9f81dc73c9b491f58b3ae8c75193db1936050"}},{"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/Api/Parser/JsonParser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbcf5b1a080bd06910dc15360208bf5770734ffec999b724fc11fa8b18af5b1"}},{"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/Api/DateTimeResult.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f3df84e31b6b492eb9e23227acbad7654905a52060de7c17f876fec070b728"}},{"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/History.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ad583458846b8b1907fc8b3a0b9a9b60e2f134bbb38cb4a3310f3ecc2c14c"}},{"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/Crypto/KmsMaterialsProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad1827cd94f9a409f543bdaecb421a2af3b12a5082cffe09ac2041b79b4e743"}},{"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/S3/PostObject.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c13be775db6727c4a5a7f1d95548315e8583e767e916636d0f24e7d50a7884"}},{"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/Endpoint/PartitionEndpointProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc002cd5680cbdb4cd058f02053910aa5cce850f03a8dffcd7140c25d718593"}},{"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/DefaultsMode/Configuration.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9017f93c83c45190ee59337f59ca9a01d413def8f39220f1de273f126278a0"}},{"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/IdempotencyTokenMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60cc4ac76170aabbc86d0b66dde4a23050b886d7f49e024de1c62092ca8f2d0"}},{"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/Crypto/AesEncryptingStream.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bcc1321875649453d2d4b4335a46c88bbc601be061f899dc738c2a3ee3251e"}},{"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/Arn/S3/OutpostsAccessPointArn.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27392834d4acfb41dbd15b9c4149b2a0c765ecebacf099fa0574655120e813"}},{"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/Token/SsoToken.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f09c502b19ea5f6f1ccfa87000a8cc7f0e1c5a47d05862093508ef6de6ba903"}},{"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/Crypto/AesDecryptingStream.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7d8df3e00ea09d27c670e4b6f371ba742fe8b065337baceb00952a7f05e1ae"}},{"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/EventBridge/EventBridgeEndpointMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824e06ce460f9e3a95abe8b0af7a6b59657c56e7f93270ab67126b437a07756c"}},{"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/Crypto/KmsMaterialsProviderV2.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ada4813382c06ca413510c9bad13e237ac5028e74e92acf61648a8c384fdc98"}},{"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/Api/DocModel.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2c3881b7ba1e56232b51a7e0160d1fcb8637c4d017117e2e9a8137901f9815"}},{"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/Api/ErrorParser/XmlErrorParser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a326a08ded71a8d5676282f2c90daf6c394a8030a09434d20903cab12f1767"}},{"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/Glacier/TreeHash.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"944fa926f0536f67d0b8ae5578635686ea88bd28fe6f4595ff8524f5675e779f"}},{"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/Endpoint/EndpointProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"237402e71084f6ae31184c442aab395ae6c4b42abddef23f2c42b19ad1a2b758"}},{"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/Crypto/MaterialsProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4220f317295886c89a65ef69535d713dd318c5f896771cca45fc871d82ce64e2"}},{"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/S3/EndpointRegionHelperTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa58ebf23d55da63a5fb2e81a57edde280ee6e101fcf93b23d1455c6b2c0b6"}},{"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/S3/Crypto/CryptoParamsTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d31d1b01a7d298523a3dcce77fa99f778d7dd37441f2a5aab2e14992094f862"}},{"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/Arn/S3/OutpostsBucketArn.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4281deb11e77daacd16f12aaefdc7f88b0b55f0507a7efbbe76ba10244269044"}},{"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/EndpointParameterMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aaa8e9c82026e7652b5759bb763abe8d4725ea77826f336a81153c7edd82d4"}},{"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/Api/Parser/MetadataParserTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a721d92b720723bf2fb61419aa3cf70a63f7acb051ef6adc8fd0adbbe514871"}},{"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/AwsClientTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2e541e1cbb518ebb92a300f901a98d0b8fb4cc0b436cfb00d25b6fe6b6c3a0"}},{"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/Crypto/MaterialsProviderV3.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc680b93fd839e57bfba9ffd5eb2b00181aa579e5950cadfc34b72d1318e91d"}},{"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/S3/Exception/S3MultipartUploadException.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550cf32a137bc0e52f892dbe2c79b6aa82a45618dceeaf7716486d3beac4cc13"}},{"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/StreamRequestPayloadMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd469712c5f20f1a0d1920f30da8307759d3f5ed1a4dce20ccbb553be62bcca"}},{"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/Token/Token.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a48f3572edb18fd5202a0c24d7b9efce364b2b1be9a153c27d8b2c593e4fb"}},{"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/Api/ErrorParser/AbstractErrorParser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5047785adfc3006601ddb3b5566d0f058a46864946ce0c2ad4083e1718812495"}},{"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/Api/StructureShape.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5fcae349e8e062da067d4574d0de79be4bf6b2764d70ac6b612e331e493bbc"}},{"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/InputValidationMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0221319d8ff2a6b94ff37bc1c9918b669934d1f54094ecdd129cbae501cb15d"}},{"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/Crypto/AesGcmEncryptingStream.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c34d1762fb413385107c8efe57c56b1b69ae884aa9b3291a7485aa53ee77f"}},{"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/Crypto/AesGcmDecryptingStream.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5320fdf6bd972860199e0cdf2098428d5f2cea78d09e378128c1261a23beb6d2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QuerySerializer.php \u2194 RestSerializer.php: \u0060src/Api/Serializer/QuerySerializer.php\u0060 and \u0060src/Api/Serializer/RestSerializer.php\u0060 change together 64% of the time (9 of the 14 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 9 shared commits counted here, the most recent 3 are \u006042949eaa\u0060 Enhancement: Endpointv2 Middleware (#2844); \u00603daedce0\u0060 Revert \u0022enhancement: Endpointv2 Middleware (#2790)\u0022 (#2833); \u0060dca4bc1e\u0060 enhancement: Endpointv2 Middleware (#2790) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serializer/QuerySerializer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ea6acc6032bbb35727a6921e9b2ada5c814bd025546c540dd0d13737fb8522"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ClientResolver.php \u2194 EndpointV2Middleware.php: \u0060src/ClientResolver.php\u0060 and \u0060src/EndpointV2/EndpointV2Middleware.php\u0060 change together 62% of the time (8 of the 13 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060761a190a\u0060 feat: endpoints bdd (#3276); \u00604fad9485\u0060 feat: account id endpoint support (#2976); \u006064e7659c\u0060 Revert \u0022feat: account id endpoint resolution support (#2884)\u0022 (#2971) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72000ca90fb79ab54346e6f7d2b658dec93316eb623733522794bacbd527bc9f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ClientResolver.php \u2194 StsClient.php: \u0060src/ClientResolver.php\u0060 and \u0060src/Sts/StsClient.php\u0060 change together 60% of the time (9 of the 15 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060094b94e5\u0060 Reapply \u0022feat(retries): make standard the default retry mode\u0022 (#3376)\u2026; \u006066009432\u0060 Revert \u0022feat(retries): make standard the default retry mode\u0022 (#3400); \u0060a76c6c23\u0060 feat(retries): make standard the default retry mode \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientResolver.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8487b1b787f7f43ed83c3d51d0ad06181ee1188c0467b28c05cab0198141fe10"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects src \u2192 src/Api \u2192 src (one cycle inside a mutually-dependent group of 24 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AwsClient.php"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bbfe03edee961c194a00cb33b7bf79491a3b926a9c1d28307a3f23d70d2219"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: S3ClientInterface (20 methods): \u0060S3ClientInterface\u0060 declares 20 methods: \u0060createPresignedRequest\u0060, \u0060getObjectUrl\u0060, \u0060doesBucketExist\u0060, \u0060doesBucketExistV2\u0060, \u0060doesObjectExist\u0060, \u0060doesObjectExistV2\u0060, \u0060registerStreamWrapper\u0060, \u0060registerStreamWrapperV2\u0060, \u0060deleteMatchingObjects\u0060, \u0060deleteMatchingObjectsAsync\u0060, \u0060upload\u0060, \u0060uploadAsync\u0060, \u0060copy\u0060, \u0060copyAsync\u0060, \u0060uploadDirectory\u0060, \u0060uploadDirectoryAsync\u0060, \u0060downloadBucket\u0060, \u0060downloadBucketAsync\u0060, \u0060determineBucketRegion\u0060, \u0060determineBucketRegionAsync\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3ClientInterface.php"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cafc1e10f25a6d3bda807bbfffd5a18a331fe049683f6ac7c07a88a5b64ef60"}},{"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":"P12","level":"warning","message":{"text":"Coverage reaches no merge: \u0060codecov/codecov-action\u0060 uploads coverage, but the workflow runs only on pushes to named branches or tags \u2014 after the merge: no pull request ever reports coverage for \u0060.\u0060, and nothing that runs on one enforces a floor \u2014 the number can fall and every change still merges. Upload (or enforce the floor) on pull requests too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/coverage.yml"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"458946e6af7b01825948d0da63c22764a25ff468b08fcb354c8170c8cf667ea0"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch composer: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060composer\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222255da0f177f44768e77e54ff49a4cce490031c2281f22ed6c953335893fc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new Client(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Handler/Guzzle/GuzzleHandler.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11e5bb4f48ce6a714173ddec019b04923e4928d5e614538995c5370a43bd0da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($config[\u0027use_aws_shared_config_files\u0027]) || $config[\u0027use_aws_shared_config_files\u0027] != false\u0060 appears character-identically in 8 files \u2014 src/ClientSideMonitoring/ConfigurationProvider.php, src/DefaultsMode/ConfigurationProvider.php, src/Endpoint/UseDualstackEndpoint/ConfigurationProvider.php, src/Endpoint/UseFipsEndpoint/ConfigurationProvider.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/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba6273a49d3b26534c2e97c5c31a710dadea89388dea4426b7847657985d9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($config[\u0027use_aws_shared_config_files\u0027]) || $config[\u0027use_aws_shared_config_files\u0027] !== false\u0060 appears character-identically in 2 files \u2014 src/Credentials/CredentialProvider.php, src/Token/TokenProvider.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/Credentials/CredentialProvider.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"029f2a5ff8eb3985ae1bf334bce528d5dd0d163eda16bc4e5747654b7160b39c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($options[\u0027@kmsencryptioncontext\u0027]) || !is_array($options[\u0027@kmsencryptioncontext\u0027])\u0060 appears character-identically in 2 files \u2014 src/Crypto/KmsMaterialsProviderV2.php, src/Crypto/KmsMaterialsProviderV3.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/Crypto/KmsMaterialsProviderV2.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b2a78aea4054fb37d3b1ab4666ff57059e0552586317c1875c6168c2783028"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$cipherTextSize == null || $cipherTextSize \u003C= 0\u0060 appears character-identically in 3 files \u2014 src/Crypto/DecryptionTrait.php, src/Crypto/DecryptionTraitV2.php, src/Crypto/DecryptionTraitV3.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/Crypto/DecryptionTrait.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cb3ff1605361764fe6065a4c2054f75286182fed8280d86397050143917730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$progressTracker === null \u0026\u0026 $config[\u0027track_progress\u0027]\u0060 appears character-identically in 2 files \u2014 src/S3/S3Transfer/DirectoryDownloader.php, src/S3/S3Transfer/S3TransferManager.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/S3/S3Transfer/DirectoryDownloader.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea95a7c31f9a33c044e552fd5592c36ecbe634592fad64486f67c54633ece17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060count($parts) === 2 \u0026\u0026 $parts[0] \u0026\u0026 $parts[1]\u0060 appears character-identically in 2 files \u2014 src/Api/ErrorParser/AbstractRpcV2ErrorParser.php, src/Api/ErrorParser/JsonParserTrait.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/Api/ErrorParser/AbstractRpcV2ErrorParser.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d1649b3d73cbdc42389a2efcced3875be651cb03e244df214bdc2470dd605b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060empty($resolved) || $resolved[0] !== $targetDirectory\u0060 appears character-identically in 2 files \u2014 src/S3/S3Transfer/DirectoryDownloader.php, src/S3/Transfer.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/S3/S3Transfer/DirectoryDownloader.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ab806e5bbdf5789ff69c200f21cf7e8d33f2a4097a4c5dec1840bdc68e5c35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getConfig(\u0027use_path_style_endpoint\u0027) === true || ($uri-\u003EgetScheme() === \u0027https\u0027 \u0026\u0026 strpos($this-\u003Ebucket, \u0027.\u0027) !== false)\u0060 appears character-identically in 2 files \u2014 src/S3/PostObject.php, src/S3/PostObjectV4.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/S3/PostObject.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"010f944134312ec6e21e04d302dd0fe87e12a048594f0f99b655640faf2f17ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_array($config) \u0026\u0026 isset($config[\u0027enabled\u0027])\u0060 appears character-identically in 2 files \u2014 src/ClientSideMonitoring/ConfigurationProvider.php, src/EndpointDiscovery/ConfigurationProvider.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/ClientSideMonitoring/ConfigurationProvider.php"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5f6213f58e033fa51ae4a99d020c9fc4d9016d38b5bd20e30df52d3599ee53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_array($config) \u0026\u0026 isset($config[\u0027endpoints_type\u0027])\u0060 appears character-identically in 2 files \u2014 src/S3/RegionalEndpoint/ConfigurationProvider.php, src/Sts/RegionalEndpoints/ConfigurationProvider.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/S3/RegionalEndpoint/ConfigurationProvider.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3d95166bfe5aab207d05d6aafc08049ed36cef85edc3c426d0ec6d601968de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_string($timeout) \u0026\u0026 is_numeric($timeout)\u0060 appears character-identically in 2 files \u2014 src/Credentials/EcsCredentialProvider.php, src/Credentials/InstanceProfileProvider.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/Credentials/EcsCredentialProvider.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9c7a9ef83e0a19385ec4355b36ed70b5e4c3abb1ab323aca6dc1e2450197b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($config[\u0027display_progress\u0027]) \u0026\u0026 is_bool($config[\u0027display_progress\u0027])\u0060 appears character-identically in 2 files \u2014 src/Multipart/AbstractUploadManager.php, src/Multipart/UploadState.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/Multipart/AbstractUploadManager.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"23449b5c76f3f5c7aebe9697ccfe7f68a5ad7bdb7992589afab7f8d7f41202fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($matdesc[\u0027aws:x-amz-cek-alg\u0027]) \u0026\u0026 ($envelope[MetadataEnvelope::CONTENT_CRYPTO_SCHEME_HEADER] !== $matdesc[\u0027aws:x-amz-cek-alg\u0027])\u0060 appears character-identically in 2 files \u2014 src/Crypto/DecryptionTraitV2.php, src/Crypto/DecryptionTraitV3.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/Crypto/DecryptionTraitV2.php"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d687dd2cabc941ae67e40fed0f609d36afcfd1969689bfc411567a35e13e77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($options[\u0027add_content_md5\u0027]) \u0026\u0026 $options[\u0027add_content_md5\u0027] === true\u0060 appears character-identically in 2 files \u2014 src/S3/ObjectUploader.php, src/S3/Transfer.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/S3/ObjectUploader.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ade94c3f60005059ae4bc26186efea27c9e25a2fe61a0540d1508a47bd6e0bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mapKeyType \u003E= XmlShapeType::STRUCTURE \u0026\u0026 $plan\u0060 appears character-identically in 2 files \u2014 src/Api/Parser/XmlParser.php, src/Api/Serializer/XmlBody.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/Api/Parser/XmlParser.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bfb341f1cdf974a98b8a601c7eb5db0a3ae1db451a0a564d8d300b189adb24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mapValueType \u003E= XmlShapeType::STRUCTURE \u0026\u0026 $plan\u0060 appears character-identically in 2 files \u2014 src/Api/Parser/XmlParser.php, src/Api/Serializer/XmlBody.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/Api/Parser/XmlParser.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f701e93b57399151a98bc77e98d22ef2131599ea7e8d6d8b4b2b1c0ee86b2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str_contains($rawErrorCode, \u0027:\u0027) \u0026\u0026 str_contains($rawErrorCode, \u0027#\u0027)\u0060 appears character-identically in 2 files \u2014 src/Api/ErrorParser/AbstractRpcV2ErrorParser.php, src/Api/ErrorParser/JsonParserTrait.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/Api/ErrorParser/AbstractRpcV2ErrorParser.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0d529a9f96c430877058011c470cf6944434659c72869fab3cf95fd23cb22e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strpos($region, \u0027fips-\u0027) !== false || strpos($region, \u0027-fips\u0027) !== false\u0060 appears character-identically in 2 files \u2014 src/Endpoint/UseFipsEndpoint/ConfigurationProvider.php, src/functions.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/Endpoint/UseFipsEndpoint/ConfigurationProvider.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e74fc605e528fb78b9806a6ce71536a9f981ddaa7b37b86cde4324b84caa70"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060n\u0060 is walked by \u0060n.forEach(\u2026)\u0060 at line 43, and line 43 reassigns \u0060n\u0060. The walk keeps the iterator of the collection it started with, while the body from here on reads and writes another one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/js/combined.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0e58cad924e029a0757e78516f03c8012b7e749d1daf014dc5b67ddf406c85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SocketTimeout/Configuration.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"201fc34e5ea379f1bb9d073de8e22d964c88a68af5e76878e6137ca6ad816cf2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/S3Transfer/Models/AbstractResumableTransfer.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2f34d91780c2e3c462757ee4a5bc4e3092e0dd1bc52f56faa96d4faa7aa270"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Credentials/LoginCredentialProvider.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc057638ed566b7ff53e142b4dd6ffc651a7112e25950a40e086ffbcd5dfc3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Http/HttpRequestBindingPlanProvider.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f5047c704e304d3e7f8e875e533079d65073e553c341d9ba13f5cd0ba98166"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Api/Serde/Http/HttpResponseBindingPlanProvider.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1229c90407646098f08477b95f0f3a16e9f8b8094ee5330aac33ce42ceb242b5"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: 0/1 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"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This PHP code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/S3/GetBucketLocationParser.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1a3b351f2e3e4d5d170267ad344d4739e785c1ed027b023c840882e20f6b2d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060loadExamples\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/docs/classes/DocsBuilder.php"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b404940dc9477720dbe7cf012ca571f108229d91194c5d7e66b4dc5547ff2066"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":3,"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."]}]}