79584184

Date: 2025-04-21 07:25:52
Score: 0.5
Natty:
Report link

This is about sealed vs. unsealed array shapes.

Unsealed array shapes allow extra keys. Right now PHPStan’s array shapes mostly act as unsealed, but sometimes it’s inconsistent.

There’s an open issue about it: https://github.com/phpstan/phpstan/issues/8438 (one of the most upvoted issues so it will get solved sooner or later)

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ondřej Mirtes