Avoid Jenkins' CodeSniffer warnings for Userlogin
authorS Page <spage@wikimedia.org>
Tue, 12 Feb 2013 03:23:37 +0000 (19:23 -0800)
committerS Page <spage@wikimedia.org>
Tue, 12 Feb 2013 03:23:37 +0000 (19:23 -0800)
commit343382e4b783d528d7b1a3153681463c4c6a4597
tree8f4e4405a21969cdb8c7f03bb32080a2fdf7c22e
parent48dff3e3a90d09d31162bda078f0cb126b35ef65
Avoid Jenkins' CodeSniffer warnings for Userlogin

Change property declarations from "var" to "public". This eliminates the
 46 | ERROR | The var keyword must not be used to declare a property
warnings from Jenkins CI, e.g.
https://integration.mediawiki.org/ci/job/mediawiki-core-phpcs-HEAD/1565/console

http://php.net/manual/en/language.oop5.properties.php says
  "If you declare a property using var instead of one of public,
protected, or private, then PHP 5 will treat the property as if it had
been declared as public."
, so this should be a no-op.

Change-Id: I754ccea018f95421bfe3f7b04e3ab3a6d9b407e3
includes/specials/SpecialUserlogin.php