1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix #2179 - add gz* to list of impure functions

This commit is contained in:
Matthew Brown 2019-09-27 09:50:33 -04:00
parent c3e781c4a0
commit 81464d8dbf
2 changed files with 4 additions and 1 deletions

View File

@ -311,6 +311,9 @@ class Functions
'apc_store', 'apc_delete', 'apc_clear_cache', 'apc_add', 'apc_inc', 'apc_dec', 'apc_cas',
'apcu_store', 'apcu_delete', 'apcu_clear_cache', 'apcu_add', 'apcu_inc', 'apcu_dec', 'apcu_cas',
// gz
'gzwrite', 'gzrewind', 'gzseek', 'gzclose',
// newrelic
'newrelic_start_transaction', 'newrelic_name_transaction', 'newrelic_add_custom_parameter',
'newrelic_add_custom_tracer', 'newrelic_background_job', 'newrelic_end_transaction',

View File

@ -397,7 +397,7 @@ class Reconciler
*/
private static function getValueForKey(
Codebase $codebase,
$key,
string $key,
array &$existing_keys,
array $new_type_parts,
CodeLocation $code_location = null