I am working locally on a Drupal 9.4.8 site and I am using the latest drush-launcher phar so that I am able to issue commands when working on that site without having to use the prefix vendor/bin/drush before each commmand.
All is working fine it seems except that after issuing commands such as drush cr, I always see the following to two postscript lines...
PHP Fatal error: Declaration of Drush\Application::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in C:\Users\nick\Sites\bit-by-bit.org\public_html\vendor\psr\log\Psr\Log\LoggerAwareTrait.php on line 22
Fatal error: Declaration of Drush\Application::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in C:\Users\nick\Sites\bit-by-bit.org\public_html\vendor\psr\log\Psr\Log\LoggerAwareTrait.php on line 22
When I issuse the fully-qualified command from within the site codebase folder: vendor/bin/drush cr, I don't not see those extra lines.
Can anyone explain to me what's causing that please?
I am working locally on a
Drupal 9.4.8
site and I am using the latest drush-launcher phar so that I am able to issue commands when working on that site without having to use the prefix vendor/bin/drush before each commmand.All is working fine it seems except that after issuing commands such as
drush cr
, I always see the following to two postscript lines...When I issuse the fully-qualified command from within the site codebase folder:
vendor/bin/drush cr
, I don't not see those extra lines.Can anyone explain to me what's causing that please?
Thank you