Skip to content

Commit

Permalink
Method and properties visibility
Browse files Browse the repository at this point in the history
Old style array initialize
Code style
  • Loading branch information
nokitakaze committed Feb 14, 2017
1 parent dfe3dc7 commit 6697ddf
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 112 deletions.
8 changes: 4 additions & 4 deletions lib/Raven/Breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

class Raven_Breadcrumbs
{
var $count;
var $pos;
var $size;
public $count;
public $pos;
public $size;
/**
* @var array[]
*/
var $buffer;
public $buffer;

public function __construct($size = 100)
{
Expand Down
60 changes: 30 additions & 30 deletions lib/Raven/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,46 +66,46 @@ class Raven_Client
*/
protected $transport;

var $logger;
public $logger;
/**
* @var string Full URL to Sentry
*/
var $server;
var $secret_key;
var $public_key;
var $project;
var $auto_log_stacks;
var $name;
var $site;
var $tags;
var $release;
var $environment;
var $trace;
var $timeout;
var $message_limit;
var $exclude;
var $http_proxy;
public $server;
public $secret_key;
public $public_key;
public $project;
public $auto_log_stacks;
public $name;
public $site;
public $tags;
public $release;
public $environment;
public $trace;
public $timeout;
public $message_limit;
public $exclude;
public $http_proxy;
protected $send_callback;
var $curl_method;
var $curl_path;
var $curl_ipv4;
var $ca_cert;
var $verify_ssl;
var $curl_ssl_version;
var $trust_x_forwarded_proto;
var $mb_detect_order;
public $curl_method;
public $curl_path;
public $curl_ipv4;
public $ca_cert;
public $verify_ssl;
public $curl_ssl_version;
public $trust_x_forwarded_proto;
public $mb_detect_order;
/**
* @var Raven_Processor[]
*/
var $processors;
public $processors;
/**
* @var string|int|null
*/
var $_lasterror;
var $_last_event_id;
var $_user;
var $_pending_events;
var $sdk;
public $_lasterror;
public $_last_event_id;
public $_user;
public $_pending_events;
public $sdk;
/**
* @var Raven_CurlHandler
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/Raven/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class Raven_Context
/**
* @var array
*/
var $tags;
public $tags;
/**
* @var array
*/
var $extra;
public $extra;
/**
* @var array|null
*/
var $user;
public $user;

public function __construct()
{
Expand Down
Loading

0 comments on commit 6697ddf

Please sign in to comment.