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

Valet linux/command:valet secure #254

Closed
korterud opened this issue Dec 4, 2019 · 4 comments
Closed

Valet linux/command:valet secure #254

korterud opened this issue Dec 4, 2019 · 4 comments

Comments

@korterud
Copy link

korterud commented Dec 4, 2019

I write valet secure.
and i get this message.

➜ Sites valet secure
PHP Fatal error: Uncaught Symfony\Component\Console\Exception\LogicException: Cannot set a default value when using InputOption::VALUE_NONE mode. in /home/robert/.config/composer/vendor/symfony/console/Input/InputOption.php:159
Stack trace:
#0 /home/robert/.config/composer/vendor/mnapoli/silly/src/Command/Command.php(63): Symfony\Component\Console\Input\InputOption->setDefault(false)
#1 /home/robert/.config/composer/vendor/mnapoli/silly/src/Application.php(108): Silly\Command\Command->defaults(Array)
#2 /home/robert/.config/composer/vendor/cpriego/valet-linux/cli/valet.php(85): Silly\Application->command('port [port] [--...', Object(Closure))
#3 {main}
thrown in /home/robert/.config/composer/vendor/symfony/console/Input/InputOption.php on line 159
➜ Sites

Thanks :)

@jmarcher
Copy link
Collaborator

jmarcher commented Dec 4, 2019

Which PHP version are you using?

@korterud
Copy link
Author

korterud commented Dec 4, 2019

php --version
PHP 7.3.11-0ubuntu0.19.10.1 (cli) (built: Oct 24 2019 11:38:49) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.11-0ubuntu0.19.10.1, Copyright (c) 1999-2018, by Zend Technologies

@jmarcher
Copy link
Collaborator

jmarcher commented Dec 4, 2019

This PR should have solved that: #246

Which version are you using? >=2.2.4 should work

@korterud
Copy link
Author

korterud commented Dec 4, 2019

Thanks. Forgot to change line 67.
Now it working:)

@korterud korterud closed this as completed Dec 4, 2019
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