Does this work (for Windows)?

Created on 4 January 2025, 3 months ago

Drupal version

9.5.11

Drupal Rector version

0.12.21

Problem / Motivation

Does this work? Does it work in Windows (git bash)?

I have installed using composer and i get help output when i run this:
vendor/bin/rector --help

anything else i run seems to just hang.

💬 Support request
Status

Active

Component

Code

Created by

🇨🇦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @liquidcms
  • 🇨🇦Canada liquidcms

    I used an install guide i found on the jumpstart post listed on project home. I guess this is out of date.

    Did install from github project page and it seems like a much newer release. Doesnt hang now.. but spits out this:

    [ERROR] Rector\Config\RectorConfig::{closure}(): Argument #1 ($containerConfigurator) must be of type
    Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator, Rector\Config\RectorConfig
    given, called in E:\www\next\vendor\rector\rector\src\Config\RectorConfig.php on line 199

  • 🇨🇦Canada liquidcms

    Got this working, same issues with linux/windows, just composer version hell. In the end i have:

    rector/rector: 1.2.10
    palantirnet/drupal-rector: 0.20.0
    phpstan/phpstan: 1.12.14

    awesome to finally get this working :)

Production build 0.71.5 2024