Skip to content

chore(deps-dev): update shipmonk/dead-code-detector requirement from ^0.14 to ^0.14 || ^0.15#178

Merged
guanguans merged 1 commit intomainfrom
dependabot/composer/shipmonk/dead-code-detector-tw-0.14or-tw-0.15
Mar 5, 2026
Merged

chore(deps-dev): update shipmonk/dead-code-detector requirement from ^0.14 to ^0.14 || ^0.15#178
guanguans merged 1 commit intomainfrom
dependabot/composer/shipmonk/dead-code-detector-tw-0.14or-tw-0.15

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2026

Updates the requirements on shipmonk/dead-code-detector to permit the latest version.

Release notes

Sourced from shipmonk/dead-code-detector's releases.

0.15.0

New features:

  • Dead properties detection (#277, #281, #291)
    • Never read and never written properties are detected
  • Property hooks full support (#281)
    • Now part of transitivity chain detection (both read & write)
  • Twig supports template parameters (#275)
    • Including transitively referenced ones
    • Supports:
      • Params passed to $controller->render('my.twig', ['param' => $viewModel]),
      • Params returned from #[Template] controller methods
      • Params rendered via Twig\Environment::render() and similar
  • Symfony:
  • Nette tester
    • test* methods, setUp/tearDown, @dataProvider (#299)

Improvements:

  • Solution to partial analysis false positives over inline ignores (#292)
  • ApiPhpDocUsageProvider: only count phpdocs within analysed files (#284)

Breaking changes:

  • All dead members are detected by default (#301)
    • You can rollback to previous setup via:
parameters:
    shipmonkDeadCode:
        detect:
            deadEnumCases: false
            deadProperties:
                neverRead: false
                neverWritten: false
Commits
  • 568f84e Detect all member types by default (#301)
  • f1e076a E2E must fail on internal errors (#303)
  • 606582e Fix crash upon provided usages inside property hooks (#302)
  • be0ea81 Install behat as dev dependency, remove fixture stubs (#300)
  • 5ae04ce Add Nette Tester support (#299)
  • 0b5871c Remove comparison with unused-public (#298)
  • d6ba2c4 Solution to partial analysis false positives over inline ignores (#292)
  • 6c23c61 Self check - detect all dead members (#295)
  • c6d4a0f Support detection of never written properties (#291)
  • a7987eb Twig templates: traverse even arrays of view models (#290)
  • 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 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 [shipmonk/dead-code-detector](https://github.com/shipmonk-rnd/dead-code-detector) to permit the latest version.
- [Release notes](https://github.com/shipmonk-rnd/dead-code-detector/releases)
- [Commits](shipmonk-rnd/dead-code-detector@0.14.0...0.15.0)

---
updated-dependencies:
- dependency-name: shipmonk/dead-code-detector
  dependency-version: 0.15.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 4, 2026
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b949b10) to head (610fe74).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main      #178   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       476       476           
===========================================
  Files            159       159           
  Lines           1697      1697           
===========================================
  Hits            1697      1697           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@guanguans guanguans merged commit 2222508 into main Mar 5, 2026
22 of 25 checks passed
@dependabot dependabot bot deleted the dependabot/composer/shipmonk/dead-code-detector-tw-0.14or-tw-0.15 branch March 5, 2026 07:46
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant