Marco Pivetta

Results 1382 comments of Marco Pivetta

I just verified that `7.3.11` is **BROKEN**, and `7.2.9` is **WORKING** for me. UDFs don't seem to be the root cause: will check diffs between these two versions next.

Sounds about right: would be detected if you were on PHP 8.4

> Could composer require checker detect that `mb_trim` is php 8.4 only and therefore it uses a polyfill as a soft dependency? PHP functions are discovered via reflection, and not...

> If a library wants to use `mb_trim`, it must require PHP 8.4, making it impossible to install if the end-user application runs on PHP 8.3 or lower. And that...

@8ctopus this package was especially designed to **prevent** the concept of "soft dependencies": it is the main reason why it was built, since soft dependencies have the tendency of being...

> Can I disable the BC check on specific files? There's a baseline feature for that, but generally, the tool will refuse to evaluate any non-constant expressions. ENUMs are effectively...

Copying from discussion held elsewhere: > Dilemma: I have a piece of code like > > ```php > class SomeClass > { > protected VisibilityEnum $visibility = VisibilityEnum::Public; > }...

> In this case I would expect `BetterReflection` to see that `$visibility` is not just of type `VisibilityEnum`, but it is initialized with a specific value of that Enum. The...

@sarven is this even achievable with the current MSSQL clients? What extension are you using to connect to the DB?