diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e73eecb501035a9a604d5504a11ab5da9444d8f2..e5384a8cf9d2743a1ddee2df1f7ed5d3631399a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,97 +1,29 @@ ################ -# DrupalCI GitLabCI template +# GitLabCI template for Drupal projects. # -# Gitlab-ci.yml to replicate DrupalCI testing for Contrib -# -# With thanks to: -# * The GitLab Acceleration Initiative participants -# * DrupalSpoons -################ - -################ -# Guidelines -# -# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification. It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained. -# -# However, you can modify this template if you have additional needs for your project. -################ - -################ -# Includes -# -# Additional configuration can be provided through includes. -# One advantage of include files is that if they are updated upstream, the changes affect all pipelines using that include. -# -# Includes can be overridden by re-declaring anything provided in an include, here in gitlab-ci.yml -# https://docs.gitlab.com/ee/ci/yaml/includes.html#override-included-configuration-values +# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification. +# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained. +# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your +# pipelines automatically. However, you can modify this template if you have additional needs for your project. +# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/ ################ -include: - ################ - # DrupalCI includes: - # As long as you include this, any future includes added by the Drupal Association will be accessible to your pipelines automatically. - # View these include files at https://git.drupalcode.org/project/gitlab_templates/ - ################ +# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/ +# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml +include: - project: $_GITLAB_TEMPLATES_REPO ref: $_GITLAB_TEMPLATES_REF file: - - '/includes/include.drupalci.main.yml' - - '/includes/include.drupalci.variables.yml' - - '/includes/include.drupalci.workflows.yml' + - "/includes/include.drupalci.main.yml" + - "/includes/include.drupalci.variables.yml" + - "/includes/include.drupalci.workflows.yml" ################ -# Pipeline configuration variables -# -# These are the variables provided to the Run Pipeline form that a user may want to override. -# -# Docs at https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/includes/include.drupalci.variables.yml +# Pipeline configuration variables are defined with default values and descriptions in the file +# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml +# Uncomment the lines below if you want to override any of the variables. The following is just an example. ################ # variables: # SKIP_ESLINT: '1' - - -################################################################################### -# -# * -# /( -# ((((, -# /((((((( -# ((((((((((* -# ,((((((((((((((( -# ,((((((((((((((((((( -# ((((((((((((((((((((((((* -# *((((((((((((((((((((((((((((( -# ((((((((((((((((((((((((((((((((((* -# *(((((((((((((((((( .(((((((((((((((((( -# ((((((((((((((((((. /(((((((((((((((((* -# /((((((((((((((((( .(((((((((((((((((, -# ,(((((((((((((((((( (((((((((((((((((( -# .(((((((((((((((((((( .((((((((((((((((( -# ((((((((((((((((((((((( ((((((((((((((((/ -# (((((((((((((((((((((((((((/ ,(((((((((((((((* -# .((((((((((((((/ /(((((((((((((. ,((((((((((((((( -# *(((((((((((((( ,(((((((((((((/ *((((((((((((((. -# ((((((((((((((, /(((((((((((((. ((((((((((((((, -# (((((((((((((/ ,(((((((((((((* ,(((((((((((((, -# *((((((((((((( .((((((((((((((( ,((((((((((((( -# ((((((((((((/ /((((((((((((((((((. ,((((((((((((/ -# ((((((((((((( *(((((((((((((((((((((((* *(((((((((((( -# ((((((((((((( ,(((((((((((((..((((((((((((( *(((((((((((( -# ((((((((((((, /((((((((((((* /((((((((((((/ (((((((((((( -# ((((((((((((( /((((((((((((/ (((((((((((((* (((((((((((( -# (((((((((((((/ /(((((((((((( ,((((((((((((, *(((((((((((( -# (((((((((((((( *(((((((((((/ *((((((((((((. ((((((((((((/ -# *((((((((((((((((((((((((((, /((((((((((((((((((((((((( -# ((((((((((((((((((((((((( ((((((((((((((((((((((((, -# .(((((((((((((((((((((((/ ,((((((((((((((((((((((( -# ((((((((((((((((((((((/ ,(((((((((((((((((((((/ -# *((((((((((((((((((((( (((((((((((((((((((((, -# ,(((((((((((((((((((((, ((((((((((((((((((((/ -# ,(((((((((((((((((((((* /(((((((((((((((((((( -# ((((((((((((((((((((((, ,/((((((((((((((((((((, -# ,((((((((((((((((((((((((((((((((((((((((((((((((((( -# .((((((((((((((((((((((((((((((((((((((((((((( -# .((((((((((((((((((((((((((((((((((((,. -# .,(((((((((((((((((((((((((. -# -################################################################################### +# OPT_IN_TEST_NEXT_MAJOR: '1' +# _CURL_TEMPLATES_REF: 'main' diff --git a/README.md b/README.md index 16d2d8da3e0f23d61beaafa6278308007fbef419..4c1dd2ae19169e163ec2a70f328825a0ae6b8b92 100644 --- a/README.md +++ b/README.md @@ -64,12 +64,15 @@ for development needs. MAINTAINERS ----------- +[//]: # "cspell:disable-next-line" * Oleh Vehera (voleger) - https://www.drupal.org/u/voleger Supporting organization: +[//]: # "cspell:disable-next-line" * GOLEMS GABB - https://www.drupal.org/golems-gabb +[//]: # "cspell:disable-next-line" GOLEMS GABB is a team of experienced developers! Our work includes strategy, design, and development across a variety of industries. diff --git a/src/Queue/QueueWorkerManager.php b/src/Queue/QueueWorkerManager.php index d273db5294230c5b8e8c4ea69949cc97ba51251b..de32ea56377277459819165242974d632d07e7fd 100644 --- a/src/Queue/QueueWorkerManager.php +++ b/src/Queue/QueueWorkerManager.php @@ -26,7 +26,7 @@ class QueueWorkerManager implements QueueWorkerManagerInterface, CachedDiscovery */ public function __construct( protected QueueWorkerManagerInterface $subject, - protected ConfigFactoryInterface $config + protected ConfigFactoryInterface $config, ) {} /** diff --git a/tests/src/Kernel/DefinitionsWithModuleTest.php b/tests/src/Kernel/DefinitionsWithModuleTest.php index d7eb6d75e58571c118174afbc44a3e900a5b1581..475fb4e557a74cbcaaae1d9f64e9a26c8c93358a 100644 --- a/tests/src/Kernel/DefinitionsWithModuleTest.php +++ b/tests/src/Kernel/DefinitionsWithModuleTest.php @@ -37,7 +37,7 @@ class DefinitionsWithModuleTest extends DefinitionsWithoutModuleTest { /** * Test is functionality force creation of `cron` key. */ - public function testCronKeyExistance() { + public function testCronKeyExistence() { $definition = $this->queueWorkerManager ->getDefinition('queue_order_worker_B'); $this->assertArrayNotHasKey('cron', $definition); diff --git a/tests/src/Kernel/DefinitionsWithoutModuleTest.php b/tests/src/Kernel/DefinitionsWithoutModuleTest.php index a07786aed62c015cae466a32d9a23558991e85a1..2575490644543a03fdac36ce5119228df3388bc0 100644 --- a/tests/src/Kernel/DefinitionsWithoutModuleTest.php +++ b/tests/src/Kernel/DefinitionsWithoutModuleTest.php @@ -7,7 +7,7 @@ use Drupal\KernelTests\KernelTestBase; /** * Class DefinitionsWithoutModuleTest. * - * Tests comnpatibility with Drupal functionality. + * Tests compatibility with Drupal functionality. * * @package Drupal\queue_order\Tests\Kernel *