From 404fd3aab1626917cbced93467313bd9e722968e Mon Sep 17 00:00:00 2001
From: Mohammed Nassar <msh.nassar@gmail.com>
Date: Fri, 31 Jan 2025 09:52:50 +0000
Subject: [PATCH 1/4] ISSUE-350353: Add gitlab CI that run for D10 only.

---
 .gitlab-ci.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..2bb92e3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+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_CURRENT: 0
+  OPT_IN_TEST_PREVIOUS_MAJOR: 1
+  OPT_IN_TEST_PREVIOUS_MINOR: 0
+  OPT_IN_TEST_NEXT_MINOR: 0
+  OPT_IN_TEST_MAX_PHP: 0
-- 
GitLab


From b1f64e852862294c646e1e7042fc4cc777f8a8d1 Mon Sep 17 00:00:00 2001
From: Mohammed Nassar <msh.nassar@gmail.com>
Date: Fri, 31 Jan 2025 10:00:53 +0000
Subject: [PATCH 2/4] ISSUE-350353: Fix phpcs NullableTypeForNullDefaultValue.

---
 src/FileLinkQueueItem.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/FileLinkQueueItem.php b/src/FileLinkQueueItem.php
index eb62c46..f3e1589 100644
--- a/src/FileLinkQueueItem.php
+++ b/src/FileLinkQueueItem.php
@@ -58,7 +58,7 @@ final class FileLinkQueueItem {
    * @param int|null $time
    *   The timestamp.
    */
-  public function __construct(string $type, int $id, string $lang = Language::LANGCODE_NOT_SPECIFIED, int $revisionId = NULL, int $time = NULL) {
+  public function __construct(string $type, int $id, string $lang = Language::LANGCODE_NOT_SPECIFIED, ?int $revisionId = NULL, ?int $time = NULL) {
     $this->type = $type;
     $this->id = $id;
     $this->lang = $lang;
-- 
GitLab


From dabee9c18775c90150dd48436a4cdd4591f7b747 Mon Sep 17 00:00:00 2001
From: Mohammed Nassar <msh.nassar@gmail.com>
Date: Fri, 31 Jan 2025 10:14:14 +0000
Subject: [PATCH 3/4] ISSUE-350353: Add cspell file.

---
 .cspell-project-words.txt | 10 ++++++++++
 1 file changed, 10 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..5909999
--- /dev/null
+++ b/.cspell-project-words.txt
@@ -0,0 +1,10 @@
+claudiu
+cristea
+grumphp
+mailhog
+normalise
+normalised
+nuvole
+phpstorm
+traefik
+wodby
-- 
GitLab


From d33a9e283889a98308ada2cb8bcb6919af6cb749 Mon Sep 17 00:00:00 2001
From: Mohammed Nassar <msh.nassar@gmail.com>
Date: Fri, 31 Jan 2025 10:15:12 +0000
Subject: [PATCH 4/4] ISSUE-350353: Remove drupal ci.

---
 drupalci.yml | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 drupalci.yml

diff --git a/drupalci.yml b/drupalci.yml
deleted file mode 100644
index 8b0c3b6..0000000
--- a/drupalci.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-build:
-  assessment:
-    validate_codebase:
-      phplint:
-        halt-on-fail: true
-      phpcs:
-        sniff-all-files: false
-        halt-on-fail: true
-    testing:
-#      run_tests.phpunit:
-#        types: 'PHPUnit-Unit'
-#        testgroups: '--all'
-#        suppress-deprecations: true
-#        halt-on-fail: false
-      run_tests.kernel:
-        types: 'PHPUnit-Kernel'
-        testgroups: '--all'
-        suppress-deprecations: true
-        halt-on-fail: false
-      run_tests.functional:
-        types: 'PHPUnit-Functional'
-        testgroups: '--all'
-        suppress-deprecations: true
-        halt-on-fail: false
-#      run_tests.javascript:
-#        concurrency: 15
-#        types: 'PHPUnit-FunctionalJavascript'
-#        testgroups: '--all'
-#        suppress-deprecations: true
-#        halt-on-fail: false
-- 
GitLab