ERROR: The Compose file './docker-compose.yml' is invalid ... と返ってきます

docker-compose.yml ファイルの書式に誤りがあります。
2021年12月22日
ユーザー
./vendor/bin/sail artisan make:migration create_posts_table

とターミナルに打ち実行すると


ERROR: The Compose file './docker-compose.yml' is invalid because: services.laravel.test.ports contains an invalid type, it should be a number, or an object ERROR: The Compose file './docker-compose.yml' is invalid because: services.laravel.test.ports contains an invalid type, it should be a number, or an object Sail is not running. You may Sail using the following commands: './vendor/bin/sail up' or './vendor/bin/sail up -d'

と返ってきました。
そこから
./vendor/bin/sail up
./vendor/bin/sail up -d
docker-compose down
docker-compose up -d
./vendor/bin/sail down -v

などのコマンドも試したのですが、全て yml ファイルについての上記と同じ error が返ってきます。
この様な時はどう対処すればよろしいでしょうか??
またどのような現状なのでしょうか??

よろしくお願い致します。

この回答を見るにはプレミアムプランへの登録が必要です

プレミアムプランとは?