jenkins-bot has submitted this change and it was merged.
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: I10610d88c258914492ea1e704013ec76e291a4f0
---
M Snoopy.class.php
1 file changed, 12 insertions(+), 12 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Snoopy.class.php b/Snoopy.class.php
index 61b20b5..96ffb1e 100644
--- a/Snoopy.class.php
+++ b/Snoopy.class.php
@@ -95,20 +95,20 @@
// as of this Snoopy release.
/**** Private variables ****/
- var $_maxlinelen = 4096; // max
line length (headers)
+ public $_maxlinelen = 4096; // max
line length (headers)
- var $_httpmethod = 'GET'; //
default http request method
- var $_httpversion = 'HTTP/1.0'; // default http
request version
- var $_submit_method = 'POST'; //
default submit method
- var $_submit_type = 'application/x-www-form-urlencoded'; //
default submit type
- var $_mime_boundary = ''; // MIME
boundary for multipart/form-data submit type
- var $_redirectaddr = false; // will
be set if page fetched is a redirect
- var $_redirectdepth = 0; //
increments on an http redirect
- var $_frameurls = array(); //
frame src urls
- var $_framedepth = 0; //
increments on frame depth
+ public $_httpmethod = 'GET'; //
default http request method
+ public $_httpversion = 'HTTP/1.0'; // default http
request version
+ public $_submit_method = 'POST'; //
default submit method
+ public $_submit_type = 'application/x-www-form-urlencoded'; //
default submit type
+ public $_mime_boundary = ''; // MIME
boundary for multipart/form-data submit type
+ public $_redirectaddr = false; // will
be set if page fetched is a redirect
+ public $_redirectdepth = 0; //
increments on an http redirect
+ public $_frameurls = array();
// frame src urls
+ public $_framedepth = 0; //
increments on frame depth
- var $_isproxy = false; // set
if using a proxy server
- var $_fp_timeout = 30; //
timeout for socket connection
+ public $_isproxy = false;
// set if using a proxy server
+ public $_fp_timeout = 30; //
timeout for socket connection
/*======================================================================*\
Function: fetch
--
To view, visit https://gerrit.wikimedia.org/r/154639
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I10610d88c258914492ea1e704013ec76e291a4f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiAuth
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Daniel Friesen <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits