Skip to content
Snippets Groups Projects
Verified Commit bb0fa107 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3262874 by Spokje, longwave, ankithashetty, catch, andypost: Update Coder to 8.3.15

parent 4a59d522
Branches
Tags
37 merge requests!7471uncessary 5 files are moved from media-library folder to misc folder,!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!54479.5.x SF update,!5014Issue #3071143: Table Render Array Example Is Incorrect,!4868Issue #1428520: Improve menu parent link selection,!4289Issue #1344552 by marcingy, Niklas Fiekas, Ravi.J, aleevas, Eduardo Morales...,!4114Issue #2707291: Disable body-level scrolling when a dialog is open as a modal,!3630Issue #2815301 by Chi, DanielVeza, kostyashupenko, smustgrave: Allow to create...,!3291Issue #3336463: Rewrite rules for gzipped CSS and JavaScript aggregates never match,!3143Issue #3313342: [PHP 8.1] Deprecated function: strpos(): Passing null to parameter #1 LayoutBuilderUiCacheContext.php on line 28,!3102Issue #3164428 by DonAtt, longwave, sahil.goyal, Anchal_gupta, alexpott: Use...,!2853#3274419 Makes BaseFieldOverride inherit the internal property from the base field.,!2719Issue #3110137: Remove Classy from core.,!2437Issue #3238257 by hooroomoo, Wim Leers: Fragment link pointing to <textarea>...,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2074Issue #2707689: NodeForm::actions() checks for delete access on new entities,!2062Issue #3246454: Add weekly granularity to views date sort,!1591Issue #3199697: Add JSON:API Translation experimental module,!1484Exposed filters get values from URL when Ajax is on,!1255Issue #3238922: Refactor (if feasible) uses of the jQuery serialize function to use vanillaJS,!1254Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS,!1162Issue #3100350: Unable to save '/' root path alias,!1073issue #3191727: Focus states on mobile second level navigation items fixed,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!957Added throwing of InvalidPluginDefinitionException from getDefinition().,!925Issue #2339235: Remove taxonomy hard dependency on node module,!877Issue #2708101: Default value for link text is not saved,!873Issue #2875228: Site install not using batch API service,!872Draft: Issue #3221319: Race condition when creating menu links and editing content deletes menu links,!844Resolve #3036010 "Updaters",!712Issue #2909128: Autocomplete intermittent on Chrome Android,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!485Sets the autocomplete attribute for username/password input field on login form.,!30Issue #3182188: Updates composer usage to point at ./vendor/bin/composer
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
"composer/installers": true, "composer/installers": true,
"drupal/core-project-message": true, "drupal/core-project-message": true,
"drupal/core-vendor-hardening": true, "drupal/core-vendor-hardening": true,
"phpstan/extension-installer": true "phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
} }
}, },
"extra": { "extra": {
...@@ -109,8 +110,8 @@ ...@@ -109,8 +110,8 @@
"post-update-cmd": [ "post-update-cmd": [
"Drupal\\Composer\\Composer::generateMetapackages" "Drupal\\Composer\\Composer::generateMetapackages"
], ],
"phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --", "phpcs": "phpcs --standard=core/phpcs.xml.dist --",
"phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --" "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --"
}, },
"repositories": [ "repositories": [
{ {
......
...@@ -4850,6 +4850,81 @@ ...@@ -4850,6 +4850,81 @@
], ],
"time": "2022-02-25T21:32:43+00:00" "time": "2022-02-25T21:32:43+00:00"
}, },
{
"name": "dealerdirect/phpcodesniffer-composer-installer",
"version": "v0.7.2",
"source": {
"type": "git",
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
"reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
"reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.0 || ^2.0",
"php": ">=5.3",
"squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
},
"require-dev": {
"composer/composer": "*",
"php-parallel-lint/php-parallel-lint": "^1.3.1",
"phpcompatibility/php-compatibility": "^9.0"
},
"type": "composer-plugin",
"extra": {
"class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
},
"autoload": {
"psr-4": {
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Franck Nijhof",
"email": "franck.nijhof@dealerdirect.com",
"homepage": "http://www.frenck.nl",
"role": "Developer / IT Manager"
},
{
"name": "Contributors",
"homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer Standards Composer Installer Plugin",
"homepage": "http://www.dealerdirect.com",
"keywords": [
"PHPCodeSniffer",
"PHP_CodeSniffer",
"code quality",
"codesniffer",
"composer",
"installer",
"phpcbf",
"phpcs",
"plugin",
"qa",
"quality",
"standard",
"standards",
"style guide",
"stylecheck",
"tests"
],
"support": {
"issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
"source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
},
"time": "2022-02-04T12:51:07+00:00"
},
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
"version": "1.4.1", "version": "1.4.1",
...@@ -4922,22 +4997,24 @@ ...@@ -4922,22 +4997,24 @@
}, },
{ {
"name": "drupal/coder", "name": "drupal/coder",
"version": "8.3.13", "version": "8.3.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/coder.git", "url": "https://git.drupalcode.org/project/coder.git",
"reference": "d3286d571b19633cc296d438c36b9aed195de43c" "reference": "0cfad3a21f1168bdc3030ae73351c31f88abba74"
}, },
"require": { "require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"ext-mbstring": "*", "ext-mbstring": "*",
"php": ">=7.0.8", "php": ">=7.1",
"sirbrillig/phpcs-variable-analysis": "^2.10", "sirbrillig/phpcs-variable-analysis": "^2.10",
"squizlabs/php_codesniffer": "^3.5.6", "slevomat/coding-standard": "^7.0",
"squizlabs/php_codesniffer": "^3.6.0",
"symfony/yaml": ">=2.0.5" "symfony/yaml": ">=2.0.5"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^0.12.63", "phpstan/phpstan": "^1.4.9",
"phpunit/phpunit": "^6.0 || ^7.0" "phpunit/phpunit": "^7.0 || ^8.0"
}, },
"type": "phpcodesniffer-standard", "type": "phpcodesniffer-standard",
"autoload": { "autoload": {
...@@ -4961,7 +5038,7 @@ ...@@ -4961,7 +5038,7 @@
"issues": "https://www.drupal.org/project/issues/coder", "issues": "https://www.drupal.org/project/issues/coder",
"source": "https://www.drupal.org/project/coder" "source": "https://www.drupal.org/project/coder"
}, },
"time": "2021-02-06T10:44:32+00:00" "time": "2022-04-02T17:56:30+00:00"
}, },
{ {
"name": "easyrdf/easyrdf", "name": "easyrdf/easyrdf",
...@@ -5879,6 +5956,50 @@ ...@@ -5879,6 +5956,50 @@
}, },
"time": "2020-12-13T13:06:13+00:00" "time": "2020-12-13T13:06:13+00:00"
}, },
{
"name": "phpstan/phpdoc-parser",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "981cc368a216c988e862a75e526b6076987d1b50"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/981cc368a216c988e862a75e526b6076987d1b50",
"reference": "981cc368a216c988e862a75e526b6076987d1b50",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"symfony/process": "^5.2"
},
"type": "library",
"autoload": {
"psr-4": {
"PHPStan\\PhpDocParser\\": [
"src/"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.5.1"
},
"time": "2022-05-05T11:32:40+00:00"
},
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.6.8", "version": "1.6.8",
...@@ -7564,6 +7685,67 @@ ...@@ -7564,6 +7685,67 @@
}, },
"time": "2022-02-21T17:01:13+00:00" "time": "2022-02-21T17:01:13+00:00"
}, },
{
"name": "slevomat/coding-standard",
"version": "7.2.0",
"source": {
"type": "git",
"url": "https://github.com/slevomat/coding-standard.git",
"reference": "b4f96a8beea515d2d89141b7b9ad72f526d84071"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b4f96a8beea515d2d89141b7b9ad72f526d84071",
"reference": "b4f96a8beea515d2d89141b7b9ad72f526d84071",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7",
"php": "^7.2 || ^8.0",
"phpstan/phpdoc-parser": "^1.5.1",
"squizlabs/php_codesniffer": "^3.6.2"
},
"require-dev": {
"phing/phing": "2.17.3",
"php-parallel-lint/php-parallel-lint": "1.3.2",
"phpstan/phpstan": "1.4.10|1.6.7",
"phpstan/phpstan-deprecation-rules": "1.0.0",
"phpstan/phpstan-phpunit": "1.0.0|1.1.1",
"phpstan/phpstan-strict-rules": "1.2.3",
"phpunit/phpunit": "7.5.20|8.5.21|9.5.20"
},
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
"dev-master": "7.x-dev"
}
},
"autoload": {
"psr-4": {
"SlevomatCodingStandard\\": "SlevomatCodingStandard"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.",
"support": {
"issues": "https://github.com/slevomat/coding-standard/issues",
"source": "https://github.com/slevomat/coding-standard/tree/7.2.0"
},
"funding": [
{
"url": "https://github.com/kukulich",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard",
"type": "tidelift"
}
],
"time": "2022-05-06T10:58:42+00:00"
},
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
"version": "3.6.2", "version": "3.6.2",
...@@ -8280,5 +8462,5 @@ ...@@ -8280,5 +8462,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1.0" "php": "8.1.0"
}, },
"plugin-api-version": "2.2.0" "plugin-api-version": "2.3.0"
} }
...@@ -17,8 +17,9 @@ ...@@ -17,8 +17,9 @@
"composer/pcre": "3.0.0", "composer/pcre": "3.0.0",
"composer/spdx-licenses": "1.5.6", "composer/spdx-licenses": "1.5.6",
"composer/xdebug-handler": "3.0.3", "composer/xdebug-handler": "3.0.3",
"dealerdirect/phpcodesniffer-composer-installer": "v0.7.2",
"doctrine/instantiator": "1.4.1", "doctrine/instantiator": "1.4.1",
"drupal/coder": "8.3.13", "drupal/coder": "8.3.15",
"easyrdf/easyrdf": "1.1.1", "easyrdf/easyrdf": "1.1.1",
"instaclick/php-webdriver": "1.4.14", "instaclick/php-webdriver": "1.4.14",
"justinrainbow/json-schema": "5.2.12", "justinrainbow/json-schema": "5.2.12",
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
"phpspec/prophecy": "v1.15.0", "phpspec/prophecy": "v1.15.0",
"phpspec/prophecy-phpunit": "v2.0.1", "phpspec/prophecy-phpunit": "v2.0.1",
"phpstan/extension-installer": "1.1.0", "phpstan/extension-installer": "1.1.0",
"phpstan/phpdoc-parser": "1.5.1",
"phpstan/phpstan": "1.6.8", "phpstan/phpstan": "1.6.8",
"phpunit/php-code-coverage": "9.2.15", "phpunit/php-code-coverage": "9.2.15",
"phpunit/php-file-iterator": "3.0.6", "phpunit/php-file-iterator": "3.0.6",
...@@ -61,6 +63,7 @@ ...@@ -61,6 +63,7 @@
"seld/jsonlint": "1.9.0", "seld/jsonlint": "1.9.0",
"seld/phar-utils": "1.2.0", "seld/phar-utils": "1.2.0",
"sirbrillig/phpcs-variable-analysis": "v2.11.3", "sirbrillig/phpcs-variable-analysis": "v2.11.3",
"slevomat/coding-standard": "7.2.0",
"squizlabs/php_codesniffer": "3.6.2", "squizlabs/php_codesniffer": "3.6.2",
"symfony/browser-kit": "v6.0.3", "symfony/browser-kit": "v6.0.3",
"symfony/css-selector": "v6.0.3", "symfony/css-selector": "v6.0.3",
......
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
# When the file core/phpcs.xml.dist has been changed, then PHPCS must check all files. # When the file core/phpcs.xml.dist has been changed, then PHPCS must check all files.
if [[ $PHPCS_XML_DIST_FILE_CHANGED == "1" ]]; then if [[ $PHPCS_XML_DIST_FILE_CHANGED == "1" ]]; then
# Test all files with phpcs rules. # Test all files with phpcs rules.
vendor/bin/phpcs -ps --runtime-set installed_paths "$TOP_LEVEL/vendor/drupal/coder/coder_sniffer" --standard="$TOP_LEVEL/core/phpcs.xml.dist" vendor/bin/phpcs -ps --standard="$TOP_LEVEL/core/phpcs.xml.dist"
PHPCS=$? PHPCS=$?
if [ "$PHPCS" -ne "0" ]; then if [ "$PHPCS" -ne "0" ]; then
# If there are failures set the status to a number other than 0. # If there are failures set the status to a number other than 0.
...@@ -354,7 +354,7 @@ ...@@ -354,7 +354,7 @@
############################################################################ ############################################################################
if [[ -f "$TOP_LEVEL/$FILE" ]] && [[ $FILE =~ \.(inc|install|module|php|profile|test|theme|yml)$ ]] && [[ $PHPCS_XML_DIST_FILE_CHANGED == "0" ]]; then if [[ -f "$TOP_LEVEL/$FILE" ]] && [[ $FILE =~ \.(inc|install|module|php|profile|test|theme|yml)$ ]] && [[ $PHPCS_XML_DIST_FILE_CHANGED == "0" ]]; then
# Test files with phpcs rules. # Test files with phpcs rules.
vendor/bin/phpcs "$TOP_LEVEL/$FILE" --runtime-set installed_paths "$TOP_LEVEL/vendor/drupal/coder/coder_sniffer" --standard="$TOP_LEVEL/core/phpcs.xml.dist" vendor/bin/phpcs "$TOP_LEVEL/$FILE" --standard="$TOP_LEVEL/core/phpcs.xml.dist"
PHPCS=$? PHPCS=$?
if [ "$PHPCS" -ne "0" ]; then if [ "$PHPCS" -ne "0" ]; then
# If there are failures set the status to a number other than 0. # If there are failures set the status to a number other than 0.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment