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": "^1.2",
"drupal/entity_clone": "^1.0@beta", "drupal/entity_clone": "^1.0@beta",
"drupal/eu_cookie_compliance": "^1.14", "drupal/eu_cookie_compliance": "^1.14",
"drupal/examples": "^3.0",
"drupal/google_analytics": "^3.1", "drupal/google_analytics": "^3.1",
"drupal/google_cse": "^3.4", "drupal/google_cse": "^3.4",
"drupal/google_tag": "^1.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", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "0967cb53f7f9406db2fbb1e84150f787", "content-hash": "72c5de94f8c271ecc9ad71e8c75d22d7",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -813,16 +813,16 @@
}, },
{ {
"name": "drupal/core", "name": "drupal/core",
"version": "9.4.0", "version": "9.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core.git", "url": "https://github.com/drupal/core.git",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004" "reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/144db3a317317c4c2fb7d97ee62962a0b3647004", "url": "https://api.github.com/repos/drupal/core/zipball/81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004", "reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -844,7 +844,7 @@
"ext-spl": "*", "ext-spl": "*",
"ext-tokenizer": "*", "ext-tokenizer": "*",
"ext-xml": "*", "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-diactoros": "^2.11",
"laminas/laminas-feed": "^2.17", "laminas/laminas-feed": "^2.17",
"masterminds/html5": "^2.7", "masterminds/html5": "^2.7",
@ -1065,22 +1065,22 @@
], ],
"description": "Drupal is an open source content management platform powering millions of websites and applications.", "description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": { "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", "name": "drupal/core-composer-scaffold",
"version": "9.4.0", "version": "9.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git", "url": "https://github.com/drupal/core-composer-scaffold.git",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa" "reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa", "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa", "reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1115,13 +1115,13 @@
"drupal" "drupal"
], ],
"support": { "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", "name": "drupal/core-project-message",
"version": "9.4.0", "version": "9.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-project-message.git", "url": "https://github.com/drupal/core-project-message.git",
@ -1156,22 +1156,22 @@
"drupal" "drupal"
], ],
"support": { "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" "time": "2022-02-24T17:40:53+00:00"
}, },
{ {
"name": "drupal/core-recommended", "name": "drupal/core-recommended",
"version": "9.4.0", "version": "9.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-recommended.git", "url": "https://github.com/drupal/core-recommended.git",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa" "reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa", "url": "https://api.github.com/repos/drupal/core-recommended/zipball/a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa", "reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1180,11 +1180,11 @@
"doctrine/annotations": "~1.13.2", "doctrine/annotations": "~1.13.2",
"doctrine/lexer": "~1.2.3", "doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3", "doctrine/reflection": "~1.2.3",
"drupal/core": "9.4.0", "drupal/core": "9.4.1",
"egulias/email-validator": "~3.2", "egulias/email-validator": "~3.2",
"guzzlehttp/guzzle": "~6.5.7", "guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.1", "guzzlehttp/promises": "~1.5.1",
"guzzlehttp/psr7": "~1.8.5", "guzzlehttp/psr7": "~1.9.0",
"laminas/laminas-diactoros": "~2.11.0", "laminas/laminas-diactoros": "~2.11.0",
"laminas/laminas-escaper": "~2.9.0", "laminas/laminas-escaper": "~2.9.0",
"laminas/laminas-feed": "~2.17.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.", "description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": { "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", "name": "drupal/ctools",
@ -1599,122 +1599,6 @@
"slack": "https://app.slack.com/client/T06GX3JTS/C012XBTH81E" "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", "name": "drupal/google_analytics",
"version": "3.1.0", "version": "3.1.0",
@ -3931,16 +3815,16 @@
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
"version": "3.2", "version": "3.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/egulias/EmailValidator.git", "url": "https://github.com/egulias/EmailValidator.git",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286" "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/a5ed8d58ed0c340a7c2109f587951b1c84cf6286", "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286", "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3987,7 +3871,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/egulias/EmailValidator/issues", "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": [ "funding": [
{ {
@ -3995,28 +3879,28 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-05-28T22:19:18+00:00" "time": "2022-06-18T20:57:19+00:00"
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "6.5.7", "version": "6.5.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "724562fa861e21a4071c652c8a159934e4f05592" "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/724562fa861e21a4071c652c8a159934e4f05592", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981",
"reference": "724562fa861e21a4071c652c8a159934e4f05592", "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.0", "guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1", "guzzlehttp/psr7": "^1.9",
"php": ">=5.5", "php": ">=5.5",
"symfony/polyfill-intl-idn": "^1.17.0" "symfony/polyfill-intl-idn": "^1.17"
}, },
"require-dev": { "require-dev": {
"ext-curl": "*", "ext-curl": "*",
@ -4094,7 +3978,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "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": [ "funding": [
{ {
@ -4110,7 +3994,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-09T21:36:50+00:00" "time": "2022-06-20T22:16:07+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
@ -4198,16 +4082,16 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "1.8.5", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268", "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268", "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4228,7 +4112,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.7-dev" "dev-master": "1.9-dev"
} }
}, },
"autoload": { "autoload": {
@ -4288,7 +4172,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "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": [ "funding": [
{ {
@ -4304,7 +4188,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-03-20T21:51:18+00:00" "time": "2022-06-20T21:43:03+00:00"
}, },
{ {
"name": "laminas/laminas-diactoros", "name": "laminas/laminas-diactoros",

View File

@ -833,17 +833,17 @@
}, },
{ {
"name": "drupal/core", "name": "drupal/core",
"version": "9.4.0", "version": "9.4.1",
"version_normalized": "9.4.0.0", "version_normalized": "9.4.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core.git", "url": "https://github.com/drupal/core.git",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004" "reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/144db3a317317c4c2fb7d97ee62962a0b3647004", "url": "https://api.github.com/repos/drupal/core/zipball/81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"reference": "144db3a317317c4c2fb7d97ee62962a0b3647004", "reference": "81489e8f0d5fdcd5d502b561f0f8cdf5ccdda614",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -865,7 +865,7 @@
"ext-spl": "*", "ext-spl": "*",
"ext-tokenizer": "*", "ext-tokenizer": "*",
"ext-xml": "*", "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-diactoros": "^2.11",
"laminas/laminas-feed": "^2.17", "laminas/laminas-feed": "^2.17",
"masterminds/html5": "^2.7", "masterminds/html5": "^2.7",
@ -1014,7 +1014,7 @@
"drupal/workflows": "self.version", "drupal/workflows": "self.version",
"drupal/workspaces": "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", "type": "drupal-core",
"extra": { "extra": {
"drupal-scaffold": { "drupal-scaffold": {
@ -1088,23 +1088,23 @@
], ],
"description": "Drupal is an open source content management platform powering millions of websites and applications.", "description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": { "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" "install-path": "../../web/core"
}, },
{ {
"name": "drupal/core-composer-scaffold", "name": "drupal/core-composer-scaffold",
"version": "9.4.0", "version": "9.4.1",
"version_normalized": "9.4.0.0", "version_normalized": "9.4.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git", "url": "https://github.com/drupal/core-composer-scaffold.git",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa" "reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa", "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"reference": "3286dbf43922b4eb8b51ef55572aa8f2e78ba7aa", "reference": "5f37a9e4008b34e3e4f6bb34ce0b3f7e5ec8984f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1117,7 +1117,7 @@
"require-dev": { "require-dev": {
"composer/composer": "^1.8@stable" "composer/composer": "^1.8@stable"
}, },
"time": "2022-02-24T17:40:53+00:00", "time": "2022-06-19T16:14:23+00:00",
"type": "composer-plugin", "type": "composer-plugin",
"extra": { "extra": {
"class": "Drupal\\Composer\\Plugin\\Scaffold\\Plugin", "class": "Drupal\\Composer\\Plugin\\Scaffold\\Plugin",
@ -1141,14 +1141,14 @@
"drupal" "drupal"
], ],
"support": { "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" "install-path": "../drupal/core-composer-scaffold"
}, },
{ {
"name": "drupal/core-project-message", "name": "drupal/core-project-message",
"version": "9.4.0", "version": "9.4.1",
"version_normalized": "9.4.0.0", "version_normalized": "9.4.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-project-message.git", "url": "https://github.com/drupal/core-project-message.git",
@ -1185,23 +1185,23 @@
"drupal" "drupal"
], ],
"support": { "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" "install-path": "../drupal/core-project-message"
}, },
{ {
"name": "drupal/core-recommended", "name": "drupal/core-recommended",
"version": "9.4.0", "version": "9.4.1",
"version_normalized": "9.4.0.0", "version_normalized": "9.4.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-recommended.git", "url": "https://github.com/drupal/core-recommended.git",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa" "reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa", "url": "https://api.github.com/repos/drupal/core-recommended/zipball/a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"reference": "bacfdd46a0ebef9bbd88362aaede3f2eeb2da9fa", "reference": "a3ae54715ba7792fe596c2f6a73dfcef217b0577",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1210,11 +1210,11 @@
"doctrine/annotations": "~1.13.2", "doctrine/annotations": "~1.13.2",
"doctrine/lexer": "~1.2.3", "doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3", "doctrine/reflection": "~1.2.3",
"drupal/core": "9.4.0", "drupal/core": "9.4.1",
"egulias/email-validator": "~3.2", "egulias/email-validator": "~3.2",
"guzzlehttp/guzzle": "~6.5.7", "guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.1", "guzzlehttp/promises": "~1.5.1",
"guzzlehttp/psr7": "~1.8.5", "guzzlehttp/psr7": "~1.9.0",
"laminas/laminas-diactoros": "~2.11.0", "laminas/laminas-diactoros": "~2.11.0",
"laminas/laminas-escaper": "~2.9.0", "laminas/laminas-escaper": "~2.9.0",
"laminas/laminas-feed": "~2.17.0", "laminas/laminas-feed": "~2.17.0",
@ -1265,7 +1265,7 @@
"conflict": { "conflict": {
"webflo/drupal-core-strict": "*" "webflo/drupal-core-strict": "*"
}, },
"time": "2022-06-15T16:34:03+00:00", "time": "2022-06-21T20:53:48+00:00",
"type": "metapackage", "type": "metapackage",
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -1273,7 +1273,7 @@
], ],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.", "description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": { "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 "install-path": null
}, },
@ -1649,125 +1649,6 @@
}, },
"install-path": "../../web/modules/contrib/eu_cookie_compliance" "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", "name": "drupal/google_analytics",
"version": "3.1.0", "version": "3.1.0",
@ -4139,17 +4020,17 @@
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
"version": "3.2", "version": "3.2.1",
"version_normalized": "3.2.0.0", "version_normalized": "3.2.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/egulias/EmailValidator.git", "url": "https://github.com/egulias/EmailValidator.git",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286" "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/a5ed8d58ed0c340a7c2109f587951b1c84cf6286", "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
"reference": "a5ed8d58ed0c340a7c2109f587951b1c84cf6286", "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4165,7 +4046,7 @@
"suggest": { "suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" "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", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -4198,7 +4079,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/egulias/EmailValidator/issues", "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": [ "funding": [
{ {
@ -4210,25 +4091,25 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "6.5.7", "version": "6.5.8",
"version_normalized": "6.5.7.0", "version_normalized": "6.5.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "724562fa861e21a4071c652c8a159934e4f05592" "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/724562fa861e21a4071c652c8a159934e4f05592", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981",
"reference": "724562fa861e21a4071c652c8a159934e4f05592", "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.0", "guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1", "guzzlehttp/psr7": "^1.9",
"php": ">=5.5", "php": ">=5.5",
"symfony/polyfill-intl-idn": "^1.17.0" "symfony/polyfill-intl-idn": "^1.17"
}, },
"require-dev": { "require-dev": {
"ext-curl": "*", "ext-curl": "*",
@ -4238,7 +4119,7 @@
"suggest": { "suggest": {
"psr/log": "Required for using the Log middleware" "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", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -4308,7 +4189,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "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": [ "funding": [
{ {
@ -4415,17 +4296,17 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "1.8.5", "version": "1.9.0",
"version_normalized": "1.8.5.0", "version_normalized": "1.9.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268", "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268", "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4443,11 +4324,11 @@
"suggest": { "suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "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", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.7-dev" "dev-master": "1.9-dev"
} }
}, },
"installation-source": "dist", "installation-source": "dist",
@ -4508,7 +4389,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "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": [ "funding": [
{ {

View File

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

View File

@ -92,8 +92,7 @@ class ReplaceOp extends AbstractOperation {
protected function copyScaffold(ScaffoldFilePath $destination, IOInterface $io) { protected function copyScaffold(ScaffoldFilePath $destination, IOInterface $io) {
$interpolator = $destination->getInterpolator(); $interpolator = $destination->getInterpolator();
$this->source->addInterpolationData($interpolator); $this->source->addInterpolationData($interpolator);
$success = file_put_contents($destination->fullPath(), $this->contents()); if (file_put_contents($destination->fullPath(), $this->contents()) === FALSE) {
if (!$success) {
throw new \RuntimeException($interpolator->interpolate("Could not copy source file <info>[src-rel-path]</info> to <info>[dest-rel-path]</info>!")); 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>")); $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; $encoded = $value;
if (mb_detect_encoding($value, 'auto', true) !== 'UTF-8') { 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)) { if ($this->isValid($encoded)) {

View File

@ -292,7 +292,7 @@ class DomainPart extends PartParser
private function isLabelTooLong(string $label) : bool private function isLabelTooLong(string $label) : bool
{ {
if (preg_match('/[^\x00-\x7F]/', $label)) { 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 (bool) ($idnaInfo['errors'] & IDNA_ERROR_LABEL_TOO_LONG);
} }
return strlen($label) > self::LABEL_MAX_LENGTH; return strlen($label) > self::LABEL_MAX_LENGTH;

View File

@ -1,5 +1,10 @@
# Change Log # 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 ## 6.5.7 - 2022-06-09
* Fix failure to strip Authorization header on HTTP downgrade * 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) [![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) [![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 ## Help and docs
- [Documentation](http://guzzlephp.org/) We use GitHub issues only to discuss bugs and new features. For support please refer to:
- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle)
- [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) - [Gitter](https://gitter.im/guzzle/guzzle)
## Installing Guzzle ## Installing Guzzle
The recommended way to install Guzzle is through The recommended way to install Guzzle is through
[Composer](http://getcomposer.org). [Composer](https://getcomposer.org/).
```bash ```bash
# Install Composer # Install Composer
@ -87,7 +91,7 @@ composer update
[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3 [guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3
[guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5 [guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5
[guzzle-7-repo]: https://github.com/guzzle/guzzle [guzzle-7-repo]: https://github.com/guzzle/guzzle
[guzzle-3-docs]: http://guzzle3.readthedocs.org [guzzle-3-docs]: https://guzzle3.readthedocs.io/
[guzzle-5-docs]: http://docs.guzzlephp.org/en/5.3/ [guzzle-5-docs]: https://docs.guzzlephp.org/en/5.3/
[guzzle-6-docs]: http://docs.guzzlephp.org/en/6.5/ [guzzle-6-docs]: https://docs.guzzlephp.org/en/6.5/
[guzzle-7-docs]: http://docs.guzzlephp.org/en/latest/ [guzzle-7-docs]: https://docs.guzzlephp.org/en/latest/

View File

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

View File

@ -94,6 +94,14 @@ class RedirectMiddleware
$this->guardMax($request, $options); $this->guardMax($request, $options);
$nextRequest = $this->modifyRequest($request, $options, $response); $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'])) { if (isset($options['allow_redirects']['on_redirect'])) {
call_user_func( call_user_func(
$options['allow_redirects']['on_redirect'], $options['allow_redirects']['on_redirect'],
@ -210,8 +218,8 @@ class RedirectMiddleware
$modify['remove_headers'][] = 'Referer'; $modify['remove_headers'][] = 'Referer';
} }
// Remove Authorization and Cookie headers if required. // Remove Authorization and Cookie headers if URI is cross-origin.
if (self::shouldStripSensitiveHeaders($request->getUri(), $modify['uri'])) { if (Psr7\UriComparator::isCrossOrigin($request->getUri(), $modify['uri'])) {
$modify['remove_headers'][] = 'Authorization'; $modify['remove_headers'][] = 'Authorization';
$modify['remove_headers'][] = 'Cookie'; $modify['remove_headers'][] = 'Cookie';
} }
@ -219,31 +227,6 @@ class RedirectMiddleware
return Psr7\modify_request($request, $modify); 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. * 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. 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/) The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased ## Unreleased
## 1.9.0 - 2022-06-20
### Added
- Added `UriComparator::isCrossOrigin` method
## 1.8.5 - 2022-03-20 ## 1.8.5 - 2022-03-20
### Fixed ### Fixed

View File

@ -1,6 +1,6 @@
# PSR-7 Message Implementation # 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 message implementation, several stream decorators, and some helpful
functionality like query string parsing. 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` `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` ### `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 Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the
provided key are removed. 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 ## Reference Resolution
`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according `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. 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 ## 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. 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 ## License
Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information. Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
## For Enterprise ## For Enterprise
Available as part of the Tidelift Subscription Available as part of the Tidelift Subscription

View File

@ -63,7 +63,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.7-dev" "dev-master": "1.9-dev"
} }
}, },
"config": { "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", "twig/twig": "^2.15",
"doctrine/reflection": "^1.2", "doctrine/reflection": "^1.2",
"doctrine/annotations": "^1.13", "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", "symfony-cmf/routing": "^2.3",
"laminas/laminas-feed": "^2.17", "laminas/laminas-feed": "^2.17",
"stack/builder": "^1.0", "stack/builder": "^1.0",

View File

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

View File

@ -138,15 +138,11 @@ interface FormBuilderInterface {
* *
* For example: * For example:
* @code * @code
* // register a new user * // Set the administrator role to 'content_editor'.
* $values['user_admin_role'] = 'content_editor';
* $form_state = new FormState(); * $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); * $form_state->setValues($values);
* \Drupal::formBuilder()->submitForm('user_register_form', $form_state); * \Drupal::formBuilder()->submitForm(RoleSettingsForm::class, $form_state);
* @endcode * @endcode
* *
* @param \Drupal\Core\Form\FormInterface|string $form_arg * @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 * 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 * 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 * 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 * 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: * file, you might set the variable as something like:

View File

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

View File

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

View File

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

View File

@ -179,10 +179,8 @@ class CommentNonNodeTest extends BrowserTestBase {
$this->assertArrayHasKey(1, $match); $this->assertArrayHasKey(1, $match);
} }
if (isset($match[1])) {
return Comment::load($match[1]); return Comment::load($match[1]);
} }
}
/** /**
* Checks current page for specified comment. * Checks current page for specified comment.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,5 +7,5 @@ related:
--- ---
{% set help_topic_link = render_var(help_topic_link('help_topics_test.test_urls')) %} {% 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 %}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> <p>{% trans %}Test translation.{% endtrans %}</p>

View File

@ -8,6 +8,8 @@ use Drupal\Core\Url;
use Drupal\Core\Link; use Drupal\Core\Link;
use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase; use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
// cspell:ignore asdrsad barmm foomm sqruct wcsrefsdf sdeeeee
/** /**
* Provides a searchable help section for testing. * Provides a searchable help section for testing.
* *
@ -47,13 +49,13 @@ class TestHelpSection extends HelpSectionPluginBase implements SearchableHelpInt
if ($language->getId() == 'en') { if ($language->getId() == 'en') {
return [ return [
'title' => 'Foo in English title wcsrefsdf', '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'), 'url' => Url::fromUri('https://foo.com'),
]; ];
} }
return [ return [
'title' => 'Foomm Foreign heading', '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'), 'url' => Url::fromUri('https://mm.foo.com'),
]; ];
@ -61,13 +63,13 @@ class TestHelpSection extends HelpSectionPluginBase implements SearchableHelpInt
if ($language->getId() == 'en') { if ($language->getId() == 'en') {
return [ return [
'title' => 'Bar in English', 'title' => 'Bar in English',
'text' => 'Something about bar anotherwordenglish asdrsad', 'text' => 'Something about bar another-word-english asdrsad',
'url' => Url::fromUri('https://bar.com'), 'url' => Url::fromUri('https://bar.com'),
]; ];
} }
return [ return [
'title' => \Drupal::state()->get('help_topics_test:translated_title', 'Barmm Foreign sdeeeee'), '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'), '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\Tests\Traits\Core\CronRunTrait;
use Drupal\help_topics\Plugin\Search\HelpSearch; use Drupal\help_topics\Plugin\Search\HelpSearch;
// cspell:ignore asdrsad barmm foomm hilfetestmodul sdeeeee sqruct
// cspell:ignore wcsrefsdf übersetzung
/** /**
* Verifies help topic search. * Verifies help topic search.
* *
@ -63,7 +66,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// Before running cron, verify that a search returns no results and shows // Before running cron, verify that a search returns no results and shows
// warning. // warning.
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search'); $this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0); $this->assertSearchResultsCount(0);
$this->assertSession()->statusMessageContains('Help search is not fully indexed', 'warning'); $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'); $this->assertSession()->pageTextContains('100% of the site has been indexed');
// Search and verify there is no warning. // Search and verify there is no warning.
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search'); $this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$this->assertSession()->statusMessageNotContains('Help search is not fully indexed'); $this->assertSession()->statusMessageNotContains('Help search is not fully indexed');
} }
@ -100,26 +103,26 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// by the topics that come from // by the topics that come from
// \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection. // \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection.
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search'); $this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('Foo in English title wcsrefsdf'); $session->linkExists('Foo in English title wcsrefsdf');
// Same for German. // Same for German.
$this->drupalGet('search/help', ['language' => $german]); $this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'notawordgerman'], 'Search'); $this->submitForm(['keys' => 'not-a-word-german'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('Foomm Foreign heading'); $session->linkExists('Foomm Foreign heading');
// Verify when we search in English for a word that only exists in German, // Verify when we search in English for a word that only exists in German,
// we get no results. // we get no results.
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordgerman'], 'Search'); $this->submitForm(['keys' => 'not-a-word-german'], 'Search');
$this->assertSearchResultsCount(0); $this->assertSearchResultsCount(0);
$session->pageTextContains('no results'); $session->pageTextContains('no results');
// Same for German. // Same for German.
$this->drupalGet('search/help', ['language' => $german]); $this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'notawordenglish'], 'Search'); $this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0); $this->assertSearchResultsCount(0);
$session->pageTextContains('no results'); $session->pageTextContains('no results');
@ -141,7 +144,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// that we can search for translated regular help topics, in both English // that we can search for translated regular help topics, in both English
// and German. // and German.
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search'); $this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module'); $session->linkExists('ABC Help Test module');
// Click the link and verify we ended up on the topic page. // 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'); $session->pageTextContains('This is a test');
$this->drupalGet('search/help', ['language' => $german]); $this->drupalGet('search/help', ['language' => $german]);
$this->submitForm(['keys' => 'nonwordgerman'], 'Search'); $this->submitForm(['keys' => 'non-word-german'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('ABC-Hilfetestmodul'); $session->linkExists('ABC-Hilfetestmodul');
$this->clickLink('ABC-Hilfetestmodul'); $this->clickLink('ABC-Hilfetestmodul');
@ -158,13 +161,13 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// Verify that we can search from the admin/help page. // Verify that we can search from the admin/help page.
$this->drupalGet('admin/help'); $this->drupalGet('admin/help');
$session->pageTextContains('Search help'); $session->pageTextContains('Search help');
$this->submitForm(['keys' => 'nonworditem'], 'Search'); $this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module'); $session->linkExists('ABC Help Test module');
// Same for German. // Same for German.
$this->drupalGet('admin/help', ['language' => $german]); $this->drupalGet('admin/help', ['language' => $german]);
$this->submitForm(['keys' => 'nonwordgerman'], 'Search'); $this->submitForm(['keys' => 'non-word-german'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('ABC-Hilfetestmodul'); $session->linkExists('ABC-Hilfetestmodul');
@ -228,12 +231,12 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
$session->pageTextContains('Search help'); $session->pageTextContains('Search help');
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search'); $this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(1); $this->assertSearchResultsCount(1);
$session->linkExists('ABC Help Test module'); $session->linkExists('ABC Help Test module');
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'notawordenglish'], 'Search'); $this->submitForm(['keys' => 'not-a-word-english'], 'Search');
$this->assertSearchResultsCount(0); $this->assertSearchResultsCount(0);
$session->pageTextContains('no results'); $session->pageTextContains('no results');
@ -241,7 +244,7 @@ class HelpTopicSearchTest extends HelpTopicTranslatedTestBase {
// searchable. // searchable.
\Drupal::service('module_installer')->uninstall(['help_topics_test']); \Drupal::service('module_installer')->uninstall(['help_topics_test']);
$this->drupalGet('search/help'); $this->drupalGet('search/help');
$this->submitForm(['keys' => 'nonworditem'], 'Search'); $this->submitForm(['keys' => 'non-word-item'], 'Search');
$this->assertSearchResultsCount(0); $this->assertSearchResultsCount(0);
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -112,6 +112,7 @@ class FieldStorageConfigTest extends ConfigEntityResourceTestBase {
*/ */
protected function getPostDocument() { protected function getPostDocument() {
// @todo Update in https://www.drupal.org/node/2300677. // @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\Render\PlainTextOutput;
use Drupal\Component\Serialization\Json; use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Url; use Drupal\Core\Url;
use Drupal\entity_test\Entity\EntityTest; use Drupal\entity_test\Entity\EntityTest;
@ -775,6 +776,7 @@ class FileUploadTest extends ResourceTestBase {
case 'PATCH': 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 "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() { protected function getExpectedUnauthorizedAccessCacheability() {
// There is cacheability metadata to check as file uploads only allows POST // There is cacheability metadata to check as file uploads only allows POST
// requests, which will not return cacheable responses. // requests, which will not return cacheable responses.
return new CacheableMetadata();
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,56 +43,77 @@ class TestStateBasedSectionStorage extends SectionStorageBase {
/** /**
* {@inheritdoc} * {@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} * {@inheritdoc}
*/ */
protected function getSectionList() {} protected function getSectionList() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getStorageId() {} public function getStorageId() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getSectionListFromId($id) {} public function getSectionListFromId($id) {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function buildRoutes(RouteCollection $collection) {} public function buildRoutes(RouteCollection $collection) {
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getRedirectUrl() {} public function getRedirectUrl() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getLayoutBuilderUrl($rel = 'view') {} public function getLayoutBuilderUrl($rel = 'view') {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@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} * {@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} * {@inheritdoc}
*/ */
public function label() {} public function label() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
/** /**
* {@inheritdoc} * {@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; namespace Drupal\Tests\layout_builder\Functional\Rest;
use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Url; use Drupal\Core\Url;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait; use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\ResourceTestBase; use Drupal\Tests\rest\Functional\ResourceTestBase;
@ -131,7 +132,9 @@ abstract class LayoutRestTestBase extends ResourceTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function getExpectedUnauthorizedAccessCacheability() {} protected function getExpectedUnauthorizedAccessCacheability() {
return (new CacheableMetadata());
}
/** /**
* Gets the decoded contents. * Gets the decoded contents.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -74,6 +74,7 @@ abstract class NodeTypeResourceTestBase extends ConfigEntityResourceTestBase {
*/ */
protected function getNormalizedPostEntity() { protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677. // @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. * Tests if an article node can be in-place edited with Quick Edit.
*/ */
public function testArticleNode() { public function testArticleNode() {
$this->markTestSkipped();
$term = Term::create([ $term = Term::create([
'name' => 'foo', 'name' => 'foo',
'vid' => 'tags', '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()); $this->drupalGet('node/' . $node->id());
// Initial state. // Initial state.

View File

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

View File

@ -117,6 +117,7 @@ abstract class ResponsiveImageStyleResourceTestBase extends ConfigEntityResource
*/ */
protected function getNormalizedPostEntity() { protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677. // @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\Render\PlainTextOutput;
use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Url; use Drupal\Core\Url;
use Drupal\entity_test\Entity\EntityTest; use Drupal\entity_test\Entity\EntityTest;
@ -819,6 +820,7 @@ abstract class FileUploadResourceTestBase extends ResourceTestBase {
protected function getExpectedUnauthorizedAccessCacheability() { protected function getExpectedUnauthorizedAccessCacheability() {
// There is cacheability metadata to check as file uploads only allows POST // There is cacheability metadata to check as file uploads only allows POST
// requests, which will not return cacheable responses. // requests, which will not return cacheable responses.
return new CacheableMetadata();
} }
} }

View File

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

View File

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

View File

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

View File

@ -68,6 +68,7 @@ abstract class EntityTestBundleResourceTestBase extends ConfigEntityResourceTest
*/ */
protected function getNormalizedPostEntity() { protected function getNormalizedPostEntity() {
// @todo Update in https://www.drupal.org/node/2300677. // @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