Skip to content

Commit a9b5291

Browse files
authored
Merge pull request #11181 from mkilmanas/feature/ext-amqp-phpstub
Add phpstub for amqp extension (php-amqp)
2 parents 79ab7e2 + ea74072 commit a9b5291

File tree

3 files changed

+2084
-0
lines changed

3 files changed

+2084
-0
lines changed

config.xsd

+1
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@
735735

736736
<xs:simpleType name="ExtensionType">
737737
<xs:restriction base="xs:string">
738+
<xs:enumeration value="amqp"/>
738739
<xs:enumeration value="apcu"/>
739740
<xs:enumeration value="decimal"/>
740741
<xs:enumeration value="dom"/>

src/Psalm/Config.php

+2
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,9 @@ final class Config
476476
* @psalm-readonly-allow-private-mutation
477477
* @var array<string, bool|null>
478478
*/
479+
479480
public array $php_extensions = [
481+
"amqp" => null,
480482
"apcu" => null,
481483
"decimal" => null,
482484
"dom" => null,

0 commit comments

Comments
 (0)