diff --git a/composer.json b/composer.json index 8eba03ecf..881bbe62a 100644 --- a/composer.json +++ b/composer.json @@ -5,11 +5,11 @@ "type": "project", "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-dom": "*", "ext-filter": "*", "ext-hash": "*", "ext-json": "*", + "ext-simplexml": "*", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/http-client": "^4.4.16 || ^5.1.7 || ^6.0 || ^7.0", "symfony/http-client-contracts": "^1.0 || ^2.0 || ^3.0", diff --git a/src/CodeGenerator/composer.json b/src/CodeGenerator/composer.json index 2e369fd04..8e848e4ca 100644 --- a/src/CodeGenerator/composer.json +++ b/src/CodeGenerator/composer.json @@ -5,9 +5,9 @@ "type": "library", "require": { "php": "^8.2", - "ext-SimpleXML": "*", "ext-dom": "*", "ext-json": "*", + "ext-simplexml": "*", "friendsofphp/php-cs-fixer": "~3.60.0", "nette/php-generator": "^3.6 || ^4.1", "nette/utils": "^3.0 || ^4.0", diff --git a/src/CodeGenerator/src/File/ComposerWriter.php b/src/CodeGenerator/src/File/ComposerWriter.php index 8c71735d0..3a9262689 100644 --- a/src/CodeGenerator/src/File/ComposerWriter.php +++ b/src/CodeGenerator/src/File/ComposerWriter.php @@ -36,7 +36,8 @@ public function setRequirements(string $namespace, array $requirements, bool $cl unset( $content['require']['ext-json'], $content['require']['ext-dom'], - $content['require']['ext-SimpleXML'], + $content['require']['ext-SimpleXML'], // Older versions of the code generator were using that case. We keep cleaning it to avoid garbage. + $content['require']['ext-simplexml'], $content['require']['ext-filter'], $content['require']['async-aws/core'], $content['require']['symfony/polyfill-uuid'], diff --git a/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php b/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php index 0913abe9e..5b284e381 100644 --- a/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php +++ b/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php @@ -97,7 +97,7 @@ public function generate(StructureShape $shape, bool $throwOnError = true): Pars return new ParserResult(''); } - $this->requirementsRegistry->addRequirement('ext-SimpleXML'); + $this->requirementsRegistry->addRequirement('ext-simplexml'); $body = '$data = new \SimpleXMLElement($response->getContent(' . ($throwOnError ? '' : 'false') . '));'; if (!$throwOnError) { diff --git a/src/Core/CHANGELOG.md b/src/Core/CHANGELOG.md index 79bc00688..8906139a1 100644 --- a/src/Core/CHANGELOG.md +++ b/src/Core/CHANGELOG.md @@ -8,6 +8,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.25.0 diff --git a/src/Core/composer.json b/src/Core/composer.json index 25c821642..4b9614f85 100644 --- a/src/Core/composer.json +++ b/src/Core/composer.json @@ -12,9 +12,9 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-hash": "*", "ext-json": "*", + "ext-simplexml": "*", "psr/cache": "^1.0 || ^2.0 || ^3.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/deprecation-contracts": "^2.1 || ^3.0", diff --git a/src/Service/CloudFormation/CHANGELOG.md b/src/Service/CloudFormation/CHANGELOG.md index 6ebeaaebf..f4f303f24 100644 --- a/src/Service/CloudFormation/CHANGELOG.md +++ b/src/Service/CloudFormation/CHANGELOG.md @@ -6,6 +6,10 @@ - AWS api-change: Added `eu-isoe-west-1` region +### Changed + +- Normalize the composer requirements + ## 1.8.1 ### Changed diff --git a/src/Service/CloudFormation/composer.json b/src/Service/CloudFormation/composer.json index 17b43cb07..25abb94cb 100644 --- a/src/Service/CloudFormation/composer.json +++ b/src/Service/CloudFormation/composer.json @@ -12,8 +12,8 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-filter": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/CloudFront/CHANGELOG.md b/src/Service/CloudFront/CHANGELOG.md index b78e97ae2..fded96179 100644 --- a/src/Service/CloudFront/CHANGELOG.md +++ b/src/Service/CloudFront/CHANGELOG.md @@ -4,6 +4,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.0.3 diff --git a/src/Service/CloudFront/composer.json b/src/Service/CloudFront/composer.json index 74bb30e30..654fbcb04 100644 --- a/src/Service/CloudFront/composer.json +++ b/src/Service/CloudFront/composer.json @@ -12,8 +12,8 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-dom": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/CloudWatch/CHANGELOG.md b/src/Service/CloudWatch/CHANGELOG.md index 0dfcca0c2..0b2b68ad0 100644 --- a/src/Service/CloudWatch/CHANGELOG.md +++ b/src/Service/CloudWatch/CHANGELOG.md @@ -8,6 +8,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.2.0 diff --git a/src/Service/CloudWatch/composer.json b/src/Service/CloudWatch/composer.json index f8006ae96..6585de9a7 100644 --- a/src/Service/CloudWatch/composer.json +++ b/src/Service/CloudWatch/composer.json @@ -12,7 +12,7 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/ElastiCache/CHANGELOG.md b/src/Service/ElastiCache/CHANGELOG.md index 462354d90..e11b6e711 100644 --- a/src/Service/ElastiCache/CHANGELOG.md +++ b/src/Service/ElastiCache/CHANGELOG.md @@ -9,6 +9,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.3.0 diff --git a/src/Service/ElastiCache/composer.json b/src/Service/ElastiCache/composer.json index 62c5c0e29..a4206e17c 100644 --- a/src/Service/ElastiCache/composer.json +++ b/src/Service/ElastiCache/composer.json @@ -12,8 +12,8 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-filter": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/Iam/CHANGELOG.md b/src/Service/Iam/CHANGELOG.md index 809b2fa5d..017c17d41 100644 --- a/src/Service/Iam/CHANGELOG.md +++ b/src/Service/Iam/CHANGELOG.md @@ -4,6 +4,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.6.0 diff --git a/src/Service/Iam/composer.json b/src/Service/Iam/composer.json index f389160f3..9a3d9c7c0 100644 --- a/src/Service/Iam/composer.json +++ b/src/Service/Iam/composer.json @@ -15,8 +15,8 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-filter": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/Route53/CHANGELOG.md b/src/Service/Route53/CHANGELOG.md index 1997c4409..9343c923c 100644 --- a/src/Service/Route53/CHANGELOG.md +++ b/src/Service/Route53/CHANGELOG.md @@ -9,6 +9,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 2.8.0 diff --git a/src/Service/Route53/composer.json b/src/Service/Route53/composer.json index 8e268d34a..b4fb0a9e5 100644 --- a/src/Service/Route53/composer.json +++ b/src/Service/Route53/composer.json @@ -12,9 +12,9 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-dom": "*", "ext-filter": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": { diff --git a/src/Service/S3/CHANGELOG.md b/src/Service/S3/CHANGELOG.md index 940bf2bbb..c7f31f755 100644 --- a/src/Service/S3/CHANGELOG.md +++ b/src/Service/S3/CHANGELOG.md @@ -8,6 +8,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. - AWS enhancement: Documentation updates. diff --git a/src/Service/S3/composer.json b/src/Service/S3/composer.json index ff09748a7..426cb3cac 100644 --- a/src/Service/S3/composer.json +++ b/src/Service/S3/composer.json @@ -12,10 +12,10 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-dom": "*", "ext-filter": "*", "ext-hash": "*", + "ext-simplexml": "*", "async-aws/core": "^1.22" }, "autoload": { diff --git a/src/Service/Sns/CHANGELOG.md b/src/Service/Sns/CHANGELOG.md index 38188e493..3c31609c5 100644 --- a/src/Service/Sns/CHANGELOG.md +++ b/src/Service/Sns/CHANGELOG.md @@ -8,6 +8,7 @@ ### Changed +- Normalize the composer requirements - Sort exception alphabetically. ## 1.9.0 diff --git a/src/Service/Sns/composer.json b/src/Service/Sns/composer.json index 2a59134e1..0c1af48fa 100644 --- a/src/Service/Sns/composer.json +++ b/src/Service/Sns/composer.json @@ -12,8 +12,8 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "ext-SimpleXML": "*", "ext-filter": "*", + "ext-simplexml": "*", "async-aws/core": "^1.9" }, "autoload": {