| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | function __construct( $blog_id, $user_id, $scope, $client_id, $external_user_id, $external_user_code, $auth_type ) { |
||
| 17 | $this->blog_id = $blog_id; // if blog_id is set and scope is not global, limit to that blog |
||
| 18 | $this->user_id = $user_id; |
||
| 19 | $this->client_id = $client_id; |
||
| 20 | $this->scope = $scope; |
||
| 21 | $this->external_user_id = $external_user_id; |
||
| 22 | $this->external_user_code = $external_user_code; |
||
| 23 | $this->auth_type = $auth_type; |
||
| 24 | } |
||
| 25 | |||
| 53 | } |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.