From 8fa38b6d8ef98679780c45583ffbee462de53471 Mon Sep 17 00:00:00 2001 From: Open Code Modeling Bot Date: Thu, 11 Feb 2021 21:53:48 +0000 Subject: [PATCH 1/3] Bumps changelog version to 0.5.1 Updates the CHANGELOG.md file to add a changelog entry for a new 0.5.1 version. --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca29e85..699a70d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. +## 0.5.1 - TBD + +### Added + +- Nothing. + +### Changed + +- Nothing. + +### Deprecated + +- Nothing. + +### Removed + +- Nothing. + +### Fixed + +- Nothing. + ## 0.5.0 - 2021-02-11 From 8d19a1fd70834b4ba4bf55292e000851fd979a1b Mon Sep 17 00:00:00 2001 From: Sandro Keil Date: Fri, 12 Feb 2021 15:19:43 +0100 Subject: [PATCH 2/3] Pump open-code-modeling/php-code-ast to 0.12.0 - #22 --- composer.json | 2 +- composer.lock | 12 ++++++------ src/PropertyFactory.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) 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); } /** From 07c5405d227f60ff0c858afc393d67d6fd459e0f Mon Sep 17 00:00:00 2001 From: Open Code Modeling Bot Date: Fri, 12 Feb 2021 14:23:05 +0000 Subject: [PATCH 3/3] 0.5.1 readiness Updates the CHANGELOG.md to set the release date. --- CHANGELOG.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 699a70d..f47d238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,27 +2,24 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 0.5.1 - TBD +## 0.5.1 - 2021-02-12 -### Added -- Nothing. - -### Changed - -- Nothing. +----- -### Deprecated +### Release Notes for [0.5.1](https://github.com/open-code-modeling/json-schema-to-php-ast/milestone/11) -- Nothing. +0.5.x bugfix release (patch) -### Removed +### 0.5.1 -- Nothing. +- Total issues resolved: **1** +- Total pull requests resolved: **0** +- Total contributors: **1** -### Fixed +#### enhancement -- Nothing. + - [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