|
da21229cab
|
Fix #8664
|
2022-11-05 19:15:46 +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 |
|
|
7b6e09afc9
|
Merge branch 'merge_4.x' into immutable_readonly_3
|
2022-10-17 12:58:41 +02:00 |
|
|
1abade3c30
|
Skip
|
2022-10-17 12:14:07 +02:00 |
|
|
8518372cad
|
Fixes
|
2022-10-16 14:23:31 +02:00 |
|
|
34000ca90d
|
Fixes
|
2022-10-16 13:59:15 +02:00 |
|
|
b79c43a288
|
Merge remote-tracking branch 'origin/4.x' into merge_4.x
|
2022-10-16 13:42:43 +02:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
Greg Hargreaves
|
b89ff32b7a
|
Remove duplicated numeric type declaration
|
2022-10-14 02:00:25 +01:00 |
|
Greg Hargreaves
|
06581ce4b0
|
Add additional checks for concat of non-empty strings to return non-falsy
|
2022-10-14 01:54:06 +01:00 |
|
|
6e32dc02fc
|
Improvements
|
2022-10-13 13:53:03 +02:00 |
|
|
8c9558c92b
|
Fix #6983, #8564
|
2022-10-13 13:42:35 +02:00 |
|
|
a7af027645
|
Fix #8562
|
2022-10-12 11:40:29 +02:00 |
|
orklah
|
60129819f5
|
add import
|
2022-10-10 18:10:49 +02:00 |
|
orklah
|
0f6891c757
|
fix typo
|
2022-10-10 18:07:26 +02:00 |
|
kkmuffme
|
3a420f4f7a
|
phpunit bool|string
|
2022-10-10 17:06:00 +02:00 |
|
kkmuffme
|
0da493b5bb
|
fix docs to match example
|
2022-10-10 16:28:46 +02:00 |
|
kkmuffme
|
1e6019ddde
|
size and error in $_FILES more specific
|
2022-10-10 16:18:27 +02:00 |
|
kkmuffme
|
fa53050483
|
fix $_FILES
|
2022-10-10 16:07:14 +02:00 |
|
kkmuffme
|
b5f6da7285
|
add common phpunit $_SERVER values bool
Fix https://github.com/vimeo/psalm/issues/8556
|
2022-10-10 14:31:35 +02:00 |
|
|
8a7b201b2c
|
Update
|
2022-10-10 12:38:57 +02:00 |
|
|
0155ad7472
|
Immutable readonly 3
|
2022-10-03 15:13:47 +02:00 |
|
|
45452c7125
|
Immutable readonly 2
|
2022-10-03 14:02:41 +02:00 |
|
|
c2ce7e63da
|
Immutable readonly 1
|
2022-10-03 11:53:05 +02:00 |
|
|
f11ed46f26
|
Immutable assertions
|
2022-10-03 11:32:15 +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 |
|
kkmuffme
|
d69be4b9a2
|
objects even with __toString methods cannot be cast to int/float
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
7cdad99645
|
add RiskyCast
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
c3eebe2579
|
be less strict for generic string type
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
d32efb0619
|
float/int always 1 on "error", no PossiblyInvalidCasts by default
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
39ec75523e
|
same for float
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
3bec76acb8
|
fix invalid casts for int
https://psalm.dev/r/0d284c6f48
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
e4b7cdf26f
|
fix type for (string) true
|
2022-09-19 21:54:16 +02:00 |
|
orklah
|
3b7e508c78
|
Merge pull request #8473 from kkmuffme/detailed-superglobal-types
make superglobals more specific
|
2022-09-19 10:48:44 +02:00 |
|
kkmuffme
|
e2e6265ba1
|
ignore nullable issues for $argv/$argc
|
2022-09-19 09:45:55 +02:00 |
|
hirokinoue
|
9071e877a8
|
fix according to psalm analysis
|
2022-09-18 01:15:09 +09:00 |
|
hirokinoue
|
2cf131fb45
|
allow StaticPropertyFetch node to behave like Variable node
|
2022-09-17 23:08:29 +09:00 |
|
hirokinoue
|
faf4e8ef84
|
allow PropertyFetch node to behave like Variable node
|
2022-09-17 22:36:16 +09:00 |
|
kkmuffme
|
a3cb10c085
|
make $_SERVER more detailed
|
2022-09-15 19:39:02 +02:00 |
|
kkmuffme
|
7bc29a91eb
|
make superglobals more specific
Update VariableFetchAnalyzer.php
|
2022-09-15 19:38:51 +02:00 |
|
kkmuffme
|
15046c932b
|
preg_replace with anchor will always only have 1 replacement, add limit for clarity and performance
|
2022-09-08 18:51:33 +02:00 |
|
Semyon
|
f0a8810cf5
|
Fix ctype_digit assertion bug
|
2022-09-07 15:49:35 +03:00 |
|
Semyon
|
969c7a098b
|
Make ctype_digit and ctype_lower work as assertions
|
2022-09-02 17:37:10 +03:00 |
|
|
979091d2ab
|
Optimize
|
2022-08-17 13:38:11 +02:00 |
|
|
0220da0b32
|
Add tests
|
2022-08-17 13:30:36 +02:00 |
|
|
95ef63ece9
|
Update
|
2022-08-17 13:25:00 +02:00 |
|
|
24b008ee40
|
Fix
|
2022-08-17 13:19:25 +02:00 |
|
|
1401bf94db
|
Fix #8414
|
2022-08-17 13:11:27 +02:00 |
|