-
Notifications
You must be signed in to change notification settings - Fork 3
D11-11: Bump core version, and address some issues flagged by upgrade_status #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 9 commits
aaa8ec2
4ab774d
c040819
34c7a31
003ffc7
b31f9fe
57db7ac
f8def20
440499a
2dc7490
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -108,7 +108,7 @@ protected function getQueue() : QueueInterface { | |
| /** | ||
| * {@inheritdoc} | ||
| */ | ||
| public function __sleep() { | ||
| public function __sleep() : array { | ||
| $vars = $this->traitSleep(); | ||
| $to_suppress = [ | ||
| // XXX: Avoid serializing some things can't be natively serialized. | ||
|
|
@@ -478,7 +478,10 @@ public function processBatch(&$context) { | |
| * {@inheritdoc} | ||
| */ | ||
| protected function checkStatus() { | ||
| $status = parent::checkStatus(); | ||
| $status = version_compare(\Drupal::VERSION, '11.3.0', '>=') ? | ||
| MigrationInterface::RESULT_COMPLETED : | ||
| parent::checkStatus(); | ||
|
|
||
|
|
||
|
Comment on lines
+481
to
485
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix linting error: Remove extra empty line. The pipeline is failing due to multiple consecutive empty lines (lines 484-485). Proposed fix protected function checkStatus() {
$status = version_compare(\Drupal::VERSION, '11.3.0', '>=') ?
MigrationInterface::RESULT_COMPLETED :
parent::checkStatus();
-
if ($status === MigrationInterface::RESULT_COMPLETED) {🧰 Tools🪛 GitHub Actions: Code Linting[error] 484-484: Functions must not contain multiple empty lines in a row; found 2 empty lines (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines). 🤖 Prompt for AI Agents |
||
| if ($status === MigrationInterface::RESULT_COMPLETED) { | ||
| if (!static::isCli() && !static::hasTime()) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
Drush 13 release Drupal 11 compatibility💡 Result:
Sources:
[1] endoflife.date (Drush release timeline)
[2] Drush docs (Drupal compatibility table)
Revisit the open-ended Drush services constraint now that Drush 13 is released.
Drush 13 was released in August 2024 and is compatible with Drupal 11. The constraint
>=11.6does match Drush 13 as intended, but given the commit message indicated this was a "temporary/compatibility change," the constraint approach should be formally reassessed. Determine whether this open-ended constraint will remain appropriate for Drush 14+ or if it requires tightening to a specific upper bound (e.g.,>=11.6,<14.0).🤖 Prompt for AI Agents