Kunal Mehta
0cb2a09b6d
Always put type information before variable name for @var tags
...
Like other tags, @var should have the type information before the
variable name.
<https://docs.phpdoc.org/references/phpdoc/tags/var.html >
Change-Id: I9eca6957b1990fa8cc687103dc02ee38af5f9086
2017-09-04 11:06:51 -07:00
Umherirrender
3f1a52805e
Use short type bool/int in param documentation
...
Enable the phpcs sniffs for this and used phpcbf
Change-Id: Iaa36687154ddd2bf663b9dd519f5c99409d37925
2017-08-20 13:20:59 +02:00
Umherirrender
bf61a77431
Change @inheritdoc to @inheritDoc
...
Only @inheritDoc works for the Sniff
MediaWiki.Commenting.FunctionComment
Change-Id: I91fc02cda6701d790e4334fc2bc47f230955545c
2017-08-11 16:49:52 +02:00
Umherirrender
be42e09aa8
build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0
...
The used phpcs has a bug, so the version 0.9.0 could not be enforced at the moment.
Will be fixed in next version, see T167168
Changed:
- Remove duplicate newline at end of file
- Add space between function and ( for closures
- and -> &&, or -> ||
Change-Id: I4172fb08861729bccd55aecbd07e029e2638d311
2017-06-26 17:14:31 +00:00
Paladox
54c56da85a
Fix php code style
...
Preparation change for updating mediawiki code sniffer to 0.8.0
Change-Id: Ib0b3fe4afea9096ffa3a1347b4f7e07d3398b0b2
2017-05-05 12:03:54 +00:00
Kunal Mehta
5f56f08dfa
Move SamplingStatsdClient into stats/ subdirectory
...
Change-Id: Ib871aa5cd674d58da3d19bfbb5660539afc863b3
2016-09-21 00:47:55 -07:00