1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-19 23:55:22 +01:00

58 Commits

Author SHA1 Message Date
Marc Alexander
c4b3a2ea25
[ticket/14948] Update codesniffer files to be compatible with phpcs 3.x
PHPBB3-14948
2019-01-02 20:19:56 +01:00
Máté Bartus
68645d38ef Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14598] Support vars docblock in sniffer
2016-04-13 10:20:07 +02:00
Tristan Darricau
96bdcedacd
[ticket/14598] Support vars docblock in sniffer
PHPBB3-14598
2016-04-12 22:26:57 +02:00
Tristan Darricau
d256d81a51 [ticket/14377] Handle new $classname() in the sniffer
PHPBB3-14377
2015-12-23 18:45:37 +01:00
Marc Alexander
d4e0c08915 [ticket/13930] Use OpeningParenthesisSniff in legacy ruleset
PHPBB3-13930
2015-06-08 13:40:33 +02:00
Marc Alexander
d70ad1230b [ticket/13930] Remove not needed return statements
PHPBB3-13930
2015-06-08 10:07:12 +02:00
Marc Alexander
6687b7e9ab [ticket/13930] Check for correct spacing between keyword & parenthesis
The codesniffer should check for a correct spacing between keywords like
if or foreach and its opening parenthesis.

PHPBB3-13930
2015-06-07 22:51:33 +02:00
Nils Adermann
01073ffcbf Merge pull request #3560 from Nicofuma/ticket/13790
[ticket/13790] Update phpcs
2015-05-30 10:53:47 +02:00
Tristan Darricau
a462f14aa3 [ticket/13790] Update phpcs
PHPBB3-13790
2015-05-19 22:19:18 +02:00
Joas Schilling
e52bc2d022 Merge pull request #3606 from Nicofuma/ticket/13838
[ticket/13838] Check braces for control structures
2015-05-16 13:39:45 +02:00
Nicofuma
3bc2b54128 [ticket/13830] Fix unsused used statements and catch blocks
PHPBB3-13830
2015-05-14 16:02:05 +02:00
Nicofuma
62e13e945c [ticket/13838] Fix coding style
PHPBB3-13838
2015-05-14 15:43:44 +02:00
Nicofuma
e4b30c474b [ticket/13838] Check braces for control structures
PHPBB3-13838
2015-05-14 15:40:52 +02:00
Nicofuma
084aa56777 [ticket/13830] Check class used in catch statements
PHPBB3-13830
2015-05-10 21:13:36 +02:00
Tristan Darricau
6b92fccd06 [ticket/13511] Call the check() method with the phpcsFile object
PHPBB3-13511
2015-01-17 00:09:06 +01:00
Tristan Darricau
7f7f60698c [ticket/13402] Handle arrays and multiples types
PHPBB3-13402
2014-11-30 20:55:29 +01:00
Tristan Darricau
13d4394844 [ticket/13402] Refactor unused use Sniff
PHPBB3-13402
2014-11-30 19:18:18 +01:00
Tristan Darricau
c5227ab2a5 [ticket/13402] Code sniffer, unused use, check the function doc blocks
PHPBB3-13402
2014-11-29 19:17:52 +01:00
Tristan Darricau
79ce924bc1 [ticket/13381] Allow ' *' in the doc blocks (especially the header files)
PHPBB3-13381
2014-11-27 11:20:26 +01:00
Tristan Darricau
57f7fdf989 [ticket/12842] Skip parameters without exlicit type
PHPBB3-12842
2014-07-12 16:55:14 +02:00
Tristan Darricau
7958a97fdd [ticket/12726] Fix coding style
PHPBB3-12726
2014-06-22 23:57:39 +02:00
Tristan Darricau
147ae8374c [ticket/12726] Update error message
PHPBB3-12726
2014-06-22 23:52:19 +02:00
Tristan Darricau
2ff9064ffb [ticket/12726] Fix coding style
PHPBB3-12726
2014-06-22 23:52:17 +02:00
Tristan Darricau
fa5afb60aa [ticket/12726] Ensure PHP files do not contain any unused use statements
PHPBB3-12726
2014-06-22 23:52:16 +02:00
Tristan Darricau
e46ef86104 [ticket/12726] PSR2.Namespaces.NamespaceDeclaration
PHPBB3-12726
2014-06-22 23:52:14 +02:00
Andreas Fischer
ddb35531ac [ticket/12723] Do not mention too many details on documentation.
PHPBB3-12723
2014-06-22 01:49:59 +02:00
Andreas Fischer
e10bf39d08 [ticket/12723] Do not reference the coding guidelines section.
PHPBB3-12723
2014-06-22 01:42:43 +02:00
Andreas Fischer
900a5b07c4 [ticket/12757] Add a Code Sniffer ruleset for PHP files of phpBB extensions
PHPBB3-12757
2014-06-22 01:33:13 +02:00
Andreas Fischer
82c43e258b [ticket/12723] Properly describe new Code Sniffer rulsets.
PHPBB3-12723
2014-06-22 01:20:49 +02:00
Andreas Fischer
e7c6da2c54 [ticket/12723] Use core suffix in filename instead of phpbb in the middle.
PHPBB3-12723
2014-06-22 01:19:02 +02:00
Tristan Darricau
32a2c95f90 [ticket/12723] Add Sniff ensuring PHP files use the correct file header
PHPBB3-12723
2014-06-22 00:45:34 +02:00
Tristan Darricau
afcca62784 [ticket/12721] Update rules descriptions
PHPBB3-12721
2014-06-16 23:07:28 +02:00
Tristan Darricau
6b52155a2a [ticket/12721] Add Generic.NamingConventions.ConstructorName in strict
PHPBB3-12721
2014-06-16 22:35:46 +02:00
Tristan Darricau
13c03b6fcf [ticket/12721] Add Squiz.Functions.LowercaseFunctionKeywords in legacy
PHPBB3-12721
2014-06-16 22:35:45 +02:00
Tristan Darricau
a94581e7ca [ticket/12721] Add Squiz.ControlStructures.ForLoopDeclaration in legacy
PHPBB3-12721
2014-06-16 22:35:44 +02:00
Tristan Darricau
99a2f2fdb4 [ticket/12721] Add Squiz.ControlStructures.ForEachLoopDeclaration
PHPBB3-12721
2014-06-16 22:35:42 +02:00
Tristan Darricau
09fc008e62 [ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
PHPBB3-12721
2014-06-16 22:35:41 +02:00
Tristan Darricau
06bf864c41 [ticket/12721] Add Generic.Functions.OpeningFunctionBraceBsdAllman
PHPBB3-12721
2014-06-16 22:35:39 +02:00
Tristan Darricau
34a4ba36cd [ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset
PHPBB3-12721
2014-06-16 22:35:12 +02:00
Tristan Darricau
1aec0d29fd [ticket/12721] Add Generic.Files.LowercasedFilename in the legacy ruleset
PHPBB3-12721
2014-06-16 22:35:11 +02:00
Tristan Darricau
ca3cdadd08 [ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
PHPBB3-12722
2014-06-16 19:05:09 +02:00
Tristan Darricau
5a320adc75 [ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset
PHPBB3-12724
2014-06-16 01:26:59 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Andreas Fischer
89391dec08 [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.
* There MUST NOT be trailing whitespace at the end of lines.
* There MUST NOT be whitespace before the first content of a file.
* There MUST NOT be whitespace after the last content of a file.
* Functions MUST NOT contain multiple empty lines in a row.

PHPBB3-12458
2014-04-29 17:51:21 +02:00
Joas Schilling
e39c4f0d20 [ticket/12349] Fix Sniffer for @license tag
PHPBB3-12349
2014-04-03 15:45:59 +02:00
Andreas Fischer
1e86f71133 [ticket/12180] Add "Each file MUST end with exactly one newline character" rule
PHPBB3-12180
2014-02-10 15:01:50 +01:00
Andreas Fischer
6ac46ad469 [task/code-sniffer] Add PSR1.Files.SideEffects.FoundWithSymbols
PHPBB3-11980
2013-10-30 11:40:34 +01:00
Andreas Fischer
49269fbdf4 [task/code-sniffer] Add PSR1.Classes.ClassDeclaration.MissingNamespace
PHPBB3-11980
2013-10-30 01:33:00 +01:00
Andreas Fischer
3944efe528 [task/code-sniffer] Add Generic.WhiteSpace.DisallowSpaceIndent
PHPBB3-11980
2013-10-30 01:15:57 +01:00
Andreas Fischer
63ce04d565 [task/code-sniffer] Add Generic.Functions.CallTimePassByReference
PHPBB3-11980
2013-10-30 00:49:01 +01:00