1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

mark bcscale as impure, re: vimeo/psalm#3918 (#3926)

This commit is contained in:
SignpostMarv 2020-08-03 15:15:59 +01:00 committed by GitHub
parent 7fc4a85534
commit 06d4b9d6dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,6 +387,9 @@ class Functions
// ftp
'ftp_close',
// bcmath
'bcscale',
];
if (\in_array(strtolower($function_id), $impure_functions, true)) {