1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Commit Graph

13826 Commits

Author SHA1 Message Date
robchett
c341d6f80c Add note to UPGRADING.md about ignoreInternalFunction(False|Null)Return defaulting to false 2023-10-09 19:01:47 +01:00
robchett
e8b2251b94 Set ignoreInternalFunctionFalseReturn and ignoreInternalFunctionNullReturn to false by default 2023-10-09 19:01:47 +01:00
orklah
9b00ac0992
Merge pull request #10265 from tuqqu/introduce-duplicate-property-issue
Introduce `DuplicateProperty` issue
2023-10-09 19:48:58 +02:00
tuqqu
8edb886ce3 Test cases for DuplicateProperty issue for Trait 2023-10-09 01:13:25 +02:00
tuqqu
e0c804d732 Test cases for DuplicateProperty issue 2023-10-09 01:13:18 +02:00
tuqqu
cef432c033 Introduce DuplicateProperty issue 2023-10-09 01:13:13 +02:00
orklah
c71f0abc4f
Merge pull request #10268 from robchett/hotfix_shepard_build
Hotfix Shepard build
2023-10-09 00:40:17 +02:00
robchett
5dd9c1164d Hotfix for psalm warnings 2023-10-08 20:54:13 +01:00
orklah
1b12255fb1
Merge pull request #10183 from cgocast/master
Detect DoS by sleep vimeo#10178
2023-09-29 13:27:43 +02:00
cgocast
b706d38d54 Update shortcode 2023-09-29 09:32:19 +02:00
Bruce Weirdan
4746f8378c
Merge branch '5.x' into upstream-master 2023-09-28 23:45:45 +02:00
orklah
2d3a625379
Merge pull request #10230 from ging-dev/lsp
feat(LSP): Improve the autocomplete for nested array shape
2023-09-28 23:42:02 +02:00
orklah
f57088646b
Merge pull request #10191 from boesing/bugfix/inherited-conditional-return-types
Resolve inherited conditional return types
2023-09-28 23:08:20 +02:00
orklah
bbcf50396d
Merge pull request #10189 from boesing/feature/inherited-assertions-v2
Inherited assertions v2
2023-09-28 23:07:15 +02:00
orklah
e110305644
Merge pull request #10237 from cgocast/5.x
Loop over PDOStatement::fetch() arguments
2023-09-28 23:03:26 +02:00
cgocast
d9400ba191 Handle possibly null $arg_type 2023-09-28 15:34:05 +02:00
cgocast
55843b5ac8 Handle positional argument 2023-09-28 15:23:35 +02:00
cgocast
2217f5e118 Loop over PDOStatement::fetch() arguments 2023-09-28 14:37:44 +02:00
cgocast
fe0f1fc77d
Merge branch 'vimeo:master' into master 2023-09-28 12:08:10 +02:00
orklah
83485f3fcf
Merge pull request #10234 from tuqqu/block-mode-declare-check
Check for declare strict_types in block mode
2023-09-28 09:13:13 +02:00
orklah
1f979f4c33
Merge pull request #10227 from tuqqu/non-variable-reference-return
Introduce NonVariableReferenceReturn issue
2023-09-28 09:10:48 +02:00
orklah
a8ef5a213d
Merge pull request #10202 from gmessier/issue-handlers-priority
Issue handlers priority
2023-09-28 09:09:33 +02:00
orklah
a843c30950
Merge pull request #10207 from boesing/bugfix/issue-10203
Allow object assertions for `mixed` values
2023-09-28 09:08:43 +02:00
orklah
d7236efd76
Merge pull request #10194 from MidnightDesign/issue-8582
Allow class-string<T> where T is a union
2023-09-28 09:04:57 +02:00
tuqqu
09fbe99f5b Check for declare strict types block mode 2023-09-26 20:59:06 +02:00
Bruce Weirdan
1945e92b85
Merge branch '5.x' into upstream-master 2023-09-26 19:09:17 +02:00
orklah
a70b2c0fbf
Merge pull request #10214 from kkmuffme/filter-var-sanitize-url
add FILTER_SANITIZE_URL filter to filter_var
2023-09-26 16:20:53 +02:00
ging-dev
45807e27b8 feat(LSP): Improve the autocomplete for nested array shape 2023-09-26 01:52:23 +07:00
tuqqu
0ab4c2ac4b Introduce NonVariableReferenceReturn issue 2023-09-24 21:27:55 +02:00
kkmuffme
c6648aff87 add FILTER_SANITIZE_URL filter to filter_var 2023-09-18 14:51:20 +02:00
Rudolph Gottesheim
3b775f4617 Allow class-string<T> where T is a union 2023-09-18 12:13:34 +02:00
orklah
7d8d74d32a
Merge pull request #10210 from robchett/add_impure_openssl_functions
Add openssl_*_export_to_file to impure functions
2023-09-17 16:06:40 +02:00
robchett
b96d5a3eba Add openssl_*_export_to_file to impure functions 2023-09-17 11:37:52 +01:00
orklah
ab470b41bd
Merge pull request #10209 from robchett/array_binary_ops
Only the binary op 'plus' works with two arrays
2023-09-16 20:05:05 +02:00
robchett
03e8d19eec Only the binary op 'plus' works with two arrays
Treat the result of any other operation as int|float
Fixes #2123
2023-09-16 15:55:59 +01:00
Maximilian Bösing
3e100b15d9
bugfix: allow object assertions for mixed
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-15 20:19:54 +02:00
Guillaume Messier
bb364a23ad Fix Code Style 2023-09-13 16:44:53 -04:00
Guillaume Messier
ae427fd60e Add 'safe' methods to prevent overriding issueHandlers already defined in the configuration 2023-09-13 16:30:33 -04:00
Bruce Weirdan
7428e49b11
Merge branch '5.x' into upstream-master 2023-09-11 13:13:34 +02:00
Bruce Weirdan
13ea0c241d
Merge pull request #10192 from vimeo/dependabot/github_actions/actions/checkout-4 2023-09-11 14:12:27 +03:00
Maximilian Bösing
eda55a2d27
qa: make assertions more strict as we do want exact matches
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-11 11:14:12 +02:00
dependabot[bot]
49492235fe
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:29:32 +00:00
Maximilian Bösing
7c8a5e8b09
bugfix: resolve recursive conditional return types containing templates
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-11 00:04:01 +02:00
Maximilian Bösing
3dc00518c6
qa: add test for inherited conditional templated return types
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-10 23:57:02 +02:00
Maximilian Bösing
56b719b1e6
qa: remove unnecessary lines from tests
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-10 22:17:30 +02:00
Maximilian Bösing
e3920e6f4d
qa: remove unnecessary type juggling regarding inherited assertions
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-10 22:17:30 +02:00
Maximilian Bösing
ad463f38e9
bugfix: always gather class templates
No clue why there are conditions on when templates are allowed to get picked up. I've removed this check which actually solves a problem in inherited assertions.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-10 22:17:30 +02:00
Maximilian Bösing
f6f7c20f36
qa: extend inherited assertion test
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-09-10 22:17:29 +02:00
Bruce Weirdan
ea1664f30b
Merge pull request #10190 from boesing/feature/array-object-array-key 2023-09-10 20:09:10 +03:00
Bruce Weirdan
5b54bd8171
Merge pull request #10187 from gsteel/date-time-zone-name-is-non-empty 2023-09-10 18:39:22 +03:00