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" }, 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() { } /** 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() { } /**