@wp-playground/blueprints 3.0.41 → 3.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,14 +47,14 @@
47
47
  "php": {
48
48
  "anyOf": [
49
49
  {
50
- "$ref": "#/definitions/SupportedPHPVersion"
50
+ "$ref": "#/definitions/BlueprintPHPVersion"
51
51
  },
52
52
  {
53
53
  "type": "string",
54
54
  "const": "latest"
55
55
  }
56
56
  ],
57
- "description": "The preferred PHP version to use. If not specified, the latest supported version will be used"
57
+ "description": "The preferred PHP version to use. If not specified, the latest supported version will be used.\n\nNote: PHP 7.2 and 7.3 are deprecated and will be automatically upgraded to 7.4."
58
58
  },
59
59
  "wp": {
60
60
  "type": "string",
@@ -172,19 +172,25 @@
172
172
  "additionalProperties": false,
173
173
  "description": "The Blueprint declaration, typically stored in a blueprint.json file."
174
174
  },
175
+ "BlueprintPHPVersion": {
176
+ "anyOf": [
177
+ {
178
+ "$ref": "#/definitions/SupportedPHPVersion"
179
+ },
180
+ {
181
+ "type": "string",
182
+ "const": "7.2"
183
+ },
184
+ {
185
+ "type": "string",
186
+ "const": "7.3"
187
+ }
188
+ ],
189
+ "description": "PHP versions accepted in Blueprint schema. Includes deprecated versions (7.2, 7.3) which are automatically upgraded to 7.4 during compilation."
190
+ },
175
191
  "SupportedPHPVersion": {
176
192
  "type": "string",
177
- "enum": [
178
- "8.5",
179
- "8.4",
180
- "8.3",
181
- "8.2",
182
- "8.1",
183
- "8.0",
184
- "7.4",
185
- "7.3",
186
- "7.2"
187
- ]
193
+ "enum": ["8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.4"]
188
194
  },
189
195
  "ExtraLibrary": {
190
196
  "type": "string",