Blog
FAQ
Discussions
Search
Projects, issues, users, and merge requests.
Project ID, name, and description.
User nickname, name, and org.
Issue ID, title, and summary.
Merge request titles.
Contrib
.social
Feed
Live feed
Builds
Live builds
Core
Tags
Tags and Initiatives
#DC
Portland 2024
6-9 May
#
DrupalCon Portland
2024
๐บ๐ธ
Coder
Open on Drupal.org โ
Open on Drupal GitLab โ
Created on 30 December 2006,
over 17 years ago
Maintained by
๐ณ๐ฑ
Netherlands
Arkener
๐บ๐ธ
United States
douggreen
๐ฆ๐น
Austria
klausi
๐ฆ๐บ
Australia
mikejw
๐ง๐ฌ
Bulgaria
pfrenssen
๐บ๐ธ
United States
solotandem
๐ฎ๐ช
Ireland
stella
๐ฉ๐ช
Germany
sun
Clone
Clone with SSH
Clone with HTTPS
Clone with
doGit
Follow
Sign in to follow projects
Merge Requests
!23
Rename ColourDefinitionSniff to ColorDefinitionSniff
Open
Show issue
๐ฎ๐ณ
India
Keshav Patel
updated
5 months ago
Issues
๐ฌ
Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag
Active
Coder Sniffer
Created
about 17 hours ago
v8.3
๐ซ๐ท
France
Grimreaper
about 17 hours ago
๐
Terminal comma to indicate discarded items in array destructuring fails sniffs
Active
Coder Sniffer
Created
1 day ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
1 day ago
๐ฌ
On 8.3.14 (but not 8.3.13): ERROR: Referenced sniff "SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" does not exist
Active
Coder Sniffer
Created
over 2 years ago
v8.3
๐จ๐ฆ
Canada
alberto56
5 days ago
๐ฌ
fix to import classnames in prodecural file is missing blank lines
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
12 days ago
๐
Enum support in PHP 8.1
Fixed
Coder Sniffer
Created
about 2 years ago
v8.3
๐ฆ๐น
Austria
chfoidl
14 days ago
โจ
Add sniff for declare(strict_types=1);
Fixed
Coder Sniffer
Created
7 months ago
v8.3
๐ณ๐ฑ
Netherlands
Arkener
17 days ago
๐
UnsilencedDeprecation failures with namespace qualifiers
Active
Coder Sniffer
Created
22 days ago
v8.3
๐ฆ๐บ
Australia
dpi
22 days ago
โจ
Validate trailing comma in multi-line function declaration
Fixed
Coder Sniffer
Created
2 months ago
v8.3
๐ฆ๐น
Austria
klausi
22 days ago
๐
phpcbf breaks wrong multi line @param comments (they shouldn't be flatten)
Closed: outdated
Coder Review
Created
over 8 years ago
v2.0
๐ฌ๐ง
United Kingdom
kenorb
26 days ago
๐
Drupal.Classes.UnusedUseStatement doesn't recognize annotations
Closed: outdated
Coder Sniffer
Created
over 8 years ago
v3.0
๐ณ๐ด
Norway
wizonesolutions
26 days ago
๐ฌ
Impossible to launch phpcbf, str_repeat IndentationSniff.php
Closed: outdated
Coder Sniffer
Created
6 months ago
v8.3
๐ซ๐ท
France
erwandsn
26 days ago
โจ
Allow arbitrary data types for PHPStan compatibility in @return class methods
Closed: outdated
Coder Sniffer
Created
11 months ago
v8.3
๐ฎ๐น
Italy
mondrake
26 days ago
๐
ScopeClosingBraceSniff - Fatal error: str_repeat(): Second argument has to be greater than or equal to 0
Fixed
Coder Sniffer
Created
over 3 years ago
v8.3
solideogloria
about 1 month ago
โจ
Include DrupalSecure Code Sniffs
Active
Coder Sniffer
Created
over 1 year ago
v8.3
๐บ๐ธ
United States
cmlara
about 1 month ago
โจ
long lines in attributes aren't detected
Active
Coder Sniffer
Created
about 1 month ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
about 1 month ago
๐
Drupal.Classes.FullyQualifiedNamespace doesn't pick up annotation classes
Active
Coder Sniffer
Created
about 1 month ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
about 1 month ago
๐
False Postive: Aliased PHP 8.0 Attributes on Class properties leading to "Namespaced classes/interfaces/traits should be referenced with use statements"
Active
Coder Sniffer
Created
7 months ago
v8.3
๐จ๐ญ
Switzerland
wengerk
about 2 months ago
๐ฌ
phpcbf fixes for Drupal.Commenting.FunctionComment sniff break indentation
Fixed
Coder Sniffer
Created
4 months ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
about 2 months ago
๐ฌ
Fatal error running codesniffer (offset syntax with curly braces no longer supported)
Fixed
Coder Sniffer
Created
about 2 years ago
v3.0
๐บ๐ธ
United States
mlncn
about 2 months ago
๐
Create sniff for checking the indentation of lines that follow an @todo comment
Active
Coder Sniffer
Created
over 3 years ago
v3.0
๐บ๐ธ
United States
adamzimmermann
about 2 months ago
๐
@todo should start with capitalized letter or non-alpha symbol
Active
Coder Sniffer
Created
over 1 year ago
v8.3
๐บ๐ธ
United States
adamzimmermann
about 2 months ago
๐
Function-level @template triggers 'Parameter tags must be defined first in a doc comment'
Active
Coder Sniffer
Created
about 2 months ago
v8.3
๐ฌ๐ง
United Kingdom
AndyF
about 2 months ago
๐
Add rule for multi-line function declarations
Fixed
Coder Sniffer
Created
3 months ago
v8.3
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐
Remove rule Drupal.Commenting.FunctionComment.InvalidReturnNotVoid
Fixed
Coder Sniffer
Created
3 months ago
v8.3
๐ณ๐ฑ
Netherlands
Kingdutch
about 2 months ago
๐
parent::$staticPropertyName reports $staticPropertyName as undefined.
Closed: outdated
Coder Sniffer
Created
about 7 years ago
v2.12
๐บ๐ธ
United States
linux_dr@yahoo.com
2 months ago
๐
Drupal.WhiteSpace.ScopeClosingBrace.Indent detects indentation based on the opening brace which could be itself incorrect
Closed: works as designed
Coder Sniffer
Created
3 months ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
2 months ago
๐
Rename ColourDefinitionSniff to ColorDefinitionSniff
Needs work
Coder Sniffer
Created
5 months ago
v8.3
๐ณ๐ฟ
New Zealand
quietone
2 months ago
โจ
Standardize spacing after "fn" of arrow function
Active
Coder Sniffer
Created
4 months ago
v8.3
solideogloria
4 months ago
๐
False Positive: DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod
Fixed
Coder Sniffer
Created
8 months ago
v8.3
๐บ๐ธ
United States
cmlara
4 months ago
๐
False Postive: Misshandled PHP 8.0 Attributes on Class properties leading to "Missing member variable doc comment"
Fixed
Coder Sniffer
Created
7 months ago
v8.3
๐จ๐ญ
Switzerland
wengerk
4 months ago
โจ
Add sniff for unsilenced deprecation warnings
Fixed
Coder Sniffer
Created
6 months ago
v8.3
๐ณ๐ฑ
Netherlands
Spokje
4 months ago
๐
Improve the cspell exception in Drupal.Commenting.InlineComment.InvalidEndChar
Active
Coder Sniffer
Created
4 months ago
v8.3
๐ฉ๐ช
Germany
tstoeckler
4 months ago
๐
Add a sniff to fix *Interface already announced in *Class
Closed: won't fix
Coder Sniffer
Created
about 4 years ago
v3.0
๐จ๐ณ
China
jungle
4 months ago
๐
Loop if @code block is not properly ended
Closed: works as designed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ช๐ช
Estonia
hkirsman
4 months ago
๐
Allow _construct() method to omit docblock
Fixed
Coder Sniffer
Created
8 months ago
v8.3
๐ฌ๐ง
United Kingdom
catch
5 months ago
๐
docs should explain difference between 'full sniff' and 'partial sniff'
Active
Documentation
Created
5 months ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
5 months ago
โจ
Add option to ignore missing function doc comments for private methods
Active
Coder Sniffer
Created
6 months ago
v8.3
jackwrfuller
6 months ago
๐ฑ
The Future of PHP_CodeSniffer
Fixed
Coder Sniffer
Created
7 months ago
v8.3
๐ฆ๐บ
Australia
mstrelan
6 months ago
๐
Indents inside anonymous functions used as argument in a function.
Active
Coder Sniffer
Created
7 months ago
v8.3
๐ท๐บ
Russia
zniki.ru
7 months ago
๐
False Postive 'VariableComment.Missing' with intersecting paramater typehint.
Fixed
Coder Sniffer
Created
9 months ago
v8.3
๐บ๐ธ
United States
cmlara
8 months ago
๐ฌ
Authentication required with composer
Closed: works as designed
Coder Sniffer
Created
over 5 years ago
v3.3
๐ซ๐ท
France
AnaSwin
8 months ago
โจ
Drupal.Arrays.Array.LongLineDeclaration make me write less readable code
Fixed
Review/Rules
Created
over 3 years ago
v3.0
๐ฌ๐ง
United Kingdom
alexpott
8 months ago
๐
Test for regressions against Drupal core
Fixed
Coder Sniffer
Created
12 months ago
v8.3
๐ณ๐ฑ
Netherlands
Spokje
8 months ago
๐
False Positive: Drupal.Commenting.VariableComment.IncorrectVarType Disjunctive Normal Form Types
Active
Coder Sniffer
Created
8 months ago
v8.3
๐บ๐ธ
United States
cmlara
8 months ago
๐
Drupal.WhiteSpace.ScopeIndent.IncorrectExact counts incorrectly for return match inside switch
Active
Coder Sniffer
Created
8 months ago
v8.3
๐ฆ๐บ
Australia
acbramley
8 months ago
๐
CSS At-rule should be allowed on its own line. For example @CHARSET "UTF-8";
Closed: outdated
Coder Sniffer
Created
over 5 years ago
v3.0
๐ฎ๐ณ
India
msankhala
9 months ago
โจ
REVERTED: Allow passing constants to t() translate function to prevent 'Only string literals should be passed to t() where possible' CS warning
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ฆ๐ฒ
Armenia
Murz
9 months ago
๐
Sniffs Squiz.Arrays.ArrayDeclaration.[No]KeySpecified are excluded in Core but included in Coder ruleset
Closed: won't fix
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฌ๐ง
United Kingdom
jonathan1055
9 months ago
โจ
Suggest camelCase for variable naming
Active
Coder Sniffer
Created
9 months ago
v8.3
๐จ๐ฆ
Canada
jigarius
9 months ago
๐
Models created with BPMN does not pass Coder PHPCS
Active
Miscellaneous
Created
11 months ago
v8.3
๐ซ๐ท
France
Grimreaper
9 months ago
๐
Coder - alter requirements about no blank line following an inline comment
Postponed
Coder Sniffer
Created
over 10 years ago
v2.1
๐บ๐ธ
United States
TravisCarden
9 months ago
๐
Drupal.CSS.ClassDefinitionNameSpacing sniff incorrectly removing the opening brace instead of removing a blank line for the BlankLinesFound error
Active
Coder Sniffer
Created
over 5 years ago
v3.0
๐บ๐ธ
United States
sdemi
10 months ago
๐
Check alphabetical ordering for "implements"
Closed: outdated
Coder Sniffer
Created
10 months ago
v8.3
๐ณ๐ฑ
Netherlands
Spokje
10 months ago
๐ฌ
False positive for unused variable when variable is passed by reference in closure
Fixed
Coder Sniffer
Created
almost 5 years ago
v3.0
๐ง๐ฌ
Bulgaria
pfrenssen
10 months ago
๐
Ensure trailing commas in annotations
Active
Coder Sniffer
Created
11 months ago
v8.3
๐ณ๐ฟ
New Zealand
quietone
11 months ago
๐
Add check for e-mail vs email to codesniffer
Closed: outdated
Coder Sniffer
Created
about 10 years ago
v2.0
๐บ๐ธ
United States
Mixologic
11 months ago
โจ
Support advanced PHPStan data types (general, arrays)
Fixed
Coder Sniffer
Created
over 2 years ago
v3.0
๐ฆ๐บ
Australia
dpi
11 months ago
โจ
Allow arbitrary data types for PHPStan compatibility in @var class properties
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฆ๐น
Austria
klausi
11 months ago
๐
ConstantName.ConstantStart sniff is broken in 8.3.19 and 8.3.20
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฆ๐บ
Australia
cafuego
11 months ago
โจ
Add a sniff for checking against hard-coding uid=1 permissions
Active
Coder Sniffer
Created
about 6 years ago
v2.0
๐ณ๐ฑ
Netherlands
eelkeblok
11 months ago
๐
Regression in 8.3.19 for variadic function parameters
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐ณ๐ฑ
Netherlands
Spokje
12 months ago
โจ
Allow phpstan inline docblocks (and other doc tags)
Active
Coder Sniffer
Created
about 1 year ago
v8.3
๐บ๐ธ
United States
cmlara
about 1 year ago
๐ฌ
False positives for intersection types in function parameters
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐บ๐ธ
United States
bradjones1
about 1 year ago
๐
Don't add dot with inline comments containing code with semicolon
Active
Review/Rules
Created
over 8 years ago
v2.0
๐ฌ๐ง
United Kingdom
kenorb
about 1 year ago
โจ
Add sniff to check and fix the order of Use statements
Fixed
Coder Sniffer
Created
almost 2 years ago
v8.3
๐ฌ๐ง
United Kingdom
jonathan1055
about 1 year ago
โจ
Warning when passing a nowdoc string to t()
Closed: won't fix
Coder Sniffer
Created
about 1 year ago
v8.3
solideogloria
about 1 year ago
๐
Array shapes in multiple lines are not supported.
Active
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฎ๐น
Italy
mondrake
about 1 year ago
โจ
Add checking 'const' to Drupal.Semantics.ConstantName.ConstantStart
Fixed
Review/Rules
Created
about 1 year ago
v8.3
๐ณ๐ฟ
New Zealand
quietone
about 1 year ago
๐ฌ
UseGlobalClass sniff reporting for every 'use' statement
Fixed
Coder Sniffer
Created
over 2 years ago
v8.3
penance316
about 1 year ago
๐ฌ
D9 composer update = fatal: detected dubious ownership vendor/drupal/coder
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฌ๐ง
United Kingdom
Juc1
about 1 year ago
๐ฌ
Add support for class constants visibility
Fixed
Coder Sniffer
Created
over 2 years ago
v3.0
๐ฎ๐น
Italy
mondrake
about 1 year ago
๐ฌ
False positive with array destructor
Fixed
Coder Sniffer
Created
about 3 years ago
v3.0
๐ท๐ด
Romania
claudiu.cristea
about 1 year ago
โจ
Stop using FQCN in @param @var @return annotations
Active
Coder Sniffer
Created
about 1 year ago
v8.3
๐ฎ๐น
Italy
mondrake
about 1 year ago
๐
`Drupal.Commenting.FunctionComment.InvalidReturn` breaks on intersection return type annotations
Fixed
Coder Sniffer
Created
almost 2 years ago
v8.3
๐บ๐ธ
United States
bradjones1
about 1 year ago
๐
phpcbf fails with "Uninitialized string offset" on CRLF line endings
Fixed
Coder Sniffer
Created
almost 2 years ago
v8.3
nico.b
about 1 year ago
๐
FullyQualifiedNamespaceSniff: phpcbf inserts a use statement before a namespace declaration
Active
Coder Sniffer
Created
about 3 years ago
v8.3
๐ฏ๐ต
Japan
kensuke-imamura
about 1 year ago
โจ
@inheritdoc without { } is treated as a tag and gives missleading message
Fixed
Coder Sniffer
Created
almost 7 years ago
v8.3
๐ท๐ด
Romania
mfernea
over 1 year ago
๐
`Drupal.Commenting.ClassComment.Missing` Appears when Using PHP 8 Class Attributes
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐บ๐ธ
United States
GuyPaddock
over 1 year ago
๐ฌ
Composer installation problem
Fixed
Code
Created
over 2 years ago
v8.3
๐ซ๐ท
France
Jรฉrรดme Dehorter
over 1 year ago
๐
[PP-1] Support the recommended phpdoc syntax for documenting Iterator return types
Closed: duplicate
Coder Sniffer
Created
over 1 year ago
v8.3
๐บ๐ธ
United States
dww
about 1 year ago
๐
When adding multiple PHP8 attributes to a method, Drupal.Commenting.FunctionComment.Missing is incorrectly triggered
Closed: duplicate
Coder Sniffer
Created
over 1 year ago
v8.3
๐บ๐ธ
United States
bkosborne
over 1 year ago
๐
Bump dealerdirect/phpcodesniffer-composer-installer to ^1.0.0
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ฆ๐บ
Australia
mstrelan
over 1 year ago
๐
Wrong error on function doc comments when 2 attributes are used
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ฆ๐น
Austria
klausi
over 1 year ago
๐
False positive "Missing class doc comment" in readonly classes
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ท๐บ
Russia
Chi
over 1 year ago
โจ
Add a rule for replacing e.g. and i.e. with English words
Active
Coder Sniffer
Created
about 8 years ago
v2.0
๐ฎ๐ณ
India
imalabya
over 1 year ago
๐ฌ
cannot install coder
Fixed
Coder Sniffer
Created
over 5 years ago
v3.1
mbkaba22
over 1 year ago
๐
.git repository should not be included with composer package
Fixed
Coder Sniffer
Created
over 6 years ago
v3.0
๐บ๐ธ
United States
AdamBernstein
over 1 year ago
๐
Blank line after @param not detected
Active
Coder Sniffer
Created
over 1 year ago
v8.3
๐ฌ๐ง
United Kingdom
joachim
over 1 year ago
โจ
stdclass is auto-corrected to object but it should not be
Fixed
Coder Sniffer
Created
over 1 year ago
v8.3
๐ญ๐บ
Hungary
mxr576
about 1 year ago
๐
This package is out of sync with packagist.org
Fixed
Coder Sniffer
Created
about 4 years ago
v3.0
๐บ๐ฆ
Ukraine
Taran2L
over 1 year ago
โจ
Ensure module dependencies are an array in .info.yml
Fixed
Coder Sniffer
Created
almost 4 years ago
v3.0
๐ฆ๐บ
Australia
mstrelan
over 1 year ago
โจ
Add a rule on block machine name
Closed: won't fix
Coder Sniffer
Created
about 5 years ago
v3.0
๐ซ๐ท
France
Grimreaper
over 1 year ago
๐
Fatal error: Cannot declare class PHPCSStandards\Composer\Plugin\Installers\PHPCodeSniffer\Plugin when upgrading from coder 8.3.16 to 8.3.17
Active
Coder Sniffer
Created
over 1 year ago
v8.3
๐จ๐ฆ
Canada
nebesoft
over 1 year ago
๐ฌ
stdClass type is wrongly recognized as object
Fixed
Coder Sniffer
Created
about 5 years ago
v3.4
๐ท๐บ
Russia
Chi
over 1 year ago
๐
SpaceUnaryOperatorSniff does not recognize T_LINE
Fixed
Coder Sniffer
Created
about 1 year ago
v8.3
๐จ๐ฆ
Canada
Charlie ChX Negyesi
about 1 year ago
๐
SpaceUnaryOperatorSniff will fail with PHP 8 match
Closed: works as designed
Coder Sniffer
Created
about 1 year ago
v8.3
๐จ๐ฆ
Canada
Charlie ChX Negyesi
about 1 year ago
๐
Indentation for class declarations should be set to 2
Fixed
Coder Sniffer
Created
almost 2 years ago
v8.3
๐ต๐ช
Peru
krystalcode
about 1 year ago
๐
javascript true, false & null reported as sniff violations
Closed: won't fix
Coder Sniffer
Created
almost 2 years ago
v8.3
๐ฌ๐ง
United Kingdom
Chris--S
about 1 year ago
๐
Allow parse/ignore native attributes
Closed: duplicate
Coder Sniffer
Created
about 2 years ago
v8.3
๐ซ๐ท
France
andypost
about 1 year ago
๐
FunctionComment broken for complex string types
Fixed
Coder Sniffer
Created
over 3 years ago
v8.3
๐บ๐ธ
United States
neclimdul
about 1 year ago
contrib
.social
Blog
FAQ
Discussions
Production build 0.69.0
2024