From f4320a7089e751ea2d61af8b36abecc8a2cab5e4 Mon Sep 17 00:00:00 2001 From: Cerys Lewis Date: Fri, 29 Nov 2024 13:06:13 +0000 Subject: [PATCH 01/13] started work on the "Organisation" schema --- Examples/Schemas/Organisation.php | 101 +++++++++++++++++++++ src/Interfaces/SchemaDocumentInterface.php | 8 ++ 2 files changed, 109 insertions(+) create mode 100644 Examples/Schemas/Organisation.php create mode 100644 src/Interfaces/SchemaDocumentInterface.php diff --git a/Examples/Schemas/Organisation.php b/Examples/Schemas/Organisation.php new file mode 100644 index 0000000..b374a54 --- /dev/null +++ b/Examples/Schemas/Organisation.php @@ -0,0 +1,101 @@ +Name = $data["name"]; + $this->Departments = $data["departments"]; + $this->Cases = $data["cases"]; + $this->Staff = $data["staff"]; + } +} diff --git a/src/Interfaces/SchemaDocumentInterface.php b/src/Interfaces/SchemaDocumentInterface.php new file mode 100644 index 0000000..6507358 --- /dev/null +++ b/src/Interfaces/SchemaDocumentInterface.php @@ -0,0 +1,8 @@ + Date: Sat, 30 Nov 2024 01:58:13 +0000 Subject: [PATCH 02/13] -> --- {Examples => examples}/ExampleScripts/generateMessageSchema.php | 2 +- {Examples => examples}/Schemas/Message.php | 0 {Examples => examples}/Schemas/Organisation.php | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {Examples => examples}/ExampleScripts/generateMessageSchema.php (83%) rename {Examples => examples}/Schemas/Message.php (100%) rename {Examples => examples}/Schemas/Organisation.php (100%) diff --git a/Examples/ExampleScripts/generateMessageSchema.php b/examples/ExampleScripts/generateMessageSchema.php similarity index 83% rename from Examples/ExampleScripts/generateMessageSchema.php rename to examples/ExampleScripts/generateMessageSchema.php index 26eef41..dffbd14 100644 --- a/Examples/ExampleScripts/generateMessageSchema.php +++ b/examples/ExampleScripts/generateMessageSchema.php @@ -4,7 +4,7 @@ namespace Darksparrow\AuxiliumSchemaBuilder\examples\SchemaBuilder; require_once __DIR__ . "/../../vendor/autoload.php"; -require_once __DIR__ . "/../../Examples/Schemas/Message.php"; +require_once __DIR__ . "/../../examples/Schemas/Message.php"; use Darksparrow\AuxiliumSchemaBuilder\Examples\SchemaBuilder\Schemas\Message; use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\SchemaBuilder; diff --git a/Examples/Schemas/Message.php b/examples/Schemas/Message.php similarity index 100% rename from Examples/Schemas/Message.php rename to examples/Schemas/Message.php diff --git a/Examples/Schemas/Organisation.php b/examples/Schemas/Organisation.php similarity index 100% rename from Examples/Schemas/Organisation.php rename to examples/Schemas/Organisation.php -- 2.39.5 From 65f3d9e29690dca76f4ce3759f0c3fc1ae476ff6 Mon Sep 17 00:00:00 2001 From: Cerys Date: Sat, 30 Nov 2024 02:12:36 +0000 Subject: [PATCH 03/13] started work on being able to generate schema URLs --- examples/Schemas/Message.php | 2 +- examples/Schemas/Organisation.php | 4 ++-- phpunit.xml | 10 ++++++++++ src/Attributes/SchemaDocument.php | 2 ++ src/Utilities/URLHandling.php | 24 ++++++++++++++++++++++++ tests/SchemaURITest.php | 20 ++++++++++++++++++++ tests/bootstrap.php | 3 +++ 7 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 phpunit.xml create mode 100644 src/Utilities/URLHandling.php create mode 100644 tests/SchemaURITest.php create mode 100644 tests/bootstrap.php diff --git a/examples/Schemas/Message.php b/examples/Schemas/Message.php index 6381b9e..ca13c2c 100644 --- a/examples/Schemas/Message.php +++ b/examples/Schemas/Message.php @@ -9,7 +9,7 @@ use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocument; use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentField; #[SchemaDocument( - Name: "Message", + Name: "message", MimeType: "message/rfc822", )] class Message diff --git a/examples/Schemas/Organisation.php b/examples/Schemas/Organisation.php index b374a54..d9ff4e2 100644 --- a/examples/Schemas/Organisation.php +++ b/examples/Schemas/Organisation.php @@ -1,4 +1,4 @@ - + + + tests + + + diff --git a/src/Attributes/SchemaDocument.php b/src/Attributes/SchemaDocument.php index 80e9d89..4b7e554 100644 --- a/src/Attributes/SchemaDocument.php +++ b/src/Attributes/SchemaDocument.php @@ -10,6 +10,7 @@ use PhpParser\Node\Name; #[\Attribute] class SchemaDocument extends Attribute { + public string $Name; public int $MaxSize; public string $Comment; public string $MimeType; @@ -21,6 +22,7 @@ class SchemaDocument extends Attribute string $MimeType = "" ) { + $this->Name = $Name; $this->MaxSize = $MaxSize; $this->Comment = $Comment; $this->MimeType = $MimeType; diff --git a/src/Utilities/URLHandling.php b/src/Utilities/URLHandling.php new file mode 100644 index 0000000..cd299d8 --- /dev/null +++ b/src/Utilities/URLHandling.php @@ -0,0 +1,24 @@ +getAttributes() as $attribute) + { + if($attribute->getName() === SchemaDocument::class) + { + $name = $attribute->getArguments()["Name"]; + return self::$URLBase . $name . ".json"; + } + } + die(); + } +} diff --git a/tests/SchemaURITest.php b/tests/SchemaURITest.php new file mode 100644 index 0000000..5e472b4 --- /dev/null +++ b/tests/SchemaURITest.php @@ -0,0 +1,20 @@ + Date: Sun, 1 Dec 2024 19:57:36 +0000 Subject: [PATCH 04/13] should now be able to put either class names or URLs in --- src/SchemaBuilder/SchemaBuilder.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/SchemaBuilder/SchemaBuilder.php b/src/SchemaBuilder/SchemaBuilder.php index 6da8816..4d75d16 100644 --- a/src/SchemaBuilder/SchemaBuilder.php +++ b/src/SchemaBuilder/SchemaBuilder.php @@ -5,6 +5,7 @@ namespace Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder; use Darksparrow\AuxiliumSchemaBuilder\Exceptions\SchemaDocumentFieldNameUnsetException; use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocument; use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentField; +use Darksparrow\AuxiliumSchemaBuilder\Utilities\URLHandling; use JetBrains\PhpStorm\NoReturn; use ReflectionClass; @@ -105,6 +106,19 @@ class SchemaBuilder { $propertySchema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; } + elseif($key == "ValidSchemas") + { + $propertySchema["@valid_schemas"] = []; + $classNameRegex = '/^(\\\\?[A-Z][a-zA-Z0-9_]*)((\\\\[A-Z][a-zA-Z0-9_]*)*)$/'; + $urlRegex = '/^https?:\/\/[^\s$.?#].[^\s]*$/i'; + foreach($value as $validSchema) + { + if (preg_match($classNameRegex, $validSchema)) + $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); + elseif (preg_match($urlRegex, $validSchema)) + $propertySchema["@valid_schemas"][] = $validSchema; + } + } } } if($propertyName == "") -- 2.39.5 From d81a73db820aa92dd35ebf79960031133ba54937 Mon Sep 17 00:00:00 2001 From: Cerys Date: Sun, 1 Dec 2024 20:20:46 +0000 Subject: [PATCH 05/13] done away with the child field in favour of just nesting --- src/Attributes/SchemaDocumentChildField.php | 24 ------------------- src/Attributes/SchemaDocumentField.php | 2 +- src/SchemaBuilder/SchemaBuilder.php | 26 +++++++++++++++++---- 3 files changed, 23 insertions(+), 29 deletions(-) delete mode 100644 src/Attributes/SchemaDocumentChildField.php diff --git a/src/Attributes/SchemaDocumentChildField.php b/src/Attributes/SchemaDocumentChildField.php deleted file mode 100644 index 7c0aa7f..0000000 --- a/src/Attributes/SchemaDocumentChildField.php +++ /dev/null @@ -1,24 +0,0 @@ -Comment = $Comment; - $this->ValidSchemas = $ValidSchemas; - parent::__construct(new Name("SchemaDocumentChildField"), [], []); - } - -} diff --git a/src/Attributes/SchemaDocumentField.php b/src/Attributes/SchemaDocumentField.php index 16c3b3d..d4832bc 100644 --- a/src/Attributes/SchemaDocumentField.php +++ b/src/Attributes/SchemaDocumentField.php @@ -25,7 +25,7 @@ class SchemaDocumentField extends Attribute array $ValidSchemas = [], int $MaxSize = 0, string $MimeType = "", - SchemaDocumentChildField $Child = null + SchemaDocumentField $Child = null ) { $this->Existence = $Existence; diff --git a/src/SchemaBuilder/SchemaBuilder.php b/src/SchemaBuilder/SchemaBuilder.php index 4d75d16..f0b9ae1 100644 --- a/src/SchemaBuilder/SchemaBuilder.php +++ b/src/SchemaBuilder/SchemaBuilder.php @@ -7,6 +7,7 @@ use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocument; use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentField; use Darksparrow\AuxiliumSchemaBuilder\Utilities\URLHandling; use JetBrains\PhpStorm\NoReturn; +use PHPUnit\Util\Exception; use ReflectionClass; class SchemaBuilder @@ -81,6 +82,9 @@ class SchemaBuilder */ foreach ($reflection->getProperties() as $property) { + $classNameRegex = '/^([\\]*)?[a-zA-Z_][a-zA-Z0-9_]*)(([\\]*[a-zA-Z0-9_]*)*)$/'; + $urlRegex = '/^https?:\/\/[^\s$.?#].[^\s]*$/i'; + $propertyName = ""; $propertySchema = []; @@ -101,24 +105,38 @@ class SchemaBuilder "@comment" => $value->Comment, "@valid_schemas" => $value->ValidSchemas, ]; + $propertySchema["@valid_schemas"] = []; + foreach($value as $validSchema) + { + if (preg_match($classNameRegex, $validSchema)) + $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); + elseif (preg_match($urlRegex, $validSchema)) + $propertySchema["@valid_schemas"][] = $validSchema; + else + $propertySchema["@valid_schemas"][] = "test123"; + } } - elseif(self::VerifyField($key, $value, $validKeys[1])) + elseif($key == "Existance") { - $propertySchema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; + $propertySchema["#"] = $value->value; } elseif($key == "ValidSchemas") { $propertySchema["@valid_schemas"] = []; - $classNameRegex = '/^(\\\\?[A-Z][a-zA-Z0-9_]*)((\\\\[A-Z][a-zA-Z0-9_]*)*)$/'; - $urlRegex = '/^https?:\/\/[^\s$.?#].[^\s]*$/i'; foreach($value as $validSchema) { if (preg_match($classNameRegex, $validSchema)) $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); elseif (preg_match($urlRegex, $validSchema)) $propertySchema["@valid_schemas"][] = $validSchema; + else + $propertySchema["@valid_schemas"][] = "test123"; } } + elseif(self::VerifyField($key, $value, $validKeys[1])) + { + $propertySchema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; + } } } if($propertyName == "") -- 2.39.5 From 6e470cf03a84efe63219ec95824e2fb636972d31 Mon Sep 17 00:00:00 2001 From: Cerys Date: Sun, 1 Dec 2024 20:20:51 +0000 Subject: [PATCH 06/13] Update composer.lock --- composer.lock | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/composer.lock b/composer.lock index 43b3a2a..26f9805 100644 --- a/composer.lock +++ b/composer.lock @@ -12,12 +12,12 @@ "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "be6a7e86c74841eac964ae16853e4036a6a319d0" + "reference": "9e3ae34de52dd65590c4277d5cdde8f39f12418b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/be6a7e86c74841eac964ae16853e4036a6a319d0", - "reference": "be6a7e86c74841eac964ae16853e4036a6a319d0", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/9e3ae34de52dd65590c4277d5cdde8f39f12418b", + "reference": "9e3ae34de52dd65590c4277d5cdde8f39f12418b", "shasum": "" }, "require": { @@ -75,7 +75,7 @@ "type": "tidelift" } ], - "time": "2024-10-16T22:06:28+00:00" + "time": "2024-11-25T19:21:52+00:00" }, { "name": "myclabs/deep-copy", @@ -83,12 +83,12 @@ "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/4764e040f8743e92b86c36f488f32d0265dd1dae", + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae", "shasum": "" }, "require": { @@ -128,7 +128,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.x" }, "funding": [ { @@ -136,7 +136,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T17:47:46+00:00" + "time": "2024-11-26T13:04:49+00:00" }, { "name": "nikic/php-parser", @@ -640,12 +640,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "7e5a1cc50d52a8019af1d0bf90f0980f16ea9f8a" + "reference": "5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7e5a1cc50d52a8019af1d0bf90f0980f16ea9f8a", - "reference": "7e5a1cc50d52a8019af1d0bf90f0980f16ea9f8a", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f", + "reference": "5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f", "shasum": "" }, "require": { @@ -656,7 +656,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.12.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=7.3", @@ -735,7 +735,7 @@ "type": "tidelift" } ], - "time": "2024-10-31T05:51:17+00:00" + "time": "2024-11-25T11:16:31+00:00" }, { "name": "sebastian/cli-parser", @@ -1755,12 +1755,12 @@ "packages-dev": [], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=8.1" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } -- 2.39.5 From 0ee81236e35c72df5a5ef9a5c4575426561a45b1 Mon Sep 17 00:00:00 2001 From: Cerys Date: Sun, 1 Dec 2024 22:47:48 +0000 Subject: [PATCH 07/13] more work on schema generation --- src/Attributes/SchemaDocumentField.php | 30 +++-- src/SchemaBuilder/SchemaBuilder.php | 177 +++++++++++++++---------- 2 files changed, 127 insertions(+), 80 deletions(-) diff --git a/src/Attributes/SchemaDocumentField.php b/src/Attributes/SchemaDocumentField.php index d4832bc..21144f4 100644 --- a/src/Attributes/SchemaDocumentField.php +++ b/src/Attributes/SchemaDocumentField.php @@ -12,26 +12,34 @@ class SchemaDocumentField extends Attribute { public string $Name; - public SchemaFieldExistence $Existence; - public string $Comment; - public array $ValidSchemas; - public int $MaxSize; - public string $MimeType; + public ?SchemaFieldExistence $Existence; + public ?string $Comment; + public ?array $ValidSchemas; + public int $MaxSize = PHP_INT_MIN; + public ?string $MimeType; + public ?SchemaDocumentField $Child; + public ?array $Children; public function __construct( string $Name, - SchemaFieldExistence $Existence = SchemaFieldExistence::MAY, - string $Comment = "", - array $ValidSchemas = [], - int $MaxSize = 0, - string $MimeType = "", - SchemaDocumentField $Child = null + ?SchemaFieldExistence $Existence = null, + ?string $Comment = null, + ?array $ValidSchemas = null, + int $MaxSize = PHP_INT_MIN, + ?string $MimeType = null, + ?SchemaDocumentField $Child = null, + ?array $Children = null, ) { + $this->Name = $Name; $this->Existence = $Existence; $this->Comment = $Comment; $this->ValidSchemas = $ValidSchemas; + $this->MaxSize = $MaxSize; $this->MimeType = $MimeType; + $this->Child = $Child; + $this->Children = $Children; + parent::__construct(new Name("SchemaDocumentField"), [], []); } diff --git a/src/SchemaBuilder/SchemaBuilder.php b/src/SchemaBuilder/SchemaBuilder.php index f0b9ae1..914bcb3 100644 --- a/src/SchemaBuilder/SchemaBuilder.php +++ b/src/SchemaBuilder/SchemaBuilder.php @@ -10,8 +10,13 @@ use JetBrains\PhpStorm\NoReturn; use PHPUnit\Util\Exception; use ReflectionClass; + class SchemaBuilder { + private const CLASS_NAME_REGEX = '/^(([\\\\]*)?[a-zA-Z_][a-zA-Z0-9_]*)(([\\\\]*[a-zA-Z0-9_]*)*)$/'; + private const URL_REGEX = '/^https?:\/\/[^\s$.?#].[^\s]*$/i'; + + /** * Goes through the Attribute classes and makes a list of all the Properties they have. * This is so if a user adds another variable to the Attribute constructor, it won't appear in the final Schema. @@ -60,94 +65,128 @@ class SchemaBuilder return strtolower(preg_replace('/(?$value) + { + switch($key) + { + case "Name": + $propertyName = $value; + break; + case "Existence": + if($value == null) continue; + $propertySchema["@existence"] = $value; + break; + case "Comment": + if($value == null) continue; + $propertySchema["@comment"] = $value; + break; + case "ValidSchemas": + if($value == null) continue; + + $propertySchema["@valid_schemas"] = []; + foreach($value as $validSchema) + { + if (preg_match(self::CLASS_NAME_REGEX, $validSchema)) + $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); + elseif (preg_match(self::URL_REGEX, $validSchema)) + $propertySchema["@valid_schemas"][] = $validSchema; + else + throw new \Exception("Invalid schema property: " . $validSchema); + } + break; + case "MaxSize": + if($value == PHP_INT_MIN) continue; + $propertySchema["@max_size"] = $value; + break; + case "MimeType": + if($value == null) continue; + $propertySchema["@mime_type"] = $value; + break; + case "Child": + if($value == null) continue; + $temp = json_decode(json_encode($value), true); + unset($temp['nodeType']); + unset($temp['attributes']); + unset($temp['name']); + unset($temp['args']); + $propertySchema["#"] = self::ProcessSchemaPropertyArguments($temp)[1]; + break; + case "Children": + if($value == null) continue; + foreach($value as $child) + { + $temp = json_decode(json_encode($child), true); + unset($temp['nodeType']); + unset($temp['attributes']); + unset($temp['name']); + unset($temp['args']); + $propertySchema[$child->Name] = self::ProcessSchemaPropertyArguments($temp)[1]; + } + break; + default: + throw new \Exception("unknown property: " . $key); + } + } + return [$propertyName, $propertySchema]; + } + + private static function ProcessSchemaProperties($reflection): array + { + $schema = []; + foreach ($reflection->getProperties() as $property) + { + $targetAttribute = null; + foreach ($property->getAttributes() as $attribute) + if($attribute->getName() == SchemaDocumentField::class) + $targetAttribute = $attribute; + + if($targetAttribute == null) + throw new \Exception("required attribute does not exist"); + + $temp = self::ProcessSchemaPropertyArguments($targetAttribute->getArguments()); + $propertyName = $temp[0]; + $propertySchema = $temp[1]; + if($propertyName == "") + throw new SchemaDocumentFieldNameUnsetException(); + $schema["$propertyName"] = $propertySchema; + } + return $schema; + } /** * @throws SchemaDocumentFieldNameUnsetException */ - public static function GenerateSchema(string $targetSchemaClassName): array + private static function GenerateSchemaReflectionObject(ReflectionClass $reflection): array { $schema = []; - $validKeys = self::GetValidKeys(); - $reflection = new ReflectionClass(new $targetSchemaClassName()); /* * Schema "meta-data" from here... */ foreach($reflection->getAttributes()[0]->getArguments() as $key=>$value) - if(self::VerifyField($key, $value, $validKeys[0])) - $schema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; + if(self::VerifyField($key, $value, self::GetValidKeys()[0])) + if($key != "Name") + $schema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; /* * Property handling from here... */ - foreach ($reflection->getProperties() as $property) - { - $classNameRegex = '/^([\\]*)?[a-zA-Z_][a-zA-Z0-9_]*)(([\\]*[a-zA-Z0-9_]*)*)$/'; - $urlRegex = '/^https?:\/\/[^\s$.?#].[^\s]*$/i'; - - $propertyName = ""; - $propertySchema = []; - - foreach ($property->getAttributes() as $attribute) - { - if($attribute->getName() != SchemaDocumentField::class) - continue; - - foreach($attribute->getArguments() as $key=>$value) - { - if($key == "Name") - { - $propertyName = $value; - } - elseif($key == "Child") - { - $propertySchema["#"] = [ - "@comment" => $value->Comment, - "@valid_schemas" => $value->ValidSchemas, - ]; - $propertySchema["@valid_schemas"] = []; - foreach($value as $validSchema) - { - if (preg_match($classNameRegex, $validSchema)) - $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); - elseif (preg_match($urlRegex, $validSchema)) - $propertySchema["@valid_schemas"][] = $validSchema; - else - $propertySchema["@valid_schemas"][] = "test123"; - } - } - elseif($key == "Existance") - { - $propertySchema["#"] = $value->value; - } - elseif($key == "ValidSchemas") - { - $propertySchema["@valid_schemas"] = []; - foreach($value as $validSchema) - { - if (preg_match($classNameRegex, $validSchema)) - $propertySchema["@valid_schemas"][] = URLHandling::GetURLForSchema($validSchema); - elseif (preg_match($urlRegex, $validSchema)) - $propertySchema["@valid_schemas"][] = $validSchema; - else - $propertySchema["@valid_schemas"][] = "test123"; - } - } - elseif(self::VerifyField($key, $value, $validKeys[1])) - { - $propertySchema["@" . self::PascalCaseToSnakeCase(input: $key)] = $value; - } - } - } - if($propertyName == "") - throw new SchemaDocumentFieldNameUnsetException(); - - $schema["$propertyName"] = $propertySchema; - } + foreach(self::ProcessSchemaProperties($reflection) as $key=>$value) + $schema[$key] = $value; return $schema; } + public static function GenerateSchema(string $targetSchemaClassName): array + { + $reflection = new ReflectionClass(new $targetSchemaClassName()); + return self::GenerateSchemaReflectionObject($reflection); + } + /** * Generates the Schema using the SchemaBuilder::GenerateSchema() function, sets the http header to application/json, echos the schema as JSON, then dies. * -- 2.39.5 From 7768caa8fa13187bb5050184377818d657120e6b Mon Sep 17 00:00:00 2001 From: Cerys Date: Sun, 1 Dec 2024 23:03:01 +0000 Subject: [PATCH 08/13] general tidying up --- src/SchemaBuilder/SchemaBuilder.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/SchemaBuilder/SchemaBuilder.php b/src/SchemaBuilder/SchemaBuilder.php index 914bcb3..7142c5d 100644 --- a/src/SchemaBuilder/SchemaBuilder.php +++ b/src/SchemaBuilder/SchemaBuilder.php @@ -157,11 +157,11 @@ class SchemaBuilder return $schema; } - /** - * @throws SchemaDocumentFieldNameUnsetException - */ - private static function GenerateSchemaReflectionObject(ReflectionClass $reflection): array + + public static function GenerateSchema(string $targetSchemaClassName): array { + $reflection = new ReflectionClass(new $targetSchemaClassName()); + $schema = []; /* @@ -181,12 +181,6 @@ class SchemaBuilder return $schema; } - public static function GenerateSchema(string $targetSchemaClassName): array - { - $reflection = new ReflectionClass(new $targetSchemaClassName()); - return self::GenerateSchemaReflectionObject($reflection); - } - /** * Generates the Schema using the SchemaBuilder::GenerateSchema() function, sets the http header to application/json, echos the schema as JSON, then dies. * -- 2.39.5 From fc1375b54ac3a7841ef0e5f2ea4ae5800b0e1c1f Mon Sep 17 00:00:00 2001 From: Cerys Date: Mon, 2 Dec 2024 00:17:13 +0000 Subject: [PATCH 09/13] updated `phpunit/phpunit` --- composer.json | 2 +- composer.lock | 621 +++++++++++++++++++++----------------------------- 2 files changed, 266 insertions(+), 357 deletions(-) diff --git a/composer.json b/composer.json index 3894f76..87cecde 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require": { "php": ">=8.1", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "11.4.4" }, "require-dev": { }, diff --git a/composer.lock b/composer.lock index 26f9805..4f3aa81 100644 --- a/composer.lock +++ b/composer.lock @@ -4,79 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ff0ad2d1e0c506b4393964477394f0be", + "content-hash": "8e5b1c40fcff22ecd6b93bfbfeacc9b8", "packages": [ - { - "name": "doctrine/instantiator", - "version": "2.0.x-dev", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "9e3ae34de52dd65590c4277d5cdde8f39f12418b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/9e3ae34de52dd65590c4277d5cdde8f39f12418b", - "reference": "9e3ae34de52dd65590c4277d5cdde8f39f12418b", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^12", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^10.5", - "vimeo/psalm": "^5.4" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2024-11-25T19:21:52+00:00" - }, { "name": "myclabs/deep-copy", "version": "1.x-dev", @@ -317,44 +246,45 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "0448d60087a382392a1b2a1abe434466e03dcc87" + "reference": "4ebbbf84efcf74523478bb8360d95af7d0601bfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0448d60087a382392a1b2a1abe434466e03dcc87", - "reference": "0448d60087a382392a1b2a1abe434466e03dcc87", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4ebbbf84efcf74523478bb8360d95af7d0601bfa", + "reference": "4ebbbf84efcf74523478bb8360d95af7d0601bfa", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.19.1 || ^5.1.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.6", - "phpunit/php-text-template": "^2.0.4", - "sebastian/code-unit-reverse-lookup": "^2.0.3", - "sebastian/complexity": "^2.0.3", - "sebastian/environment": "^5.1.5", - "sebastian/lines-of-code": "^1.0.4", - "sebastian/version": "^3.0.2", + "nikic/php-parser": "^5.3.1", + "php": ">=8.2", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-text-template": "^4.0.1", + "sebastian/code-unit-reverse-lookup": "^4.0.1", + "sebastian/complexity": "^4.0.1", + "sebastian/environment": "^7.2.0", + "sebastian/lines-of-code": "^3.0.1", + "sebastian/version": "^5.0.2", "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^11.4.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "9.2.x-dev" + "dev-main": "11.0.x-dev" } }, "autoload": { @@ -383,7 +313,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/main" }, "funding": [ { @@ -391,32 +321,33 @@ "type": "github" } ], - "time": "2024-10-31T05:58:25+00:00" + "time": "2024-11-19T09:01:11+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "38b24367e1b340aa78b96d7cab042942d917bb84" + "reference": "e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/38b24367e1b340aa78b96d7cab042942d917bb84", - "reference": "38b24367e1b340aa78b96d7cab042942d917bb84", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39", + "reference": "e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -443,7 +374,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0" + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/main" }, "funding": [ { @@ -451,36 +383,37 @@ "type": "github" } ], - "time": "2022-02-11T16:23:04+00:00" + "time": "2024-11-18T12:40:22+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "37dcc765cac94cc8b93d55c89519d17443fcf7fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/37dcc765cac94cc8b93d55c89519d17443fcf7fd", + "reference": "37dcc765cac94cc8b93d55c89519d17443fcf7fd", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, "suggest": { "ext-pcntl": "*" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -506,7 +439,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "security": "https://github.com/sebastianbergmann/php-invoker/security/policy", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/main" }, "funding": [ { @@ -514,32 +448,33 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2024-11-18T12:42:10+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "875374332ebdf89960b1cf1a0d15630f9bb7bd19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/875374332ebdf89960b1cf1a0d15630f9bb7bd19", + "reference": "875374332ebdf89960b1cf1a0d15630f9bb7bd19", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -565,7 +500,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/main" }, "funding": [ { @@ -573,32 +509,33 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2024-11-18T12:43:56+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1", + "reference": "cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -624,7 +561,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "security": "https://github.com/sebastianbergmann/php-timer/security/policy", + "source": "https://github.com/sebastianbergmann/php-timer/tree/main" }, "funding": [ { @@ -632,24 +570,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2024-11-18T12:45:24+00:00" }, { "name": "phpunit/phpunit", - "version": "9.6.x-dev", + "version": "11.4.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f" + "reference": "f9ba7bd3c9f3ff54ec379d7a1c2e3f13fe0bbde4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f", - "reference": "5e58fee65c32a3eb5df82b1f5bc3a711cf7fa96f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f9ba7bd3c9f3ff54ec379d7a1c2e3f13fe0bbde4", + "reference": "f9ba7bd3c9f3ff54ec379d7a1c2e3f13fe0bbde4", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -659,27 +596,25 @@ "myclabs/deep-copy": "^1.12.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.32", - "phpunit/php-file-iterator": "^3.0.6", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.4", - "phpunit/php-timer": "^5.0.3", - "sebastian/cli-parser": "^1.0.2", - "sebastian/code-unit": "^1.0.8", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.6", - "sebastian/environment": "^5.1.5", - "sebastian/exporter": "^4.0.6", - "sebastian/global-state": "^5.0.7", - "sebastian/object-enumerator": "^4.0.4", - "sebastian/resource-operations": "^3.0.4", - "sebastian/type": "^3.2.1", - "sebastian/version": "^3.0.2" + "php": ">=8.2", + "phpunit/php-code-coverage": "^11.0.7", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-invoker": "^5.0.1", + "phpunit/php-text-template": "^4.0.1", + "phpunit/php-timer": "^7.0.1", + "sebastian/cli-parser": "^3.0.2", + "sebastian/code-unit": "^3.0.1", + "sebastian/comparator": "^6.2.1", + "sebastian/diff": "^6.0.2", + "sebastian/environment": "^7.2.0", + "sebastian/exporter": "^6.1.3", + "sebastian/global-state": "^7.0.2", + "sebastian/object-enumerator": "^6.0.1", + "sebastian/type": "^5.1.0", + "sebastian/version": "^5.0.2" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -687,7 +622,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-main": "11.4-dev" } }, "autoload": { @@ -719,7 +654,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.4.4" }, "funding": [ { @@ -735,32 +670,33 @@ "type": "tidelift" } ], - "time": "2024-11-25T11:16:31+00:00" + "time": "2024-11-27T10:44:52+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" + "reference": "ed3214132038733910f47428b76fe206c30d184f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", - "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/ed3214132038733910f47428b76fe206c30d184f", + "reference": "ed3214132038733910f47428b76fe206c30d184f", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -783,7 +719,8 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/main" }, "funding": [ { @@ -791,32 +728,33 @@ "type": "github" } ], - "time": "2024-03-02T06:27:43+00:00" + "time": "2024-11-17T08:38:12+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb", + "reference": "f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.0" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -839,7 +777,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "security": "https://github.com/sebastianbergmann/code-unit/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit/tree/main" }, "funding": [ { @@ -847,32 +786,33 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2024-11-17T08:59:10+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "8393af791d8844c600e9beeb7c6ec945da163d69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/8393af791d8844c600e9beeb7c6ec945da163d69", + "reference": "8393af791d8844c600e9beeb7c6ec945da163d69", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -894,7 +834,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "security": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/main" }, "funding": [ { @@ -902,34 +843,37 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2024-11-17T09:03:31+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "b247957a1c8dc81a671770f74b479c0a78a818f1" + "reference": "4445658756000e7931547346e02c3dd7bda4afb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/b247957a1c8dc81a671770f74b479c0a78a818f1", - "reference": "b247957a1c8dc81a671770f74b479c0a78a818f1", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/4445658756000e7931547346e02c3dd7bda4afb0", + "reference": "4445658756000e7931547346e02c3dd7bda4afb0", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.2", + "sebastian/diff": "^6.0", + "sebastian/exporter": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.4" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.2-dev" } }, "autoload": { @@ -968,7 +912,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0" + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/main" }, "funding": [ { @@ -976,33 +921,34 @@ "type": "github" } ], - "time": "2022-09-14T12:46:14+00:00" + "time": "2024-11-17T09:18:49+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" + "reference": "699c44ac85e6af1971b364a2f0f6dbc662665d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/699c44ac85e6af1971b364a2f0f6dbc662665d7e", + "reference": "699c44ac85e6af1971b364a2f0f6dbc662665d7e", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -1025,7 +971,8 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/main" }, "funding": [ { @@ -1033,33 +980,34 @@ "type": "github" } ], - "time": "2023-12-22T06:19:30+00:00" + "time": "2024-11-17T09:37:26+00:00" }, { "name": "sebastian/diff", - "version": "4.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" + "reference": "eb238060a950f2031ce51019f909b8ece35bccfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", - "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/eb238060a950f2031ce51019f909b8ece35bccfb", + "reference": "eb238060a950f2031ce51019f909b8ece35bccfb", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^11.3", "symfony/process": "^4.2 || ^5" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -1091,7 +1039,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/main" }, "funding": [ { @@ -1099,35 +1048,36 @@ "type": "github" } ], - "time": "2024-03-02T06:30:58+00:00" + "time": "2024-11-17T10:00:20+00:00" }, { "name": "sebastian/environment", - "version": "5.1.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "reference": "cb0870cb47ad51ebf29009812b5fb95b684fa0ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cb0870cb47ad51ebf29009812b5fb95b684fa0ef", + "reference": "cb0870cb47ad51ebf29009812b5fb95b684fa0ef", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, "suggest": { "ext-posix": "*" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "7.2-dev" } }, "autoload": { @@ -1146,7 +1096,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -1154,7 +1104,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/main" }, "funding": [ { @@ -1162,34 +1113,35 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2024-11-17T12:42:42+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" + "reference": "ddf15797e9582e3321c110aac618813fc83232c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", - "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ddf15797e9582e3321c110aac618813fc83232c6", + "reference": "ddf15797e9582e3321c110aac618813fc83232c6", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.2", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -1231,7 +1183,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/main" }, "funding": [ { @@ -1239,38 +1192,36 @@ "type": "github" } ], - "time": "2024-03-02T06:33:00+00:00" + "time": "2024-11-17T12:48:57+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" + "reference": "4df15b25d05fbe785a29532866680c3228757510" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", - "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/4df15b25d05fbe785a29532866680c3228757510", + "reference": "4df15b25d05fbe785a29532866680c3228757510", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -1289,13 +1240,14 @@ } ], "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", "keywords": [ "global state" ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/main" }, "funding": [ { @@ -1303,33 +1255,34 @@ "type": "github" } ], - "time": "2024-03-02T06:35:11+00:00" + "time": "2024-11-17T13:09:00+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" + "reference": "95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16", + "reference": "95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -1352,7 +1305,8 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/main" }, "funding": [ { @@ -1360,34 +1314,35 @@ "type": "github" } ], - "time": "2023-12-22T06:20:34+00:00" + "time": "2024-11-17T16:04:14+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "c792f3892900fc2cb442ec2144859e1c98257151" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/c792f3892900fc2cb442ec2144859e1c98257151", + "reference": "c792f3892900fc2cb442ec2144859e1c98257151", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -1409,7 +1364,8 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "security": "https://github.com/sebastianbergmann/object-enumerator/security/policy", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/main" }, "funding": [ { @@ -1417,32 +1373,33 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2024-11-18T07:55:39+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "74f619c3feff8b2c167151a9f1121814a1455075" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/74f619c3feff8b2c167151a9f1121814a1455075", + "reference": "74f619c3feff8b2c167151a9f1121814a1455075", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -1464,7 +1421,8 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "security": "https://github.com/sebastianbergmann/object-reflector/security/policy", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/main" }, "funding": [ { @@ -1472,32 +1430,33 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2024-11-18T11:56:31+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "reference": "f4f16c2ec6015b899d2c5bab0d91e18671373ebc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f4f16c2ec6015b899d2c5bab0d91e18671373ebc", + "reference": "f4f16c2ec6015b899d2c5bab0d91e18671373ebc", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -1527,7 +1486,8 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/main" }, "funding": [ { @@ -1535,87 +1495,33 @@ "type": "github" } ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25", - "reference": "ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "source": "https://github.com/sebastianbergmann/resource-operations/tree/main" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2024-03-14T18:47:08+00:00" + "time": "2024-11-18T12:53:14+00:00" }, { "name": "sebastian/type", - "version": "3.2.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "reference": "6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5", + "reference": "6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^11.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -1638,7 +1544,8 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2" + "security": "https://github.com/sebastianbergmann/type/security/policy", + "source": "https://github.com/sebastianbergmann/type/tree/main" }, "funding": [ { @@ -1646,29 +1553,30 @@ "type": "github" } ], - "time": "2023-02-03T06:13:03+00:00" + "time": "2024-11-18T13:49:24+00:00" }, { "name": "sebastian/version", - "version": "3.0.x-dev", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "cb850f446e73456205470334ed36e8a585446b97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/cb850f446e73456205470334ed36e8a585446b97", + "reference": "cb850f446e73456205470334ed36e8a585446b97", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.2" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -1691,7 +1599,8 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "security": "https://github.com/sebastianbergmann/version/security/policy", + "source": "https://github.com/sebastianbergmann/version/tree/main" }, "funding": [ { @@ -1699,7 +1608,7 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2024-11-30T06:09:18+00:00" }, { "name": "theseer/tokenizer", -- 2.39.5 From 341721c568f0d677f521e3e28f6b7fa2effe2357 Mon Sep 17 00:00:00 2001 From: Cerys Date: Mon, 2 Dec 2024 00:17:22 +0000 Subject: [PATCH 10/13] will throw an error if it can't find the schema --- src/Utilities/URLHandling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/URLHandling.php b/src/Utilities/URLHandling.php index cd299d8..63da986 100644 --- a/src/Utilities/URLHandling.php +++ b/src/Utilities/URLHandling.php @@ -19,6 +19,6 @@ class URLHandling return self::$URLBase . $name . ".json"; } } - die(); + throw new \Exception("Could not determine URL for schema " . $targetSchemaClassName . "."); } } -- 2.39.5 From 298a9ff2208fa949074c274e1fbfd58655752a95 Mon Sep 17 00:00:00 2001 From: Cerys Date: Mon, 2 Dec 2024 00:18:49 +0000 Subject: [PATCH 11/13] made `phpunit/phpunit` `require-dev` instead --- composer.json | 4 ++-- composer.lock | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 87cecde..0b7a131 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ } }, "require": { - "php": ">=8.1", - "phpunit/phpunit": "11.4.4" + "php": ">=8.1" }, "require-dev": { + "phpunit/phpunit": "11.4.4" }, "scripts": { "test": "phpunit" diff --git a/composer.lock b/composer.lock index 4f3aa81..76210eb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,9 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8e5b1c40fcff22ecd6b93bfbfeacc9b8", - "packages": [ + "content-hash": "dc52ff7e2c972661f8d8e92fc3c9d5e9", + "packages": [], + "packages-dev": [ { "name": "myclabs/deep-copy", "version": "1.x-dev", @@ -1661,7 +1662,6 @@ "time": "2024-03-03T12:36:25+00:00" } ], - "packages-dev": [], "aliases": [], "minimum-stability": "dev", "stability-flags": {}, -- 2.39.5 From 87ad9590e399eeb6290dc053a21290d8190f42b8 Mon Sep 17 00:00:00 2001 From: Cerys Date: Wed, 8 Jan 2025 13:49:32 +0000 Subject: [PATCH 12/13] added auxilium schemas as examples --- examples/Schemas/CaseSchema.php | 97 ++++++++++ examples/Schemas/CollectionSchema.php | 15 ++ examples/Schemas/DocumentSchema.php | 43 +++++ examples/Schemas/EnumSchema.php | 14 ++ .../{Message.php => MessageSchema.php} | 24 +-- ...rganisation.php => OrganisationSchema.php} | 36 ++-- examples/Schemas/UserSchema.php | 169 ++++++++++++++++++ 7 files changed, 369 insertions(+), 29 deletions(-) create mode 100644 examples/Schemas/CaseSchema.php create mode 100644 examples/Schemas/CollectionSchema.php create mode 100644 examples/Schemas/DocumentSchema.php create mode 100644 examples/Schemas/EnumSchema.php rename examples/Schemas/{Message.php => MessageSchema.php} (71%) rename examples/Schemas/{Organisation.php => OrganisationSchema.php} (64%) create mode 100644 examples/Schemas/UserSchema.php diff --git a/examples/Schemas/CaseSchema.php b/examples/Schemas/CaseSchema.php new file mode 100644 index 0000000..6bad961 --- /dev/null +++ b/examples/Schemas/CaseSchema.php @@ -0,0 +1,97 @@ +Name = $data["name"]; @@ -98,4 +99,5 @@ class Organisation implements SchemaDocumentInterface $this->Cases = $data["cases"]; $this->Staff = $data["staff"]; } + */ } diff --git a/examples/Schemas/UserSchema.php b/examples/Schemas/UserSchema.php new file mode 100644 index 0000000..3de7591 --- /dev/null +++ b/examples/Schemas/UserSchema.php @@ -0,0 +1,169 @@ + Date: Wed, 8 Jan 2025 13:49:47 +0000 Subject: [PATCH 13/13] amended the required packages --- composer.json | 8 +- composer.lock | 202 +++++++++++++++++++++++++------------------------- 2 files changed, 105 insertions(+), 105 deletions(-) diff --git a/composer.json b/composer.json index 0b7a131..b088f25 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ } }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "phpunit/phpunit": "11.4.4" + "php": ">=8.1", + + "phpunit/phpunit": "11.4.4", + "nikic/php-parser": "5.4.0" }, "scripts": { "test": "phpunit" diff --git a/composer.lock b/composer.lock index 76210eb..3a1eaec 100644 --- a/composer.lock +++ b/composer.lock @@ -4,9 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dc52ff7e2c972661f8d8e92fc3c9d5e9", - "packages": [], - "packages-dev": [ + "content-hash": "4007d07cdeee2d422803107eb3a8701e", + "packages": [ { "name": "myclabs/deep-copy", "version": "1.x-dev", @@ -70,16 +69,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", "shasum": "" }, "require": { @@ -122,9 +121,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2024-12-30T11:07:19+00:00" }, { "name": "phar-io/manifest", @@ -247,23 +246,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "dev-main", + "version": "11.0.x-dev", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "4ebbbf84efcf74523478bb8360d95af7d0601bfa" + "reference": "6d2586c37dab648446a0260698de0e4165904b40" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4ebbbf84efcf74523478bb8360d95af7d0601bfa", - "reference": "4ebbbf84efcf74523478bb8360d95af7d0601bfa", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6d2586c37dab648446a0260698de0e4165904b40", + "reference": "6d2586c37dab648446a0260698de0e4165904b40", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.3.1", + "nikic/php-parser": "^5.4.0", "php": ">=8.2", "phpunit/php-file-iterator": "^5.1.0", "phpunit/php-text-template": "^4.0.1", @@ -275,13 +274,12 @@ "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^11.4.1" + "phpunit/phpunit": "^11.5.2" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -314,7 +312,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/main" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0" }, "funding": [ { @@ -322,7 +320,7 @@ "type": "github" } ], - "time": "2024-11-19T09:01:11+00:00" + "time": "2025-01-01T10:04:03+00:00" }, { "name": "phpunit/php-file-iterator", @@ -330,12 +328,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39" + "reference": "2c98c03fbaf11947fa7af3addf0dd5cc53ef2222" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39", - "reference": "e293d2fb670f4e2b7e15c6818aa5f199d9c7ba39", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/2c98c03fbaf11947fa7af3addf0dd5cc53ef2222", + "reference": "2c98c03fbaf11947fa7af3addf0dd5cc53ef2222", "shasum": "" }, "require": { @@ -384,7 +382,7 @@ "type": "github" } ], - "time": "2024-11-18T12:40:22+00:00" + "time": "2025-01-01T09:40:42+00:00" }, { "name": "phpunit/php-invoker", @@ -392,12 +390,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "37dcc765cac94cc8b93d55c89519d17443fcf7fd" + "reference": "8a37f00b9cabe5e6f9243da4a9f03a870d674c5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/37dcc765cac94cc8b93d55c89519d17443fcf7fd", - "reference": "37dcc765cac94cc8b93d55c89519d17443fcf7fd", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/8a37f00b9cabe5e6f9243da4a9f03a870d674c5f", + "reference": "8a37f00b9cabe5e6f9243da4a9f03a870d674c5f", "shasum": "" }, "require": { @@ -449,7 +447,7 @@ "type": "github" } ], - "time": "2024-11-18T12:42:10+00:00" + "time": "2025-01-01T09:41:13+00:00" }, { "name": "phpunit/php-text-template", @@ -457,12 +455,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "875374332ebdf89960b1cf1a0d15630f9bb7bd19" + "reference": "448ebac2e0bce19946d1c94cd5ef7d7232223ab9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/875374332ebdf89960b1cf1a0d15630f9bb7bd19", - "reference": "875374332ebdf89960b1cf1a0d15630f9bb7bd19", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/448ebac2e0bce19946d1c94cd5ef7d7232223ab9", + "reference": "448ebac2e0bce19946d1c94cd5ef7d7232223ab9", "shasum": "" }, "require": { @@ -510,7 +508,7 @@ "type": "github" } ], - "time": "2024-11-18T12:43:56+00:00" + "time": "2025-01-01T09:41:42+00:00" }, { "name": "phpunit/php-timer", @@ -518,12 +516,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1" + "reference": "8bd85ca4d648a58374332de6de3ac7229c013466" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1", - "reference": "cf30eaa48c30dbcb2abefba164e71e7f70a4a4f1", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8bd85ca4d648a58374332de6de3ac7229c013466", + "reference": "8bd85ca4d648a58374332de6de3ac7229c013466", "shasum": "" }, "require": { @@ -571,7 +569,7 @@ "type": "github" } ], - "time": "2024-11-18T12:45:24+00:00" + "time": "2025-01-01T09:42:21+00:00" }, { "name": "phpunit/phpunit", @@ -679,12 +677,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "ed3214132038733910f47428b76fe206c30d184f" + "reference": "17bf3cd4330720e8b0779925527dcc0073d74a42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/ed3214132038733910f47428b76fe206c30d184f", - "reference": "ed3214132038733910f47428b76fe206c30d184f", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/17bf3cd4330720e8b0779925527dcc0073d74a42", + "reference": "17bf3cd4330720e8b0779925527dcc0073d74a42", "shasum": "" }, "require": { @@ -729,7 +727,7 @@ "type": "github" } ], - "time": "2024-11-17T08:38:12+00:00" + "time": "2025-01-01T09:30:10+00:00" }, { "name": "sebastian/code-unit", @@ -737,19 +735,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb" + "reference": "1f56f951e080c0353ee13ed8e5a8e900b9e7a6b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb", - "reference": "f04804d6a5421d2373200a2a6fb3ca7f72a9a5fb", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1f56f951e080c0353ee13ed8e5a8e900b9e7a6b7", + "reference": "1f56f951e080c0353ee13ed8e5a8e900b9e7a6b7", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.5" }, "default-branch": true, "type": "library", @@ -787,7 +785,7 @@ "type": "github" } ], - "time": "2024-11-17T08:59:10+00:00" + "time": "2025-01-01T09:30:51+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -795,12 +793,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "8393af791d8844c600e9beeb7c6ec945da163d69" + "reference": "1b040bebc0fc06a6e6f65cd3079de9ba0dbfaef1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/8393af791d8844c600e9beeb7c6ec945da163d69", - "reference": "8393af791d8844c600e9beeb7c6ec945da163d69", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1b040bebc0fc06a6e6f65cd3079de9ba0dbfaef1", + "reference": "1b040bebc0fc06a6e6f65cd3079de9ba0dbfaef1", "shasum": "" }, "require": { @@ -844,20 +842,20 @@ "type": "github" } ], - "time": "2024-11-17T09:03:31+00:00" + "time": "2025-01-01T09:31:42+00:00" }, { "name": "sebastian/comparator", - "version": "dev-main", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "4445658756000e7931547346e02c3dd7bda4afb0" + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/4445658756000e7931547346e02c3dd7bda4afb0", - "reference": "4445658756000e7931547346e02c3dd7bda4afb0", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115", + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115", "shasum": "" }, "require": { @@ -870,7 +868,9 @@ "require-dev": { "phpunit/phpunit": "^11.4" }, - "default-branch": true, + "suggest": { + "ext-bcmath": "For comparing BcMath\\Number objects" + }, "type": "library", "extra": { "branch-alias": { @@ -914,7 +914,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/main" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0" }, "funding": [ { @@ -922,7 +922,7 @@ "type": "github" } ], - "time": "2024-11-17T09:18:49+00:00" + "time": "2025-01-06T10:28:19+00:00" }, { "name": "sebastian/complexity", @@ -930,12 +930,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "699c44ac85e6af1971b364a2f0f6dbc662665d7e" + "reference": "91d8c629065ffdc4a58e2f853abaf8285ca21d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/699c44ac85e6af1971b364a2f0f6dbc662665d7e", - "reference": "699c44ac85e6af1971b364a2f0f6dbc662665d7e", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/91d8c629065ffdc4a58e2f853abaf8285ca21d9e", + "reference": "91d8c629065ffdc4a58e2f853abaf8285ca21d9e", "shasum": "" }, "require": { @@ -981,7 +981,7 @@ "type": "github" } ], - "time": "2024-11-17T09:37:26+00:00" + "time": "2025-01-01T09:32:55+00:00" }, { "name": "sebastian/diff", @@ -989,12 +989,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "eb238060a950f2031ce51019f909b8ece35bccfb" + "reference": "414180fa028225aad46f3536fb4db1b917259a2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/eb238060a950f2031ce51019f909b8ece35bccfb", - "reference": "eb238060a950f2031ce51019f909b8ece35bccfb", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/414180fa028225aad46f3536fb4db1b917259a2a", + "reference": "414180fa028225aad46f3536fb4db1b917259a2a", "shasum": "" }, "require": { @@ -1049,7 +1049,7 @@ "type": "github" } ], - "time": "2024-11-17T10:00:20+00:00" + "time": "2025-01-01T09:33:55+00:00" }, { "name": "sebastian/environment", @@ -1057,12 +1057,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "cb0870cb47ad51ebf29009812b5fb95b684fa0ef" + "reference": "84b1c461d6979f3c005fbb49d3b0164850392582" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cb0870cb47ad51ebf29009812b5fb95b684fa0ef", - "reference": "cb0870cb47ad51ebf29009812b5fb95b684fa0ef", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/84b1c461d6979f3c005fbb49d3b0164850392582", + "reference": "84b1c461d6979f3c005fbb49d3b0164850392582", "shasum": "" }, "require": { @@ -1114,20 +1114,20 @@ "type": "github" } ], - "time": "2024-11-17T12:42:42+00:00" + "time": "2025-01-01T09:34:22+00:00" }, { "name": "sebastian/exporter", - "version": "dev-main", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ddf15797e9582e3321c110aac618813fc83232c6" + "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ddf15797e9582e3321c110aac618813fc83232c6", - "reference": "ddf15797e9582e3321c110aac618813fc83232c6", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/3473f61172093b2da7de1fb5782e1f24cc036dc3", + "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3", "shasum": "" }, "require": { @@ -1138,7 +1138,6 @@ "require-dev": { "phpunit/phpunit": "^11.3" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -1185,7 +1184,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/main" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.3.0" }, "funding": [ { @@ -1193,7 +1192,7 @@ "type": "github" } ], - "time": "2024-11-17T12:48:57+00:00" + "time": "2024-12-05T09:17:50+00:00" }, { "name": "sebastian/global-state", @@ -1201,12 +1200,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "4df15b25d05fbe785a29532866680c3228757510" + "reference": "28e45982a64f4d801eaea55a8bba489452772642" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/4df15b25d05fbe785a29532866680c3228757510", - "reference": "4df15b25d05fbe785a29532866680c3228757510", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/28e45982a64f4d801eaea55a8bba489452772642", + "reference": "28e45982a64f4d801eaea55a8bba489452772642", "shasum": "" }, "require": { @@ -1256,7 +1255,7 @@ "type": "github" } ], - "time": "2024-11-17T13:09:00+00:00" + "time": "2025-01-01T09:35:39+00:00" }, { "name": "sebastian/lines-of-code", @@ -1264,12 +1263,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16" + "reference": "bbc228f25b917818bff5fc1bad8fc323a8f65e44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16", - "reference": "95bcc65eab435a53e8aaaea18dc1b8e3f0d5ab16", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/bbc228f25b917818bff5fc1bad8fc323a8f65e44", + "reference": "bbc228f25b917818bff5fc1bad8fc323a8f65e44", "shasum": "" }, "require": { @@ -1315,7 +1314,7 @@ "type": "github" } ], - "time": "2024-11-17T16:04:14+00:00" + "time": "2025-01-01T09:36:19+00:00" }, { "name": "sebastian/object-enumerator", @@ -1323,12 +1322,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "c792f3892900fc2cb442ec2144859e1c98257151" + "reference": "ffbcccb1cc5d3fea834b706b1a4b06fc84a20b45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/c792f3892900fc2cb442ec2144859e1c98257151", - "reference": "c792f3892900fc2cb442ec2144859e1c98257151", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/ffbcccb1cc5d3fea834b706b1a4b06fc84a20b45", + "reference": "ffbcccb1cc5d3fea834b706b1a4b06fc84a20b45", "shasum": "" }, "require": { @@ -1374,7 +1373,7 @@ "type": "github" } ], - "time": "2024-11-18T07:55:39+00:00" + "time": "2025-01-01T09:37:20+00:00" }, { "name": "sebastian/object-reflector", @@ -1382,12 +1381,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "74f619c3feff8b2c167151a9f1121814a1455075" + "reference": "e2a50646c445ce25637b6a2e80840240078e3ab9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/74f619c3feff8b2c167151a9f1121814a1455075", - "reference": "74f619c3feff8b2c167151a9f1121814a1455075", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/e2a50646c445ce25637b6a2e80840240078e3ab9", + "reference": "e2a50646c445ce25637b6a2e80840240078e3ab9", "shasum": "" }, "require": { @@ -1431,7 +1430,7 @@ "type": "github" } ], - "time": "2024-11-18T11:56:31+00:00" + "time": "2025-01-01T09:38:05+00:00" }, { "name": "sebastian/recursion-context", @@ -1439,12 +1438,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "f4f16c2ec6015b899d2c5bab0d91e18671373ebc" + "reference": "9d338b105f4ac32986976a04f600f576c21c2aed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f4f16c2ec6015b899d2c5bab0d91e18671373ebc", - "reference": "f4f16c2ec6015b899d2c5bab0d91e18671373ebc", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/9d338b105f4ac32986976a04f600f576c21c2aed", + "reference": "9d338b105f4ac32986976a04f600f576c21c2aed", "shasum": "" }, "require": { @@ -1496,7 +1495,7 @@ "type": "github" } ], - "time": "2024-11-18T12:53:14+00:00" + "time": "2025-01-01T09:44:26+00:00" }, { "name": "sebastian/type", @@ -1504,12 +1503,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5" + "reference": "5e8629d28ab6f9ed567eaefede8897e0af2d19b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5", - "reference": "6351aa65ae4ad84c4e6793d61c44fa4d3fdd89b5", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/5e8629d28ab6f9ed567eaefede8897e0af2d19b0", + "reference": "5e8629d28ab6f9ed567eaefede8897e0af2d19b0", "shasum": "" }, "require": { @@ -1554,7 +1553,7 @@ "type": "github" } ], - "time": "2024-11-18T13:49:24+00:00" + "time": "2025-01-01T09:44:51+00:00" }, { "name": "sebastian/version", @@ -1562,12 +1561,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "cb850f446e73456205470334ed36e8a585446b97" + "reference": "41070aa60621ad62d3e2a580953142be9a79900b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/cb850f446e73456205470334ed36e8a585446b97", - "reference": "cb850f446e73456205470334ed36e8a585446b97", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/41070aa60621ad62d3e2a580953142be9a79900b", + "reference": "41070aa60621ad62d3e2a580953142be9a79900b", "shasum": "" }, "require": { @@ -1609,7 +1608,7 @@ "type": "github" } ], - "time": "2024-11-30T06:09:18+00:00" + "time": "2025-01-01T09:45:27+00:00" }, { "name": "theseer/tokenizer", @@ -1662,6 +1661,7 @@ "time": "2024-03-03T12:36:25+00:00" } ], + "packages-dev": [], "aliases": [], "minimum-stability": "dev", "stability-flags": {}, -- 2.39.5