mirror of
https://github.com/danog/psalm.git
synced 2024-11-29 20:28:59 +01:00
parent
5f0798844e
commit
3578b42e5c
@ -9696,97 +9696,6 @@ return [
|
||||
'RarException::setUsingExceptions' => ['RarEntry', 'using_exceptions'=>'bool'],
|
||||
'rawurldecode' => ['string', 'string'=>'string'],
|
||||
'rawurlencode' => ['string', 'string'=>'string'],
|
||||
'rd_kafka_err2str' => ['string', 'err'=>'int'],
|
||||
'rd_kafka_errno' => ['int'],
|
||||
'rd_kafka_errno2err' => ['int', 'errnox'=>'int'],
|
||||
'rd_kafka_offset_tail' => ['int', 'cnt'=>'int'],
|
||||
'RdKafka::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka::flush' => ['int', 'timeout_ms'=>'int'],
|
||||
'RdKafka::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka::getOutQLen' => ['int'],
|
||||
'RdKafka::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka::newTopic' => ['RdKafka\Topic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\Conf::dump' => ['array<string, string>'],
|
||||
'RdKafka\Conf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\Conf::setDefaultTopicConf' => ['void', 'topic_conf'=>'RdKafka\TopicConf'],
|
||||
'RdKafka\Conf::setDrMsgCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setErrorCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setRebalanceCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setStatsCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Consumer::__construct' => ['void', 'conf='=>'?RdKafka\Conf'],
|
||||
'RdKafka\Consumer::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka\Consumer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Consumer::getOutQLen' => ['int'],
|
||||
'RdKafka\Consumer::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka\Consumer::newTopic' => ['RdKafka\ConsumerTopic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka\Consumer::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Consumer::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\ConsumerTopic::__construct' => ['void'],
|
||||
'RdKafka\ConsumerTopic::consume' => ['RdKafka\Message', 'partition'=>'int', 'timeout_ms'=>'int'],
|
||||
'RdKafka\ConsumerTopic::consumeQueueStart' => ['void', 'partition'=>'int', 'offset'=>'int', 'queue'=>'RdKafka\Queue'],
|
||||
'RdKafka\ConsumerTopic::consumeStart' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\ConsumerTopic::consumeStop' => ['void', 'partition'=>'int'],
|
||||
'RdKafka\ConsumerTopic::getName' => ['string'],
|
||||
'RdKafka\ConsumerTopic::offsetStore' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\KafkaConsumer::__construct' => ['void', 'conf'=>'RdKafka\Conf'],
|
||||
'RdKafka\KafkaConsumer::assign' => ['void', 'topic_partitions='=>'RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commit' => ['void', 'message_or_offsets='=>'RdKafka\Message|RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commitAsync' => ['void', 'message_or_offsets='=>'RdKafka\Message|RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::consume' => ['RdKafka\Message', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getAssignment' => ['RdKafka\TopicPartition[]'],
|
||||
'RdKafka\KafkaConsumer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\KafkaConsumerTopic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getSubscription' => ['array'],
|
||||
'RdKafka\KafkaConsumer::subscribe' => ['void', 'topics'=>'array'],
|
||||
'RdKafka\KafkaConsumer::unsubscribe' => ['void'],
|
||||
'RdKafka\KafkaConsumerTopic::getName' => ['string'],
|
||||
'RdKafka\KafkaConsumerTopic::offsetStore' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\Message::errstr' => ['string'],
|
||||
'RdKafka\Metadata::getBrokers' => ['RdKafka\Metadata\Collection'],
|
||||
'RdKafka\Metadata::getOrigBrokerId' => ['int'],
|
||||
'RdKafka\Metadata::getOrigBrokerName' => ['string'],
|
||||
'RdKafka\Metadata::getTopics' => ['RdKafka\Metadata\Collection|RdKafka\Metadata\Topic[]'],
|
||||
'RdKafka\Metadata\Collection::__construct' => ['void'],
|
||||
'RdKafka\Metadata\Collection::count' => ['int'],
|
||||
'RdKafka\Metadata\Collection::current' => ['mixed'],
|
||||
'RdKafka\Metadata\Collection::key' => ['mixed'],
|
||||
'RdKafka\Metadata\Collection::next' => ['void'],
|
||||
'RdKafka\Metadata\Collection::rewind' => ['void'],
|
||||
'RdKafka\Metadata\Collection::valid' => ['bool'],
|
||||
'RdKafka\Metadata\Partition::getErr' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getId' => ['int'],
|
||||
'RdKafka\Metadata\Partition::getIsrs' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getLeader' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getReplicas' => ['mixed'],
|
||||
'RdKafka\Metadata\Topic::getErr' => ['mixed'],
|
||||
'RdKafka\Metadata\Topic::getPartitions' => ['RdKafka\Metadata\Partition[]'],
|
||||
'RdKafka\Metadata\Topic::getTopic' => ['string'],
|
||||
'RdKafka\Producer::__construct' => ['void', 'conf='=>'?RdKafka\Conf'],
|
||||
'RdKafka\Producer::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka\Producer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Producer::getOutQLen' => ['int'],
|
||||
'RdKafka\Producer::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka\Producer::newTopic' => ['RdKafka\ProducerTopic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka\Producer::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Producer::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\ProducerTopic::__construct' => ['void'],
|
||||
'RdKafka\ProducerTopic::getName' => ['string'],
|
||||
'RdKafka\ProducerTopic::produce' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string'],
|
||||
'RdKafka\ProducerTopic::producev' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string', 'headers='=>'?array<string, string>', 'timestamp_ms='=>'?int', 'opaque='=>'?string'],
|
||||
'RdKafka\Queue::__construct' => ['void'],
|
||||
'RdKafka\Queue::consume' => ['?RdKafka\Message', 'timeout_ms'=>'string'],
|
||||
'RdKafka\Topic::getName' => ['string'],
|
||||
'RdKafka\TopicConf::dump' => ['array<string, string>'],
|
||||
'RdKafka\TopicConf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\TopicConf::setPartitioner' => ['void', 'partitioner'=>'int'],
|
||||
'RdKafka\TopicPartition::__construct' => ['void', 'topic'=>'string', 'partition'=>'int', 'offset='=>'int'],
|
||||
'RdKafka\TopicPartition::getOffset' => ['int'],
|
||||
'RdKafka\TopicPartition::getPartition' => ['int'],
|
||||
'RdKafka\TopicPartition::getTopic' => ['string'],
|
||||
'RdKafka\TopicPartition::setOffset' => ['void', 'offset'=>'string'],
|
||||
'RdKafka\TopicPartition::setPartition' => ['void', 'partition'=>'string'],
|
||||
'RdKafka\TopicPartition::setTopic' => ['void', 'topic_name'=>'string'],
|
||||
'readdir' => ['string|false', 'dir_handle='=>'resource'],
|
||||
'readfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
'readgzfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'int'],
|
||||
|
@ -5070,93 +5070,6 @@ return [
|
||||
'RarException::getTraceAsString' => ['string'],
|
||||
'RarException::isUsingExceptions' => ['bool'],
|
||||
'RarException::setUsingExceptions' => ['RarEntry', 'using_exceptions'=>'bool'],
|
||||
'RdKafka::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka::flush' => ['int', 'timeout_ms'=>'int'],
|
||||
'RdKafka::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka::getOutQLen' => ['int'],
|
||||
'RdKafka::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka::newTopic' => ['RdKafka\Topic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\Conf::dump' => ['array<string, string>'],
|
||||
'RdKafka\Conf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\Conf::setDefaultTopicConf' => ['void', 'topic_conf'=>'RdKafka\TopicConf'],
|
||||
'RdKafka\Conf::setDrMsgCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setErrorCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setRebalanceCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Conf::setStatsCb' => ['void', 'callback'=>'callable'],
|
||||
'RdKafka\Consumer::__construct' => ['void', 'conf='=>'?RdKafka\Conf'],
|
||||
'RdKafka\Consumer::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka\Consumer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Consumer::getOutQLen' => ['int'],
|
||||
'RdKafka\Consumer::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka\Consumer::newTopic' => ['RdKafka\ConsumerTopic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka\Consumer::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Consumer::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\ConsumerTopic::__construct' => ['void'],
|
||||
'RdKafka\ConsumerTopic::consume' => ['RdKafka\Message', 'partition'=>'int', 'timeout_ms'=>'int'],
|
||||
'RdKafka\ConsumerTopic::consumeQueueStart' => ['void', 'partition'=>'int', 'offset'=>'int', 'queue'=>'RdKafka\Queue'],
|
||||
'RdKafka\ConsumerTopic::consumeStart' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\ConsumerTopic::consumeStop' => ['void', 'partition'=>'int'],
|
||||
'RdKafka\ConsumerTopic::getName' => ['string'],
|
||||
'RdKafka\ConsumerTopic::offsetStore' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\KafkaConsumer::__construct' => ['void', 'conf'=>'RdKafka\Conf'],
|
||||
'RdKafka\KafkaConsumer::assign' => ['void', 'topic_partitions='=>'RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commit' => ['void', 'message_or_offsets='=>'RdKafka\Message|RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commitAsync' => ['void', 'message_or_offsets='=>'RdKafka\Message|RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::consume' => ['RdKafka\Message', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getAssignment' => ['RdKafka\TopicPartition[]'],
|
||||
'RdKafka\KafkaConsumer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\KafkaConsumerTopic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getSubscription' => ['array'],
|
||||
'RdKafka\KafkaConsumer::subscribe' => ['void', 'topics'=>'array'],
|
||||
'RdKafka\KafkaConsumer::unsubscribe' => ['void'],
|
||||
'RdKafka\KafkaConsumerTopic::getName' => ['string'],
|
||||
'RdKafka\KafkaConsumerTopic::offsetStore' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\Message::errstr' => ['string'],
|
||||
'RdKafka\Metadata::getBrokers' => ['RdKafka\Metadata\Collection'],
|
||||
'RdKafka\Metadata::getOrigBrokerId' => ['int'],
|
||||
'RdKafka\Metadata::getOrigBrokerName' => ['string'],
|
||||
'RdKafka\Metadata::getTopics' => ['RdKafka\Metadata\Collection|RdKafka\Metadata\Topic[]'],
|
||||
'RdKafka\Metadata\Collection::__construct' => ['void'],
|
||||
'RdKafka\Metadata\Collection::count' => ['int'],
|
||||
'RdKafka\Metadata\Collection::current' => ['mixed'],
|
||||
'RdKafka\Metadata\Collection::key' => ['mixed'],
|
||||
'RdKafka\Metadata\Collection::next' => ['void'],
|
||||
'RdKafka\Metadata\Collection::rewind' => ['void'],
|
||||
'RdKafka\Metadata\Collection::valid' => ['bool'],
|
||||
'RdKafka\Metadata\Partition::getErr' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getId' => ['int'],
|
||||
'RdKafka\Metadata\Partition::getIsrs' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getLeader' => ['mixed'],
|
||||
'RdKafka\Metadata\Partition::getReplicas' => ['mixed'],
|
||||
'RdKafka\Metadata\Topic::getErr' => ['mixed'],
|
||||
'RdKafka\Metadata\Topic::getPartitions' => ['RdKafka\Metadata\Partition[]'],
|
||||
'RdKafka\Metadata\Topic::getTopic' => ['string'],
|
||||
'RdKafka\Producer::__construct' => ['void', 'conf='=>'?RdKafka\Conf'],
|
||||
'RdKafka\Producer::addBrokers' => ['int', 'broker_list'=>'string'],
|
||||
'RdKafka\Producer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'?RdKafka\Topic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Producer::getOutQLen' => ['int'],
|
||||
'RdKafka\Producer::newQueue' => ['RdKafka\Queue'],
|
||||
'RdKafka\Producer::newTopic' => ['RdKafka\ProducerTopic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka\Producer::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka\Producer::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\ProducerTopic::__construct' => ['void'],
|
||||
'RdKafka\ProducerTopic::getName' => ['string'],
|
||||
'RdKafka\ProducerTopic::produce' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string'],
|
||||
'RdKafka\ProducerTopic::producev' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string', 'headers='=>'?array<string, string>', 'timestamp_ms='=>'?int', 'opaque='=>'?string'],
|
||||
'RdKafka\Queue::__construct' => ['void'],
|
||||
'RdKafka\Queue::consume' => ['?RdKafka\Message', 'timeout_ms'=>'string'],
|
||||
'RdKafka\Topic::getName' => ['string'],
|
||||
'RdKafka\TopicConf::dump' => ['array<string, string>'],
|
||||
'RdKafka\TopicConf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\TopicConf::setPartitioner' => ['void', 'partitioner'=>'int'],
|
||||
'RdKafka\TopicPartition::__construct' => ['void', 'topic'=>'string', 'partition'=>'int', 'offset='=>'int'],
|
||||
'RdKafka\TopicPartition::getOffset' => ['int'],
|
||||
'RdKafka\TopicPartition::getPartition' => ['int'],
|
||||
'RdKafka\TopicPartition::getTopic' => ['string'],
|
||||
'RdKafka\TopicPartition::setOffset' => ['void', 'offset'=>'string'],
|
||||
'RdKafka\TopicPartition::setPartition' => ['void', 'partition'=>'string'],
|
||||
'RdKafka\TopicPartition::setTopic' => ['void', 'topic_name'=>'string'],
|
||||
'RecursiveArrayIterator::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int'],
|
||||
'RecursiveArrayIterator::append' => ['void', 'value'=>'mixed'],
|
||||
'RecursiveArrayIterator::asort' => ['true', 'flags='=>'int'],
|
||||
@ -13778,10 +13691,6 @@ return [
|
||||
'rar_wrapper_cache_stats' => ['string'],
|
||||
'rawurldecode' => ['string', 'string'=>'string'],
|
||||
'rawurlencode' => ['string', 'string'=>'string'],
|
||||
'rd_kafka_err2str' => ['string', 'err'=>'int'],
|
||||
'rd_kafka_errno' => ['int'],
|
||||
'rd_kafka_errno2err' => ['int', 'errnox'=>'int'],
|
||||
'rd_kafka_offset_tail' => ['int', 'cnt'=>'int'],
|
||||
'read_exif_data' => ['array', 'filename'=>'string', 'sections_needed='=>'string', 'sub_arrays='=>'bool', 'read_thumbnail='=>'bool'],
|
||||
'readdir' => ['string|false', 'dir_handle='=>'resource'],
|
||||
'readfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
|
@ -631,6 +631,7 @@ class Config
|
||||
"mysqli" => null,
|
||||
"pdo" => null,
|
||||
"random" => null,
|
||||
"rdkafka" => null,
|
||||
"redis" => null,
|
||||
"simplexml" => null,
|
||||
"soap" => null,
|
||||
|
1195
stubs/extensions/rdkafka.phpstub
Normal file
1195
stubs/extensions/rdkafka.phpstub
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user