Results 17 issues of Michael Olšavský

Prerequisite for https://github.com/sebastianbergmann/phpunit/issues/4965#issue-1224068762

Hi, I recently came across this issue while trying to create a DB transaction per request. The reason for using a DB transaction per request (which means 1 connection per...

enhancement

Exporter implementation is right now hardcoded in Constraints and Comparators. This works fine in most cases but it becomes unusable in the case of large objects such as Doctrine entities....

type/enhancement

Current interface of WebhookSignature class makes it difficult to generate signatures for test cases. The process of signature generation is already properly documented on https://stripe.com/docs/webhooks/signatures#verify-manually but implementing it manually is...

### Bug description Hi, We're seeing spans with duplicate IDs in Datadog. We already reached out to the official support (ticket #846633) and the issue was confirmed. We suspect that...

🐛 bug
cat:usability

With the recent APM trace ingestion pricing change, we're trying to cut down our usage by removing traces that provide no value to us, mainly `PDO::prepare` (which makes approximately 30%...

feature-request

### Feature request Since PHPStan does not provide `FunctionReflection` for anonymous functions, `DynamicFunctionThrowTypeExtension` / `DynamicFunctionReturnTypeExtension` are not applied. This limits the possibilities for rules like [forbidCheckedExceptionInCallable](https://github.com/shipmonk-rnd/phpstan-rules?tab=readme-ov-file#forbidcheckedexceptionincallable) (https://github.com/shipmonk-rnd/phpstan-rules/issues/210). - In short,...

First of all, thank you for the [Staged builders](https://github.com/Randgalt/record-builder/pull/161) support! It helps us a lot to write null-safe code :) For full adoption in our codebase though, we miss one...

# Bug report When array destructuring is used on item inside foreach, non-existent keys are not reported even though the shape of array is well defined. Array destructuring otherwise works...

feature-request

The `org.approvaltests.JsonJacksonApprovals` class should accept `ObjectMapper` as an optional parameter, similarly to the `org.approvaltests.JsonApprovals` accepting a `Function1 gsonBuilder`. The main motivation is to have consistent serialization with the rest of...