OK. I take it ALL back, this did not fix my issue with migrations AT ALL. I have no idea what is happening here, but when I create a new migration with php artisan migrate:make and then run php artisan migrate everything is fine. The minute I add ANY lines of code to my migration using SublimeText (or any text editor) on my Mac and then run php artisan migrate I get thee errors:
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
PHP Warning: Unexpected character in input: ' in /home/vagrant/code/podman/database/migrations/2018_10_24_223202_create_sub_episodes_table.php on line 41
The really odd thing is the number of warnings correspond 1 for 1 to the number of characters in the code that I added to the migration. So if I add a comment like //TEST I will get "6" of these warning messages.
My PHP version is PHP 7.1.23-2+ubuntu16.04.1+deb.sury.org+1 (cli)
I am at a total loss here. I tried saving my code in various encodings in case it was an issue there, but that doesn't seem to make ANY difference.
