Compare commits
1 Commits
master
...
webmozart/
Author | SHA1 | Date |
---|---|---|
|
c8c6491ef6 |
|
@ -2,3 +2,4 @@ node_modules/
|
|||
out/
|
||||
vendor/
|
||||
.DS_Store
|
||||
package-lock.json
|
||||
|
|
12
.travis.yml
12
.travis.yml
|
@ -1,7 +1,7 @@
|
|||
language: php
|
||||
|
||||
php:
|
||||
- '7.1'
|
||||
- '7.0'
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
@ -9,11 +9,11 @@ cache:
|
|||
- $HOME/.composer/cache
|
||||
|
||||
before_install:
|
||||
- nvm install '12.4.0'
|
||||
- nvm use '12.4.0'
|
||||
- nvm install 8
|
||||
- nvm use 8
|
||||
|
||||
install:
|
||||
- npm ci
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
|
@ -23,9 +23,9 @@ jobs:
|
|||
include:
|
||||
- stage: test
|
||||
- stage: release
|
||||
php: '7.1'
|
||||
php: '7.0'
|
||||
install:
|
||||
- npm ci
|
||||
- npm install
|
||||
- composer install --prefer-dist --no-interaction --optimize-autoloader
|
||||
script:
|
||||
- npm run build
|
||||
|
|
|
@ -5,7 +5,6 @@ images/**
|
|||
out/test/**
|
||||
src/**
|
||||
vendor/jetbrains/phpstorm-stubs/**
|
||||
!vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php
|
||||
vendor/bin/**
|
||||
**/.DS_Store
|
||||
**/.editorconfig
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
{
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "7.1.0"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"felixfbecker/language-server": "5.4.6"
|
||||
},
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "9c2828a729b23a2d11872a4acf98a8e5",
|
||||
"content-hash": "39802487ae11be58ce180eb941724a47",
|
||||
"packages": [
|
||||
{
|
||||
"name": "composer/xdebug-handler",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/xdebug-handler.git",
|
||||
"reference": "46867cbf8ca9fb8d60c506895449eb799db1184f"
|
||||
"reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f",
|
||||
"reference": "46867cbf8ca9fb8d60c506895449eb799db1184f",
|
||||
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/b8e9745fb9b06ea6664d8872c4505fb16df4611c",
|
||||
"reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -48,20 +48,20 @@
|
|||
"Xdebug",
|
||||
"performance"
|
||||
],
|
||||
"time": "2019-05-27T17:52:04+00:00"
|
||||
"time": "2018-08-31T19:07:57+00:00"
|
||||
},
|
||||
{
|
||||
"name": "felixfbecker/advanced-json-rpc",
|
||||
"version": "v3.0.4",
|
||||
"version": "v3.0.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
|
||||
"reference": "23366dd0cab0a0f3fd3016bf3c0b36dec74348e7"
|
||||
"reference": "241c470695366e7b83672be04ea0e64d8085a551"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/23366dd0cab0a0f3fd3016bf3c0b36dec74348e7",
|
||||
"reference": "23366dd0cab0a0f3fd3016bf3c0b36dec74348e7",
|
||||
"url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/241c470695366e7b83672be04ea0e64d8085a551",
|
||||
"reference": "241c470695366e7b83672be04ea0e64d8085a551",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -89,7 +89,7 @@
|
|||
}
|
||||
],
|
||||
"description": "A more advanced JSONRPC implementation",
|
||||
"time": "2019-09-12T22:41:08+00:00"
|
||||
"time": "2018-09-10T08:58:41+00:00"
|
||||
},
|
||||
{
|
||||
"name": "felixfbecker/language-server",
|
||||
|
@ -165,16 +165,16 @@
|
|||
},
|
||||
{
|
||||
"name": "felixfbecker/language-server-protocol",
|
||||
"version": "v1.4.0",
|
||||
"version": "v1.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/felixfbecker/php-language-server-protocol.git",
|
||||
"reference": "378801f6139bb74ac215d81cca1272af61df9a9f"
|
||||
"reference": "1bdd1bcc95428edf85ec04c7b558d0886c07280f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/378801f6139bb74ac215d81cca1272af61df9a9f",
|
||||
"reference": "378801f6139bb74ac215d81cca1272af61df9a9f",
|
||||
"url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/1bdd1bcc95428edf85ec04c7b558d0886c07280f",
|
||||
"reference": "1bdd1bcc95428edf85ec04c7b558d0886c07280f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -208,7 +208,7 @@
|
|||
"php",
|
||||
"server"
|
||||
],
|
||||
"time": "2019-06-23T21:03:50+00:00"
|
||||
"time": "2018-09-25T11:42:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "jetbrains/phpstorm-stubs",
|
||||
|
@ -216,26 +216,20 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/JetBrains/phpstorm-stubs.git",
|
||||
"reference": "f3a010af18f763091fe2182b16c041333ba6a7fb"
|
||||
"reference": "a9e42cb008fa037dee6a4a9eda5296d2436c2ea4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/f3a010af18f763091fe2182b16c041333ba6a7fb",
|
||||
"reference": "f3a010af18f763091fe2182b16c041333ba6a7fb",
|
||||
"url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/a9e42cb008fa037dee6a4a9eda5296d2436c2ea4",
|
||||
"reference": "a9e42cb008fa037dee6a4a9eda5296d2436c2ea4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
"nikic/php-parser": "^4",
|
||||
"php": "^7.1",
|
||||
"nikic/php-parser": "v4.0.1",
|
||||
"phpdocumentor/reflection-docblock": "^4.3",
|
||||
"phpunit/phpunit": "^7"
|
||||
"phpunit/phpunit": "7.1.4"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"PhpStormStubsMap.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
|
@ -252,20 +246,20 @@
|
|||
"stubs",
|
||||
"type"
|
||||
],
|
||||
"time": "2019-09-18T14:39:59+00:00"
|
||||
"time": "2018-11-13T11:32:33+00:00"
|
||||
},
|
||||
{
|
||||
"name": "microsoft/tolerant-php-parser",
|
||||
"version": "v0.0.18",
|
||||
"version": "v0.0.15",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/tolerant-php-parser.git",
|
||||
"reference": "e255aa978b45729094da2a1a6f9954044a244ff2"
|
||||
"url": "https://github.com/Microsoft/tolerant-php-parser.git",
|
||||
"reference": "54a84f1250dcde5641e86b5e966fec5f0e201f71"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/microsoft/tolerant-php-parser/zipball/e255aa978b45729094da2a1a6f9954044a244ff2",
|
||||
"reference": "e255aa978b45729094da2a1a6f9954044a244ff2",
|
||||
"url": "https://api.github.com/repos/Microsoft/tolerant-php-parser/zipball/54a84f1250dcde5641e86b5e966fec5f0e201f71",
|
||||
"reference": "54a84f1250dcde5641e86b5e966fec5f0e201f71",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -293,27 +287,23 @@
|
|||
}
|
||||
],
|
||||
"description": "Tolerant PHP-to-AST parser designed for IDE usage scenarios",
|
||||
"time": "2019-07-01T02:21:00+00:00"
|
||||
"time": "2018-09-26T05:43:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "netresearch/jsonmapper",
|
||||
"version": "v1.6.0",
|
||||
"version": "v1.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cweiske/jsonmapper.git",
|
||||
"reference": "0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06"
|
||||
"reference": "3868fe1128ce1169228acdb623359dca74db5ef3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06",
|
||||
"reference": "0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06",
|
||||
"url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/3868fe1128ce1169228acdb623359dca74db5ef3",
|
||||
"reference": "3868fe1128ce1169228acdb623359dca74db5ef3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"ext-pcre": "*",
|
||||
"ext-reflection": "*",
|
||||
"ext-spl": "*",
|
||||
"php": ">=5.6"
|
||||
},
|
||||
"require-dev": {
|
||||
|
@ -333,43 +323,45 @@
|
|||
"authors": [
|
||||
{
|
||||
"name": "Christian Weiske",
|
||||
"role": "Developer",
|
||||
"email": "cweiske@cweiske.de",
|
||||
"homepage": "http://github.com/cweiske/jsonmapper/"
|
||||
"homepage": "http://github.com/cweiske/jsonmapper/",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Map nested JSON structures onto PHP classes",
|
||||
"time": "2019-08-15T19:41:25+00:00"
|
||||
"time": "2017-11-28T21:30:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpdocumentor/reflection-common",
|
||||
"version": "2.0.0",
|
||||
"version": "1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
|
||||
"reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a"
|
||||
"reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/63a995caa1ca9e5590304cd845c15ad6d482a62a",
|
||||
"reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
|
||||
"reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
"php": ">=5.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~6"
|
||||
"phpunit/phpunit": "^4.6"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.x-dev"
|
||||
"dev-master": "1.0.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": "src/"
|
||||
"phpDocumentor\\Reflection\\": [
|
||||
"src"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
|
@ -391,30 +383,30 @@
|
|||
"reflection",
|
||||
"static analysis"
|
||||
],
|
||||
"time": "2018-08-07T13:53:10+00:00"
|
||||
"time": "2017-09-11T18:02:19+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpdocumentor/reflection-docblock",
|
||||
"version": "4.3.2",
|
||||
"version": "4.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
||||
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e"
|
||||
"reference": "94fd0001232e47129dd3504189fa1c7225010d08"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
|
||||
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
|
||||
"reference": "94fd0001232e47129dd3504189fa1c7225010d08",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0",
|
||||
"phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0",
|
||||
"phpdocumentor/type-resolver": "~0.4 || ^1.0.0",
|
||||
"phpdocumentor/reflection-common": "^1.0.0",
|
||||
"phpdocumentor/type-resolver": "^0.4.0",
|
||||
"webmozart/assert": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/instantiator": "^1.0.5",
|
||||
"doctrine/instantiator": "~1.0.5",
|
||||
"mockery/mockery": "^1.0",
|
||||
"phpunit/phpunit": "^6.4"
|
||||
},
|
||||
|
@ -442,40 +434,41 @@
|
|||
}
|
||||
],
|
||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||
"time": "2019-09-12T14:27:41+00:00"
|
||||
"time": "2017-11-30T07:14:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpdocumentor/type-resolver",
|
||||
"version": "1.0.1",
|
||||
"version": "0.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
||||
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9"
|
||||
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9",
|
||||
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9",
|
||||
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
|
||||
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.1",
|
||||
"phpdocumentor/reflection-common": "^2.0"
|
||||
"php": "^5.5 || ^7.0",
|
||||
"phpdocumentor/reflection-common": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-tokenizer": "^7.1",
|
||||
"mockery/mockery": "~1",
|
||||
"phpunit/phpunit": "^7.0"
|
||||
"mockery/mockery": "^0.9.4",
|
||||
"phpunit/phpunit": "^5.2||^4.8.24"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.x-dev"
|
||||
"dev-master": "1.0.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": "src"
|
||||
"phpDocumentor\\Reflection\\": [
|
||||
"src/"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
|
@ -488,21 +481,20 @@
|
|||
"email": "me@mikevanriel.com"
|
||||
}
|
||||
],
|
||||
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
|
||||
"time": "2019-08-22T18:11:29+00:00"
|
||||
"time": "2017-07-14T14:27:02+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/log",
|
||||
"version": "1.1.0",
|
||||
"version": "1.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/log.git",
|
||||
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
|
||||
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
|
||||
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
|
||||
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -536,7 +528,7 @@
|
|||
"psr",
|
||||
"psr-3"
|
||||
],
|
||||
"time": "2018-11-20T15:27:04+00:00"
|
||||
"time": "2016-10-10T12:19:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sabre/event",
|
||||
|
@ -577,9 +569,9 @@
|
|||
"authors": [
|
||||
{
|
||||
"name": "Evert Pot",
|
||||
"role": "Developer",
|
||||
"email": "me@evertpot.com",
|
||||
"homepage": "http://evertpot.com/"
|
||||
"homepage": "http://evertpot.com/",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "sabre/event is a library for lightweight event-based programming",
|
||||
|
@ -600,23 +592,24 @@
|
|||
},
|
||||
{
|
||||
"name": "sabre/uri",
|
||||
"version": "2.1.3",
|
||||
"version": "2.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sabre-io/uri.git",
|
||||
"reference": "18f454324f371cbcabdad3d0d3755b4b0182095d"
|
||||
"reference": "a42126042c7dcb53e2978dadb6d22574d1359b4c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sabre-io/uri/zipball/18f454324f371cbcabdad3d0d3755b4b0182095d",
|
||||
"reference": "18f454324f371cbcabdad3d0d3755b4b0182095d",
|
||||
"url": "https://api.github.com/repos/sabre-io/uri/zipball/a42126042c7dcb53e2978dadb6d22574d1359b4c",
|
||||
"reference": "a42126042c7dcb53e2978dadb6d22574d1359b4c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6"
|
||||
"phpunit/phpunit": "^6.0",
|
||||
"sabre/cs": "~1.0.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
|
@ -646,20 +639,20 @@
|
|||
"uri",
|
||||
"url"
|
||||
],
|
||||
"time": "2019-09-09T23:00:25+00:00"
|
||||
"time": "2017-02-20T20:02:35+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.12.0",
|
||||
"version": "v1.10.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "550ebaac289296ce228a706d0867afc34687e3f4"
|
||||
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
|
||||
"reference": "550ebaac289296ce228a706d0867afc34687e3f4",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
|
||||
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -671,7 +664,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.12-dev"
|
||||
"dev-master": "1.9-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -687,13 +680,13 @@
|
|||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Gert de Pagter",
|
||||
"email": "BackEndTea@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "https://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Gert de Pagter",
|
||||
"email": "BackEndTea@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony polyfill for ctype functions",
|
||||
|
@ -704,20 +697,20 @@
|
|||
"polyfill",
|
||||
"portable"
|
||||
],
|
||||
"time": "2019-08-06T08:03:45+00:00"
|
||||
"time": "2018-08-06T14:22:27+00:00"
|
||||
},
|
||||
{
|
||||
"name": "webmozart/assert",
|
||||
"version": "1.5.0",
|
||||
"version": "1.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/webmozart/assert.git",
|
||||
"reference": "88e6d84706d09a236046d686bbea96f07b3a34f4"
|
||||
"reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4",
|
||||
"reference": "88e6d84706d09a236046d686bbea96f07b3a34f4",
|
||||
"url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
|
||||
"reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -725,7 +718,8 @@
|
|||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8.36 || ^7.5.13"
|
||||
"phpunit/phpunit": "^4.6",
|
||||
"sebastian/version": "^1.0.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
|
@ -754,7 +748,7 @@
|
|||
"check",
|
||||
"validate"
|
||||
],
|
||||
"time": "2019-08-24T08:43:50+00:00"
|
||||
"time": "2018-12-25T11:19:39+00:00"
|
||||
},
|
||||
{
|
||||
"name": "webmozart/glob",
|
||||
|
@ -857,8 +851,5 @@
|
|||
"prefer-stable": true,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": [],
|
||||
"platform-overrides": {
|
||||
"php": "7.1.0"
|
||||
}
|
||||
"platform-dev": []
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -56,10 +56,10 @@
|
|||
"@commitlint/cli": "7.2.1",
|
||||
"@commitlint/config-conventional": "7.1.2",
|
||||
"@types/execa": "0.9.0",
|
||||
"@types/mocha": "5.2.7",
|
||||
"@types/mocha": "5.2.5",
|
||||
"@types/mz": "0.0.32",
|
||||
"@types/node": "8.10.29",
|
||||
"@types/semver": "6.2.0",
|
||||
"@types/semver": "5.5.0",
|
||||
"husky": "1.1.3",
|
||||
"prettier": "1.15.3",
|
||||
"semantic-release": "15.10.8",
|
||||
|
@ -72,7 +72,7 @@
|
|||
"dependencies": {
|
||||
"execa": "1.0.0",
|
||||
"mz": "2.7.0",
|
||||
"semver": "6.3.0",
|
||||
"semver": "5.6.0",
|
||||
"vscode-languageclient": "5.1.1"
|
||||
},
|
||||
"commitlint": {
|
||||
|
|
|
@ -5,8 +5,7 @@ import * as path from 'path'
|
|||
import * as semver from 'semver'
|
||||
import * as url from 'url'
|
||||
import * as vscode from 'vscode'
|
||||
import { LanguageClient, LanguageClientOptions, RevealOutputChannelOn, StreamInfo } from 'vscode-languageclient'
|
||||
const composerJson = require('../composer.json')
|
||||
import { LanguageClient, LanguageClientOptions, StreamInfo } from 'vscode-languageclient'
|
||||
|
||||
export async function activate(context: vscode.ExtensionContext): Promise<void> {
|
||||
const conf = vscode.workspace.getConfiguration('php')
|
||||
|
@ -59,8 +58,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
|||
if (!/^\d+.\d+.\d+$/.test(version)) {
|
||||
version = version.replace(/(\d+.\d+.\d+)/, '$1-')
|
||||
}
|
||||
if (semver.lt(version, composerJson.config.platform.php)) {
|
||||
vscode.window.showErrorMessage('The language server needs at least PHP 7.1 installed. Version found: ' + version)
|
||||
if (semver.lt(version, '7.0.0')) {
|
||||
vscode.window.showErrorMessage('The language server needs at least PHP 7 installed. Version found: ' + version)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -112,7 +111,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
|||
const clientOptions: LanguageClientOptions = {
|
||||
// Register the server for php documents
|
||||
documentSelector: [{ scheme: 'file', language: 'php' }, { scheme: 'untitled', language: 'php' }],
|
||||
revealOutputChannelOn: RevealOutputChannelOn.Never,
|
||||
uriConverters: {
|
||||
// VS Code by default %-encodes even the colon after the drive letter
|
||||
// NodeJS handles it much better
|
||||
|
|
Loading…
Reference in New Issue