Skip to content
Snippets Groups Projects
Commit 293c5e52 authored by Björn Brala's avatar Björn Brala
Browse files

Issue #3448628: Automated Drupal 11 compatibility fixes for ckeditor_section

parent a68ab79d
No related branches found
No related tags found
1 merge request!2Resolve #3448628 "D11 fixes"
Pipeline #222655 passed
################
# GitLabCI template for Drupal projects.
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification.
# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your
# pipelines automatically. However, you can modify this template if you have additional needs for your project.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
################
# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/
# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- "/includes/include.drupalci.main.yml"
- "/includes/include.drupalci.variables.yml"
- "/includes/include.drupalci.workflows.yml"
################
# Pipeline configuration variables are defined with default values and descriptions in the file
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
# Uncomment the lines below if you want to override any of the variables. The following is just an example.
################
variables:
OPT_IN_TEST_PREVIOUS_MAJOR: 1
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_NEXT_MAJOR: 1
_CSPELL_WORDS: "sectioncommand,sectionediting,sectionui,SWIS"
SKIP_ESLINT: 1
section {
border-bottom: 5px dotted #ccc;
border-top: 5px dotted #ccc;
margin-bottom: 1.5rem;
border-top: 5px dotted #ccc;
border-bottom: 5px dotted #ccc;
}
section::before {
background: lightgray;
content: 'section';
position: relative;
z-index: 1;
display: block;
font-size: .75em;
font-variant: small-caps;
line-height: 1em;
width: 5rem;
margin-top: -0.75em;
margin-right: auto;
margin-top: -.75em;
position: relative;
content: "section";
text-align: center;
width: 5rem;
z-index: 1;
background: lightgray;
font-size: 0.75em;
font-variant: small-caps;
line-height: 1em;
}
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="drupal-project">
<description>Default PHP CodeSniffer configuration for Drupal project.</description>
<rule ref="vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/>
<arg name="extensions" value="php,inc,module,install,info,test,profile,theme"/>
<rule ref="vendor/drupal/coder/coder_sniffer/Drupal">
<!-- Way to much work to maintain useful documentation for custom code. -->
<exclude name="Drupal.Commenting.FileComment"/>
<exclude name="Drupal.Commenting.ClassComment"/>
<exclude name="Drupal.Commenting.FunctionComment"/>
<exclude name="Squiz.CSS.EmptyClassDefinition"/>
<exclude name="Drupal.Classes.UseGlobalClass"/>
</rule>
<rule ref="Drupal.Arrays.Array">
<properties>
<property name="lineLimit" value="120"/>
</properties>
</rule>
<rule ref="Drupal.Commenting.DocComment">
<exclude name="Drupal.Commenting.DocComment.MissingShort"/>
</rule>
<rule ref="Drupal.Commenting.VariableComment">
<exclude name="Drupal.Commenting.VariableComment.Missing"/>
</rule>
</ruleset>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment