Skip to content

Commit

Permalink
1.11.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bmewburn committed Jul 29, 2024
1 parent b7a0e00 commit d0dd27b
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 81 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## [1.11.6 - 2024-07-29] **Pre-Release**

#### Added
- Handle phpstan call site variance syntax.

#### Changed
- Template types and metadata return types will no longer resolve to an argument type of `never` in order to prevent code being unintentionally marked unreachable following function/method calls.
- Undefined property diagnostic now suppressed in `isset`, `empty`, `unset`, LHS of null coalesce to match PHP behaviour.
- Type check of LHS of property access expression suppressed in `isset`, `empty`, `unset`, LHS of null coalesce to match PHP behaviour.

#### Fixed
- `float` parameter should permit `int` as argument.
- Type inference with `null` equality comparison.
- Undefined variables not diagnosed inside closure.
- False undefined method diagnostics with templated parameters.
- Auto import function adding unnecessary `function` keyword when in group use list.
- Variable type becoming mixed when passed by ref in closure use clause.
- Circular reference problem when trait has `@mixin` of the same class that exhibits it.
- False argument count error when trait provides implementation for an interface and gives params default args.
- Unable to override variable type with `@var` if RHS of assignment contains closure.

## [1.11.5 - 2024-07-07] **Pre-Release**

#### Fixed
Expand Down
150 changes: 72 additions & 78 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"sponsor": {
"url": "https://intelephense.com"
},
"version": "1.11.5",
"version": "1.11.6",
"publisher": "bmewburn",
"engines": {
"vscode": "^1.82.0"
Expand Down Expand Up @@ -856,7 +856,7 @@
},
"dependencies": {
"fs-extra": "~11.2.0",
"intelephense": "1.11.5",
"intelephense": "1.11.6",
"semver": "~7.6.2",
"vscode-languageclient": "9.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { createMiddleware, IntelephenseMiddleware } from './middleware';
import * as fs from 'fs-extra';

const PHP_LANGUAGE_ID = 'php';
const VERSION = '1.11.5';
const VERSION = '1.11.6';
const INDEXING_STARTED_NOTIFICATION = new NotificationType('indexingStarted');
const INDEXING_ENDED_NOTIFICATION = new NotificationType('indexingEnded');
const CANCEL_INDEXING_REQUEST = new RequestType('cancelIndexing');
Expand Down

0 comments on commit d0dd27b

Please sign in to comment.