Add support-nts flag for php-ext section (#12127)
* Add support-nts flag for php-ext section Ref: https://github.com/ThePHPF/pie-design/pull/25 * Update php-ext getter/setter definition with support-ntspull/12103/head^2
parent
c8bd0e6278
commit
dfee3dec57
|
@ -311,6 +311,12 @@
|
|||
"example": false,
|
||||
"default": true
|
||||
},
|
||||
"support-nts": {
|
||||
"type": "boolean",
|
||||
"description": "Does this package support non-Thread Safe mode",
|
||||
"example": false,
|
||||
"default": true
|
||||
},
|
||||
"configure-options": {
|
||||
"type": "array",
|
||||
"description": "These configure options make up the flags that can be passed to ./configure when installing the extension.",
|
||||
|
|
|
@ -595,7 +595,7 @@ class Package extends BasePackage
|
|||
/**
|
||||
* Sets the list of paths added to PHP's include path.
|
||||
*
|
||||
* @param array{extension-name?: string, priority?: int, support-zts?: bool, configure-options?: list<array{name: string, description?: string}>}|null $phpExt List of directories.
|
||||
* @param array{extension-name?: string, priority?: int, support-zts?: bool, support-nts?: bool, configure-options?: list<array{name: string, description?: string}>}|null $phpExt List of directories.
|
||||
*/
|
||||
public function setPhpExt(?array $phpExt): void
|
||||
{
|
||||
|
|
|
@ -326,7 +326,7 @@ interface PackageInterface
|
|||
/**
|
||||
* Returns the settings for php extension packages
|
||||
*
|
||||
* @return array{extension-name?: string, priority?: int, support-zts?: bool, configure-options?: list<array{name: string, description?: string}>}|null
|
||||
* @return array{extension-name?: string, priority?: int, support-zts?: bool, support-nts?: bool, configure-options?: list<array{name: string, description?: string}>}|null
|
||||
*/
|
||||
public function getPhpExt(): ?array;
|
||||
|
||||
|
|
Loading…
Reference in New Issue