orklah
|
0252a65e0d
|
fix syntax
|
2021-07-30 21:46:11 +02:00 |
|
orklah
|
1e3e6a85e4
|
introduce basic integer range
|
2021-07-30 21:44:51 +02:00 |
|
Bruce Weirdan
|
9414b11c2f
|
Merge pull request #6204 from orklah/class-string-attributes
|
2021-07-29 22:35:42 +03:00 |
|
Bruce Weirdan
|
4cb9d8ceec
|
Merge pull request #6205 from orklah/typos
fix typos
|
2021-07-29 22:31:03 +03:00 |
|
orklah
|
d0fe1528b6
|
fix typos
|
2021-07-29 20:59:52 +02:00 |
|
orklah
|
a1c4ece7bd
|
Create a virtual ClassConstFetch when encountering a TLiteralClassString
|
2021-07-29 20:23:53 +02:00 |
|
Bruce Weirdan
|
7aa5564047
|
Merge pull request #6192 from orklah/array_replace_not_nullable
make array_replace and array_replace_recursive not nullable
|
2021-07-28 00:20:46 +03:00 |
|
orklah
|
d9df3211c5
|
make array_replace and array_replace_recursive not nullable
|
2021-07-27 23:02:41 +02:00 |
|
Jack Robertson
|
f0193f20fa
|
Consider print, and conditionally exit / die impure
|
2021-07-27 13:26:54 +01:00 |
|
Bruce Weirdan
|
ae0c8f57fd
|
Merge pull request #6187 from orklah/wrong-nullable-type
|
2021-07-27 00:52:20 +03:00 |
|
orklah
|
06af927f12
|
fix an error I made a few months ago
|
2021-07-26 23:09:27 +02:00 |
|
orklah
|
72d60249a9
|
Inaccurate error with different types in PHPDoc and typehint
|
2021-07-26 23:03:00 +02:00 |
|
Bruce Weirdan
|
4d99fbcce0
|
Merge pull request #6185 from orklah/typo
fix wrong wording from #6083
|
2021-07-26 23:00:42 +03:00 |
|
orklah
|
2259113727
|
fix wrong wording
|
2021-07-26 21:09:12 +02:00 |
|
Bruce Weirdan
|
358f83d66b
|
Merge pull request #6181 from Jack97/date-time-interface-type-reconciliation
|
2021-07-26 16:28:10 +03:00 |
|
Jack Robertson
|
0e6160c1e0
|
Update DateTimeInterface type reconciliation
|
2021-07-26 13:41:52 +01:00 |
|
Bruce Weirdan
|
82dfbbc12e
|
Merge pull request #6167 from orklah/non-div-with-numeric-and-int
|
2021-07-25 13:56:48 +03:00 |
|
orklah
|
55245cf558
|
Arithmetic operation between numeric and int or float gives int|float
|
2021-07-25 12:29:11 +02:00 |
|
Bruce Weirdan
|
783dc610df
|
Merge pull request #6172 from Jack97/malformed-parentheses
|
2021-07-25 13:08:23 +03:00 |
|
Jack Robertson
|
ce6642d1aa
|
Handle malformed parentheses
|
2021-07-25 10:43:34 +01:00 |
|
Bruce Weirdan
|
aa23aa5387
|
Merge pull request #6166 from orklah/StringIncrementOnNumericString
|
2021-07-24 23:27:17 +03:00 |
|
orklah
|
f63f1b5d2a
|
use is_numeric for checking if a Literal is numeric
|
2021-07-24 21:44:12 +02:00 |
|
orklah
|
9189fa1745
|
add tests and code for handling LiteralString that are Numeric
|
2021-07-24 21:21:50 +02:00 |
|
orklah
|
b48a42ffab
|
don't try to handle preinc/postinc
|
2021-07-24 21:18:11 +02:00 |
|
Jack Robertson
|
1c0de36795
|
Support array_slice template parameter return type inference
|
2021-07-24 16:09:29 +01:00 |
|
Bruce Weirdan
|
3caceb7131
|
Merge pull request #6169 from orklah/numeric-strictBinaryOperands
|
2021-07-24 15:45:42 +03:00 |
|
orklah
|
1a41ee4dd4
|
keep wording consistency
|
2021-07-24 11:18:50 +02:00 |
|
orklah
|
7146c646e3
|
Trigger InvalidOperand when processing two numeric types in strict operands mode
|
2021-07-24 11:04:09 +02:00 |
|
orklah
|
4b660aa941
|
handle every increment/decrement
|
2021-07-24 10:51:10 +02:00 |
|
orklah
|
8189409bd4
|
refine documentation
|
2021-07-23 21:41:31 +02:00 |
|
orklah
|
c8ee73ce30
|
Allow increment on numeric-string
|
2021-07-23 21:10:29 +02:00 |
|
Bruce Weirdan
|
198fdf876e
|
Merge pull request #6142 from orklah/trigger_error
|
2021-07-23 09:22:55 +03:00 |
|
Matthew Brown
|
43cff22b25
|
Add support for native PHP readonly
|
2021-07-21 13:29:07 -04:00 |
|
Bruce Weirdan
|
052c7478cc
|
Unary plus and minus mark operand as used
Fixes vimeo/psalm#6145
|
2021-07-21 01:15:51 +03:00 |
|
orklah
|
58dd3f6f94
|
change wording
|
2021-07-20 23:53:04 +02:00 |
|
orklah
|
9ff0fceb71
|
CS changes
|
2021-07-20 23:41:11 +02:00 |
|
orklah
|
9160a4e8a6
|
review
|
2021-07-20 23:37:34 +02:00 |
|
orklah
|
acfdb82856
|
Basic implementation
|
2021-07-20 23:34:38 +02:00 |
|
Bruce Weirdan
|
b149097086
|
Replace array cast with get_object_vars() which Psalm understands
|
2021-07-20 23:26:15 +03:00 |
|
Nathan Dench
|
39555a2df8
|
add type signature in XmlReport
|
2021-07-20 21:54:44 +10:00 |
|
Nathan Dench
|
ca2c125218
|
fix: Handle DataFlowNodeData in XmlReport
|
2021-07-20 21:39:09 +10:00 |
|
Bruce Weirdan
|
7bcefb783a
|
Simplify InstancePropertyAssignmentAnalyzer::analyzeAtomicAssignment()
... to fix build issues.
|
2021-07-20 00:08:49 +03:00 |
|
Bruce Weirdan
|
0317f1dbec
|
Merge pull request #6130 from weirdan/forbid-dynamic-access-to-static-props
|
2021-07-19 16:11:29 +03:00 |
|
Bruce Weirdan
|
d992331125
|
Expand magic properties
Fixes vimeo/psalm#4344
Fixes vimeo/psalm#5663
Fixes vimeo/psalm#5639
Fixes vimeo/psalm#5955
Fixes vimeo/psalm#3272
|
2021-07-18 23:43:33 +03:00 |
|
Bruce Weirdan
|
b589525eb1
|
Merge pull request #6131 from orklah/bindtextdomain
makes bindtextdomain impure
|
2021-07-18 16:53:59 +03:00 |
|
Bruce Weirdan
|
7418e6e167
|
grammar
|
2021-07-18 16:52:00 +03:00 |
|
orklah
|
f1269d2425
|
makesbindtextdomain impure
|
2021-07-18 14:24:43 +02:00 |
|
Bruce Weirdan
|
a180dc6099
|
Flag staticness mismatch
This handles two new cases:
1. Accessing static property with `->` (produces notices and warnings: https://3v4l.org/TiGan)
2. Accessing non-static property with `::` (causes fatal error: https://3v4l.org/IdYSh)
Fixes vimeo/psalm#6117
|
2021-07-18 02:51:33 +03:00 |
|
Bruce Weirdan
|
53ae7764e9
|
Merge pull request #6129 from orklah/unused-global
|
2021-07-18 02:33:50 +03:00 |
|
orklah
|
fcbd443bc8
|
initialize array
|
2021-07-17 22:04:22 +02:00 |
|