- Issue created by @batigolix
- Assigned to batigolix
- Status changed to Needs review
almost 2 years ago 6:38pm 3 February 2023 - Issue was unassigned.
- 🇮🇳India sourabhjain
I have fixed some more PHPCS issues. Please review.
- Status changed to RTBC
almost 2 years ago 7:30pm 14 February 2023 - 🇬🇧United Kingdom schillerm
Hi, tested patch #3 (module version 2.0.x-dev on D10 site) using phpcs and all previous issues are resolved.
-
sourabhjain →
authored f755c501 on 2.0.x
Issue #3336976 by sourabhjain, batigolix, schillerm: phpcs fixes
-
sourabhjain →
authored f755c501 on 2.0.x
- Status changed to Fixed
almost 2 years ago 7:24am 21 February 2023 - Status changed to Needs work
over 1 year ago 7:59am 26 May 2023 - 🇳🇱Netherlands batigolix Utrecht
I reverted this commit.
After applying the patch there is an dependency injection error:
ArgumentCountError: Too few arguments to function Drupal\search_api_fast\Commands\SearchApiFastCommands::__construct(), 3 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 and exactly 5 expected in /var/www/html/web/modules/contrib/search_api_fast/src/Commands/SearchApiFastCommands.php on line 94 #0 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(262): Drupal\search_api_fast\Commands\SearchApiFastCommands->__construct(Object(Drupal\Core\Entity\EntityTypeManager), Object(Drupal\Core\Extension\ModuleHandler), Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
- First commit to issue fork.
- Assigned to nitin_lama
- 🇮🇳India nitin_lama India
Patch #5 doesn't apply on 2.0.x branch
Creating an MR with #3 changes. With some phpcs fixes.
- @nitin_lama opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:25pm 26 May 2023 - Status changed to Needs work
over 1 year ago 1:16pm 26 May 2023 - 🇳🇱Netherlands batigolix Utrecht
I still get this error:
[error] ArgumentCountError: Too few arguments to function Drupal\search_api_fast\Commands\SearchApiFastCommands::__construct(), 3 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 and exactly 5 expected in Drupal\search_api_fast\Commands\SearchApiFastCommands->__construct() (line 94 of /var/www/html/web/modules/contrib/search_api_fast/src/Commands/SearchApiFastCommands.php) #0 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(262): Drupal\search_api_fast\Commands\SearchApiFastCommands->__construct(Object(Drupal\Core\Entity\EntityTypeManager), Object(Drupal\Core\Extension\ModuleHandler), Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
- 🇺🇸United States mikohl
I'm working on this at DrupalCon 2023 Pittsburgh.
I was able to reproduce this error. I created a new instance in DrupalPod and ran the
drush status
, and drush returned:gitpod /workspace/DrupalPod (main) $ drush status Notice: running 'drush status' in ddev PHP Fatal error: Declaration of Drupal\search_api_fast\Commands\SearchApiFastCommands::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Drush\Commands\DrushCommands::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/html/repos/search_api_fast/src/Commands/SearchApiFastCommands.php on line 79 Fatal error: Declaration of Drupal\search_api_fast\Commands\SearchApiFastCommands::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Drush\Commands\DrushCommands::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/html/repos/search_api_fast/src/Commands/SearchApiFastCommands.php on line 79 [warning] Drush command terminated abnormally. Failed to execute command drush status: exit status 1 Failed to run exec_dir drush status; error=exit status 1
- First commit to issue fork.
-
batigolix →
committed 4f548fb1 on 2.2.x authored by
nitin_lama →
Issue #3336976 by nitin_lama, sourabhjain, batigolix, arpitk, schillerm...
-
batigolix →
committed 4f548fb1 on 2.2.x authored by
nitin_lama →
- Status changed to Fixed
over 1 year ago 6:58am 22 June 2023 - 🇳🇱Netherlands batigolix Utrecht
Tested, approved & merged the MR. Thanks
-
batigolix →
committed 4f548fb1 on 2.0.x authored by
nitin_lama →
Issue #3336976 by nitin_lama, sourabhjain, batigolix, arpitk, schillerm...
-
batigolix →
committed 4f548fb1 on 2.0.x authored by
nitin_lama →
Automatically closed - issue fixed for 2 weeks with no activity.