From 5d60776a1be93bac9374a1f44d426585dd9f689f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B9=8B=E7=BE=8E?= Date: Thu, 1 Oct 2020 11:39:38 +0800 Subject: [PATCH 1/3] support php8.0 --- src/PhpConsole/Connector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpConsole/Connector.php b/src/PhpConsole/Connector.php index 94e7eab..6df2819 100644 --- a/src/PhpConsole/Connector.php +++ b/src/PhpConsole/Connector.php @@ -98,7 +98,7 @@ protected function __construct() { $this->setServerEncoding(ini_get('mbstring.internal_encoding') ? : self::CLIENT_ENCODING); } - private final function __clone() { + private function __clone() { } /** From 8ac18709f9b075c169211f0d17cf3d407f8effc8 Mon Sep 17 00:00:00 2001 From: hetao Date: Thu, 1 Oct 2020 11:48:56 +0800 Subject: [PATCH 2/3] change package name --- .idea/.gitignore | 8 +++++++ .idea/jsLibraryMappings.xml | 6 +++++ .idea/misc.xml | 46 +++++++++++++++++++++++++++++++++++++ .idea/phing.xml | 6 +++++ .idea/php.xml | 13 +++++++++++ composer.json | 6 ++--- 6 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/jsLibraryMappings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/phing.xml create mode 100644 .idea/php.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..14897bc --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/../../../../../:\sites\git\php-console\.idea/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..d23208f --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e591584 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/phing.xml b/.idea/phing.xml new file mode 100644 index 0000000..74e5633 --- /dev/null +++ b/.idea/phing.xml @@ -0,0 +1,6 @@ + + + + C:/software/php/phing.bat + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..0483c23 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/composer.json b/composer.json index e413336..a7bd5dd 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "php-console/php-console", + "name": "haohetao/php-console", "description": "PHP library for Google Chrome extension \"PHP Console\".", "keywords": [ "PHP", @@ -23,10 +23,10 @@ "issues": "https://github.com/barbushin/php-console/issues" }, "require": { - "php": ">=5.3.0" + "php": ">=7.0.0" }, "require-dev": { - "phpunit/phpunit": "^4.8", + "phpunit/phpunit": "*", "ext-mbstring": "*", "psr/log": "^1.0" }, From 98ae003c0f750e61cb06fa6ab6530dcc1b026d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B9=8B=E7=BE=8E?= Date: Fri, 16 Oct 2020 02:38:04 +0800 Subject: [PATCH 3/3] Update Handler.php --- src/PhpConsole/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpConsole/Handler.php b/src/PhpConsole/Handler.php index 6ae2021..6bd0bf9 100644 --- a/src/PhpConsole/Handler.php +++ b/src/PhpConsole/Handler.php @@ -52,7 +52,7 @@ protected function __construct() { /** * @codeCoverageIgnore */ - private final function __clone() { + private function __clone() { } /**