diff --git a/CHANGELOG.md b/CHANGELOG.md index ca29e85..f47d238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. +## 0.5.1 - 2021-02-12 + + +----- + +### Release Notes for [0.5.1](https://github.com/open-code-modeling/json-schema-to-php-ast/milestone/11) + +0.5.x bugfix release (patch) + +### 0.5.1 + +- Total issues resolved: **1** +- Total pull requests resolved: **0** +- Total contributors: **1** + +#### enhancement + + - [22: Pump php-code-ast to 0.12.0](https://github.com/open-code-modeling/json-schema-to-php-ast/issues/22) thanks to @sandrokeil + ## 0.5.0 - 2021-02-11 diff --git a/composer.json b/composer.json index 0b8e84d..56b445a 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "require": { "php": "^7.4 || ^8.0", "open-code-modeling/json-schema-to-php": "^0.3.0 || 0.4.x-dev", - "open-code-modeling/php-code-ast": "^0.11.0 || 0.12.x-dev" + "open-code-modeling/php-code-ast": "^0.12.0 || 0.13.x-dev" }, "require-dev": { "laminas/laminas-filter": "^2.9", diff --git a/composer.lock b/composer.lock index 25509f4..e6bc134 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "52fd2b5002831ccd3e4991a671da32f0", + "content-hash": "09819fcc56c8a62e88b8789186a33adc", "packages": [ { "name": "nikic/php-parser", @@ -121,16 +121,16 @@ }, { "name": "open-code-modeling/php-code-ast", - "version": "0.11.0", + "version": "0.12.0", "source": { "type": "git", "url": "https://github.com/open-code-modeling/php-code-ast.git", - "reference": "86e6d62a737080ff3a0a6b88578d8c3a765b3821" + "reference": "8441ce175f360b8c3cff4afa0e82b5a09dc09fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/open-code-modeling/php-code-ast/zipball/86e6d62a737080ff3a0a6b88578d8c3a765b3821", - "reference": "86e6d62a737080ff3a0a6b88578d8c3a765b3821", + "url": "https://api.github.com/repos/open-code-modeling/php-code-ast/zipball/8441ce175f360b8c3cff4afa0e82b5a09dc09fdb", + "reference": "8441ce175f360b8c3cff4afa0e82b5a09dc09fdb", "shasum": "" }, "require": { @@ -170,7 +170,7 @@ "issues": "https://github.com/open-code-modeling/php-code-ast/issues", "source": "https://github.com/open-code-modeling/php-code-ast" }, - "time": "2021-01-30T21:38:27+00:00" + "time": "2021-02-12T14:17:11+00:00" } ], "packages-dev": [ diff --git a/src/PropertyFactory.php b/src/PropertyFactory.php index 439e052..73eabb7 100644 --- a/src/PropertyFactory.php +++ b/src/PropertyFactory.php @@ -103,7 +103,7 @@ public function nodeVisitorFromNative(string $name, string $type): array public function propertyGenerator(string $name, string $type): PropertyGenerator { - return new PropertyGenerator(($this->propertyNameFilter)($name), $type, null, $this->typed); + return new PropertyGenerator(($this->propertyNameFilter)($name), $type, $this->typed); } /**