From 48702254826a79a9a36143cfa21b583d5b5414c1 Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Thu, 27 Nov 2025 04:04:58 +0530 Subject: [PATCH 1/2] Backport JsonSchema Contract --- .../Contracts/JsonSchema/JsonSchema.php | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/Illuminate/Contracts/JsonSchema/JsonSchema.php diff --git a/src/Illuminate/Contracts/JsonSchema/JsonSchema.php b/src/Illuminate/Contracts/JsonSchema/JsonSchema.php new file mode 100644 index 000000000000..60e7d20f05c3 --- /dev/null +++ b/src/Illuminate/Contracts/JsonSchema/JsonSchema.php @@ -0,0 +1,51 @@ +)|array $properties + * @return \Illuminate\JsonSchema\Types\ObjectType + */ + public function object(Closure|array $properties = []); + + /** + * Create a new array property instance. + * + * @return \Illuminate\JsonSchema\Types\ArrayType + */ + public function array(); + + /** + * Create a new string property instance. + * + * @return \Illuminate\JsonSchema\Types\StringType + */ + public function string(); + + /** + * Create a new integer property instance. + * + * @return \Illuminate\JsonSchema\Types\IntegerType + */ + public function integer(); + + /** + * Create a new number property instance. + * + * @return \Illuminate\JsonSchema\Types\NumberType + */ + public function number(); + + /** + * Create a new boolean property instance. + * + * @return \Illuminate\JsonSchema\Types\BooleanType + */ + public function boolean(); +} From f5a85961015c51ae06b5c51d7d17a44098b532f3 Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Thu, 27 Nov 2025 04:16:10 +0530 Subject: [PATCH 2/2] Update GitHub Actions to use Windows 2022 for tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 079f71a40337..b79799cae5d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,7 @@ jobs: !vendor/**/.gitignore windows_tests: - runs-on: windows-2019 + runs-on: windows-2022 strategy: fail-fast: true