Bruce Weirdan
8f4ceda8ce
Update baseline
2023-02-20 23:13:03 -04: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
AndrolGenhald
01868a9766
Mark loadXdebugStub as deprecated (removed in #7107 ).
2022-01-22 16:03:35 -06:00
Oliver Hader
cad72004ab
Add deprecated method invocations to psalm-baseline.xml
2022-01-21 21:52:22 +01:00
Bruce Weirdan
1a1b5a9e6a
Merge branch '4.x' into upstream-master
2022-01-08 23:38:29 +02:00
orklah
cc529e8a61
refresh baseline
2022-01-07 19:39:24 +01:00
Bruce Weirdan
afa6497051
Dropped THtmlEscapedString
2022-01-03 22:48:59 +02:00
Bruce Weirdan
c1acab4606
Merge branch '4.x' into upstream-master
2022-01-03 22:06:12 +02:00
Bruce Weirdan
bb2fa7905d
Deprecate THtmlEscapedString
...
Refs vimeo/psalm#7281
2022-01-03 21:58:23 +02:00
Bruce Weirdan
706f2a7761
Drop legacy procedural files
2022-01-03 12:04:35 +02:00
Bruce Weirdan
b924032850
Mark internal classes @internal
2022-01-03 09:33:22 +02:00
Bruce Weirdan
5362f3be91
Deprecate Codebase::$php_major_version
and Codebase::$php_minor_version
properties
...
Removed in #6898 (Psalm 5)
2022-01-02 13:22:37 +02:00
Matthew Brown
9663dc5a85
Fix baseline
2022-01-01 13:13:53 +00:00
ralila
f6697ca528
Adjust baseline
2021-12-14 02:26:32 +01:00
ralila
9902898c4d
Remove unnecessary bug circumvention and generate new baseline
2021-12-05 01:15:29 +01:00
orklah
15bc0fac1f
ignore irrelevant errors
2021-11-30 21:17:27 +01:00
orklah
aeeb71ecdc
add "error" from php-parser to baseline
2021-11-04 00:13:35 +01:00