1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/dictionaries
Ricardo Boss bf1c0320fd Cherry-pick: Try to provide literal int types when possible (fixes #6966) (#7071)
* Fixed vimeo/psalm#6966

* Only accept >= 0 values for mode argument in round()

* Made round() only return float or literal float values and remove unneeded test

* Registered RoundReturnTypeProvider

* Updated cast analyzer to handle single string literal int values as literal ints

* Fixed psalm errors

* Fix invalid property accesses

* Addressed comments

* Added Tests

* Marked RoundReturnTypeProvider as internal

* Fixed CS
2022-09-19 21:54:16 +02:00
..
scripts unnecessary qualified names 2021-12-27 20:16:34 +01:00
CallMap_71_delta.php Fix nullable return types for CallMap functions 2022-07-13 22:44:38 -05:00
CallMap_72_delta.php Adjusting delta/historical callmaps 2021-11-13 22:59:19 +01:00
CallMap_73_delta.php Fix array_* function signatures 2022-06-23 20:32:29 -05:00
CallMap_74_delta.php Fix array_* function signatures 2022-06-23 20:32:29 -05:00
CallMap_80_delta.php Merge pull request #8367 from kkmuffme/revert-nullable-curl_multi_getcontent 2022-09-08 22:58:29 +02:00
CallMap_81_delta.php Fix imageinterlace function signature 2022-08-12 11:22:45 +02:00
CallMap_historical.php Cherry-pick: Try to provide literal int types when possible (fixes #6966) (#7071) 2022-09-19 21:54:16 +02:00
CallMap.php Cherry-pick: Try to provide literal int types when possible (fixes #6966) (#7071) 2022-09-19 21:54:16 +02:00
InternalTaintSinkMap.php Conversion of Psalm\Type 2021-12-14 02:31:22 +01:00
PropertyMap.php Add ReflectionProperty properties 2022-06-24 18:47:49 +02:00