Skip to content

[Dependabot] Update spaze/phpstan-disallowed-calls requirement from 4.13.0 to 4.14.0 - #2268

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.14.0
Aug 6, 2026
Merged

[Dependabot] Update spaze/phpstan-disallowed-calls requirement from 4.13.0 to 4.14.0#2268
github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.14.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on spaze/phpstan-disallowed-calls to permit the latest version.

Release notes

Sourced from spaze/phpstan-disallowed-calls's releases.

Bundled config for functions that are not timing-safe

New bundled configuration file disallowed-non-timing-safe-calls.neon for code that works with keys, tokens, and other secrets: it disallows hex2bin(), bin2hex(), base64_decode(), and base64_encode(), because their runtime depends on the processed bytes and can leak information about them, and recommends the sodium_* functions instead, or ParagonIE\ConstantTime\* when ext-sodium is not available (#433, #434)

includes:
    - vendor/spaze/phpstan-disallowed-calls/disallowed-non-timing-safe-calls.neon

Note: comparing secrets, digests, hashes is the other half - use hash_equals(), not ===, which is an operator, so no rule here can catch it.

Commits
  • 90210a8 Tidy up after the non-timing-safe calls config (#434)
  • 679d2ad Reword the disallowed-non-timing-safe-calls.neon docs paragraph
  • 6368446 Rename NonTimingSafeCallsConfigTest to NonTimingSafeConfigFunctionCallsTest
  • 2278723 Explain why disallowed-non-timing-safe-calls.neon is not self-applied
  • 821edd4 Add a bundled config file for encoding functions that are not timing-safe (#433)
  • 18d1308 Add a bundled config file for encoding functions that are not timing-safe
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) to permit the latest version.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.13.0...v4.14.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.14.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 6, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 6, 2026 05:23
@github-actions
github-actions Bot merged commit a34884e into main Aug 6, 2026
36 checks passed
@github-actions
github-actions Bot deleted the dependabot/composer/spaze/phpstan-disallowed-calls-4.14.0 branch August 6, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants