Skip to content

Commit

Permalink
Add phpstub for amqp extension (php-amqp) and register it
Browse files Browse the repository at this point in the history
  • Loading branch information
mkilmanas committed Nov 27, 2024
1 parent bfbd53c commit 6bb0b7a
Show file tree
Hide file tree
Showing 3 changed files with 2,083 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@

<xs:simpleType name="ExtensionType">
<xs:restriction base="xs:string">
<xs:enumeration value="amqp"/>
<xs:enumeration value="apcu"/>
<xs:enumeration value="decimal"/>
<xs:enumeration value="dom"/>
Expand Down
1 change: 1 addition & 0 deletions src/Psalm/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ class Config
* @var array<string, bool|null>
*/
public $php_extensions = [

Check failure on line 631 in src/Psalm/Config.php

View workflow job for this annotation

GitHub Actions / Check backward compatibility

Property Psalm\Config#$php_extensions changed default value from array ( 'apcu' => NULL, 'decimal' => NULL, 'dom' => NULL, 'ds' => NULL, 'ffi' => NULL, 'geos' => NULL, 'gmp' => NULL, 'ibm_db2' => NULL, 'mongodb' => NULL, 'mysqli' => NULL, 'pdo' => NULL, 'random' => NULL, 'rdkafka' => NULL, 'redis' => NULL, 'simplexml' => NULL, 'soap' => NULL, 'xdebug' => NULL, ) to array ( 'amqp' => NULL, 'apcu' => NULL, 'decimal' => NULL, 'dom' => NULL, 'ds' => NULL, 'ffi' => NULL, 'geos' => NULL, 'gmp' => NULL, 'ibm_db2' => NULL, 'mongodb' => NULL, 'mysqli' => NULL, 'pdo' => NULL, 'random' => NULL, 'rdkafka' => NULL, 'redis' => NULL, 'simplexml' => NULL, 'soap' => NULL, 'xdebug' => NULL, )
"amqp" => null,
"apcu" => null,
"decimal" => null,
"dom" => null,
Expand Down
Loading

0 comments on commit 6bb0b7a

Please sign in to comment.