Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/CodeGenerator/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/CodeGenerator/src/File/ComposerWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/Core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.25.0
Expand Down
2 changes: 1 addition & 1 deletion src/Core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions src/Service/CloudFormation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- AWS api-change: Added `eu-isoe-west-1` region

### Changed

- Normalize the composer requirements

## 1.8.1

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-filter": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/CloudFront/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.0.3
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFront/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-dom": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/CloudWatch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudWatch/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/ElastiCache/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.3.0
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ElastiCache/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-filter": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/Iam/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.6.0
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Iam/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-filter": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/Route53/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 2.8.0
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Route53/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/S3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.
- AWS enhancement: Documentation updates.

Expand Down
2 changes: 1 addition & 1 deletion src/Service/S3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/Sns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Changed

- Normalize the composer requirements
- Sort exception alphabetically.

## 1.9.0
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Sns/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
],
"require": {
"php": "^7.2.5 || ^8.0",
"ext-SimpleXML": "*",
"ext-filter": "*",
"ext-simplexml": "*",
"async-aws/core": "^1.9"
},
"autoload": {
Expand Down