2 Commits

Author SHA1 Message Date
Andreas Braun
2ab1e4ba2e PHPC-2230: Drop support for PHP 7.2 and 7.3 (#1450)
* PHPC-2230: Drop support for PHP 7.2 and 7.3

* Remove compatibility code for PHP < 7.4

* Drop tests for legacy PHP serialization behaviour

* Remove type match regexes in tests

* Match object properties as strings

* Fix var_export format in tests

* Use wildcards when matching object properties

* Remove unnecessary matching pattern in __set_state tests
2023-08-16 13:50:15 +02:00
Jeremy Mikola
c99a8563bf PHPC-2093: Key Management API (#1339)
* PHPC-2120: Bump libmongoc 1.22.1 and libmongocrypt 1.5.2

* Clean keyvault collection before CSFLE tests

* Test invalid keyMaterial option for ClientEncryption::createDataKey()

* ClientEncryption::createDataKey() "keyMaterial" option

* ClientEncryption key management methods

Use ClientEncryption::getKey in createDataKey tests

* Require server 4.2+ for CSFLE integration tests

* Accommodate PHP 7.2 error message in createDataKey error test
2022-08-18 12:15:54 -04:00