Bruce Weirdan
ed9dacf486
Update baseline
2023-08-17 22:16:07 +02:00
Yannick Gottschalk
a4de6d9dc0
Fix #9997
...
- make SimpleXmlElement and SimpleXmlIterator not a universal object crate
- added typed magic __get method to SimpleXmlElement
- adjusted tests to reflect new behaviour of SimpleXmlElement
- added tests
2023-08-05 17:07:08 +02:00
Jack Worman
f41da745d1
UnsupportedPropertyReferenceUsage
2023-05-12 14:12:12 -05:00
8078b6dcbf
Fixes
2023-04-21 15:58:05 +02:00
andrew
b0e5df570d
Fix iterable template replacement
2023-04-17 11:03:39 +03:00
orklah
24dc5d49b2
Merge pull request #9638 from boesing/bugfix/intersection-type-type-alias
...
Allow to intersect type alias with non-type-aliases
2023-04-16 21:14:21 +02:00
adrew
f0153721a4
Fix list template replacement
2023-04-15 18:46:22 +03:00
Maximilian Bösing
1071257245
refactor: resolve TTypeAlias
in intersections
...
This also merges `TKeyedArray` into a one single keyed array. Therefore, this is not limited to aliases anymore.
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-04-11 23:22:04 +02:00
Andrew Nagy
7e9638b729
Merge branch 'master' of https://github.com/vimeo/psalm into feature/upgrade-lsp-v5
2023-03-02 18:10:13 +00:00
Andrew Nagy
5eed370fa5
fix outstanding CI issues
2023-03-02 18:02:23 +00:00
Bruce Weirdan
6811547707
Callmap is always non-empty
...
Fixes several baselined issues
2023-02-26 02:45:46 -04:00
Bruce Weirdan
5ccbc23cb8
Remove fixed issue from baseline
2023-02-22 21:22:49 -04:00
Alies Lapatsin
6ba9b1bb17
Merge branch 'master' into simplify-shepherd
2023-02-21 09:30:21 +01:00
Bruce Weirdan
8f4ceda8ce
Update baseline
2023-02-20 23:13:03 -04:00
Alies Lapatsin
d805f80f95
Merge branch 'master' into simplify-shepherd
2023-02-16 11:12:24 +01:00
Alies Lapatsin
f1e04f2dc3
Reorganize Shepherd logic to improve redability and support custom endpoint
2023-02-14 20:01:37 +01:00
Bruce Weirdan
954136679a
Fix crashes with invalid @psalm-check-type
syntax
...
Fixes vimeo/psalm#9201
2023-02-09 17:49:49 -04:00
Matt Brown
234787bcd6
Fix logic bugs caught by better elseif checks
2023-02-03 00:30:42 -05:00
Leo Viezens
a9de67afd5
#7387 Add unrelated psalm errors to baseline
2023-01-30 15:46:29 +01:00
Jack Worman
32581a71fd
cdata in baseline
2023-01-25 10:54:33 -05:00
Alies Lapatsin
2161e97c44
Cleanup baseline
2023-01-18 19:12:23 +01:00
Alies Lapatsin
cc30cf99b0
Merge remote-tracking branch 'origin/allow-to-specify-custom-shepherd-endpoint' into allow-to-specify-custom-shepherd-endpoint
...
# Conflicts:
# psalm-baseline.xml
2023-01-18 19:07:42 +01:00
Alies Lapatsin
9cba3604fc
Update baseline (add DeprecatedProperty)
2023-01-18 19:06:48 +01:00
Jack Worman
56f6dfecc8
Report unused baseline entries
2023-01-17 22:02:21 -05:00
Jack Worman
f9aa2d5ad3
Support constants in traits
2023-01-17 16:37:44 -05:00
Alies Lapatsin
f8e210f867
Update baseline (add DeprecatedProperty)
2023-01-14 17:29:39 +01:00
Marco Pivetta
bfded43614
Ensure that explode($d, lowercase-string)
produces list<lowercase-string>
types
...
This specific distinction seems to be very important for Psalm, as `explode()` and
`lowercase-string` are used aggressively across the codebase.
Also, this change expands the baseline by a few entries, since some of the code locations
instide Psalm itself have un-checked list destructuring operations, as well as array
access calls on potentially undefined array keys produced by `explode()`, which were
previously just `list<string>`, and are now `array{0: string, 1?: string}`, which is
a bit more precise.
2022-12-28 17:26:25 +01:00
Jack Worman
703a1e1698
@psalm-api
2022-12-23 16:13:46 -06:00
Jack Worman
896799dff4
Remove occurrences
2022-12-21 06:45:45 -06:00
ab2692fdd3
Update
2022-12-19 18:31:43 +01:00
c454a181cc
Fixes
2022-12-18 15:00:15 +01:00
2c00c64304
Bypass bug
2022-12-16 19:18:33 +01:00
cca276768e
List refactoring v5 ( #8820 )
...
* Squash
* Remove BC break
* Suppress
* Possibly fix
* Fixes
* Fix test
* Trigger build
* Update psl
* Update psl
* Fixes
* Fixes
* Cleanup
* fix
* Fix build
* Do not consider never when getting the max count
* Add assertion
* Cleanup
* Fix
* Cleanup
2022-12-13 21:40:19 +01:00
d0be59e16e
Immutable unions ( #8627 )
...
* Immutable CodeLocation
* Remove excess clones
* Remove external clones
* Remove leftover clones
* Fix final clone issue
* Immutable storages
* Refactoring
* Fixes
* Fixes
* Fix
* Fix
* Fixes
* Simplify
* Fixes
* Fix
* Fixes
* Update
* Fix
* Cache global types
* Fix
* Update
* Update
* Fixes
* Fixes
* Refactor
* Fixes
* Fix
* Fix
* More caching
* Fix
* Fix
* Update
* Update
* Fix
* Fixes
* Update
* Refactor
* Update
* Fixes
* Break one more test
* Fix
* FIx
* Fix
* Fix
* Fix
* Fix
* Improve performance and readability
* Equivalent logic
* Fixes
* Revert
* Revert "Revert"
This reverts commit f9175100c8452c80559234200663fd4c4f4dd889.
* Fix
* Fix reference bug
* Make default TypeVisitor immutable
* Bugfix
* Remove clones
* Partial refactoring
* Refactoring
* Fixes
* Fix
* Fixes
* Fixes
* cs-fix
* Fix final bugs
* Add test
* Misc fixes
* Update
* Fixes
* Experiment with removing different property
* revert "Experiment with removing different property"
This reverts commit ac1156e077fc4ea633530d51096d27b6e88bfdf9.
* Uniform naming
* Uniform naming
* Hack hotfix
* Clean up $_FILES ref #8621
* Undo hack, try fixing properly
* Helper method
* Remove redundant call
* Partially fix bugs
* Cleanup
* Change defaults
* Fix bug
* Fix (?, hope this doesn't break anything else)
* cs-fix
* Review fixes
* Bugfix
* Bugfix
* Improve logic
* Update
2022-11-04 19:04:23 +01:00
3b3afd5369
Fixes
2022-10-17 13:10:12 +02:00
deaa6bd2ea
Add purity issues to baseline
2022-10-10 12:53:13 +02:00
ef60a0c88c
Fix properties-of on generics&intersections
2022-10-03 11:28:01 +02:00
3abd0b961f
Immutable Unions
2022-10-03 10:45:36 +02:00
Aleksandr Zhuravlev
b4fdc3e326
Made most of callbacks static. Reworked some array_map() into foreach()
2022-04-09 21:58:26 +12:00
f0560728d8
Invert meaning of dupe_key
2022-04-01 12:19:29 +02:00
Bruce Weirdan
11e60fa261
Merge branch '4.x' into upstream-master
2022-02-11 03:51:48 +02:00
Bruce Weirdan
49d256601f
Suppress UnusedClass
2022-02-01 00:06:25 +02:00
Bruce Weirdan
3ae067795d
Update baseline
2022-01-31 15:11:06 +02:00
d0c9272227
Update baseline
2022-01-31 10:09:05 +01:00
AndrolGenhald
5c01913456
Remove deprecated loadXdebugStub attribute.
2022-01-27 16:55:20 -06:00
orklah
9168cef2d4
Merge remote-tracking branch 'upstream/4.x' into upstream-master6
2022-01-26 21:06:25 +01:00
d2d151c0d8
Update baseline
2022-01-26 20:24:15 +01:00
orklah
42d2e2dbb3
update baseline
2022-01-23 23:52:07 +01:00
orklah
7c4f08067b
Merge remote-tracking branch 'upstream/4.x' into upstream-master5
2022-01-23 23:44:04 +01:00
orklah
3649712c66
deprecate TPositiveInt
2022-01-23 23:26:24 +01:00