Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Upgrade to 5.3.7 of the language and fix requirement back to PHP 7.0 …
Browse files Browse the repository at this point in the history
…not 7.1
  • Loading branch information
damieng committed Mar 2, 2018
1 parent 58e4f24 commit 385e885
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 55 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHP language support for Atom-IDE, powered by [FelixFBeckers PHP Language Server](https://github.com/felixfbecker/php-language-server).

Requires [Atom 1.21](https://atom.io/) and a PHP 7.1 runtime installed on your system.
Requires [Atom 1.21](https://atom.io/) and a PHP 7.0 runtime installed on your system.

![Screen shot of IDE-PHP](https://user-images.githubusercontent.com/118951/30307874-5a0b03d6-9736-11e7-84d1-55eafe784cda.png)

Expand Down
159 changes: 108 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ const path = require('path')
const {shell} = require('electron')
const {AutoLanguageClient, DownloadFile} = require('atom-languageclient')

const serverDownloadUrl = 'https://github.com/atom/ide-php/files/1708112/php-ls-5.3.6.tar.gz'
const serverDownloadSize = 3434791
const serverDownloadUrl = 'https://github.com/atom/ide-php/files/1773329/php-ls-5.3.7.tar.gz'
const serverDownloadSize = 3542157
const serverLauncher = path.join('felixfbecker', 'language-server', 'bin', 'php-language-server.php')
const minPHPRuntime = '7.1'
const minPHPRuntime = '7.0'
const bytesToMegabytes = 1024 * 1024

class PHPLanguageClient extends AutoLanguageClient {
Expand Down

0 comments on commit 385e885

Please sign in to comment.