Skip to content

Commit b7b019f

Browse files
authored
Merge pull request #102 from TysonAndre/release-5.1.0
Release 5.1.0 with Phan 5.4.1
2 parents 52189a6 + ec39746 commit b7b019f

File tree

8 files changed

+1298
-1001
lines changed

8 files changed

+1298
-1001
lines changed

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test-php:
13+
name: Check that composer dependencies can be installed
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@master
17+
- name: Set up PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: '7.2'
21+
tools: composer:v2
22+
- name: Composer install
23+
run: composer install
24+
test-node:
25+
name: Test on node ${{ matrix.node_version }}
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
node_version: [14, 16, 18]
30+
31+
steps:
32+
- uses: actions/checkout@master
33+
- name: Use Node.js ${{ matrix.node_version }}
34+
uses: actions/setup-node@master
35+
with:
36+
node-version: ${{ matrix.node_version }}
37+
- name: Install dependencies
38+
run: npm ci
39+
- name: lint
40+
run: npm run lint
41+
- name: build
42+
run: npm run build

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ language: php
22

33
matrix:
44
include:
5-
- php: 7.4
5+
- php: '7.4'
66
env: NODE_VERSION=14
7-
- php: 7.3
7+
- php: '7.3'
88
env: NODE_VERSION=10
9-
- php: 7.2
9+
- php: '7.2'
1010
env: NODE_VERSION=14
11-
- php: 8.0
11+
- php: '8.0'
1212
env: NODE_VERSION=12
13+
- php: '8.1'
14+
env: NODE_VERSION=16
1315

1416
cache:
1517
directories:

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
vscode-php-phan NEWS
22
====================
33

4+
### 5.1.0 (2022-11-01)
5+
6+
- Update Phan from 5.1.0 to 5.4.1
7+
- See [Phan's NEWS](https://github.com/phan/phan/blob/5.4.1/NEWS.md) for more details.
8+
49
### 5.0.0 (2021-08-10)
510

611
- Update Phan from 4.0.7 to 5.1.0

README.md

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,16 @@
22

33
[![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/TysonAndre.php-phan.svg)](https://marketplace.visualstudio.com/items?itemName=TysonAndre.php-phan) [![Installs](https://vsmarketplacebadge.apphb.com/installs/TysonAndre.php-phan.svg)](https://marketplace.visualstudio.com/items?itemName=TysonAndre.php-phan) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/TysonAndre.php-phan.svg)](https://marketplace.visualstudio.com/items?itemName=TysonAndre.php-phan) [![Build Status](https://travis-ci.org/TysonAndre/vscode-php-phan.svg?branch=master)](https://travis-ci.org/TysonAndre/vscode-php-phan) [![Minimum PHP Version](https://img.shields.io/badge/php-%3E=7.2-8892BF.svg)](https://php.net/) [![Gitter](https://badges.gitter.im/phan/phan.svg)](https://gitter.im/phan/phan?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
44

5+
### 5.1.0 (2021-11-14)
6+
7+
- Update Phan from 5.1.0 to 5.3.0
8+
- See [Phan's NEWS](https://github.com/phan/phan/blob/5.3.0/NEWS.md) for more details.
9+
510
### 5.0.0 (2021-08-10)
611

712
- Update Phan from 4.0.7 to 5.1.0
813
- See [Phan's NEWS](https://github.com/phan/phan/blob/5.1.0/NEWS.md) for more details.
914

10-
### 4.0.1 (2021-06-26)
11-
12-
- Update Phan from 4.0.4 to 4.0.7
13-
- See [Phan's NEWS](https://github.com/phan/phan/blob/4.0.7/NEWS.md) for more details.
14-
15-
### 4.0.0 (2021-04-17)
16-
17-
- Prevent the settings `phan.phpExecutablePath`, `phan.phanScriptPath`, `phan.analyzedProjectDirectory`, `phan.additionalCLIFlags`, and `phan.connectToServerWithStdio` from being overridden in VS Code workspace or folder settings. (i.e. configure them with `"scope": "machine"` for https://github.com/microsoft/vscode/blob/1.55.2/src/vs/workbench/api/common/configurationExtensionPoint.ts#L50-L55) (CVE-2021-31416)
18-
(checking in connectToServerWithStdio in workplace settings is harmless but may break the workflows of other developers working on different machines.)
19-
(vscode-php-phan is only intended for use with projects that a developer has manually trusted and enabled through analyzedProjectDirectory, although more convenient ways to securely trust php projects may be added in the future (e.g. using Memento). This is because phan allows executable paths or executable PHP code in third party plugins and InvokePHPNativeSyntaxCheckPlugin, as well as phan config files and due to certain CLI flags and config settings.)
20-
21-
The VS code extension version can be [downgraded to 3.0.0](https://code.visualstudio.com/updates/v1_30#_install-previous-versions) if you rely on the ability to set those workspace settings.
22-
- Update Phan from 4.0.2 to 4.0.4
23-
- See [Phan's NEWS](https://github.com/phan/phan/blob/4.0.4/NEWS.md) for more details.
24-
25-
### 3.0.0 (2021-01-09)
26-
27-
- Increase the minimum php-ast version to 1.0.7+ if php-ast is installed.
28-
The VS code extension version can be [downgraded to 2.2.0](https://code.visualstudio.com/updates/v1_30#_install-previous-versions) if you are unable to install/use a newer php-ast or Phan version.
29-
- Update Phan from 3.2.7 to 4.0.2
30-
- See [Phan's NEWS](https://github.com/phan/phan/blob/4.0.2/NEWS.md) for more details.
31-
32-
### 2.2.0 (2020-12-13)
33-
34-
- Update Phan from 3.2.3 to 3.2.7
35-
- See [Phan's NEWS](https://github.com/phan/phan/blob/3.2.7/NEWS.md) for more details.
36-
3715
The full changelog can be found at [NEWS.md](https://github.com/TysonAndre/vscode-php-phan/blob/master/NEWS.md)
3816

3917
## Troubleshooting

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
},
1111
"require": {
1212
"php": "^7.2.0",
13-
"phan/phan": "5.1.0"
13+
"phan/phan": "5.4.1"
1414
}
1515
}

0 commit comments

Comments
 (0)