Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Update nette/utils requirement from ^3.0 to ^3.0 || ^4.0 #52

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2023

Updates the requirements on nette/utils to permit the latest version.

Release notes

Sourced from nette/utils's releases.

Released version 4.0.0 馃コ

  • uses PHP 8 featurs
  • includes a completely rewritten Finder
  • PascalCase constants
  • Strings: added support for UTF-8 offsets in regexp
  • Translator: improved interface, accepts and returns string|Stringable [Closes #231]
  • ArrayHash & ArrayList: support iteration with reference (#289)

new methods:

  • Nette\Utils\Json::decodeFile() reads JSON from a file
  • Nette\Utils\FileSystem::unixSlashes() & platformSlashes() converts slashes to Unix slashes
  • Nette\Utils\Strings::ord(), unixNewLines() & platformNewLines()
  • Nette\Utils\Helpers::compare() compare using the operator

new parameters:

  • Nette\Utils\Strings::split() added parameter $limit
  • Nette\Utils\Strings::replace() added parameters $captureOffset, $unmatchedAsNull
  • Nette\Utils\Strings, Nette\Utils\Arrays, Nette\Utils\Json: flags replaced with parameters

removed

  • Reflection: removed obsolete getReturnType(), getParameterType(), getPropertyType() (BC break)
Commits
  • cacdbf5 ArrayHash: fixed iteration with reference (BC break) [Closes #253]
  • 0bb0999 ArrayList support iteration with reference (#289)
  • 09a7d58 added Finder::append()
  • 18452e5 added Finder::sortBy() & sortByName()
  • d422dd0 added Finder::ignoreUnreadableDirs()
  • d51381f added Finder::files() & directories()
  • 7828eba Finder: variadics are not preferred anymore
  • 39ce6e5 Finder: add read() & write() to FileInfo
  • 58eb1e8 Finder: completely rewritten
  • 53615ac added FileSystem::readLines() [Closes #220]
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [nette/utils](https://github.com/nette/utils) to permit the latest version.
- [Release notes](https://github.com/nette/utils/releases)
- [Commits](nette/utils@v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: nette/utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the automerge label Feb 3, 2023
@dependabot dependabot bot requested a review from trejjam February 3, 2023 04:02
@kodiakhq kodiakhq bot merged commit 172316e into master Feb 3, 2023
@kodiakhq kodiakhq bot deleted the dependabot/composer/nette/utils-tw-3.0or-tw-4.0 branch February 3, 2023 04:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
0 participants