🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Unsealed array shape is dumped too complex when simplified since v2.2.0 #14732

Description

@mvorisek

Bug report

since v2.2.0

https://github.com/atk4/ui/actions/runs/26672885700/job/78619342998#step:10:109

 ------ ----------------------------------------------------------------------- 
  Line   src/Panel/Right.php                                                    
 ------ ----------------------------------------------------------------------- 
         Ignored error pattern ~^Parameter #1 \$object of method                
         Atk4\\Ui\\App::add\(\) expects Atk4\\Ui\\AbstractView, array<mixed> g  
         iven\.$~ (argument.type) in path /__w/ui/ui/src/Panel/Right.php was    
         not matched in reported errors.                                        
         🪪  ignore.unmatched (non-ignorable)                                   
  143    Parameter #1 $object of method Atk4\Ui\App::add() expects              
         Atk4\Ui\AbstractView, array<(int|string), mixed> given.                
         🪪  argument.type

Code snippet that reproduces the problem

https://phpstan.org/r/0575675c-d6dd-4164-a687-ccd37178e92f

Expected output

-Parameter #1 $seed of method MondayMorning::add() expects MondayMorning, array<(int|string), mixed> given.
+Parameter #1 $seed of method MondayMorning::add() expects MondayMorning, array<mixed> given.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions