Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTY mode is not supported on Windows platform. #133

Closed
ms-slasher13 opened this issue Feb 3, 2020 · 1 comment
Closed

TTY mode is not supported on Windows platform. #133

ms-slasher13 opened this issue Feb 3, 2020 · 1 comment

Comments

@ms-slasher13
Copy link

How is drupal-check installed?

  • drupal-check is installed using the phar

Environment:

  • OS: Windows
  • PHP Version: 7.3
  • Drupal core: 8.8.1

Describe the bug
In Process.php line 1071:
TTY mode is not supported on Windows platform.

Console output
`Performing deprecation checks
Current working directory: c:\drupal
Using Drupal root: C:\drupal/src
Using vendor root: C:\drupal/vendor
PHPStan configuration:
parameters:
tipsOfTheDay: false
reportUnmatchedIgnoredErrors: false
excludes_analyse:
- /tests/Drupal/Tests/Listeners/Legacy/
- /tests/fixtures/.php
- /settings.php

    drupal:
            drupal_root: C:\drupal/src

    customRulesetUsed: true
    ignoreErrors:
            - "#\\Drupal calls should be avoided in classes, use dependency injection instead#"
            - "#Plugin definitions cannot be altered.#"
            - "#Missing cache backend declaration for performance.#"
            - "#Plugin manager has cache backend specified but does not declare cache tags.#"

    bootstrap: phar:https://C:/drupal/drupal-check.phar/error-bootstrap.php

includes:
- phar:https://C:/drupal/drupal-check.phar/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- phar:https://C:/drupal/drupal-check.phar/vendor/mglaman/phpstan-drupal/extension.neon

Fatal error: Uncaught Symfony\Component\Process\Exception\RuntimeException: TTY mode is not supported on Windows platform. in phar:https://C:/drupal/drupal-check.phar/vendor/symfony/process/Process.php:1071
Stack trace:
#0 phar:https://C:/drupal/drupal-check.phar/src/Command/CheckCommand.php(214): Symfony\Component\Process\Process->setTty(true)
#1 phar:https://C:/drupal/drupal-check.phar/vendor/symfony/console/Command/Command.php(255): DrupalCheck\Command\CheckCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 phar:https://C:/drupal/drupal-check.phar/vendor/symfony/console/Application.php(1012): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar:https://C:/drupal/drupal-check.phar/vendor/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(DrupalCheck\Comm in phar:https://C:/drupal/drupal-check.phar/vendor/symfony/process/Process.php on line 1071`

@mglaman
Copy link
Owner

mglaman commented May 11, 2020

@mglaman mglaman closed this as completed May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants