Skip to content

Commit e046075

Browse files
authored
Merge pull request #5 from itk-dev/feature/FORMS-835-bump-drush-drush-version
FORMS-835: Bumped drush version to be compatible with os2forms
2 parents 79ca402 + a114a91 commit e046075

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"require": {
2121
"php": "^8.0",
2222
"drupal/advancedqueue": "^1.0",
23-
"drush/drush": "^10.6",
23+
"drush/drush": "^10 || ^11",
2424
"drupal/webform": "^6.0"
2525
},
2626
"require-dev": {

src/Controller/Controller.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace Drupal\os2forms_failed_jobs\Controller;
44

5+
use Drupal\Core\Controller\ControllerBase;
6+
use Drupal\Core\Entity\EntityTypeManager;
7+
use Drupal\Core\Render\RendererInterface;
58
use Drupal\Core\StringTranslation\TranslatableMarkup;
69
use Drupal\os2forms_failed_jobs\Helper\Helper;
7-
use Symfony\Component\DependencyInjection\ContainerInterface;
8-
use Drupal\Core\Controller\ControllerBase;
910
use Drupal\views\Views;
10-
use Drupal\Core\Entity\EntityTypeManager;
11+
use Symfony\Component\DependencyInjection\ContainerInterface;
1112
use Symfony\Component\HttpFoundation\RequestStack;
12-
use Drupal\Core\Render\RendererInterface;
1313

1414
/**
1515
* Controller for handling failed jobs.

src/EventSubscriber/AdvancedQueueProcessSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Drupal\advancedqueue\Event\AdvancedQueueEvents;
66
use Drupal\advancedqueue\Event\JobEvent;
7-
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
87
use Drupal\os2forms_failed_jobs\Helper\Helper;
8+
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
99

1010
/**
1111
* Subscribe to AdvancedQueue processing events.

src/Form/RetryJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
use Drupal\advancedqueue\Plugin\AdvancedQueue\Backend\Database;
88
use Drupal\Core\Database\Connection;
99
use Drupal\Core\Entity\EntityTypeManager;
10-
use Drupal\Core\StringTranslation\TranslatableMarkup;
11-
use Symfony\Component\DependencyInjection\ContainerInterface;
1210
use Drupal\Core\Form\ConfirmFormBase;
1311
use Drupal\Core\Form\FormStateInterface;
12+
use Drupal\Core\StringTranslation\TranslatableMarkup;
1413
use Drupal\Core\Url;
1514
use Drupal\os2forms_failed_jobs\Helper\Helper;
15+
use Symfony\Component\DependencyInjection\ContainerInterface;
1616

1717
/**
1818
* Provides a confirmation form for retrying a job.

0 commit comments

Comments
 (0)