Skip to content

Commit 0b7f992

Browse files
committed
Lets make 2.0 a thing
time to light this candle
1 parent ed15de4 commit 0b7f992

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PHPDebugConsole
33

44
Browser/javascript like console class for PHP
55

6-
**Website/Usage/Examples:** http://www.bradkent.com/?page=php/debug
6+
**Website/Usage/Examples:** http://www.bradkent.com/php/debug
77

88
* PHP port of the [javascript web console api](https://developer.mozilla.org/en-US/docs/Web/API/console)
99
* multiple output paths
@@ -19,7 +19,7 @@ Browser/javascript like console class for PHP
1919
* password protected
2020
* send debug log via email
2121

22-
![Screenshot of PHPDebugConsole's Output](http://www.bradkent.com/images/bradkent.com/php/screenshot_1.4.png)
22+
![Screenshot of PHPDebugConsole's Output](http://www.bradkent.com/images/php/screenshot_1.4.png)
2323

2424
### Installation
2525
This library requires PHP 5.4 (function array dereferencing, closure $this support) or later and has no userland dependencies.
@@ -29,13 +29,13 @@ It is installable and autoloadable via [Composer](https://getcomposer.org/) as [
2929
```json
3030
{
3131
"require": {
32-
"bdk/debug": "~1.3",
32+
"bdk/debug": "^2.0",
3333
}
3434
}
3535
```
3636
Alternatively, [download a release](https://github.com/bkdotcom/debug/releases) or clone this repository, then require or include its `Debug.php` file
3737

38-
See http://www.bradkent.com/?page=php/debug for more information
38+
See http://www.bradkent.com/php/debug for more information
3939

4040
### Methods
4141

@@ -51,11 +51,11 @@ See http://www.bradkent.com/?page=php/debug for more information
5151
* table
5252
* time
5353
* timeEnd
54-
* *… [more](http://www.bradkent.com/?page=php/debug#methods)*
54+
* *… [more](http://www.bradkent.com/php/debug#methods)*
5555

5656
### Tests / Quality
57-
[![Build Status](https://travis-ci.org/bkdotcom/PHPDebugConsole.svg?branch=master)](https://travis-ci.org/bkdotcom/PHPDebugConsole)
57+
[![Build Status](https://travis-ci.org/bkdotcom/PHPDebugConsole.svg?branch=master)](https://travis-ci.org/bkdotcom/PHPDebugConsole)
5858
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/789295b4-6040-4367-8fd5-b04a6f0d7a0c/mini.png)](https://insight.sensiolabs.com/projects/789295b4-6040-4367-8fd5-b04a6f0d7a0c)
5959

6060
### Changelog
61-
http://www.bradkent.com/?page=php/debug#changelog
61+
http://www.bradkent.com/php/debug#changelog

src/Debug/AbstractObject.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ public function addProperties(Event $abs, &$hist = array())
276276
/*
277277
We trace our ancestory to learn where properties are inherited from
278278
*/
279-
$isAncestor = false;
280279
while ($reflectionObject) {
281280
$className = $reflectionObject->getName();
282281
$properties = $reflectionObject->getProperties();
@@ -303,7 +302,6 @@ public function addProperties(Event $abs, &$hist = array())
303302
}
304303
$abs['properties'][$name] = $this->getPropInfo($abs, $reflectionProperty);
305304
}
306-
$isAncestor = true;
307305
$reflectionObject = $reflectionObject->getParentClass();
308306
}
309307
$this->addPropertiesPhpDoc($abs); // magic properties documented via phpDoc

0 commit comments

Comments
 (0)