[L5.1] Artisan Not working in Command Line Tool - PhpStorm

Posted 4 years ago by JorgeNeira

Hi

I'm trying to integrate Artisan in the command line tool in PHPStorm, so I can use aliases in my windows enviroment following these instructions:

https://confluence.jetbrains.com/display/PhpStorm/Laravel+Development+using+PhpStorm#LaravelDevelopmentusingPhpStorm-CommandLineToolSupportforArtisanandComposer

It was working with Laravel 5, but I can't make it work with L5.1 It seems phpstorm is calling artisan with the --xml param, instead of --format. Does anybody know how to solve this issue from phpstorm side?

Thanks

Problem Failed to parse output as xml: Error on line 4: Content is not allowed in prolog.. Command D:\Programas\xampp\php\php.exe D:\Programas\xampp\htdocs\backendDev\admin\artisan list --xml

Output

[ErrorException]
The --xml option was deprecated in version 2.7 and will be removed in versi
on 3.0. Use the --format option instead.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.