From b846eda14a64d004a2c5377bcfadf7d77bb3d822 Mon Sep 17 00:00:00 2001 From: Ted Cooper <12728-elc@users.noreply.drupalcode.org> Date: Thu, 8 Aug 2024 13:56:16 +0000 Subject: [PATCH] [#3466888] Fix pipeline validate warnings: cspell, phpstan --- .cspell-project-words.txt | 4 ++++ .gitlab-ci.yml | 1 + src/Render/UpdateDetailsMarkup.php | 2 +- tests/src/Functional/AdvupdateTest.php | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .cspell-project-words.txt diff --git a/.cspell-project-words.txt b/.cspell-project-words.txt new file mode 100644 index 0000000..85b1e9f --- /dev/null +++ b/.cspell-project-words.txt @@ -0,0 +1,4 @@ +# cspell: project specific dictionary + +# Author / Noun +Piskarov diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c914e6f..066aa5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,6 +50,7 @@ variables: OPT_IN_TEST_PREVIOUS_MAJOR: 1 OPT_IN_TEST_PREVIOUS_MINOR: 1 OPT_IN_TEST_NEXT_MINOR: 1 + OPT_IN_TEST_NEXT_MAJOR: 1 ################################################################################### diff --git a/src/Render/UpdateDetailsMarkup.php b/src/Render/UpdateDetailsMarkup.php index 3985a59..0f0ef58 100644 --- a/src/Render/UpdateDetailsMarkup.php +++ b/src/Render/UpdateDetailsMarkup.php @@ -177,7 +177,7 @@ class UpdateDetailsMarkup implements MarkupInterface { } /** - * Overriden MarkupTrait::create method to preven it being used this way. + * Overridden MarkupTrait::create method to prevent it being used this way. * * @param string $string * Input string to turn into a safe string. diff --git a/tests/src/Functional/AdvupdateTest.php b/tests/src/Functional/AdvupdateTest.php index cebb102..ce6fde4 100644 --- a/tests/src/Functional/AdvupdateTest.php +++ b/tests/src/Functional/AdvupdateTest.php @@ -30,7 +30,7 @@ class AdvupdateTest extends UpdateTestBase { */ public function testAdvupdateSettings() { $config = $this->config('advupdate.settings'); - self::assertSame(TRUE, $config->get('notification.extend_email_report')); + self::assertTrue($config->get('notification.extend_email_report')); $this->drupalGet('admin/reports/updates/settings'); $this->assertSession()->responseNotContains('Expand the report using "Update Manager Advanced" module'); -- GitLab