Bruce Weirdan
|
a64a30cdda
|
Combine value types at once
|
2021-08-10 21:30:57 +03:00 |
|
Bruce Weirdan
|
a41d5c5b4f
|
Combine offset types at once
|
2021-08-10 21:23:13 +03:00 |
|
Bruce Weirdan
|
cf28859faf
|
Extract array type inference
|
2021-08-10 20:48:45 +03:00 |
|
Bruce Weirdan
|
5dc748d372
|
Merge pull request #6273 from VincentLanglet/nonEmptyConstant
Constants are non empty strings
|
2021-08-09 23:36:41 +03:00 |
|
Bruce Weirdan
|
868a1672c1
|
Merge pull request #6253 from orklah/unusedSuppress
|
2021-08-09 23:34:14 +03:00 |
|
Vincent Langlet
|
b28316c27c
|
Declare some constant as non empty
|
2021-08-09 21:39:49 +02:00 |
|
orklah
|
5134747edd
|
CS
|
2021-08-09 20:46:15 +02:00 |
|
orklah
|
e688781383
|
seal the result of two sealed KeyedArrays
|
2021-08-09 20:43:17 +02:00 |
|
orklah
|
2253667bd5
|
fix CS, remove redundant vars
|
2021-08-07 00:22:47 +02:00 |
|
orklah
|
b194291bb3
|
try to fix offsets
|
2021-08-07 00:08:19 +02:00 |
|
orklah
|
3fe678b914
|
ignore UnnecessaryVarAnnotation
|
2021-08-05 21:05:44 +02:00 |
|
orklah
|
c706497cbd
|
restrict types
|
2021-08-04 19:45:25 +02:00 |
|
orklah
|
0c75ac89d0
|
refactor arithmetics
|
2021-08-04 19:43:27 +02:00 |
|
Bruce Weirdan
|
2ecd1d8bd3
|
Merge pull request #6238 from orklah/unused-foreach-fixable
don't flag UnusedForeachValue as fixable
|
2021-08-03 19:37:07 +03:00 |
|
orklah
|
006088d578
|
don't flag UnusedForeachValue as fixable
|
2021-08-03 18:24:53 +02:00 |
|
Bruce Weirdan
|
caaff6e3b4
|
Merge pull request #6210 from orklah/int-range3
|
2021-08-01 16:37:15 +03:00 |
|
Matthew Brown
|
00c062267d
|
Fix space
|
2021-07-31 21:15:26 -04:00 |
|
Matthew Brown
|
a205a23ccb
|
Fix #6212 - remove untested code, add test for reasonable behaviour
|
2021-07-31 19:50:56 -04:00 |
|
Bruce Weirdan
|
2562e37e60
|
Scan preloaded stubs earlier
This should prevent Psalm from sometimes marking user-defined classes as
built-in.
Fixes vimeo/psalm#5126
Fixes vimeo/psalm#5626
|
2021-08-01 01:36:37 +03:00 |
|
orklah
|
2a9ddab738
|
replace +/- by >/<
|
2021-07-31 22:06:36 +02:00 |
|
orklah
|
5f764b9d8f
|
replace > by @
|
2021-07-31 21:59:35 +02:00 |
|
orklah
|
059eb5e29d
|
break the > assertion thing to see what start to fall apart
|
2021-07-31 21:54:15 +02:00 |
|
orklah
|
a8efe58784
|
fix isset assertion
|
2021-07-31 15:47:12 +02:00 |
|
orklah
|
128a811174
|
add internal assertions for superior and inferior
|
2021-07-31 15:47:12 +02: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 |
|
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 |
|
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
|
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
|
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 |
|
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
|
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
|
9ff0fceb71
|
CS changes
|
2021-07-20 23:41:11 +02:00 |
|
orklah
|
acfdb82856
|
Basic implementation
|
2021-07-20 23:34:38 +02:00 |
|
Bruce Weirdan
|
7bcefb783a
|
Simplify InstancePropertyAssignmentAnalyzer::analyzeAtomicAssignment()
... to fix build issues.
|
2021-07-20 00:08:49 +03:00 |
|