Quiero intentar instalar Laravel 9 por primera vez... así que actualizo mi PHP a la última (versión 8.1.2) y composer a la última también (versión 2.2.6)...
y cuando llamo laravel new my-project , muestra un error
Deprecated: Return type of Symfony\Component\Process\Process::getIterator(int $flags = 0) should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\LAPTOP-SYAMSOUL\AppData\Roaming\Composer\vendor\symfony\process\Process.php on line 620 Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\LAPTOP-SYAMSOUL\AppData\Roaming\Composer\vendor\symfony\console\Helper\HelperSet.php on line 94¿Cómo resolver este error?
Parece que debería ejecutar composer global update para actualizar los paquetes que ha instalado globalmente.