Update dependency nette/php-generator to v4.1.5 #3

Merged
trizz merged 1 commits from renovate/nette-php-generator-4.x-lockfile into main 2024-06-27 13:44:02 +02:00
Collaborator

This PR contains the following updates:

Package Type Update Change
nette/php-generator (source) require patch 4.1.2 -> 4.1.5

Release Notes

nette/php-generator (nette/php-generator)

v4.1.5: Released version 4.1.5

Compare Source

  • added PhpNamespace::getClass() & getFunction()
  • added CommentAware::removeComment()
  • added PhpFile::removeNamespace()
  • Factory, Extractor: sets flag readonly for promoted properties #​158 (reverts "Factory: properties in readonly classes are not readonly")
  • ClassType: cloning includes attributes and parameters
  • GlobalFunction, Method: from() accepts first-class callables

v4.1.4: Released version 4.1.4

Compare Source

  • PsrPrinter: opening bracket on the correct line #​155
  • Make ClassLike::from return type assert the subclass type (BC break) (#​154)
  • Dumper::dumpArray(), dumpArguments() optimization
  • Dumper: simplified list with negative keys
  • added parameter $overwrite to addMember(), addMethod(), addProperty(), addConstant(), addCase() #​152
  • Factory: parameters 'int $foo = null' are parsed as '?int'

v4.1.3: Released version 4.1.3

Compare Source

  • Extractor: supports PHP-Parser 5.0 (#​150)
  • Extractor: fix escaping quotes when converting to double quoted string #​151
  • Extractor: NOWDOC/HEREDOC are not converted to single line strings
  • Dumper: added $customObjects
  • Dumper: refactoring, added dumpCustomObject()
  • Printer: option $omitEmptyNamespaces is applied by printFile() [Close #​147]

Configuration

📅 Schedule: Branch creation - "before 7am" (UTC), Automerge - "before 7am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nette/php-generator](https://nette.org) ([source](https://github.com/nette/php-generator)) | require | patch | `4.1.2` -> `4.1.5` | --- ### Release Notes <details> <summary>nette/php-generator (nette/php-generator)</summary> ### [`v4.1.5`](https://github.com/nette/php-generator/releases/tag/v4.1.5): Released version 4.1.5 [Compare Source](https://github.com/nette/php-generator/compare/v4.1.4...v4.1.5) - added `PhpNamespace::getClass()` & `getFunction()` - added `CommentAware::removeComment()` - added `PhpFile::removeNamespace()` - Factory, Extractor: sets flag readonly for promoted properties [#&#8203;158](https://github.com/nette/php-generator/issues/158) (reverts "Factory: properties in readonly classes are not readonly") - ClassType: cloning includes attributes and parameters - GlobalFunction, Method: `from()` accepts first-class callables ### [`v4.1.4`](https://github.com/nette/php-generator/releases/tag/v4.1.4): Released version 4.1.4 [Compare Source](https://github.com/nette/php-generator/compare/v4.1.3...v4.1.4) - PsrPrinter: opening bracket on the correct line [#&#8203;155](https://github.com/nette/php-generator/issues/155) - Make `ClassLike::from` return type assert the subclass type (BC break) ([#&#8203;154](https://github.com/nette/php-generator/issues/154)) - `Dumper::dumpArray()`, `dumpArguments()` optimization - Dumper: simplified list with negative keys - added parameter $overwrite to `addMember()`, `addMethod()`, `addProperty()`, `addConstant()`, `addCase()` [#&#8203;152](https://github.com/nette/php-generator/issues/152) - Factory: parameters 'int $foo = null' are parsed as '?int' ### [`v4.1.3`](https://github.com/nette/php-generator/releases/tag/v4.1.3): Released version 4.1.3 [Compare Source](https://github.com/nette/php-generator/compare/v4.1.2...v4.1.3) - Extractor: supports PHP-Parser 5.0 ([#&#8203;150](https://github.com/nette/php-generator/issues/150)) - Extractor: fix escaping quotes when converting to double quoted string [#&#8203;151](https://github.com/nette/php-generator/issues/151) - Extractor: NOWDOC/HEREDOC are not converted to single line strings - Dumper: added $customObjects - Dumper: refactoring, added `dumpCustomObject()` - Printer: option $omitEmptyNamespaces is applied by `printFile()` \[Close [#&#8203;147](https://github.com/nette/php-generator/issues/147)] </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 7am" (UTC), Automerge - "before 7am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTguMyIsInVwZGF0ZWRJblZlciI6IjM3LjQxOC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate added 1 commit 2024-06-27 02:01:03 +02:00
renovate scheduled this pull request to auto merge when all checks succeed 2024-06-27 02:01:03 +02:00
renovate force-pushed renovate/nette-php-generator-4.x-lockfile from eb1b8b924d to 1288b7db1e 2024-06-27 13:30:33 +02:00 Compare
trizz merged commit 880c748766 into main 2024-06-27 13:44:02 +02:00
trizz deleted branch renovate/nette-php-generator-4.x-lockfile 2024-06-27 13:44:03 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trizz/adventofcode#3
No description provided.