Skip to content

phpstan run is broken on master #5654

@addshore

Description

@addshore

I first noticed this on https://github.com/rectorphp/rector/pull/5625/checks?check_run_id=1954526607 which was passing until I rebased it on laster master.

Checking out the code locally and trying phpstan also gave me an error (after doing composer update)

 (master)$ $ vendor/bin/phpstan analyse --ansi --error-format symplify
Note: Using configuration file /home/adam/dev/git/github/rectorphp/rector/phpstan.neon.

In Resolver.php line 419:

  Service of type Symplify\PHPStanRules\Rules\RequireStringArgumentInMethodCallRule: Unable to pass specified arguments to __construct().


analyse [--paths-file PATHS-FILE] [-c|--configuration CONFIGURATION] [-l|--level LEVEL] [--no-progress] [--debug] [-a|--autoload-file AUTOLOAD-FILE] [--error-format ERROR-FORMAT] [--generate-baseline [GENERATE-BASELINE]] [--memory-limit MEMORY-LIMIT] [--xdebug] [--fix] [--watch] [--pro] [--] [<paths>...]

The composer update was:

  - Updating doctrine/annotations (1.12.0 => 1.12.1): Downloading (100%)
  - Updating symplify/symplify-kernel (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/smart-file-system (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/console-package-builder (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/package-builder (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/easy-testing (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/composer-json-manipulator (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/autowire-array-parameter (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/php-config-printer (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/markdown-diff (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/simple-php-doc-parser (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/symfony-php-config (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/set-config-resolver (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/changelog-linker (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/console-color-diff (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/skipper (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/rule-doc-generator (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/coding-standard (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/easy-coding-standard (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/easy-ci (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/astral (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/phpstan-extensions (9.1.9 => 9.2.0): Downloading (100%)
  - Updating symplify/phpstan-rules (9.1.9 => 9.2.0): Downloading (100%)
  - ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions