From b4b939d3a2261ed121fa70f19067fe0a512cde1c Mon Sep 17 00:00:00 2001 From: Mohammed Nassar <msh.nassar@gmail.com> Date: Tue, 1 Apr 2025 15:56:11 +0000 Subject: [PATCH 1/3] ISSUE-3516708: Add gitlab ci. --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e14439d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +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' +variables: + _SHOW_ENVIRONMENT_VARIABLES: '1' + _PHPUNIT_CONCURRENT: '1' + OPT_IN_TEST_PREVIOUS_MAJOR: '1' + OPT_IN_TEST_NEXT_MAJOR: '1' + OPT_IN_TEST_MAX_PHP: '1' -- GitLab From aa5dd6d44b84048c44967494a044cc9e256fc10a Mon Sep 17 00:00:00 2001 From: Mohammed Nassar <msh.nassar@gmail.com> Date: Tue, 1 Apr 2025 16:03:13 +0000 Subject: [PATCH 2/3] ISSUE-3516708: Fix cspell. --- .cspell-project-words.txt | 2 ++ 1 file changed, 2 insertions(+) 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..8e51814 --- /dev/null +++ b/.cspell-project-words.txt @@ -0,0 +1,2 @@ +flocondetoile +gallimedia -- GitLab From 0ca6440685967784402f347612255b9244d98803 Mon Sep 17 00:00:00 2001 From: Mohammed Nassar <msh.nassar@gmail.com> Date: Tue, 1 Apr 2025 16:05:29 +0000 Subject: [PATCH 3/3] ISSUE-3516708: Fix phpcs. --- src/FeedDependencyImportHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FeedDependencyImportHandler.php b/src/FeedDependencyImportHandler.php index 0daa8ba..dc6fb0c 100644 --- a/src/FeedDependencyImportHandler.php +++ b/src/FeedDependencyImportHandler.php @@ -77,12 +77,12 @@ class FeedDependencyImportHandler extends FeedImportHandler { * The feed receiving the push. * @param string $payload * The feed contents. - * @param \Drupal\Core\File\FileSystemInterface $file_system + * @param \Drupal\Core\File\FileSystemInterface|null $file_system * (optional) The file system service. * * @todo Move this to a queue. */ - public function pushImport(FeedInterface $feed, $payload, FileSystemInterface $file_system = NULL) { + public function pushImport(FeedInterface $feed, $payload, ?FileSystemInterface $file_system = NULL) { parent::pushImport($feed, $payload); $feed_dependencies = $this->getFeedDependencies($feed); -- GitLab