Bruce Weirdan
|
ba4a25b483
|
Drop superfluous import
|
2022-01-02 14:53:59 +02:00 |
|
orklah
|
8d6b781b3e
|
use consistent way to compare php version
|
2022-01-02 13:35:43 +02:00 |
|
orklah
|
de95fbdbf2
|
revert #7054
|
2022-01-01 19:34:17 +01:00 |
|
orklah
|
9029e1d613
|
remove always true/false conditions
|
2021-12-27 19:59:11 +01:00 |
|
orklah
|
f7b6c4e1b6
|
escape more special chars in keyed array names that won't be read by the parser
|
2021-12-26 19:27:13 +01:00 |
|
Matthew Brown
|
4dfc7ce6ee
|
Prevent unnecessary construction of union types during truthiness checks
|
2021-12-24 13:31:09 +00:00 |
|
Matthew Brown
|
75e4e0b9a7
|
Revert "Inline possibly_undefined checks"
This reverts commit e2a01673b7 .
This change was short-sighted
|
2021-12-24 13:15:30 +00:00 |
|
Matthew Brown
|
e2a01673b7
|
Inline possibly_undefined checks
These don’t really belong in truthiness methods, as possibly_undefined is a weird meta state
|
2021-12-24 13:10:19 +00:00 |
|
Matthew Brown
|
2a92db8fad
|
Remove unused in-array assertions
These assertions cannot be parsed, since the `in-array` assertion handler always tries to convert assertions to a type
|
2021-12-22 19:47:20 +00:00 |
|
Matthew Brown
|
2e32a18222
|
Fix callable negation
|
2021-12-18 19:42:43 +00:00 |
|
orklah
|
2dfe45a96e
|
Merge pull request #7152 from orklah/7109
display class-strings in keyed arrays syntax and allow using them for assertions
|
2021-12-15 18:36:40 +01:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
orklah
|
0c1564f4b5
|
allow keyed array to contain class-strings
|
2021-12-15 00:51:59 +01:00 |
|
rarila
|
1c298c4605
|
Conversion of Psalm\Type
|
2021-12-14 02:31:22 +01:00 |
|
ralila
|
e32af3c05a
|
Conversion of Psalm\Type\Atomic
|
2021-12-14 02:26:28 +01:00 |
|
ralila
|
84e2de888b
|
Conversion of Psalm\Internal\Type\TypeAlias
|
2021-12-14 02:08:34 +01:00 |
|
AndrolGenhald
|
5d09cd075d
|
Add another usage of getSingleAtomic.
|
2021-12-11 15:11:17 -06:00 |
|
orklah
|
ae765dfba8
|
Merge pull request #7054 from orklah/6933
fix missing case for displaying varId
|
2021-12-09 23:54:37 +01:00 |
|
orklah
|
0716dfcda0
|
allow Reconciler to retrieve global constant values
|
2021-12-09 21:27:57 +01:00 |
|
orklah
|
3f46377467
|
don't remove literal ints if the Int type already in Union doesn't cover this specific literal
|
2021-12-08 22:13:54 +01:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
ralila
|
f833085a15
|
Fix fqn usage in php-doc
|
2021-12-04 03:37:19 +01:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
ralila
|
2a956498bf
|
Import instead of using fqn functions
|
2021-12-03 21:07:25 +01:00 |
|
ralila
|
711be643c6
|
Import instead of using fqn exceptions
|
2021-12-03 20:29:06 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Matthew Brown
|
175ba83332
|
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020)
|
2021-11-29 14:54:17 -05:00 |
|
Maximilian Bösing
|
765bf93444
|
bugfix: apply coding standard
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
|
2021-11-15 18:36:51 +01:00 |
|
Maximilian Bösing
|
c6191643ab
|
qa: add Reconciler::RECONCILIATION_* constants
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
|
2021-11-15 17:56:02 +01:00 |
|
orklah
|
1464e8f91e
|
make ignore falsable/nullable dependent on the config
|
2021-11-13 11:37:22 +01:00 |
|
Jonathan Vollebregt
|
f5d7f6c405
|
SimpleXMLIterator is not always truthy
Fixes #6865
|
2021-11-12 13:49:31 +01:00 |
|
sasezaki
|
5a01c8d601
|
Added phpcs SelfMemberReference rule, and applied
|
2021-11-07 15:47:39 +09:00 |
|
orklah
|
18677bb108
|
better understands value and name properties for enum
|
2021-11-06 21:49:42 +01:00 |
|
orklah
|
728175f82d
|
only return true in Union::is*Type* if there is a single type
|
2021-11-05 21:14:04 +01:00 |
|
orklah
|
4783149773
|
deprecate TEmpty
|
2021-10-27 21:26:31 +02:00 |
|
orklah
|
4755131585
|
more consistency
|
2021-10-20 07:32:04 +02:00 |
|
orklah
|
3866c6b529
|
new truthy type
|
2021-10-20 07:31:11 +02:00 |
|
orklah
|
8bcdd6e339
|
new truthy type
|
2021-10-20 07:31:11 +02:00 |
|
orklah
|
f5b4cb664c
|
new falsy type
|
2021-10-20 07:31:11 +02:00 |
|
orklah
|
9b8e483a4c
|
improve empty/falsy reconciliation
|
2021-10-20 07:31:11 +02:00 |
|
orklah
|
c7ea446405
|
remove unused function
|
2021-10-19 22:20:10 +02:00 |
|
|
244a90ca4f
|
Fix #6665
|
2021-10-14 10:56:54 +02:00 |
|
|
24f1b60e53
|
Fix nullable unions
|
2021-10-13 14:05:48 +02:00 |
|
|
a9ba848503
|
Fix
|
2021-10-13 11:38:42 +02:00 |
|
|
ce60fa2151
|
Cleanup
|
2021-10-13 11:26:01 +02:00 |
|
|
1c99af205b
|
Fix manipulation of intersection types, arrow functions, foreign static types, T|false|null unions.
|
2021-10-13 11:13:43 +02:00 |
|
|
1cca3c0546
|
Hotfix
|
2021-10-13 10:23:06 +02:00 |
|
orklah
|
e7cd2eac0a
|
Merge pull request #6641 from orklah/weird-assertion-count
Union::getAssertionString with multiple types
|
2021-10-13 08:15:28 +02:00 |
|
orklah
|
233fe11d12
|
SimpleXMLElement is not always truthy
|
2021-10-12 15:46:02 +02:00 |
|
orklah
|
2e64854a6c
|
don't allow getAssertionString to return a part of the Union
|
2021-10-11 16:07:57 +02:00 |
|