Upgrade drupal core and modules

This commit is contained in:
Robert 2022-06-23 10:37:49 +02:00
parent 6afb768f89
commit 8500b9f6c9
569 changed files with 745 additions and 30366 deletions

View File

@ -28,7 +28,6 @@
"drupal/entity": "^1.2",
"drupal/entity_clone": "^1.0@beta",
"drupal/eu_cookie_compliance": "^1.14",
"drupal/examples": "^3.0",
"drupal/google_analytics": "^3.1",
"drupal/google_cse": "^3.4",
"drupal/google_tag": "^1.4",

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0967cb53f7f9406db2fbb1e84150f787",
"content-hash": "72c5de94f8c271ecc9ad71e8c75d22d7",
"packages": [
{
"name": "asm89/stack-cors",
@ -813,16 +813,16 @@
},
{
"name": "drupal/core",
"version": "9.4.0",
"version": "9.4.1",
"source": {
"type": "git",
"url": "https://github.com/drupal/core.git",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004"
"reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/144db3a317317c4c2fb7d97ee62962a0b3647004",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004",
"url": "https://api.github.com/repos/drupal/core/zipball/81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"shasum": ""
},
"require": {
@ -844,7 +844,7 @@
"ext-spl": "*",
"ext-tokenizer": "*",
"ext-xml": "*",
"guzzlehttp/guzzle": "^6.5.7 || ^7.4.4",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"laminas/laminas-diactoros": "^2.11",
"laminas/laminas-feed": "^2.17",
"masterminds/html5": "^2.7",
@ -1065,22 +1065,22 @@
],
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": {
"source": "https://github.com/drupal/core/tree/9.4.0"
"source": "https://github.com/drupal/core/tree/9.4.1"
},
"time": "2022-06-15T16:34:03+00:00"
"time": "2022-06-21T20:53:48+00:00"
},
{
"name": "drupal/core-composer-scaffold",
"version": "9.4.0",
"version": "9.4.1",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa"
"reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"shasum": ""
},
"require": {
@ -1115,13 +1115,13 @@
"drupal"
],
"support": {
"source": "https://github.com/drupal/core-composer-scaffold/tree/9.4.0"
"source": "https://github.com/drupal/core-composer-scaffold/tree/9.4.1"
},
"time": "2022-02-24T17:40:53+00:00"
"time": "2022-06-19T16:14:23+00:00"
},
{
"name": "drupal/core-project-message",
"version": "9.4.0",
"version": "9.4.1",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-project-message.git",
@ -1156,22 +1156,22 @@
"drupal"
],
"support": {
"source": "https://github.com/drupal/core-project-message/tree/9.4.0"
"source": "https://github.com/drupal/core-project-message/tree/9.4.1"
},
"time": "2022-02-24T17:40:53+00:00"
},
{
"name": "drupal/core-recommended",
"version": "9.4.0",
"version": "9.4.1",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-recommended.git",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa"
"reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"shasum": ""
},
"require": {
@ -1180,11 +1180,11 @@
"doctrine/annotations": "~1.13.2",
"doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3",
"drupal/core": "9.4.0",
"drupal/core": "9.4.1",
"egulias/email-validator": "~3.2",
"guzzlehttp/guzzle": "~6.5.7",
"guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.1",
"guzzlehttp/psr7": "~1.8.5",
"guzzlehttp/psr7": "~1.9.0",
"laminas/laminas-diactoros": "~2.11.0",
"laminas/laminas-escaper": "~2.9.0",
"laminas/laminas-feed": "~2.17.0",
@ -1242,9 +1242,9 @@
],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": {
"source": "https://github.com/drupal/core-recommended/tree/9.4.0"
"source": "https://github.com/drupal/core-recommended/tree/9.4.1"
},
"time": "2022-06-15T16:34:03+00:00"
"time": "2022-06-21T20:53:48+00:00"
},
{
"name": "drupal/ctools",
@ -1599,122 +1599,6 @@
"slack": "https://app.slack.com/client/T06GX3JTS/C012XBTH81E"
}
},
{
"name": "drupal/examples",
"version": "3.0.3",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/examples.git",
"reference": "3.0.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/examples-3.0.3.zip",
"reference": "3.0.3",
"shasum": "0a26b865cf5a99dfbc824b58f947ff0e6ca7b6db"
},
"require": {
"drupal/core": "^8.7.7 || ^9"
},
"require-dev": {
"drupal/stream_wrapper_example": "*"
},
"suggest": {
"drupal/devel": "Some modules will be able to pretty-print PHP with this module."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "3.0.3",
"datestamp": "1633612828",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Dave Reid",
"homepage": "https://www.drupal.org/user/53892"
},
{
"name": "Itangalo",
"homepage": "https://www.drupal.org/user/153998"
},
{
"name": "Mile23",
"homepage": "https://www.drupal.org/user/116231"
},
{
"name": "Torenware",
"homepage": "https://www.drupal.org/user/18784"
},
{
"name": "add1sun",
"homepage": "https://www.drupal.org/user/65088"
},
{
"name": "cyberswat",
"homepage": "https://www.drupal.org/user/27802"
},
{
"name": "ilo",
"homepage": "https://www.drupal.org/user/118449"
},
{
"name": "jn2",
"homepage": "https://www.drupal.org/user/1001014"
},
{
"name": "jungle",
"homepage": "https://www.drupal.org/user/2919723"
},
{
"name": "katbailey",
"homepage": "https://www.drupal.org/user/172987"
},
{
"name": "linclark",
"homepage": "https://www.drupal.org/user/396253"
},
{
"name": "marvil07",
"homepage": "https://www.drupal.org/user/132175"
},
{
"name": "mikl",
"homepage": "https://www.drupal.org/user/58679"
},
{
"name": "rfay",
"homepage": "https://www.drupal.org/user/30906"
},
{
"name": "socketwench",
"homepage": "https://www.drupal.org/user/65793"
},
{
"name": "valthebald",
"homepage": "https://www.drupal.org/user/239562"
},
{
"name": "yched",
"homepage": "https://www.drupal.org/user/39567"
}
],
"description": "The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.",
"homepage": "https://www.drupal.org/project/examples",
"support": {
"source": "https://git.drupalcode.org/project/examples",
"issues": "https://www.drupal.org/project/issues/examples",
"documentation": "https://api.drupal.org/api/examples"
}
},
{
"name": "drupal/google_analytics",
"version": "3.1.0",
@ -3931,16 +3815,16 @@
},
{
"name": "egulias/email-validator",
"version": "3.2",
"version": "3.2.1",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286"
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/a5ed8d58ed0c340a7c2109f587951b1c84cf6286",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
"shasum": ""
},
"require": {
@ -3987,7 +3871,7 @@
],
"support": {
"issues": "https://github.com/egulias/EmailValidator/issues",
"source": "https://github.com/egulias/EmailValidator/tree/3.2"
"source": "https://github.com/egulias/EmailValidator/tree/3.2.1"
},
"funding": [
{
@ -3995,28 +3879,28 @@
"type": "github"
}
],
"time": "2022-05-28T22:19:18+00:00"
"time": "2022-06-18T20:57:19+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "6.5.7",
"version": "6.5.8",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "724562fa861e21a4071c652c8a159934e4f05592"
"reference": "a52f0440530b54fa079ce76e8c5d196a42cad981"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/724562fa861e21a4071c652c8a159934e4f05592",
"reference": "724562fa861e21a4071c652c8a159934e4f05592",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981",
"reference": "a52f0440530b54fa079ce76e8c5d196a42cad981",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"guzzlehttp/psr7": "^1.9",
"php": ">=5.5",
"symfony/polyfill-intl-idn": "^1.17.0"
"symfony/polyfill-intl-idn": "^1.17"
},
"require-dev": {
"ext-curl": "*",
@ -4094,7 +3978,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/6.5.7"
"source": "https://github.com/guzzle/guzzle/tree/6.5.8"
},
"funding": [
{
@ -4110,7 +3994,7 @@
"type": "tidelift"
}
],
"time": "2022-06-09T21:36:50+00:00"
"time": "2022-06-20T22:16:07+00:00"
},
{
"name": "guzzlehttp/promises",
@ -4198,16 +4082,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "1.8.5",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268"
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": ""
},
"require": {
@ -4228,7 +4112,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
"dev-master": "1.9-dev"
}
},
"autoload": {
@ -4288,7 +4172,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/1.8.5"
"source": "https://github.com/guzzle/psr7/tree/1.9.0"
},
"funding": [
{
@ -4304,7 +4188,7 @@
"type": "tidelift"
}
],
"time": "2022-03-20T21:51:18+00:00"
"time": "2022-06-20T21:43:03+00:00"
},
{
"name": "laminas/laminas-diactoros",

View File

@ -833,17 +833,17 @@
},
{
"name": "drupal/core",
"version": "9.4.0",
"version_normalized": "9.4.0.0",
"version": "9.4.1",
"version_normalized": "9.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/drupal/core.git",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004"
"reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/144db3a317317c4c2fb7d97ee62962a0b3647004",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004",
"url": "https://api.github.com/repos/drupal/core/zipball/81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"shasum": ""
},
"require": {
@ -865,7 +865,7 @@
"ext-spl": "*",
"ext-tokenizer": "*",
"ext-xml": "*",
"guzzlehttp/guzzle": "^6.5.7 || ^7.4.4",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"laminas/laminas-diactoros": "^2.11",
"laminas/laminas-feed": "^2.17",
"masterminds/html5": "^2.7",
@ -1014,7 +1014,7 @@
"drupal/workflows": "self.version",
"drupal/workspaces": "self.version"
},
"time": "2022-06-15T16:34:03+00:00",
"time": "2022-06-21T20:53:48+00:00",
"type": "drupal-core",
"extra": {
"drupal-scaffold": {
@ -1088,23 +1088,23 @@
],
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": {
"source": "https://github.com/drupal/core/tree/9.4.0"
"source": "https://github.com/drupal/core/tree/9.4.1"
},
"install-path": "../../web/core"
},
{
"name": "drupal/core-composer-scaffold",
"version": "9.4.0",
"version_normalized": "9.4.0.0",
"version": "9.4.1",
"version_normalized": "9.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa"
"reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"shasum": ""
},
"require": {
@ -1117,7 +1117,7 @@
"require-dev": {
"composer/composer": "^1.8@stable"
},
"time": "2022-02-24T17:40:53+00:00",
"time": "2022-06-19T16:14:23+00:00",
"type": "composer-plugin",
"extra": {
"class": "Drupal\\Composer\\Plugin\\Scaffold\\Plugin",
@ -1141,14 +1141,14 @@
"drupal"
],
"support": {
"source": "https://github.com/drupal/core-composer-scaffold/tree/9.4.0"
"source": "https://github.com/drupal/core-composer-scaffold/tree/9.4.1"
},
"install-path": "../drupal/core-composer-scaffold"
},
{
"name": "drupal/core-project-message",
"version": "9.4.0",
"version_normalized": "9.4.0.0",
"version": "9.4.1",
"version_normalized": "9.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-project-message.git",
@ -1185,23 +1185,23 @@
"drupal"
],
"support": {
"source": "https://github.com/drupal/core-project-message/tree/9.4.0"
"source": "https://github.com/drupal/core-project-message/tree/9.4.1"
},
"install-path": "../drupal/core-project-message"
},
{
"name": "drupal/core-recommended",
"version": "9.4.0",
"version_normalized": "9.4.0.0",
"version": "9.4.1",
"version_normalized": "9.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-recommended.git",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa"
"reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"shasum": ""
},
"require": {
@ -1210,11 +1210,11 @@
"doctrine/annotations": "~1.13.2",
"doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3",
"drupal/core": "9.4.0",
"drupal/core": "9.4.1",
"egulias/email-validator": "~3.2",
"guzzlehttp/guzzle": "~6.5.7",
"guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.1",
"guzzlehttp/psr7": "~1.8.5",
"guzzlehttp/psr7": "~1.9.0",
"laminas/laminas-diactoros": "~2.11.0",
"laminas/laminas-escaper": "~2.9.0",
"laminas/laminas-feed": "~2.17.0",
@ -1265,7 +1265,7 @@
"conflict": {
"webflo/drupal-core-strict": "*"
},
"time": "2022-06-15T16:34:03+00:00",
"time": "2022-06-21T20:53:48+00:00",
"type": "metapackage",
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -1273,7 +1273,7 @@
],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": {
"source": "https://github.com/drupal/core-recommended/tree/9.4.0"
"source": "https://github.com/drupal/core-recommended/tree/9.4.1"
},
"install-path": null
},
@ -1649,125 +1649,6 @@
},
"install-path": "../../web/modules/contrib/eu_cookie_compliance"
},
{
"name": "drupal/examples",
"version": "3.0.3",
"version_normalized": "3.0.3.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/examples.git",
"reference": "3.0.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/examples-3.0.3.zip",
"reference": "3.0.3",
"shasum": "0a26b865cf5a99dfbc824b58f947ff0e6ca7b6db"
},
"require": {
"drupal/core": "^8.7.7 || ^9"
},
"require-dev": {
"drupal/stream_wrapper_example": "*"
},
"suggest": {
"drupal/devel": "Some modules will be able to pretty-print PHP with this module."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "3.0.3",
"datestamp": "1633612828",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"installation-source": "dist",
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Dave Reid",
"homepage": "https://www.drupal.org/user/53892"
},
{
"name": "Itangalo",
"homepage": "https://www.drupal.org/user/153998"
},
{
"name": "Mile23",
"homepage": "https://www.drupal.org/user/116231"
},
{
"name": "Torenware",
"homepage": "https://www.drupal.org/user/18784"
},
{
"name": "add1sun",
"homepage": "https://www.drupal.org/user/65088"
},
{
"name": "cyberswat",
"homepage": "https://www.drupal.org/user/27802"
},
{
"name": "ilo",
"homepage": "https://www.drupal.org/user/118449"
},
{
"name": "jn2",
"homepage": "https://www.drupal.org/user/1001014"
},
{
"name": "jungle",
"homepage": "https://www.drupal.org/user/2919723"
},
{
"name": "katbailey",
"homepage": "https://www.drupal.org/user/172987"
},
{
"name": "linclark",
"homepage": "https://www.drupal.org/user/396253"
},
{
"name": "marvil07",
"homepage": "https://www.drupal.org/user/132175"
},
{
"name": "mikl",
"homepage": "https://www.drupal.org/user/58679"
},
{
"name": "rfay",
"homepage": "https://www.drupal.org/user/30906"
},
{
"name": "socketwench",
"homepage": "https://www.drupal.org/user/65793"
},
{
"name": "valthebald",
"homepage": "https://www.drupal.org/user/239562"
},
{
"name": "yched",
"homepage": "https://www.drupal.org/user/39567"
}
],
"description": "The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.",
"homepage": "https://www.drupal.org/project/examples",
"support": {
"source": "https://git.drupalcode.org/project/examples",
"issues": "https://www.drupal.org/project/issues/examples",
"documentation": "https://api.drupal.org/api/examples"
},
"install-path": "../../web/modules/contrib/examples"
},
{
"name": "drupal/google_analytics",
"version": "3.1.0",
@ -4139,17 +4020,17 @@
},
{
"name": "egulias/email-validator",
"version": "3.2",
"version_normalized": "3.2.0.0",
"version": "3.2.1",
"version_normalized": "3.2.1.0",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286"
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/a5ed8d58ed0c340a7c2109f587951b1c84cf6286",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
"shasum": ""
},
"require": {
@ -4165,7 +4046,7 @@
"suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
},
"time": "2022-05-28T22:19:18+00:00",
"time": "2022-06-18T20:57:19+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4198,7 +4079,7 @@
],
"support": {
"issues": "https://github.com/egulias/EmailValidator/issues",
"source": "https://github.com/egulias/EmailValidator/tree/3.2"
"source": "https://github.com/egulias/EmailValidator/tree/3.2.1"
},
"funding": [
{
@ -4210,25 +4091,25 @@
},
{
"name": "guzzlehttp/guzzle",
"version": "6.5.7",
"version_normalized": "6.5.7.0",
"version": "6.5.8",
"version_normalized": "6.5.8.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "724562fa861e21a4071c652c8a159934e4f05592"
"reference": "a52f0440530b54fa079ce76e8c5d196a42cad981"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/724562fa861e21a4071c652c8a159934e4f05592",
"reference": "724562fa861e21a4071c652c8a159934e4f05592",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981",
"reference": "a52f0440530b54fa079ce76e8c5d196a42cad981",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"guzzlehttp/psr7": "^1.9",
"php": ">=5.5",
"symfony/polyfill-intl-idn": "^1.17.0"
"symfony/polyfill-intl-idn": "^1.17"
},
"require-dev": {
"ext-curl": "*",
@ -4238,7 +4119,7 @@
"suggest": {
"psr/log": "Required for using the Log middleware"
},
"time": "2022-06-09T21:36:50+00:00",
"time": "2022-06-20T22:16:07+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -4308,7 +4189,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/6.5.7"
"source": "https://github.com/guzzle/guzzle/tree/6.5.8"
},
"funding": [
{
@ -4415,17 +4296,17 @@
},
{
"name": "guzzlehttp/psr7",
"version": "1.8.5",
"version_normalized": "1.8.5.0",
"version": "1.9.0",
"version_normalized": "1.9.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268"
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": ""
},
"require": {
@ -4443,11 +4324,11 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2022-03-20T21:51:18+00:00",
"time": "2022-06-20T21:43:03+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
"dev-master": "1.9-dev"
}
},
"installation-source": "dist",
@ -4508,7 +4389,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/1.8.5"
"source": "https://github.com/guzzle/psr7/tree/1.9.0"
},
"funding": [
{

View File

@ -5,7 +5,7 @@
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '240bb618f3afb3aec5850e92d800db93737e6b27',
'reference' => '6afb768f89cca773bc45d6083a33264ecd6d6495',
'name' => 'drupal/recommended-project',
'dev' => true,
),
@ -67,7 +67,7 @@
'drupal/action' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/advagg' => array(
@ -82,13 +82,13 @@
'drupal/aggregator' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/automated_cron' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/back_to_top' => array(
@ -103,31 +103,31 @@
'drupal/ban' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/bartik' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/basic_auth' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/big_pipe' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/block' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/block_class' => array(
@ -142,73 +142,73 @@
'drupal/block_content' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/book' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/breakpoint' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/ckeditor' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/ckeditor5' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/claro' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/classy' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/color' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/comment' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/config' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/config_translation' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/contact' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/content_access' => array(
@ -223,150 +223,150 @@
'drupal/content_moderation' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/content_translation' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/contextual' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core' => array(
'pretty_version' => '9.4.0',
'version' => '9.4.0.0',
'pretty_version' => '9.4.1',
'version' => '9.4.1.0',
'type' => 'drupal-core',
'install_path' => __DIR__ . '/../../web/core',
'aliases' => array(),
'reference' => '144db3a317317c4c2fb7d97ee62962a0b3647004',
'reference' => '81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614',
'dev_requirement' => false,
),
'drupal/core-annotation' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-assertion' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-bridge' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-class-finder' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-composer-scaffold' => array(
'pretty_version' => '9.4.0',
'version' => '9.4.0.0',
'pretty_version' => '9.4.1',
'version' => '9.4.1.0',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../drupal/core-composer-scaffold',
'aliases' => array(),
'reference' => '3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa',
'reference' => '5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f',
'dev_requirement' => false,
),
'drupal/core-datetime' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-dependency-injection' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-diff' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-discovery' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-event-dispatcher' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-file-cache' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-file-security' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-filesystem' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-front-matter' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-gettext' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-graph' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-http-foundation' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-php-storage' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-plugin' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-project-message' => array(
'pretty_version' => '9.4.0',
'version' => '9.4.0.0',
'pretty_version' => '9.4.1',
'version' => '9.4.1.0',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../drupal/core-project-message',
'aliases' => array(),
@ -376,52 +376,52 @@
'drupal/core-proxy-builder' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-recommended' => array(
'pretty_version' => '9.4.0',
'version' => '9.4.0.0',
'pretty_version' => '9.4.1',
'version' => '9.4.1.0',
'type' => 'metapackage',
'install_path' => NULL,
'aliases' => array(),
'reference' => 'bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa',
'reference' => 'a3ae54715ba7792fe596c2f6a73dfcef217b0577',
'dev_requirement' => false,
),
'drupal/core-render' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-serialization' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-transliteration' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-utility' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-uuid' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/core-version' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/ctools' => array(
@ -436,19 +436,19 @@
'drupal/datetime' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/datetime_range' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/dblog' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/ds' => array(
@ -463,13 +463,13 @@
'drupal/dynamic_page_cache' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/editor' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/entity' => array(
@ -493,7 +493,7 @@
'drupal/entity_reference' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/eu_cookie_compliance' => array(
@ -505,49 +505,40 @@
'reference' => '8.x-1.19',
'dev_requirement' => false,
),
'drupal/examples' => array(
'pretty_version' => '3.0.3',
'version' => '3.0.3.0',
'type' => 'drupal-module',
'install_path' => __DIR__ . '/../../web/modules/contrib/examples',
'aliases' => array(),
'reference' => '3.0.3',
'dev_requirement' => false,
),
'drupal/field' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/field_layout' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/field_ui' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/file' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/filter' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/forum' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/google_analytics' => array(
@ -580,31 +571,31 @@
'drupal/hal' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/help' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/help_topics' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/history' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/image' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/imce' => array(
@ -619,7 +610,7 @@
'drupal/inline_form_errors' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/insert_view' => array(
@ -661,13 +652,13 @@
'drupal/jsonapi' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/language' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/languageicons' => array(
@ -682,13 +673,13 @@
'drupal/layout_builder' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/layout_discovery' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/lazy' => array(
@ -712,25 +703,25 @@
'drupal/link' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/locale' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/media' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/media_library' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/menu_block' => array(
@ -754,7 +745,7 @@
'drupal/menu_link_content' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/menu_position' => array(
@ -778,7 +769,7 @@
'drupal/menu_ui' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/metatag' => array(
@ -793,73 +784,73 @@
'drupal/migrate' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/migrate_drupal' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/migrate_drupal_multilingual' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/migrate_drupal_ui' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/minimal' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/mysql' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/node' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/olivero' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/options' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/page_cache' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/path' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/path_alias' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/pathauto' => array(
@ -874,7 +865,7 @@
'drupal/pgsql' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/publication_date' => array(
@ -889,7 +880,7 @@
'drupal/quickedit' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/quicktabs' => array(
@ -904,7 +895,7 @@
'drupal/rdf' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/recommended-project' => array(
@ -913,7 +904,7 @@
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '240bb618f3afb3aec5850e92d800db93737e6b27',
'reference' => '6afb768f89cca773bc45d6083a33264ecd6d6495',
'dev_requirement' => false,
),
'drupal/redirect' => array(
@ -937,7 +928,7 @@
'drupal/responsive_image' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/responsive_menu' => array(
@ -952,7 +943,7 @@
'drupal/rest' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/scheduler' => array(
@ -967,7 +958,7 @@
'drupal/search' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/search_api' => array(
@ -1009,49 +1000,49 @@
'drupal/serialization' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/settings_tray' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/seven' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/shortcut' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/sqlite' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/standard' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/stark' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/statistics' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/superfish' => array(
@ -1066,19 +1057,19 @@
'drupal/syslog' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/system' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/taxonomy' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/taxonomy_menu' => array(
@ -1095,13 +1086,13 @@
'drupal/telephone' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/text' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/token' => array(
@ -1116,19 +1107,19 @@
'drupal/toolbar' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/tour' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/tracker' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/tvi' => array(
@ -1152,13 +1143,13 @@
'drupal/update' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/user' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/vardumper' => array(
@ -1182,7 +1173,7 @@
'drupal/views' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/views_slideshow' => array(
@ -1197,19 +1188,19 @@
'drupal/views_ui' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/workflows' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/workspaces' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '9.4.0',
0 => '9.4.1',
),
),
'drupal/xmlsitemap' => array(
@ -1222,21 +1213,21 @@
'dev_requirement' => false,
),
'egulias/email-validator' => array(
'pretty_version' => '3.2',
'version' => '3.2.0.0',
'pretty_version' => '3.2.1',
'version' => '3.2.1.0',
'type' => 'library',
'install_path' => __DIR__ . '/../egulias/email-validator',
'aliases' => array(),
'reference' => 'a5ed8d58ed0c340a7c2109f587951b1c84cf6286',
'reference' => 'f88dcf4b14af14a98ad96b14b2b317969eab6715',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
'pretty_version' => '6.5.7',
'version' => '6.5.7.0',
'pretty_version' => '6.5.8',
'version' => '6.5.8.0',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
'reference' => '724562fa861e21a4071c652c8a159934e4f05592',
'reference' => 'a52f0440530b54fa079ce76e8c5d196a42cad981',
'dev_requirement' => false,
),
'guzzlehttp/promises' => array(
@ -1249,12 +1240,12 @@
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '1.8.5',
'version' => '1.8.5.0',
'pretty_version' => '1.9.0',
'version' => '1.9.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'reference' => '337e3ad8e5716c15f9657bd214d16cc5e69df268',
'reference' => 'e98e3e6d4f86621a9b75f623996e6bbdeb4b9318',
'dev_requirement' => false,
),
'laminas/laminas-diactoros' => array(

View File

@ -92,8 +92,7 @@ class ReplaceOp extends AbstractOperation {
protected function copyScaffold(ScaffoldFilePath $destination, IOInterface $io) {
$interpolator = $destination->getInterpolator();
$this->source->addInterpolationData($interpolator);
$success = file_put_contents($destination->fullPath(), $this->contents());
if (!$success) {
if (file_put_contents($destination->fullPath(), $this->contents()) === FALSE) {
throw new \RuntimeException($interpolator->interpolate("Could not copy source file <info>[src-rel-path]</info> to <info>[dest-rel-path]</info>!"));
}
$io->write($interpolator->interpolate(" - Copy <info>[dest-rel-path]</info> from <info>[src-rel-path]</info>"));

View File

@ -237,7 +237,7 @@ class EmailLexer extends AbstractLexer
$encoded = $value;
if (mb_detect_encoding($value, 'auto', true) !== 'UTF-8') {
$encoded = utf8_encode($value);
$encoded = mb_convert_encoding($value, 'UTF-8', 'Windows-1252');
}
if ($this->isValid($encoded)) {

View File

@ -292,7 +292,7 @@ class DomainPart extends PartParser
private function isLabelTooLong(string $label) : bool
{
if (preg_match('/[^\x00-\x7F]/', $label)) {
idn_to_ascii(utf8_decode($label), IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46, $idnaInfo);
idn_to_ascii($label, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46, $idnaInfo);
return (bool) ($idnaInfo['errors'] & IDNA_ERROR_LABEL_TOO_LONG);
}
return strlen($label) > self::LABEL_MAX_LENGTH;
@ -309,4 +309,4 @@ class DomainPart extends PartParser
{
return $this->domainPart;
}
}
}

View File

@ -1,5 +1,10 @@
# Change Log
## 6.5.8 - 2022-06-20
* Fix change in port should be considered a change in origin
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
## 6.5.7 - 2022-06-09
* Fix failure to strip Authorization header on HTTP downgrade

View File

@ -1,5 +1,6 @@
Guzzle, PHP HTTP client
=======================
![Guzzle](.github/logo.png?raw=true)
# Guzzle, PHP HTTP client
[![Latest Version](https://img.shields.io/github/release/guzzle/guzzle.svg?style=flat-square)](https://github.com/guzzle/guzzle/releases)
[![Build Status](https://img.shields.io/github/workflow/status/guzzle/guzzle/CI?label=ci%20build&style=flat-square)](https://github.com/guzzle/guzzle/actions?query=workflow%3ACI)
@ -38,15 +39,18 @@ $promise->wait();
## Help and docs
- [Documentation](http://guzzlephp.org/)
- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle)
We use GitHub issues only to discuss bugs and new features. For support please refer to:
- [Documentation](https://docs.guzzlephp.org)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/guzzle)
- [#guzzle](https://app.slack.com/client/T0D2S9JCT/CE6UAAKL4) channel on [PHP-HTTP Slack](https://slack.httplug.io/)
- [Gitter](https://gitter.im/guzzle/guzzle)
## Installing Guzzle
The recommended way to install Guzzle is through
[Composer](http://getcomposer.org).
[Composer](https://getcomposer.org/).
```bash
# Install Composer
@ -87,7 +91,7 @@ composer update
[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3
[guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5
[guzzle-7-repo]: https://github.com/guzzle/guzzle
[guzzle-3-docs]: http://guzzle3.readthedocs.org
[guzzle-5-docs]: http://docs.guzzlephp.org/en/5.3/
[guzzle-6-docs]: http://docs.guzzlephp.org/en/6.5/
[guzzle-7-docs]: http://docs.guzzlephp.org/en/latest/
[guzzle-3-docs]: https://guzzle3.readthedocs.io/
[guzzle-5-docs]: https://docs.guzzlephp.org/en/5.3/
[guzzle-6-docs]: https://docs.guzzlephp.org/en/6.5/
[guzzle-7-docs]: https://docs.guzzlephp.org/en/latest/

View File

@ -53,9 +53,9 @@
"require": {
"php": ">=5.5",
"ext-json": "*",
"symfony/polyfill-intl-idn": "^1.17.0",
"symfony/polyfill-intl-idn": "^1.17",
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1"
"guzzlehttp/psr7": "^1.9"
},
"require-dev": {
"ext-curl": "*",
@ -66,7 +66,10 @@
"psr/log": "Required for using the Log middleware"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"branch-alias": {

View File

@ -94,6 +94,14 @@ class RedirectMiddleware
$this->guardMax($request, $options);
$nextRequest = $this->modifyRequest($request, $options, $response);
// If authorization is handled by curl, unset it if URI is cross-origin.
if (Psr7\UriComparator::isCrossOrigin($request->getUri(), $nextRequest->getUri()) && defined('\CURLOPT_HTTPAUTH')) {
unset(
$options['curl'][\CURLOPT_HTTPAUTH],
$options['curl'][\CURLOPT_USERPWD]
);
}
if (isset($options['allow_redirects']['on_redirect'])) {
call_user_func(
$options['allow_redirects']['on_redirect'],
@ -210,8 +218,8 @@ class RedirectMiddleware
$modify['remove_headers'][] = 'Referer';
}
// Remove Authorization and Cookie headers if required.
if (self::shouldStripSensitiveHeaders($request->getUri(), $modify['uri'])) {
// Remove Authorization and Cookie headers if URI is cross-origin.
if (Psr7\UriComparator::isCrossOrigin($request->getUri(), $modify['uri'])) {
$modify['remove_headers'][] = 'Authorization';
$modify['remove_headers'][] = 'Cookie';
}
@ -219,31 +227,6 @@ class RedirectMiddleware
return Psr7\modify_request($request, $modify);
}
/**
* Determine if we should strip sensitive headers from the request.
*
* We return true if either of the following conditions are true:
*
* 1. the host is different;
* 2. the scheme has changed, and now is non-https.
*
* @return bool
*/
private static function shouldStripSensitiveHeaders(
UriInterface $originalUri,
UriInterface $modifiedUri
) {
if (strcasecmp($originalUri->getHost(), $modifiedUri->getHost()) !== 0) {
return true;
}
if ($originalUri->getScheme() !== $modifiedUri->getScheme() && 'https' !== $modifiedUri->getScheme()) {
return true;
}
return false;
}
/**
* Set the appropriate URL on the request based on the location header.
*

View File

@ -3,12 +3,18 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
## 1.9.0 - 2022-06-20
### Added
- Added `UriComparator::isCrossOrigin` method
## 1.8.5 - 2022-03-20
### Fixed

View File

@ -1,6 +1,6 @@
# PSR-7 Message Implementation
This repository contains a full [PSR-7](http://www.php-fig.org/psr/psr-7/)
This repository contains a full [PSR-7](https://www.php-fig.org/psr/psr-7/)
message implementation, several stream decorators, and some helpful
functionality like query string parsing.
@ -659,7 +659,7 @@ manually but instead is used indirectly via `Psr\Http\Message\UriInterface::__to
`public static function fromParts(array $parts): UriInterface`
Creates a URI from a hash of [`parse_url`](http://php.net/manual/en/function.parse-url.php) components.
Creates a URI from a hash of [`parse_url`](https://www.php.net/manual/en/function.parse-url.php) components.
### `GuzzleHttp\Psr7\Uri::withQueryValue`
@ -684,6 +684,16 @@ associative array of key => value.
Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the
provided key are removed.
## Cross-Origin Detection
`GuzzleHttp\Psr7\UriComparator` provides methods to determine if a modified URL should be considered cross-origin.
### `GuzzleHttp\Psr7\UriComparator::isCrossOrigin`
`public static function isCrossOrigin(UriInterface $original, UriInterface $modified): bool`
Determines if a modified URL should be considered cross-origin with respect to an original URL.
## Reference Resolution
`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according
@ -809,14 +819,24 @@ This of course assumes they will be resolved against the same base URI. If this
equivalence or difference of relative references does not mean anything.
## Version Guidance
| Version | Status | PHP Version |
|---------|----------------|------------------|
| 1.x | Security fixes | >=5.4,<8.1 |
| 2.x | Latest | ^7.2.5 \|\| ^8.0 |
## Security
If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information.
## License
Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
## For Enterprise
Available as part of the Tidelift Subscription

View File

@ -63,7 +63,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
"dev-master": "1.9-dev"
}
},
"config": {

View File

@ -0,0 +1,55 @@
<?php
namespace GuzzleHttp\Psr7;
use Psr\Http\Message\UriInterface;
/**
* Provides methods to determine if a modified URL should be considered cross-origin.
*
* @author Graham Campbell
*/
final class UriComparator
{
/**
* Determines if a modified URL should be considered cross-origin with
* respect to an original URL.
*
* @return bool
*/
public static function isCrossOrigin(UriInterface $original, UriInterface $modified)
{
if (\strcasecmp($original->getHost(), $modified->getHost()) !== 0) {
return true;
}
if ($original->getScheme() !== $modified->getScheme()) {
return true;
}
if (self::computePort($original) !== self::computePort($modified)) {
return true;
}
return false;
}
/**
* @return int
*/
private static function computePort(UriInterface $uri)
{
$port = $uri->getPort();
if (null !== $port) {
return $port;
}
return 'https' === $uri->getScheme() ? 443 : 80;
}
private function __construct()
{
// cannot be instantiated
}
}

View File

@ -36,7 +36,7 @@
"twig/twig": "^2.15",
"doctrine/reflection": "^1.2",
"doctrine/annotations": "^1.13",
"guzzlehttp/guzzle": "^6.5.7 || ^7.4.4",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"symfony-cmf/routing": "^2.3",
"laminas/laminas-feed": "^2.17",
"stack/builder": "^1.0",

View File

@ -75,7 +75,7 @@ class Drupal {
/**
* The current system version.
*/
const VERSION = '9.4.0';
const VERSION = '9.4.1';
/**
* Core API compatibility.

View File

@ -138,15 +138,11 @@ interface FormBuilderInterface {
*
* For example:
* @code
* // register a new user
* // Set the administrator role to 'content_editor'.
* $values['user_admin_role'] = 'content_editor';
* $form_state = new FormState();
* $values['name'] = 'some-user';
* $values['mail'] = 'someuser@example.com';
* $values['pass']['pass1'] = 'password';
* $values['pass']['pass2'] = 'password';
* $values['op'] = t('Create new account');
* $form_state->setValues($values);
* \Drupal::formBuilder()->submitForm('user_register_form', $form_state);
* \Drupal::formBuilder()->submitForm(RoleSettingsForm::class, $form_state);
* @endcode
*
* @param \Drupal\Core\Form\FormInterface|string $form_arg

View File

@ -101,7 +101,7 @@ class MailManager extends DefaultPluginManager implements MailManagerInterface {
* by one module, set the plugin ID as the value for the key corresponding to
* the module name. To specify a plugin for a particular message sent by one
* module, set the plugin ID as the value for the array key that is the
* message ID, which is "${module}_${key}".
* message ID, which is "{$module}_{$key}".
*
* For example to debug all mail sent by the user module by logging it to a
* file, you might set the variable as something like:

View File

@ -31,8 +31,6 @@ andif
annot
anonyme
anothermodule
anotherwordenglish
anotherwordgerman
antilop
anyall
applix
@ -49,7 +47,6 @@ arrowstop
arrowthick
arrowthickstop
arrr
asdrsad
assertable
asterix
atomentry
@ -97,7 +94,6 @@ bangpow
barbar
barchart
barfoo
barmm
barqux
bartik
bartik's
@ -515,7 +511,6 @@ foobarbaz
foobargorilla
foobars
foofoo
foomm
foos
formatless
formattable
@ -586,7 +581,6 @@ heure
heures
hidpi
hijklmn
hilfetestmodul
hilited
hinode
hippopotamidae
@ -913,15 +907,11 @@ nonconfigurable
nonexistingfilename
nonoptional
nonspacing
nonwordgerman
nonworditem
noquotes
noschema
nosniff
nostart
notag
notawordenglish
notawordgerman
notexisting
nothere
notnull
@ -1191,7 +1181,6 @@ scorewords
screenreaders
scriptable
scrollbars
sdeeeee
searchdirs
searchfield
sebe
@ -1250,7 +1239,6 @@ splitbuttons
spreadsheetml
sqlpassword
sqlusername
sqruct
squaresmall
squiz
squizlabs
@ -1608,7 +1596,6 @@ vxezb
vxfbk
waitfor
wcprops
wcsrefsdf
webassert
webcal
webdriver
@ -1693,5 +1680,4 @@ zzgroup
åwesome
èxample
über
übersetzung
ȅchȏ

View File

@ -109,6 +109,7 @@ abstract class BlockResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -66,6 +66,7 @@ abstract class BlockContentTypeResourceTestBase extends ConfigEntityResourceTest
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -179,9 +179,7 @@ class CommentNonNodeTest extends BrowserTestBase {
$this->assertArrayHasKey(1, $match);
}
if (isset($match[1])) {
return Comment::load($match[1]);
}
return Comment::load($match[1]);
}
/**

View File

@ -317,16 +317,17 @@ abstract class CommentResourceTestBase extends EntityResourceTestBase {
*/
protected function getExpectedUnauthorizedAccessMessage($method) {
switch ($method) {
case 'GET';
case 'GET':
return "The 'access comments' permission is required and the comment must be published.";
case 'POST';
case 'POST':
return "The 'post comments' permission is required.";
case 'PATCH';
case 'PATCH':
return "The 'edit own comments' permission is required, the user must be the comment author, and the comment must be published.";
case 'DELETE':
default:
// \Drupal\comment\CommentAccessControlHandler::checkAccess() does not
// specify a reason for not allowing a comment to be deleted.
return '';

View File

@ -72,6 +72,7 @@ abstract class CommentTypeResourceTestBase extends ConfigEntityResourceTestBase
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -68,6 +68,7 @@ abstract class ConfigTestResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -85,6 +85,7 @@ abstract class ContactFormResourceTestBase extends ConfigEntityResourceTestBase
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -122,6 +122,7 @@ abstract class EditorResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -94,6 +94,7 @@ abstract class FieldConfigResourceTestBase extends ConfigEntityResourceTestBase
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -73,6 +73,7 @@ abstract class FieldStorageConfigResourceTestBase extends ConfigEntityResourceTe
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -133,18 +133,18 @@ class NumberFieldTest extends WebDriverTestBase {
$scale = rand(0, 10);
$page = $this->getSession()->getPage();
$page->pressButton("${float_field}_settings_edit");
$page->pressButton("{$float_field}_settings_edit");
$assert_session->waitForElement('css', '.ajax-new-content');
$edit = [
"fields[${float_field}][settings_edit_form][settings][prefix_suffix]" => TRUE,
"fields[${float_field}][settings_edit_form][settings][scale]" => $scale,
"fields[${float_field}][settings_edit_form][settings][decimal_separator]" => $decimal_separator,
"fields[${float_field}][settings_edit_form][settings][thousand_separator]" => $thousand_separator,
"fields[{$float_field}][settings_edit_form][settings][prefix_suffix]" => TRUE,
"fields[{$float_field}][settings_edit_form][settings][scale]" => $scale,
"fields[{$float_field}][settings_edit_form][settings][decimal_separator]" => $decimal_separator,
"fields[{$float_field}][settings_edit_form][settings][thousand_separator]" => $thousand_separator,
];
foreach ($edit as $name => $value) {
$page->fillField($name, $value);
}
$page->pressButton("${float_field}_plugin_settings_update");
$page->pressButton("{$float_field}_plugin_settings_update");
$assert_session->waitForElement('css', '.field-plugin-summary-cell > .ajax-new-content');
$this->submitForm([], 'Save');
@ -165,16 +165,16 @@ class NumberFieldTest extends WebDriverTestBase {
$thousand_separator = $thousand_separators[array_rand($thousand_separators)];
$page = $this->getSession()->getPage();
$page->pressButton("${integer_field}_settings_edit");
$page->pressButton("{$integer_field}_settings_edit");
$assert_session->waitForElement('css', '.ajax-new-content');
$edit = [
"fields[${integer_field}][settings_edit_form][settings][prefix_suffix]" => FALSE,
"fields[${integer_field}][settings_edit_form][settings][thousand_separator]" => $thousand_separator,
"fields[{$integer_field}][settings_edit_form][settings][prefix_suffix]" => FALSE,
"fields[{$integer_field}][settings_edit_form][settings][thousand_separator]" => $thousand_separator,
];
foreach ($edit as $name => $value) {
$page->fillField($name, $value);
}
$page->pressButton("${integer_field}_plugin_settings_update");
$page->pressButton("{$integer_field}_plugin_settings_update");
$assert_session->waitForElement('css', '.field-plugin-summary-cell > .ajax-new-content');
$this->submitForm([], 'Save');

View File

@ -184,9 +184,9 @@ class FileFieldWidgetTest extends WebDriverTestBase {
}
/**
* Tests uploading more files then allowed at once.
* Tests uploading more files than allowed at once.
*/
public function testUploadingMoreFilesThenAllowed() {
public function testUploadingMoreFilesThanAllowed() {
$type_name = 'article';
$field_name = 'test_file_field_1';
$cardinality = 2;

View File

@ -83,6 +83,7 @@ abstract class FilterFormatResourceTestBase extends ConfigEntityResourceTestBase
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -22,7 +22,6 @@ class ForumNodeAccessTest extends BrowserTestBase {
'comment',
'forum',
'taxonomy',
'tracker',
'node_access_test',
'block',
];

View File

@ -7,5 +7,5 @@ related:
---
{% set help_topic_link = render_var(help_topic_link('help_topics_test.test_urls')) %}
<p>{% trans %}This is a test. It should link to the URL test topic {{ help_topic_link }}. Also there should be a related topic link below to the Help module topic page and the linked topic.{% endtrans %}</p>
<p>{% trans %}Nonworditem totranslate.{% endtrans %}</p>
<p>{% trans %}Non-word-item to translate.{% endtrans %}</p>
<p>{% trans %}Test translation.{% endtrans %}</p>

View File

@ -8,6 +8,8 @@ use Drupal\Core\Url;
use Drupal\Core\Link;
use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
// cspell:ignore asdrsad barmm foomm sqruct wcsrefsdf sdeeeee
/**
* Provides a searchable help section for testing.
*
@ -47,13 +49,13 @@ class TestHelpSection extends HelpSectionPluginBase implements SearchableHelpInt
if ($language->getId() == 'en') {
return [
'title' => 'Foo in English title wcsrefsdf',
'text' => 'Something about foo body notawordenglish sqruct',
'text' => 'Something about foo body not-a-word-english sqruct',
'url' => Url::fromUri('https://foo.com'),
];
}
return [
'title' => 'Foomm Foreign heading',
'text' => 'Fake foreign foo text notawordgerman asdrsad',
'text' => 'Fake foreign foo text not-a-word-german asdrsad',
'url' => Url::fromUri('https://mm.foo.com'),
];
@ -61,13 +63,13 @@ class TestHelpSection extends HelpSectionPluginBase implements SearchableHelpInt
if ($language->getId() == 'en') {
return [
'title' => 'Bar in English',
'text' => 'Something about bar anotherwordenglish asdrsad',
'text' => 'Something about bar another-word-english asdrsad',
'url' => Url::fromUri('https://bar.com'),
];
}
return [
'title' => \Drupal::state()->get('help_topics_test:translated_title', 'Barmm Foreign sdeeeee'),
'text' => 'Fake foreign barmm anotherwordgerman sqruct',
'text' => 'Fake foreign barmm another-word-german sqruct',
'url' => Url::fromUri('https://mm.bar.com'),
];

View File

@ -5,6 +5,9 @@ namespace Drupal\Tests\help_topics\Functional;
use Drupal\Tests\Traits\Core\CronRunTrait;
use Drupal\help_topics\Plugin\Search\HelpSearch;
// cspell:ignore asdrsad barmm foomm hilfetestmodul sdeeeee sqruct
// cspell:ignore wcsrefsdf übersetzung
/**
* Verifies help topic search.
*
@ -63,7 +66,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// Before running cron, verify that a search returns no results and shows
// warning.
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search');
$this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0);
$this->assertSession()->statusMessageContains('Help search is not fully indexed', 'warning');
@ -83,7 +86,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
$this->assertSession()->pageTextContains('100% of the site has been indexed');
// Search and verify there is no warning.
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search');
$this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(1);
$this->assertSession()->statusMessageNotContains('Help search is not fully indexed');
}
@ -100,26 +103,26 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// by the topics that come from
// \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection.
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search');
$this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('Foo in English title wcsrefsdf');
// Same for German.
$this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'notawordgerman'], 'Search');
$this->submitForm(['keys' => 'not-a-word-german'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('Foomm Foreign heading');
// Verify when we search in English for a word that only exists in German,
// we get no results.
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordgerman'], 'Search');
$this->submitForm(['keys' => 'not-a-word-german'], 'Search');
$this->assertSearchResultsCount(0);
$session->pageTextContains('no results');
// Same for German.
$this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'notawordenglish'], 'Search');
$this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0);
$session->pageTextContains('no results');
@ -141,7 +144,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// that we can search for translated regular help topics, in both English
// and German.
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search');
$this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module');
// Click the link and verify we ended up on the topic page.
@ -149,7 +152,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
$session->pageTextContains('This is a test');
$this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'nonwordgerman'], 'Search');
$this->submitForm(['keys' => 'non-word-german'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('ABC-Hilfetestmodul');
$this->clickLink('ABC-Hilfetestmodul');
@ -158,13 +161,13 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// Verify that we can search from the admin/help page.
$this->drupalGet('admin/help');
$session->pageTextContains('Search help');
$this->submitForm(['keys' => 'nonworditem'], 'Search');
$this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module');
// Same for German.
$this->drupalGet('admin/help', ['language' => $german]);
$this->submitForm(['keys' => 'nonwordgerman'], 'Search');
$this->submitForm(['keys' => 'non-word-german'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('ABC-Hilfetestmodul');
@ -228,12 +231,12 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
$session->pageTextContains('Search help');
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search');
$this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module');
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search');
$this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0);
$session->pageTextContains('no results');
@ -241,7 +244,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// searchable.
\Drupal::service('module_installer')->uninstall(['help_topics_test']);
$this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search');
$this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(0);
}

View File

@ -4,6 +4,8 @@ namespace Drupal\Tests\help_topics\Functional;
use Drupal\Tests\BrowserTestBase;
// cspell:ignore hilfetestmodul übersetzung
/**
* Provides a base class for functional help topic tests that use translation.
*
@ -73,8 +75,8 @@ msgstr "ABC-Hilfetestmodul"
msgid "Test translation."
msgstr "Übersetzung testen."
msgid "Nonworditem totranslate."
msgstr "Nonwordgerman sdfwedrsdf."
msgid "Non-word-item to translate."
msgstr "Non-word-german sdfwedrsdf."
ENDPO;
include_once $this->root . '/core/includes/install.core.inc';

View File

@ -2,6 +2,8 @@
namespace Drupal\Tests\help_topics\Functional;
// cspell:ignore hilfetestmodul übersetzung
/**
* Verifies help topic translations.
*

View File

@ -99,6 +99,7 @@ abstract class ImageStyleResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -112,6 +112,7 @@ class ActionTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -123,6 +123,7 @@ class BaseFieldOverrideTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -103,6 +103,7 @@ class BlockContentTypeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -136,6 +136,7 @@ class BlockTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update once https://www.drupal.org/node/2300677 is fixed.
return [];
}
/**

View File

@ -104,6 +104,7 @@ class CommentTypeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -116,6 +116,7 @@ class ConfigTestTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -105,6 +105,7 @@ class ConfigurableLanguageTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -112,6 +112,7 @@ class ContactFormTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -116,6 +116,7 @@ class ContentLanguageSettingsTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -108,6 +108,7 @@ class DateFormatTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -156,6 +156,7 @@ class EditorTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -173,6 +173,7 @@ class EntityFormDisplayTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -106,6 +106,7 @@ class EntityFormModeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -127,6 +127,7 @@ class EntityViewDisplayTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -106,6 +106,7 @@ class EntityViewModeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -133,6 +133,7 @@ class FieldConfigTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -112,6 +112,7 @@ class FieldStorageConfigTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -5,6 +5,7 @@ namespace Drupal\Tests\jsonapi\Functional;
use Drupal\Component\Render\PlainTextOutput;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Url;
use Drupal\entity_test\Entity\EntityTest;
@ -775,6 +776,7 @@ class FileUploadTest extends ResourceTestBase {
case 'PATCH':
return "The current user is not permitted to upload a file for this field. The 'administer entity_test content' permission is required.";
}
return '';
}
/**
@ -927,6 +929,7 @@ class FileUploadTest extends ResourceTestBase {
protected function getExpectedUnauthorizedAccessCacheability() {
// There is cacheability metadata to check as file uploads only allows POST
// requests, which will not return cacheable responses.
return new CacheableMetadata();
}
}

View File

@ -120,6 +120,7 @@ class FilterFormatTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -130,6 +130,7 @@ class ImageStyleTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -110,6 +110,7 @@ class MediaTypeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -106,6 +106,7 @@ class MenuTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -265,6 +265,7 @@ class NodeTest extends ResourceTestBase {
case 'DELETE':
return "The 'access content' permission is required.";
}
return '';
}
/**

View File

@ -106,6 +106,7 @@ class NodeTypeTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -148,6 +148,7 @@ class RdfMappingTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -142,6 +142,7 @@ class ResponsiveImageStyleTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -2,6 +2,7 @@
namespace Drupal\Tests\jsonapi\Functional;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Url;
use Drupal\node\Entity\Node;
use Drupal\node\Entity\NodeType;
@ -117,11 +118,15 @@ class RestJsonApiUnsupported extends ResourceTestBase {
/**
* {@inheritdoc}
*/
protected function getExpectedUnauthorizedAccessMessage($method) {}
protected function getExpectedUnauthorizedAccessMessage($method) {
return '';
}
/**
* {@inheritdoc}
*/
protected function getExpectedUnauthorizedAccessCacheability() {}
protected function getExpectedUnauthorizedAccessCacheability() {
return (new CacheableMetadata());
}
}

View File

@ -126,6 +126,7 @@ class RestResourceConfigTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -101,6 +101,7 @@ class RoleTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -119,6 +119,7 @@ class SearchPageTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -123,6 +123,7 @@ class ShortcutSetTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -131,6 +131,7 @@ class TourTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -121,6 +121,7 @@ class ViewTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -100,6 +100,7 @@ class VocabularyTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -126,6 +126,7 @@ class WorkflowTest extends ConfigEntityResourceTestBase {
*/
protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -0,0 +1,94 @@
<?php
namespace Drupal\Tests\language\Functional;
use Drupal\Core\Language\LanguageInterface;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationBrowser;
use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationSelected;
use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationSession;
use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl;
use Drupal\Tests\BrowserTestBase;
/**
* Tests the session language negotiation method.
*
* @group language
*/
class LanguageNegotiationSessionTest extends BrowserTestBase {
/**
* An administrative user to configure the test environment.
*
* @var \Drupal\user\Entity\User
*/
protected $adminUser;
/**
* {@inheritdoc}
*/
protected static $modules = ['language'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setUp();
// Create a new user with permission to manage the languages.
$this->adminUser = $this->drupalCreateUser(['administer languages']);
$this->drupalLogin($this->adminUser);
ConfigurableLanguage::createFromLangcode('fr')->save();
}
/**
* Tests language negotiation via query/session parameters.
*/
public function testSessionLanguageNegotiationMethod() {
$this->drupalGet('admin/config/regional/language/detection');
// Enable Session and Selected language for interface language detection.
$config = $this->config('language.types');
$config->set('configurable', [LanguageInterface::TYPE_INTERFACE]);
$config->set('negotiation.language_interface.enabled', [
LanguageNegotiationSession::METHOD_ID => -6,
LanguageNegotiationSelected::METHOD_ID => 12,
]);
$config->set('negotiation.language_interface.method_weights', [
'language-user-admin' => -10,
LanguageNegotiationUrl::METHOD_ID => -8,
LanguageNegotiationSession::METHOD_ID => -6,
'language-user' => -4,
LanguageNegotiationBrowser::METHOD_ID => -2,
LanguageNegotiationSelected::METHOD_ID => 12,
]);
$config->save();
// Set language via query parameter.
$this->drupalGet('user/' . $this->adminUser->id(), ['query' => ['language' => 'fr']]);
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->responseHeaderEquals('Content-language', 'fr');
// Verify that the language is persisted in the session.
$this->drupalGet('user/' . $this->adminUser->id());
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->responseHeaderEquals('Content-language', 'fr');
// Set language via query parameter.
$this->drupalGet('user/' . $this->adminUser->id(), ['query' => ['language' => 'en']]);
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->responseHeaderEquals('Content-language', 'en');
// Verify that the language is persisted in the session.
$this->drupalGet('admin/config/regional/language');
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->responseHeaderEquals('Content-language', 'en');
}
}

View File

@ -73,6 +73,7 @@ abstract class ConfigurableLanguageResourceTestBase extends ConfigEntityResource
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -77,6 +77,7 @@ abstract class ContentLanguageSettingsResourceTestBase extends ConfigEntityResou
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -43,56 +43,77 @@ class TestStateBasedSectionStorage extends SectionStorageBase {
/**
* {@inheritdoc}
*/
public function access($operation, AccountInterface $account = NULL, $return_as_object = FALSE) {}
public function access($operation, AccountInterface $account = NULL, $return_as_object = FALSE) {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
protected function getSectionList() {}
protected function getSectionList() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function getStorageId() {}
public function getStorageId() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function getSectionListFromId($id) {}
public function getSectionListFromId($id) {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function buildRoutes(RouteCollection $collection) {}
public function buildRoutes(RouteCollection $collection) {
}
/**
* {@inheritdoc}
*/
public function getRedirectUrl() {}
public function getRedirectUrl() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function getLayoutBuilderUrl($rel = 'view') {}
public function getLayoutBuilderUrl($rel = 'view') {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function extractIdFromRoute($value, $definition, $name, array $defaults) {}
public function extractIdFromRoute($value, $definition, $name, array $defaults) {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function deriveContextsFromRoute($value, $definition, $name, array $defaults) {}
public function deriveContextsFromRoute($value, $definition, $name, array $defaults) {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function label() {}
public function label() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function save() {}
public function save() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
}

View File

@ -3,6 +3,7 @@
namespace Drupal\Tests\layout_builder\Functional\Rest;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Url;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\ResourceTestBase;
@ -131,7 +132,9 @@ abstract class LayoutRestTestBase extends ResourceTestBase {
/**
* {@inheritdoc}
*/
protected function getExpectedUnauthorizedAccessCacheability() {}
protected function getExpectedUnauthorizedAccessCacheability() {
return (new CacheableMetadata());
}
/**
* Gets the decoded contents.

View File

@ -73,6 +73,7 @@ abstract class MediaTypeResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

View File

@ -225,12 +225,16 @@ class TestSqlBase extends SqlBase {
/**
* {@inheritdoc}
*/
public function getIds() {}
public function getIds() {
return [];
}
/**
* {@inheritdoc}
*/
public function fields() {}
public function fields() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}

View File

@ -220,12 +220,16 @@ class TestSqlBase extends SqlBase {
/**
* {@inheritdoc}
*/
public function fields() {}
public function fields() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}
*/
public function query() {}
public function query() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**
* {@inheritdoc}

View File

@ -32,6 +32,7 @@ class TestMigrateExecutable extends MigrateExecutable {
*/
public function setStringTranslation(TranslationInterface $string_translation) {
$this->stringTranslation = $string_translation;
return $this;
}
/**

View File

@ -184,6 +184,7 @@ class TestDrupalSqlBase extends DrupalSqlBase {
* {@inheritdoc}
*/
public function query() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/**

View File

@ -44,24 +44,28 @@ class IdConflictTest extends MigrateUpgradeExecuteTestBase {
* {@inheritdoc}
*/
protected function getEntityCounts() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEntityCountsIncremental() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [];
}
/**

View File

@ -51,24 +51,28 @@ class NodeClassicTest extends MigrateUpgradeExecuteTestBase {
* {@inheritdoc}
*/
protected function getEntityCounts() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEntityCountsIncremental() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [];
}
/**

View File

@ -287,30 +287,35 @@ class FilePathTest extends MigrateUpgradeTestBase {
* {@inheritdoc}
*/
protected function getEntityCounts() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEntityCountsIncremental() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getSourceBasePath() {
return '';
}
}

View File

@ -44,24 +44,28 @@ class IdConflictTest extends MigrateUpgradeExecuteTestBase {
* {@inheritdoc}
*/
protected function getEntityCounts() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEntityCountsIncremental() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [];
}
/**

View File

@ -74,6 +74,7 @@ abstract class NodeTypeResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -119,7 +119,6 @@ class QuickEditIntegrationTest extends QuickEditJavascriptTestBase {
* Tests if an article node can be in-place edited with Quick Edit.
*/
public function testArticleNode() {
$this->markTestSkipped();
$term = Term::create([
'name' => 'foo',
'vid' => 'tags',
@ -138,6 +137,17 @@ class QuickEditIntegrationTest extends QuickEditJavascriptTestBase {
],
]);
// Move "tags" field to the top of all fields, so its Quick Edit Toolbar
// won't overlap any Quick Edit-able fields, which causes (semi-)random test
// failures.
\Drupal::entityTypeManager()
->getStorage('entity_view_display')
->load('node.article.default')
->setComponent('field_tags', [
'type' => 'entity_reference_label',
'weight' => 0,
])->save();
$this->drupalGet('node/' . $node->id());
// Initial state.

View File

@ -111,6 +111,7 @@ abstract class RdfMappingResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -117,6 +117,7 @@ abstract class ResponsiveImageStyleResourceTestBase extends ConfigEntityResource
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -4,6 +4,7 @@ namespace Drupal\Tests\rest\Functional;
use Drupal\Component\Render\PlainTextOutput;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Url;
use Drupal\entity_test\Entity\EntityTest;
@ -819,6 +820,7 @@ abstract class FileUploadResourceTestBase extends ResourceTestBase {
protected function getExpectedUnauthorizedAccessCacheability() {
// There is cacheability metadata to check as file uploads only allows POST
// requests, which will not return cacheable responses.
return new CacheableMetadata();
}
}

View File

@ -501,6 +501,8 @@ abstract class ResourceTestBase extends BrowserTestBase {
static::recursiveKSort($value);
}
}
return $array;
}
}

View File

@ -89,6 +89,7 @@ abstract class RestResourceConfigResourceTestBase extends ConfigEntityResourceTe
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -80,6 +80,7 @@ abstract class SearchPageResourceTestBase extends ConfigEntityResourceTestBase {
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -284,15 +284,4 @@ class SettingsTrayBlockFormTest extends SettingsTrayTestBase {
}
}
/**
* {@inheritdoc}
*/
protected function getTestThemes() {
// Remove 'seven' theme. Setting Tray "Edit Mode" will not work with 'seven'
// because it removes all contextual links the off-canvas dialog should.
return array_filter(parent::getTestThemes(), function ($theme) {
return $theme !== 'seven';
});
}
}

View File

@ -83,6 +83,7 @@ abstract class ShortcutSetResourceTestBase extends ConfigEntityResourceTestBase
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
/**

View File

@ -68,6 +68,7 @@ abstract class EntityTestBundleResourceTestBase extends ConfigEntityResourceTest
*/
protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677.
return [];
}
}

Some files were not shown because too many files have changed in this diff Show More