File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 <exclude name =" MediaWiki.Commenting.FunctionComment.MissingParamTag" />
1010 <exclude name =" MediaWiki.Commenting.FunctionComment.MissingReturn" />
1111 <exclude name =" MediaWiki.Commenting.FunctionComment.WrongStyle" />
12- <exclude name =" MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
1312 <exclude name =" MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
1413 <exclude name =" MediaWiki.Files.ClassMatchesFilename.NotMatch" />
1514 <exclude name =" MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
Original file line number Diff line number Diff line change @@ -17,8 +17,11 @@ class lessc {
1717 public static $ VERSION = Less_Version::less_version;
1818
1919 public $ importDir = '' ;
20+ /** @var array<string,int> */
2021 protected $ allParsedFiles = [];
22+ /** @var array<string,callable> */
2123 protected $ libFunctions = [];
24+ /** @var array */
2225 protected $ registeredVars = [];
2326 /** @var string */
2427 private $ formatterName ;
Original file line number Diff line number Diff line change 44 */
55class Less_Exception_Chunk extends Less_Exception_Parser {
66
7+ /** @var int */
78 protected $ parserCurrentIndex = 0 ;
89
10+ /** @var int */
911 protected $ emitFrom = 0 ;
1012
13+ /** @var int */
1114 protected $ input_len ;
1215
1316 /**
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class Less_Exception_Parser extends Exception {
1919 */
2020 public $ index ;
2121
22+ /** @var string|null */
2223 protected $ input ;
2324
2425 /**
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ class Less_Parser {
7171 */
7272 private $ env ;
7373
74+ /** @var Less_Tree[] */
7475 protected $ rules = [];
7576
7677 /**
Original file line number Diff line number Diff line change 44 */
55class Less_Tree_Ruleset extends Less_Tree {
66
7+ /** @var array[][] */
78 protected $ lookups ;
89 public $ _variables ;
910 public $ _properties ;
Original file line number Diff line number Diff line change 44 */
55class Less_Visitor {
66
7+ /** @var array */
78 protected $ _visitFnCache = [];
89
910 public function __construct () {
Original file line number Diff line number Diff line change 11<?php
22
33class LessTestCase extends PHPUnit \Framework \TestCase {
4+ /** @var string */
45 protected static $ fixturesDir ;
6+ /** @var string */
57 protected static $ cacheDir ;
68
79 public static function setUpBeforeClass (): void {
You can’t perform that action at this time.
0 commit comments