guilliamxavier
Repos
7

Events

delete branch
guilliamxavier delete branch patch-1
Created at 6 days ago
guilliamxavier delete branch fix-workflow-image-labels
Created at 6 days ago
issue comment
"iterable" alias "array|Traversable" breaks PHP 8.1 code

To be "sure", you should test not only return types (covariant) but also parameter types (contravariant): https://3v4l.org/NQLV5 confirms the equivalence between object|iterable and object|array :slightly_smiling_face: Same with typed properties (invariant): https://3v4l.org/mKQdm

Created at 1 week ago
issue comment
support the `match` operator in constant expressions

Related: https://externals.io/message/111370 Note: those examples could also use an inline literal associative array indexing + null-coalescing (https://3v4l.org/GBoT5)

Created at 1 week ago
pull request opened
Fix one 5+ digit year example (sign is required)

But actually neither seems to work currently? https://3v4l.org/9fKt3/rfc#vgit.master :confused:

Created at 1 week ago

Fix one 5+ digit year example (sign is required)

Created at 1 week ago
Created at 1 week ago
pull request opened
[Workflow] fix image labels

"Transaction_*" to "Transition_*"

Created at 1 week ago

[Workflow] fix image labels

"Transaction_" to "Transition_"

Created at 1 week ago
guilliamxavier create branch fix-workflow-image-labels
Created at 1 week ago
issue comment
More ext-random integer overflow

Curious why it didn't pop up earlier, the "offending" RAND_RANGE_BADSCALING (for legacy mode MT_RAND_PHP) hasn't been changed (only moved) since ~ 5 years old https://github.com/php/php-src/commit/ab834f472f627664a74ce709a88188fb87b7e684, which itself only renamed it from RAND_RANGE, which already was ~ 15 years old (at least) and had had some "fixes" like https://github.com/php/php-src/commit/8a156d9a392e5943825367801628b43f0453bd69 or https://github.com/php/php-src/commit/cc28589156de27741401a5fbbe155da893e29d37...

Created at 2 months ago
delete branch
guilliamxavier delete branch patch-1
Created at 2 months ago
pull request opened
[ErrorHandler] [Debug] fix operator precedence

| Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix https://github.com/symfony/symfony/pull/10921#discussion_r932415182 | License | MIT

But I'm struggling to come up with a failing test scenario :/ if the bug is only causing evaluating the condition as truthy instead of false when $prev is already equal to $this->thrownErrors | $this->loggedErrors, I guess it will just re-register the same, without real visible effect?

Created at 2 months ago

[Debug] ErrorHandler: fix operator precedence

Created at 2 months ago

[ErrorHandler] fix operator precedence

Created at 2 months ago
Created at 2 months ago