Skip to content

Commit f789972

Browse files
committed
bump Debug::VERSION
fix readme.md badge remove travis.yml
1 parent 5cf2d5f commit f789972

5 files changed

Lines changed: 5 additions & 46 deletions

File tree

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
/.github export-ignore
1616
/.gitignore export-ignore
1717
/.stylelintrc.json export-ignore
18-
/.travis.yml export-ignore
1918
/phpcs.slevomat.xml export-ignore
2019
/phpcs.xml.dist export-ignore
2120
/phpunit.xml.dist export-ignore

.travis.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $monolog->critical('all your base are belong to them');
116116

117117
![No Dependencies](https://img.shields.io/badge/dependencies-none-333333.svg)
118118
![Supported PHP versions](https://img.shields.io/static/v1?label=PHP&message=5.4%20-%208.2&color=blue)
119-
![Build Status](https://img.shields.io/github/workflow/status/bkdotcom/PHPDebugConsole/PHPUnit.svg?logo=github)
119+
![Build Status](https://img.shields.io/github/actions/workflow/status/bkdotcom/PHPDebugConsole/phpunit.yml.svg?logo=github)
120120
[![Codacy Score](https://img.shields.io/codacy/grade/e950849edfd9463b993386080d39875e/master.svg?logo=codacy)](https://app.codacy.com/gh/bkdotcom/PHPDebugConsole/dashboard)
121121
[![Maintainability](https://img.shields.io/codeclimate/maintainability/bkdotcom/PHPDebugConsole.svg?logo=codeclimate)](https://codeclimate.com/github/bkdotcom/PHPDebugConsole)
122122
[![Coverage](https://img.shields.io/codeclimate/coverage-letter/bkdotcom/PHPDebugConsole?logo=codeclimate)](https://codeclimate.com/github/bkdotcom/PHPDebugConsole)

src/Debug/Debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Debug extends AbstractDebug
8787
const EVENT_STREAM_WRAP = 'debug.streamWrap';
8888

8989
const META = "\x00meta\x00";
90-
const VERSION = '3.0.0-b3';
90+
const VERSION = '3.0.2';
9191

9292
protected $cfg = array(
9393
'collect' => false,

src/Debug/Framework/Yii1_1/Component.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ public function init()
128128
/*
129129
Since Yii doesn't use namespaces, we can usually use Debug::_log()
130130
*/
131-
\class_alias('bdk\Debug', 'Debug');
131+
if (\class_exists('Debug') === false) {
132+
\class_alias('bdk\Debug', 'Debug');
133+
}
132134

133135
$this->addDebugProp();
134136
$this->collectLog();

0 commit comments

Comments
 (0)