Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

theUnforgiven's avatar

php artisan in 4.3

Just looking to have a play with 4.3 and after composer create project when trying to run "php artisan" i get

{"error":{"type":"LogicException","message":"Cannot set a default value when using InputOption::VALUE_NONE mode.","file":"\/Users\/lee\/code\/invoice\/vendor\/symfony\/console\/Symfony\/Component\/Console\/Input\/InputOption.php","line":162}}

Anyone know what this is and how to fix @JeffreyWay especially?

0 likes
17 replies
JeffreyWay's avatar

Do you get that immediately after a fresh install of 4.3?

jonlynch's avatar

I also got this after a composer update on 4.3 in the last ten minutes.

ericnkatz's avatar

Just got this after a most recent composer update. Prior to that it was working properly.

chris15001900's avatar

same here, i used

composer create-project laravel/laravel laravel dev-develop

theUnforgiven's avatar

So makes me think is this a composer thing or laravel specific

theUnforgiven's avatar

Oh dear, that's sad I was hoping to play around with it tonight

jonlynch's avatar

By downgrading to dev-master#7e8f56d everything is working again.

2 likes
ericnkatz's avatar

Is there a way to target that specific commit# in composer in the meantime or should i just paste over the files?

jonlynch's avatar
"require": {
  "laravel/framework": "dev-master#7e8f56d"
}
1 like
JeffreyWay's avatar

Remember that 4.3 is still actively in development. So you'll see some quirks here and there, if you're pulling in dev-master.

theUnforgiven's avatar

Of course @JeffreyWay I understand just wanted a working version to you around with and follow the 4.3 series

1 like
Andreyco's avatar

Just update now, Taylor has just fixed the thing ;)

1 like

Please or to participate in this conversation.