From c10f4c78c350cdaf87d2cee6ac318fd7f537084f Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 2 Nov 2023 16:59:48 +0000 Subject: [PATCH] Added arraydebug stubs --- PhpStormStubsMap.php | 3 +++ arraydebug/arraydebug.stub.php | 9 +++++++++ tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php | 1 + 3 files changed, 13 insertions(+) create mode 100644 arraydebug/arraydebug.stub.php diff --git a/PhpStormStubsMap.php b/PhpStormStubsMap.php index 0b7d2f538..0725cf8e6 100644 --- a/PhpStormStubsMap.php +++ b/PhpStormStubsMap.php @@ -1676,6 +1676,7 @@ final class PhpStormStubsMap 'array_column' => 'standard/standard_9.php', 'array_combine' => 'standard/standard_9.php', 'array_count_values' => 'standard/standard_9.php', + 'array_debuginfo' => 'arraydebug/arraydebug.stub.php', 'array_diff' => 'standard/standard_9.php', 'array_diff_assoc' => 'standard/standard_9.php', 'array_diff_key' => 'standard/standard_9.php', @@ -1685,6 +1686,7 @@ final class PhpStormStubsMap 'array_fill_keys' => 'standard/standard_8.php', 'array_filter' => 'standard/standard_9.php', 'array_flip' => 'standard/standard_9.php', + 'array_hash_distribution' => 'arraydebug/arraydebug.stub.php', 'array_intersect' => 'standard/standard_9.php', 'array_intersect_assoc' => 'standard/standard_9.php', 'array_intersect_key' => 'standard/standard_9.php', @@ -1695,6 +1697,7 @@ final class PhpStormStubsMap 'array_key_first' => 'standard/standard_9.php', 'array_key_last' => 'standard/standard_9.php', 'array_keys' => 'standard/standard_9.php', + 'array_load_factor' => 'arraydebug/arraydebug.stub.php', 'array_map' => 'standard/standard_9.php', 'array_merge' => 'standard/standard_8.php', 'array_merge_recursive' => 'standard/standard_9.php', diff --git a/arraydebug/arraydebug.stub.php b/arraydebug/arraydebug.stub.php new file mode 100644 index 000000000..a8b5123ea --- /dev/null +++ b/arraydebug/arraydebug.stub.php @@ -0,0 +1,9 @@ + [ 'amqp', + 'arraydebug', 'blackfire', 'cassandra', 'chunkutils2',