diff --git a/examples/Commands/ArtCommands.php b/examples/Commands/ArtCommands.php index b1f24145b9..604a3871b8 100644 --- a/examples/Commands/ArtCommands.php +++ b/examples/Commands/ArtCommands.php @@ -23,7 +23,7 @@ * This file is a good example of the first of those bullets (a commandfile) but * since it isn't part of a module, it does not implement drush.services.yml. * - * See [Drush Test Traits](https://github.com/drush-ops/drush/blob/10.x/docs/contribute/unish.md#about-the-test-suites) for info on testing Drush commands. + * See [Drush Test Traits](https://github.com/drush-ops/drush/blob/11.x/docs/contribute/unish.md#about-the-test-suites) for info on testing Drush commands. */ class ArtCommands extends DrushCommands implements CustomEventAwareInterface diff --git a/examples/Commands/PolicyCommands.php b/examples/Commands/PolicyCommands.php index 520bfbab12..267653bfcc 100644 --- a/examples/Commands/PolicyCommands.php +++ b/examples/Commands/PolicyCommands.php @@ -9,7 +9,7 @@ /** * Load this commandfile using the --include option - e.g. `drush --include=/path/to/drush/examples` * - * See [Drush Test Traits](https://github.com/drush-ops/drush/blob/10.x/docs/contribute/unish.md#about-the-test-suites) for info on testing Drush commands. + * See [Drush Test Traits](https://github.com/drush-ops/drush/blob/11.x/docs/contribute/unish.md#about-the-test-suites) for info on testing Drush commands. */ class PolicyCommands extends DrushCommands diff --git a/examples/helloworld.script b/examples/helloworld.script index b57febfb18..f82010ba56 100755 --- a/examples/helloworld.script +++ b/examples/helloworld.script @@ -2,7 +2,7 @@ // // This example demonstrates how to write a drush -// script. These scripts are run with the php-script command. +// script. These scripts are run with the php:script command. // use Drush\Drush; @@ -10,8 +10,6 @@ $this->output()->writeln("Hello world!"); $this->output()->writeln("The extra options/arguments to this command were:"); $this->output()->writeln(print_r($extra, true)); - - // // We can check which site was bootstrapped via // the '@self' alias, which is defined only if diff --git a/mkdocs_base.yml b/mkdocs_base.yml index 5d59469ea2..d88e280ea5 100644 --- a/mkdocs_base.yml +++ b/mkdocs_base.yml @@ -18,7 +18,7 @@ theme: site_url: https://www.drush.org/latest/ repo_url: https://github.com/drush-ops/drush #Overridden on many pages via edit_uri plugin. See front matter. -edit_uri: blob/10.x/docs +edit_uri: blob/11.x/docs extra_css: - css/extra.drush.css plugins: diff --git a/src/Commands/core/DocsCommands.php b/src/Commands/core/DocsCommands.php index 4a22109a74..a6f964f93f 100644 --- a/src/Commands/core/DocsCommands.php +++ b/src/Commands/core/DocsCommands.php @@ -110,7 +110,7 @@ public function siteAliases(): void * An example Drush script. * * @command docs:script - * @aliases docs-scipt + * @aliases docs-script * @hidden * @topic ../../../examples/helloworld.script */ diff --git a/src/Commands/core/MkCommands.php b/src/Commands/core/MkCommands.php index 4f6bc885d5..c4c64185c3 100644 --- a/src/Commands/core/MkCommands.php +++ b/src/Commands/core/MkCommands.php @@ -28,7 +28,7 @@ class MkCommands extends DrushCommands implements SiteAliasManagerAwareInterface /** * Build a Markdown document for each Drush command/generator that is available on a site. * - * This command is an early step when building the www.drush.org static site. Adapt it to build a similar site listing the commands that are available on your site. Also see Drush's [Github Actions workflow](https://github.com/drush-ops/drush/blob/10.x/.github/workflows/main.yml). + * This command is an early step when building the www.drush.org static site. Adapt it to build a similar site listing the commands that are available on your site. Also see Drush's [Github Actions workflow](https://github.com/drush-ops/drush/blob/11.x/.github/workflows/main.yml). * * @command mk:docs * @bootstrap max @@ -130,7 +130,7 @@ protected static function appendTopics(AnnotatedCommand $command, string $dir_co $value = "- [$topic_description]($target_relative) ($name)"; } else { $rel_from_root = Path::makeRelative($abs, DRUSH_BASE_PATH); - $value = "- [$topic_description](https://raw.githubusercontent.com/drush-ops/drush/10.x/$rel_from_root) ($name)"; + $value = "- [$topic_description](https://raw.githubusercontent.com/drush-ops/drush/11.x/$rel_from_root) ($name)"; } } } diff --git a/src/Drupal/Commands/sql/SanitizeCommands.php b/src/Drupal/Commands/sql/SanitizeCommands.php index ada181dde5..fab343dc80 100644 --- a/src/Drupal/Commands/sql/SanitizeCommands.php +++ b/src/Drupal/Commands/sql/SanitizeCommands.php @@ -19,7 +19,7 @@ class SanitizeCommands extends DrushCommands implements CustomEventAwareInterfac * - `@hook on-event sql-sanitize-confirms`. Display summary to user before confirmation. * - `@hook post-command sql-sanitize`. Run queries or call APIs to perform sanitizing * - * Several working commandfiles may be found at https://github.com/drush-ops/drush/tree/10.x/src/Drupal/Commands/sql + * Several working commandfiles may be found at https://github.com/drush-ops/drush/tree/11.x/src/Drupal/Commands/sql * * @command sql:sanitize * @aliases sqlsan,sql-sanitize diff --git a/src/TestTraits/DrushTestTrait.php b/src/TestTraits/DrushTestTrait.php index 15134d9b47..e4dd25cbef 100644 --- a/src/TestTraits/DrushTestTrait.php +++ b/src/TestTraits/DrushTestTrait.php @@ -6,7 +6,7 @@ * DrushTestTrait provides a `drush()` method that may be * used to write functional tests for Drush extensions. * - * More information is available at https://github.com/drush-ops/drush/blob/10.x/docs/contribute/unish.md#drush-test-traits. + * More information is available at https://github.com/drush-ops/drush/blob/11.x/docs/contribute/unish.md#drush-test-traits. */ trait DrushTestTrait {