1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
Commit Graph

14095 Commits

Author SHA1 Message Date
Kamil Tekiela
c2bbc6239a Update CoreGenericFunctions.phpstub 2023-05-29 16:16:49 +01:00
orklah
106b9861c4
Merge pull request #9833 from ygottschalk/fix/9824-enum-const-str-concat
Fix #9824 const enum self reference
2023-05-28 23:40:16 +02:00
Yannick Gottschalk
a41eb35b24 Fix #9824 2023-05-28 17:37:16 +02:00
Kamil Tekiela
fa3f4d252c base64_decode returns false only in strict mode 2023-05-27 23:23:01 +01:00
klimick
38c93db889 More closed inheritance assertion tests 2023-05-27 18:55:27 +03:00
klimick
b7b20771c0 Add closed inheritance assertion tests 2023-05-27 13:40:23 +03:00
klimick
56d7b3793e Map closed inheritance to union 2023-05-27 13:39:56 +03:00
orklah
d788bcdc98
Merge pull request #9828 from jack-worman/GH-9825
GH-9825
2023-05-27 00:23:09 +02:00
Jack Worman
f279c39503 GH-9825 2023-05-26 18:03:05 -04:00
orklah
b99857cb9c
Merge pull request #9813 from 2e3s/recursive-glob
Add a support for multilevel glob wildcards
2023-05-24 21:38:22 +02:00
Demmie
72b4ab9310 Use preg_split instead of explode
This also accounts for Windows dir separators
and duplicated wildcards.
2023-05-24 15:28:41 -04:00
Demmie
116795abc4 Fix reported type issues 2023-05-24 14:06:53 -04:00
orklah
8e8a11d6a9
Merge pull request #9814 from Hanmac/master
glob: allow empty string for pattern
2023-05-24 13:25:22 +02:00
Hans Mackowiak
7a03f2390d
glob: allow empty string for pattern 2023-05-24 11:14:20 +02:00
Demmie
317c683644 Return file_exists to glob files 2023-05-24 01:27:48 -04:00
Demmie
cab10721e6 Add a support for multilevel glob wildcards
This works just like in Python with "**".
2023-05-24 01:13:26 -04:00
orklah
f90118cdea
Merge pull request #9805 from orklah/memory-psalter
allow using more than 8G of memory in psalter
2023-05-22 23:19:03 +02:00
orklah
f65d53f32e fix CS 2023-05-22 23:16:17 +02:00
orklah
d23616cafa allow using more than 8G of memory in psalter 2023-05-22 23:06:02 +02:00
orklah
cb34901246
Merge pull request #9803 from orklah/zefzef
fix offset for type param changes
2023-05-21 19:12:32 +02:00
orklah
ed94de5146 fix offset for type param changes 2023-05-21 18:56:54 +02:00
orklah
22fd6fb9db
Merge pull request #9788 from robchett/strpos_stripos_assert_non_empty
Narrow the type of $haystack when strpos(...) !== false
2023-05-21 11:42:18 +02:00
RobChett
bd0ba6ee95 Narrow the type of haystack when strpos != false 2023-05-21 10:35:19 +01:00
orklah
0221ff1836
Merge pull request #9796 from kkmuffme/get_class_methods-vars-non-empty-string
methods and vars cannot be falsy
2023-05-18 19:26:05 +02:00
kkmuffme
e23db18f6b methods and vars cannot be falsy 2023-05-17 22:09:37 +02:00
orklah
69589ebe83
Merge pull request #9795 from robchett/powReturnTypeProvider
Improve return types of pow()
2023-05-16 20:48:25 +02:00
RobChett
100907b61f Improve return types of pow() 2023-05-15 01:22:45 +01:00
orklah
5370492f97
Merge pull request #9784 from robchett/document_unsealed_arrays
Document array shape unsealing syntax
2023-05-14 11:44:54 +02:00
RobChett
f491a53ff0 Document advanced array shape unsealing syntax 2023-05-14 10:15:34 +01:00
orklah
2039667e35
Merge pull request #9769 from jack-worman/UnsupportedPropertyReferenceUsage
UnsupportedPropertyReferenceUsage
2023-05-12 22:25:48 +02:00
Jack Worman
f41da745d1 UnsupportedPropertyReferenceUsage 2023-05-12 14:12:12 -05:00
orklah
a4434f5fc9
Merge pull request #9780 from mmcev106/sanitize-html
Documented suggestions for HTML user input
2023-05-12 21:01:49 +02:00
Mark McEver
dcafc2e53d Documented suggestions for HTML user input 2023-05-12 13:02:13 -05:00
orklah
5661ea615a
Merge pull request #9779 from Nicelocal/enable_opcache_if_installed
Enable opcache if it is installed
2023-05-11 19:38:14 +02:00
acdbffbb34
cs-fix 2023-05-11 19:23:33 +02:00
ffd363d7b8
Enable opcache if it is installed 2023-05-11 16:51:37 +02:00
orklah
841cccd693
Merge pull request #9761 from Alkisum/removed-return-type-false-from-date-and-gmdate
Removed return type false from date and gmdate
2023-05-09 19:57:01 +02:00
Valentin Vion
3d122a745f Removed return type false from date and gmdate 2023-05-09 12:02:44 +08:00
orklah
d4c5f85eb0
Merge pull request #9687 from robchett/limit_inheritance
WIP - Limit inheritance to a subset of classes #1450
2023-05-07 22:46:05 +02:00
RobChett
aa85669645 Change the Issue type and add documentation 2023-05-07 11:34:33 +01:00
RobChett
cad5288484 Support interfaces 2023-05-07 11:33:39 +01:00
RobChett
de877f1dcf Add support for @psalm-inheritors 2023-05-07 11:33:38 +01:00
orklah
5712401c55
Merge pull request #9752 from kkmuffme/improve-glob-stubs
improve glob stubs
2023-05-06 19:27:46 +02:00
kkmuffme
ad7be63c0b fix tests/internal code
@var comments needed due to https://github.com/vimeo/psalm/issues/9754 and https://github.com/vimeo/psalm/issues/9753
2023-05-06 19:18:27 +02:00
kkmuffme
5d0b05addf improve glob stubs
Fix https://github.com/vimeo/psalm/issues/9748
2023-05-06 18:54:30 +02:00
orklah
0ea2a6a567
Merge pull request #9742 from fluffycondor/allow-phpdoc-dynamic-properties
Allow dynamic properties from PHPDoc
2023-05-06 15:56:16 +02:00
orklah
c9e8b48dfc
Merge pull request #9750 from klimick/fix-union-argument-type-check
Fix union argument type check against templated param
2023-05-06 15:55:39 +02:00
andrew
cfd0f062f7 Fix union argument types check against templated param 2023-05-06 16:01:16 +03:00
orklah
8d15fa1d79
Merge pull request #9735 from tscni/fix/missing-global-override-file-storage
Fix missing global class type when scanning cached files
2023-05-05 22:08:21 +02:00
orklah
c9b192ab84
Merge pull request #9745 from greg0ire/simplexml-ignore-nullable-addChild
Ignore nullable return form SimpleXMLElement::addChild()
2023-05-04 23:35:44 +02:00