Skip to content

Commit bfdff2f

Browse files
authored
Merge pull request #52 from guilhermednt/add-ext-intl
Added ext-intl to the generated composer.json
2 parents 4cdc664 + da366f9 commit bfdff2f

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [7.0.1] - 2021-08-29
8+
### Fixed
9+
- Added `ext-intl` to composer.json. It was missing since 7.0.0.
10+
711
## [7.0.0] - 2021-08-27
812
### Fixed
913
- Using `grapheme_strlen` to properly count string lengths.
@@ -193,4 +197,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
193197

194198
## [1.0.0] - 2020-07-09
195199
### Added
196-
- Initial API client generator release
200+
- Initial API client generator release

example/gen/composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"require": {
1212
"php": ">=7.4",
1313
"docler-labs/api-client-exception": "^1.0",
14+
"ext-intl": "*",
1415
"guzzlehttp/psr7": "^1.6",
1516
"pimple/pimple": "^3.3",
1617
"psr/container": "^1.0",

src/Meta/ComposerJsonTemplate.php

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ private function getCommonPackages(): array
6161
{
6262
return [
6363
'docler-labs/api-client-exception' => '^1.0',
64+
'ext-intl' => '*',
6465
'psr/container' => '^1.0',
6566
'psr/http-client' => '^1.0',
6667
'psr/http-client-implementation' => '^1.0',

test/suite/functional/Meta/ComposerJson/composer_default.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"require": {
1111
"php": ">=7.4",
1212
"docler-labs/api-client-exception": "^1.0",
13+
"ext-intl": "*",
1314
"guzzlehttp/psr7": "^1.6",
1415
"pimple/pimple": "^3.3",
1516
"psr/container": "^1.0",

test/suite/functional/Meta/ComposerJson/composer_guzzle_message.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"require": {
1111
"php": ">=7.4",
1212
"docler-labs/api-client-exception": "^1.0",
13+
"ext-intl": "*",
1314
"guzzlehttp/psr7": "^1.6",
1415
"pimple/pimple": "^3.3",
1516
"psr/container": "^1.0",

test/suite/functional/Meta/ComposerJson/composer_nyholm_message.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"require": {
1111
"php": ">=7.4",
1212
"docler-labs/api-client-exception": "^1.0",
13+
"ext-intl": "*",
1314
"nyholm/psr7": "^1.3",
1415
"pimple/pimple": "^3.3",
1516
"psr/container": "^1.0",

0 commit comments

Comments
 (0)