Created on 4 April 2024, 3 months ago
Updated 18 April 2024, 2 months ago

Problem/Motivation

The current dev CI build fails: https://git.drupalcode.org/project/content_redirect_to_front/-/jobs/1243286

PHPUnit 9.6.18 by Sebastian Bergmann and contributors.
E
.                                                                  2 / 2 (100%)
Time: 00:11.532, Memory: 4.00 MB
There was 1 error:
1) Drupal\Tests\content_redirect_to_front\Functional\ContentRedirectBrowserTest::testRedirectWithDifferentSettings
Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Save content type" not found.
/builds/project/content_redirect_to_front/web/core/tests/Drupal/Tests/WebAssert.php:146
/builds/project/content_redirect_to_front/web/core/tests/Drupal/Tests/UiHelperTrait.php:78
/builds/project/content_redirect_to_front/tests/src/Functional/ContentRedirectBrowserTest.php:247
/builds/project/content_redirect_to_front/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
ERRORS!
Tests: 2, Assertions: 67, Errors: 1.
HTML output was generated

Also new GitLab CI warnings for cspell:

./README.md:14:83     - Unknown word (redirections) -- this permission, the redirections that were set on the
	 Suggestions: [redirection, redirecting, redirects, rejections, redigestion]
./README.md:14:249    - Unknown word (redirections) -- this permission, the redirections will be applied for
	 Suggestions: [redirection, redirecting, redirects, rejections, redigestion]
./src/EventSubscriber/RedirectSubscriber.php:28:30     - Unknown word (contenttype) -- PATTERN_GROUPNAME = 'contenttype';
	 Suggestions: [content-type, Content-Type, contently]
./src/EventSubscriber/RedirectSubscriber.php:93:41     - Unknown word (prority)     -- Cache service has a prority of 27.
	 Suggestions: [probity, priority, PRIORITY, parity, polity]
./tests/src/Functional/ContentRedirectBrowserTest.php:59:6      - Unknown word (Unser)      -- * Unser every redirection.
	 Suggestions: [User, under, Under, Unset, Unsew]
./tests/src/Functional/ContentRedirectBrowserTest.php:259:19    - Unknown word (Harmadik)   -- 'title' => 'Harmadik',
	 Suggestions: [hardin, Hardin, Harmed, hamadan, Hamadan]
CSpell: Files checked: 13, Issues found: 6 in 3 files
$ WORDS_FILE=_cspell_unrecognized_words.txt
$ touch $WORDS_FILE
$ if [ "$EXIT_CODE" != "" ]; then # collapsed multi-line command
CSpell: Files checked: 14, Issues found: 6 in 3 files
The number of unrecognised/misspelled words is 5
An artifact file has been created containing a list of these unrecognized words, for you to browse or download.
=== This is _cspell_unrecognized_words.txt ===
contenttype
Harmadik
prority
redirections
Unser

Also new GitLab CI warnings for phpstan:

[
    {
        "description": "Unsafe usage of new static().",
        "fingerprint": "947cb1bc28946c711c13ead954e04d19cc52fd0ffebf9510cf1a667ad03199af",
        "severity": "major",
        "location": {
            "path": "src/Form/SettingsForm.php",
            "lines": {
                "begin": 53
            }
        }
    }
]

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

9.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kaszarobert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024