confide icon indicating copy to clipboard operation
confide copied to clipboard

`php artisan confide:migration` losing line feed?

Open ycrao opened this issue 10 years ago • 9 comments

When I use php artisan confide:migration to generate migration file , it seems losing 'line feed', and making them into one line.

Win7SP1 64bit
Apache
php5.5
Laravel 4.2

Is that a bug? qq 20141215173642

ycrao avatar Dec 15 '14 09:12 ycrao

Wierd. Try to use "default_line_ending"as "unix" in Sublime Text

Zizaco avatar Feb 01 '15 13:02 Zizaco

Does anyone else that uses windows can confirm this?

Zizaco avatar Feb 01 '15 13:02 Zizaco

@Zizaco This is easily fixable by setting correct git config.

GrahamCampbell avatar Feb 01 '15 13:02 GrahamCampbell

I'm on windows, and everything's fine for me. https://i.starbs.net/A8NZ

GrahamCampbell avatar Feb 01 '15 13:02 GrahamCampbell

This is happening to me as well. IDE: PhpStorm 8.0.3 OS: Win 8.1 Line Sep/Ending: Unix

BeKnowDo avatar Feb 12 '15 05:02 BeKnowDo

Happened to me as well. With Confide and Entrust.

If i change the line <?php echo "<?php\n"; ?> to <?php echo "<?php"; ?> in all blade views in src/view/generators everything works.

m-lotze avatar Feb 15 '15 09:02 m-lotze

Thanks for the tip!

BeKnowDo avatar Feb 21 '15 13:02 BeKnowDo

I have the same problem using PHPStorm. Windows 7. On Vagrant box running Ubuntu 14.04

Did anyone find a solution for this, I tried @m-lotez-7o7 solution it did not work for me.

SwissWeb avatar Apr 16 '15 10:04 SwissWeb

@Zizaco I can tell some other plugins may cause this. Try to remove Laravel HTML Minify, it can be OK!

ycrao avatar Aug 17 '15 03:08 ycrao