From 1694030bc237be5df6ffe21fe3a10466fdb7751b Mon Sep 17 00:00:00 2001 From: xjm Date: Fri, 27 May 2016 08:20:47 -0500 Subject: [PATCH] Issue #2729083 by martin107, jhodgdon: @encode becomes @endcode --- core/lib/Drupal/Core/Extension/ExtensionDiscovery.php | 2 +- core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php | 2 +- core/modules/simpletest/src/KernelTestBase.php | 2 +- core/modules/simpletest/src/WebTestBase.php | 2 +- core/modules/views/views.api.php | 4 ++-- core/tests/Drupal/KernelTests/KernelTestBase.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php b/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php index 17806711b75..337629bf708 100644 --- a/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php +++ b/core/lib/Drupal/Core/Extension/ExtensionDiscovery.php @@ -138,7 +138,7 @@ class ExtensionDiscovery { * To also find test modules, add * @code * $settings['extension_discovery_scan_tests'] = TRUE; - * @encode + * @endcode * to your settings.php. * * The information is returned in an associative array, keyed by the extension diff --git a/core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php b/core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php index ce14f86ae03..c8221a17225 100644 --- a/core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php +++ b/core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php @@ -21,7 +21,7 @@ interface ModuleInstallerInterface { * To install test modules add * @code * $settings['extension_discovery_scan_tests'] = TRUE; - * @encode + * @endcode * to your settings.php. * * @param string[] $module_list diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php index 8f974014961..96c5cf63c61 100644 --- a/core/modules/simpletest/src/KernelTestBase.php +++ b/core/modules/simpletest/src/KernelTestBase.php @@ -497,7 +497,7 @@ EOD; * To install test modules outside of the testing environment, add * @code * $settings['extension_discovery_scan_tests'] = TRUE; - * @encode + * @endcode * to your settings.php. * * @param array $modules diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php index eb1ad738fc5..cb454a1bd21 100644 --- a/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -876,7 +876,7 @@ abstract class WebTestBase extends TestBase { * To install test modules outside of the testing environment, add * @code * $settings['extension_discovery_scan_tests'] = TRUE; - * @encode + * @endcode * to your settings.php. * * @param \Symfony\Component\DependencyInjection\ContainerInterface $container diff --git a/core/modules/views/views.api.php b/core/modules/views/views.api.php index 29e53826a02..db06b46f769 100644 --- a/core/modules/views/views.api.php +++ b/core/modules/views/views.api.php @@ -833,12 +833,12 @@ function hook_views_pre_render(ViewExecutable $view) { * primary field will be a nid, you can do something like this: * @code * - * @encode + * @endcode * And then in the post-render, create an array with the text that should * go there: * @code * strtr($output, array('' => 'output for FIELD of nid 1'); - * @encode + * @endcode * All of the cached result data will be available in $view->result, as well, * so all ids used in the query should be discoverable. * diff --git a/core/tests/Drupal/KernelTests/KernelTestBase.php b/core/tests/Drupal/KernelTests/KernelTestBase.php index 6c41f07bf06..8f5d2e19b4d 100644 --- a/core/tests/Drupal/KernelTests/KernelTestBase.php +++ b/core/tests/Drupal/KernelTests/KernelTestBase.php @@ -850,7 +850,7 @@ abstract class KernelTestBase extends \PHPUnit_Framework_TestCase implements Ser * To install test modules outside of the testing environment, add * @code * $settings['extension_discovery_scan_tests'] = TRUE; - * @encode + * @endcode * to your settings.php. * * @param string[] $modules