1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-12 03:34:15 +01:00

65 Commits

Author SHA1 Message Date
Marc Alexander
95496ebd38
[ticket/16748] Adjust coding guidelines to put static after visibility
PHPBB3-16748
2021-04-03 22:41:58 +02:00
Marc Alexander
0897d3e381
[ticket/16736] Add sniffer for visibilitiy qualifiers before static keyword
PHPBB3-16736
2021-03-23 22:09:05 +01:00
Máté Bartus
7e1529c7df [ticket/16678] Allow using traits
PHPBB3-16678
2021-01-05 18:21:30 +01:00
Máté Bartus
0208dbf985 [ticket/16671] Allow importing functions through use statements
PHPBB3-16671
2021-01-01 11:46:23 +01:00
Máté Bartus
fd8cb2a0e8 [ticket/16671] Allow using objects from the global namespace
PHPBB3-16671
2020-12-31 15:22:50 +01:00
Máté Bartus
3d8f7ee33b [ticket/16671] Do not allow leading backslashes in use statements
PHPBB3-16671
2020-12-31 14:49:49 +01:00
Máté Bartus
cb894cee42 [ticket/16671] Match fully qualified names correctly
PHPBB3-16671
2020-12-31 14:39:11 +01:00
Marc Alexander
9223781797
[ticket/14948] Update codesniffer files to be compatible with phpcs 3.x
PHPBB3-14948
2019-05-09 21:57:10 +02: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