Skip to content
Snippets Groups Projects
Verified Commit f2262b72 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3474292 by phenaproxima, iamcorekhan, catch, tedbow: Package Manager...

Issue #3474292 by phenaproxima, iamcorekhan, catch, tedbow: Package Manager should disallow cweagans/composer-patches by default
parent 2510e438
Branches
Tags
3 merge requests!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #489654 passed
Pipeline: drupal

#489655

    ......@@ -4,6 +4,7 @@
    "$defs": {
    "slotDefinition": {
    "type": "object",
    "additionalProperties": false,
    "patternProperties": {
    "^[a-zA-Z0-9_-]+$": {
    "type": "object",
    ......
    ......@@ -4,6 +4,7 @@
    "$defs": {
    "slotDefinition": {
    "type": "object",
    "additionalProperties": false,
    "patternProperties": {
    "^[a-zA-Z0-9_-]+$": {
    "type": "object",
    ......
    ......@@ -123,6 +123,19 @@ public static function dataProviderValidateDefinitionInvalid(): \Generator {
    ],
    ];
    yield 'invalid slot (type)' => [$cta_with_invalid_slot_type];
    $cta_with_invalid_slot_name = $valid_cta;
    $cta_with_invalid_slot_name['slots'] = [
    'valid_slot' => [
    'title' => 'Valid slot',
    'description' => 'Valid slot description',
    ],
    'invalid slot' => [
    'title' => 'Invalid slot',
    'description' => 'Slot name cannot have spaces',
    ],
    ];
    yield 'invalid slot (name with spaces)' => [$cta_with_invalid_slot_name];
    }
    /**
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment