Skip to content

Commit 49d0e24

Browse files
authored
Merge pull request #57 from antistatique/feature/fix-phpcs
remove scanning CSS/JS with phpcs (deprecated and support will be removed in PHP_CodeSniffer 4.0)
2 parents bfda7a4 + 1018091 commit 49d0e24

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- remove scanning CSS/JS with phpcs (deprecated and support will be removed in PHP_CodeSniffer 4.0)
810

911
## [3.0.1] - 2025-04-23
1012
### Added

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"description": "Enhances the inline-image Dialog in Drupal CKEditor.",
44
"type": "drupal-module",
55
"homepage": "https://www.drupal.org/project/editor_advanced_image",
6-
"minimum-stability": "dev",
76
"authors": [
87
{
98
"name": "Antistatique",
@@ -29,7 +28,7 @@
2928
},
3029
"license": "GPL-2.0-or-later",
3130
"require-dev": {
32-
"drupal/coder": "^8.3.1"
31+
"drupal/coder": "^8.3"
3332
},
3433
"config": {
3534
"allow-plugins": {

phpcs.xml.dist

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
<arg name="basepath" value="."/>
77
<arg name="cache" value=".phpcs-cache"/>
88
<arg name="colors"/>
9-
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt"/>
9+
<arg name="extensions" value="php,inc,module,install,info,test,profile,theme"/>
10+
11+
<!-- Set up ignores. -->
12+
<arg name="ignore" value="*.js,*.css"/>
1013

1114
<exclude-pattern>*\.(md|info\.yml)$</exclude-pattern>>
1215
<exclude-pattern>*/vendor/*</exclude-pattern>>
@@ -15,4 +18,3 @@
1518
<rule ref="./vendor/drupal/coder/coder_sniffer/Drupal"/>
1619
<rule ref="./vendor/drupal/coder/coder_sniffer/DrupalPractice"/>
1720
</ruleset>
18-

0 commit comments

Comments
 (0)