Commit Graph

165 Commits (d436711365a534619d22264aca5ce54244dbd0d1)

Author SHA1 Message Date
xjm 2436298a17 Issue #2055851 by andypost, jungle, dawehner, Mac_Weber, sja112, borisson_, fietserwin, init90, Gábor Hojtsy, xjm, effulgentsia, tim.plunkett: Remove translation of exception messages 2020-05-18 19:21:21 -05:00
xjm 9674c99b4d Issue #3134318 by jungle: Enable phpcs rule Drupal.Classes.ClassFileName 2020-05-07 08:49:35 -05:00
xjm bd64783975 Issue #3094454 by jonathan1055, longwave: Fix remaining @deprecated (missing a change record) manually and enable the coding standard 2020-04-27 12:57:27 -05:00
catch a0bdf62a33 Issue #3099583 by alexpott, klausi, neclimdul, heddn: Update coder to 8.3.7 2020-01-07 11:26:29 +00:00
Lee Rowlands 0192048dca
Issue #3063323 by idebr, klausi, truls1502: Update drupal/coder to 8.3.6 2019-08-29 13:02:37 +10:00
catch 615123f51c Issue #2286655 by alexpott, attiks, mark_fullmer, nielsonm, Mark Slatinek, quietone, catch, dawehner, aburke626, justafish: Gender neutral language 2019-04-17 16:30:13 +09:00
catch f2eaf0178c Issue #3041985 by alexpott, pifagor: Add Generic.CodeAnalysis.EmptyPHPStatement to phpcs rules to prevent empty PHP statements 2019-04-16 21:22:07 +09:00
Nathaniel Catchpole c67761090d Issue #3002206 by jibran, longwave, truls1502, alexpott, NickWilde: Update the stable version of drupal/coder to ˆ8.3.1 2019-03-26 14:37:28 +00:00
Nathaniel Catchpole 8ea1c48ee9 Issue #2902412 by Jo Fitzgerald, andypost, mfernea, andriyun: Fix 'Drupal.Strings.UnnecessaryStringConcat' coding standard 2018-11-08 15:51:18 +00:00
Alex Pott 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Alex Pott 1b07d552de
Issue #2901653 by idebr, ankitjain28may, mfernea, borisson_: Add yml files to phpcs.xml.dist 2018-05-15 09:20:17 +01:00
Alex Pott b187a126de
Issue #2937888 by dhruveshdtripathi, idebr, RoSk0, mohit1604, mfernea, borisson_: Fix 'Drupal.Commenting.DocComment.LongNotCapital' coding standard 2018-05-11 10:46:46 +01:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Lee Rowlands ba1e5705db
Issue #2959148 by alexpott: Enable PHPCS for info.yml files 2018-04-12 18:39:42 +10:00
Lee Rowlands 7a72d35e1a
Issue #2935215 by alexpott: Apply coding standards to Drupal 8 PHP code in core/scripts 2018-01-24 07:03:08 +10:00
Lee Rowlands 3af9d071a9
Issue #2935151 by alexpott: Long array syntax checking in ./core files is broken 2018-01-10 08:12:40 +10:00
xjm 3ed16f08d7 Issue #2923884 by mfernea: Fix 'Squiz.WhiteSpace.SemicolonSpacing' coding standard 2017-11-29 05:59:35 -06:00
Nathaniel Catchpole 4daa23c89b Issue #2923886 by mfernea: Fix 'Squiz.WhiteSpace.LanguageConstructSpacing' coding standard 2017-11-29 11:34:02 +00:00
Nathaniel Catchpole e9b1184d03 Issue #2902381 by neclimdul, mfernea, Mile23, alexpott: Revert phpcs.xml.dist changes from "Ensure that we're using the right ruleset for coding standards checking" 2017-11-20 11:42:19 +00:00
Nathaniel Catchpole 4d176b95ea Issue #2902407 by mfernea, zaporylie: Fix 'Drupal.Commenting.DataTypeNamespace' coding standard 2017-11-16 15:00:40 +00:00
xjm 431e90f8cc Issue #2909366 by zaporylie, iKb, mfernea: Fix 'Drupal.Commenting.VariableComment.EmptyVar' coding standard 2017-11-13 13:02:20 -05:00
xjm 91e668f575 Issue #2572795 by mfernea, zaporylie, pfrenssen, andypost, attiks, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-10 05:35:50 -06:00
xjm 6dc062eb45 Issue #2901562 by mfernea, Jo Fitzgerald, Yogesh Pawar, 3ssom, Mile23, borisson_: Fix 'Squiz.WhiteSpace.SuperfluousWhitespace' coding standard 2017-11-09 15:13:57 -06:00
xjm edf57d8ab8 Revert "Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie"
This reverts commit c422bdfa53.
2017-11-09 14:37:59 -06:00
xjm c422bdfa53 Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-09 10:56:52 -06:00
xjm af3691e651 Issue #2909163 by mfernea: Fix 'Drupal.Commenting.InlineComment.WrongStyle' coding standard 2017-10-18 14:17:59 -05:00
Alex Pott fd8d98399a Issue #2901722 by mfernea: Fix 'Squiz.Functions.FunctionDeclarationArgumentSpacing' coding standard 2017-10-16 18:19:44 +01:00
xjm db5e8289f2 Issue #2572787 by alexpott, mfernea, attiks, andriyun, andypost, RoSk0, hussainweb, klausi, martin107: Fix 'Drupal.WhiteSpace.CloseBracketSpacing' coding standard 2017-10-13 12:43:15 -05:00
Nathaniel Catchpole 2fc85e7f0f Issue #2901572 by Jo Fitzgerald, bluccas, mfernea, klausi: Fix 'Drupal.Commenting.PostStatementComment' coding standard 2017-10-13 13:43:02 +01:00
Alex Pott b85856f417 Issue #2909368 by mfernea, reflie, zaporylie: Fix 'Drupal.Commenting.VariableComment.InlineVariableName' coding standard 2017-10-12 11:31:03 +01:00
Alex Pott 00b4d8c074 Issue #2909367 by iKb, zaporylie, mfernea: Fix 'Drupal.Commenting.VariableComment.DuplicateVar' coding standard 2017-10-11 12:25:13 +01:00
Nathaniel Catchpole 4d006efcf3 Issue #2901789 by mfernea, andriyun, borisson_: Fix 'PEAR.Functions.FunctionCallSignature' coding standard 2017-10-10 16:18:34 +01:00
Nathaniel Catchpole 9188516f1b Issue #2572699 by rajeshwari10, andriyun, mfernea, pashupathi nath gajawada, marvin_B8, attiks, andypost, alexpott: Fix 'Drupal.ControlStructures.InlineControlStructure' coding standard 2017-10-10 16:14:44 +01:00
Nathaniel Catchpole 64fa6ad712 Issue #2901744 by mfernea: Fix 'PSR2.Namespaces' coding standard 2017-10-10 16:09:51 +01:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Nathaniel Catchpole cfb2af03b8 Issue #2901790 by mfernea: Fix 'PEAR.Functions.ValidDefaultValue' coding standard 2017-09-25 14:19:07 +01:00
Nathaniel Catchpole 2e18fe9373 Issue #2715485 by harsha012, mfernea, malavya, himanshu-dixit, vprocessor, tameeshb, Mile23, RajeevK, Jo Fitzgerald, tiago.urbano, xjm, klausi: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard 2017-09-25 14:14:30 +01:00
Nathaniel Catchpole 4005f93bbd Issue #2901735 by mfernea: Fix 'Squiz.Arrays.ArrayBracketSpacing' coding standard 2017-09-25 13:47:18 +01:00
Nathaniel Catchpole 4577185c9b Issue #2572791 by Mile23, andriyun, attiks, RoSk0: Fix 'Drupal.WhiteSpace.OpenBracketSpacing' coding standard 2017-09-22 12:16:23 +01:00
xjm 465348f98d Issue #2759789 by mfernea, Mile23, andriyun, dawehner, klausi: Fix 'Drupal.Semantics.FunctionAlias' coding standard 2017-09-17 16:58:08 -05:00
xjm 2242f4ad9e Issue #2901785 by mfernea, xjm, andriyun: Fix 'Generic.Formatting.SpaceAfterCast' coding standard 2017-09-17 16:38:34 -05:00
xjm cc30270e9a Revert "Revert "Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard"""
This reverts commit b06757615a.
2017-09-16 14:24:44 -05:00
xjm b06757615a Revert "Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard""
This reverts commit 964954e1f3.
2017-09-16 12:02:55 -05:00
xjm 964954e1f3 Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard"
This reverts commit 2df73e2c00.
2017-09-16 12:02:42 -05:00
xjm 2df73e2c00 Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard 2017-09-16 11:19:25 -05:00
xjm 44a5c4cbe0 Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard 2017-09-15 16:52:14 -05:00
Nathaniel Catchpole f39127cef8 Issue #2901718 by mfernea: Fix 'Squiz.ControlStructures.ForEachLoopDeclaration' coding standard 2017-09-14 14:50:30 +01:00
xjm da9c5ba24d Issue #2902728 by mfernea: Fix 'Drupal.Semantics.FunctionT.BackslashSingleQuote' coding standard 2017-09-13 21:47:52 -05:00
Nathaniel Catchpole 73347e1c7e Issue #2722699 by anoopjohn, mfernea, Mile23, martin107: Fix Drupal.Commenting.FunctionComment.InvalidReturnNotVoid 2017-09-12 10:50:56 +01:00
Nathaniel Catchpole e630c782ad Issue #2572631 by ZeiP, Mile23, mfernea, pk188, dimaro, kporras07, attiks, klausi, dawehner: Fix 'Drupal.Classes.InterfaceName' coding standard 2017-09-11 13:41:10 +01:00
Nathaniel Catchpole 4207b307d3 Issue #2901727 by iainp999, mfernea: Fix 'Drupal.Methods.MethodDeclaration' coding standard 2017-09-06 10:34:51 +01:00
Nathaniel Catchpole 38ac1327a1 Issue #2901791 by mfernea: Fix 'Squiz.ControlStructures.ForLoopDeclaration' coding standard 2017-09-06 10:33:19 +01:00
Nathaniel Catchpole 32879bbbb6 Issue #2901779 by mfernea, ccjjmartin: Fix 'Generic.PHP.LowerCaseKeyword' coding standard 2017-09-06 10:12:39 +01:00
Nathaniel Catchpole 69edc2a364 Issue #2903908 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentIndentation' coding standard 2017-09-05 14:19:41 +01:00
Nathaniel Catchpole cb9b6d420f Issue #2722609 by anoopjohn, mfernea, Jo Fitzgerald, chishah92, druprad, martin107, Mile23: Fix Drupal.Commenting.FunctionComment.ParamNameNoMatch 2017-09-04 18:30:59 +01:00
Nathaniel Catchpole b0087ffeac Issue #2902396 by mfernea: Add sniffs already passing 2017-09-04 16:06:53 +01:00
Nathaniel Catchpole d7d4998c83 Issue #2887052 by xjm, sugaroverflow, jibran: Ignore Diff component files in phpcs coding standards 2017-09-04 11:51:43 +01:00
Nathaniel Catchpole 92cbc4cfc8 Issue #2803893 by mfernea: Fix 'Drupal.Commenting.FunctionComment.ParamTypeSpaces' coding standard 2017-08-23 12:58:15 +09:00
Nathaniel Catchpole 98c68fdbfd Issue #2803891 by Jo Fitzgerald, pfrenssen, mfernea, gaurav.kapoor: Fix 'Drupal.Commenting.FunctionComment.ReturnTypeSpaces' coding standard 2017-08-22 16:16:08 +09:00
Nathaniel Catchpole 64ffc1ff4d Issue #2902726 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital' coding standard 2017-08-21 19:56:09 +09:00
Nathaniel Catchpole c8392465c3 Issue #2902529 by mfernea: Fix 'Drupal.WhiteSpace.EmptyLines' coding standard 2017-08-21 14:04:51 +09:00
Nathaniel Catchpole ebc6484967 Issue #2902717 by mfernea: Fix 'Drupal.Formatting.MultiLineAssignment' coding standard 2017-08-21 14:03:04 +09:00
Nathaniel Catchpole 02a8ccbdcb Issue #2902406 by mfernea: Fix 'Drupal.Classes.UseLeadingBackslash' coding standard 2017-08-21 14:01:00 +09:00
Nathaniel Catchpole 08bf5f7a06 Issue #2901787 by mfernea: Fix 'Generic.NamingConventions.ConstructorName' coding standard 2017-08-21 13:55:09 +09:00
Nathaniel Catchpole 45524a7dfb Issue #2903331 by mfernea: Fix 'Drupal.NamingConventions.ValidVariableName.LowerStart' coding standard 2017-08-21 13:51:42 +09:00
Nathaniel Catchpole a0bb5da1bc Issue #2901665 by mfernea: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNewLine' coding standard 2017-08-21 13:40:56 +09:00
Nathaniel Catchpole 1f191080c1 Issue #2902723 by mfernea, ccjjmartin: Fix 'Drupal.Commenting.FunctionComment.ReturnCommentIndentation' coding standard 2017-08-21 13:39:47 +09:00
Chris McCafferty 34bf287af7 Issue #2851661 by alexpott, dawehner, xjm: Ensure that we're using the right ruleset for coding standards checking 2017-04-11 08:20:07 -04:00
Alex Pott 4656717240 Issue #2822837 by vaplas, martin107, chiranjeeb2410, klausi, dawehner: Replace @expectedException @expectedExceptionMessage with $this->setExpectedException 2017-03-27 11:26:01 +01:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +00:00
xjm f621a88dd0 Issue #2857714 by klausi: Upgrade Coder to 8.2.11 2017-03-04 09:04:49 -06:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott fea11b6de2 Issue #2803779 by pfrenssen, klausi, Mile23, alexpott, dawehner: Update Coder to 8.2.10 and fix errors from improved sniffs 2017-02-11 22:02:19 +00:00
Alex Pott 7125a80096 Issue #2755677 by Mile23: Fix 'Drupal.WhiteSpace.OpenTagNewline' coding standard 2016-09-19 11:39:40 +01:00
Alex Pott a7b67e7af1 Issue #2721901 by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName 2016-08-29 06:50:59 -05:00
Nathaniel Catchpole f6ae58526c Issue #2572801 by alexpott, vprocessor, andriyun, andypost, chishah92, Mile23, attiks, hussainweb, klausi, dawehner, pfrenssen: Fix 'Drupal.WhiteSpace.ScopeIndent' coding standard 2016-08-28 18:16:36 +01:00
Alex Pott 2e5e060c53 Issue #2783395 by Mile23: Fix 'Drupal.Commenting.FunctionComment.InvalidReturn' coding standard 2016-08-28 06:25:45 -05:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
Alex Pott f24af6a04c Issue #2747073 by Mile23: Fix Drupal CS regressions for Coder 8.2.8 2016-08-12 14:30:32 +01:00
Nathaniel Catchpole 6309f944ee Issue #2742599 by Mile23: Fix 'Drupal.WhiteSpace.ObjectOperatorSpacing' coding standard 2016-07-04 11:48:49 +01:00
Alex Pott 700452ba6a Issue #2722621 by anoopjohn: Fix Drupal.Commenting.FunctionComment.InvalidReturn and Drupal.Commenting.FunctionComment.VoidReturn 2016-06-08 13:16:48 +01:00
Alex Pott df0425cfe1 Issue #2721909 by anoopjohn: Fix Drupal.Commenting.FunctionComment.ReturnCommentIndentation 2016-06-02 15:20:55 +01:00
Alex Pott 899f647387 Issue #2716661 by anoopjohn: Fix 'Drupal.Commenting.FunctionComment' coding standard - Issues related to @see references 2016-05-08 17:42:30 -05:00
Alex Pott f324b3e358 Issue #2708179 by anoopjohn: Fix 'Drupal.Commenting.FunctionComment' coding standard - Issues related to @throws 2016-05-08 14:57:36 -05:00
Alex Pott 55e2442d76 Issue #2721283 by alexpott: Fix Drupal.Commenting.FunctionComment.$InReturnType 2016-05-08 14:34:57 -05:00
Alex Pott 853202a000 Issue #2572619 by attiks, andypost, pfrenssen, vprocessor, tatarbj, andriyun, alexpott: Fix 'Drupal.Classes.ClassDeclaration' coding standard 2016-05-08 12:33:57 -05:00
Alex Pott b5969b69bd Issue #2708185 by anoopjohn: Fix 'Drupal.Commenting.FunctionComment' coding standard - Issues related to spacing and styling 2016-05-08 11:29:19 -05:00
Alex Pott 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott 94c628a9ca Issue #2572633 by vprocessor, andypost, attiks, andriyun: Fix 'Drupal.Commenting.ClassComment' coding standard 2016-05-08 08:57:21 -05:00
Alex Pott 524dc283d5 Issue #2715965 by alexpott: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-05-05 12:33:36 +01:00
Alex Pott 70f58860c8 Issue #2716685 by Mile23: Part 2: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-05-05 12:32:19 +01:00
Alex Pott c26745da88 Issue #2706753 by Mile23: Fix 'PSR2.Classes.PropertyDeclaration.ScopeMissing/VarUsed' coding standard 2016-05-05 12:21:09 +01:00
Alex Pott d5d0d6ce87 Issue #2572777 by andypost, alexpott, attiks, andriyun: Fix 'Squiz.Strings.ConcatenationSpacing' coding standard 2016-05-05 12:07:19 +01:00
Alex Pott a1d3a681f6 Issue #2572693 by Mile23, andriyun, andypost, attiks: Fix 'Drupal.ControlStructures.ControlSignature' coding standard 2016-05-05 11:07:32 +01:00
Alex Pott 6ab5a3aaa1 Issue #2715741 by Mile23, pfrenssen: Fix 'Drupal.Classes.FullyQualifiedNamespace' coding standard 2016-04-30 15:11:15 +01:00
Alex Pott 3eeaeb6490 Issue #2707371 by Mile23: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-04-30 14:52:19 +01:00
Alex Pott 6098437ef5 Issue #2572793 by attiks, andypost: Fix 'Drupal.WhiteSpace.OperatorSpacing' coding standard 2016-04-29 12:02:20 +01:00
Alex Pott b864a3a55f Issue #2710201 by alexpott, andypost: Fix Drupal.Semantics.FunctionT.WhiteSpace and Drupal.Semantics.FunctionT.Concat 2016-04-29 10:05:19 +01:00
Alex Pott b13374f2b1 Issue #2707641 by alexpott, anoopjohn: Ensure core compliance to Drupal.Commenting.FunctionComment.ParamCommentIndentation (part 2) 2016-04-29 09:53:52 +01:00