Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency phpunit/phpunit to v9.6.22 #614

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpunit/phpunit (source) 9.6.21 -> 9.6.22 age adoption passing confidence
phpunit/phpunit (source) 9.6.7 -> 9.6.22 age adoption passing confidence
phpunit/phpunit (source) 9.6.13 -> 9.6.22 age adoption passing confidence
phpunit/phpunit (source) 9.6.10 -> 9.6.22 age adoption passing confidence
phpunit/phpunit (source) 9.6.19 -> 9.6.22 age adoption passing confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v9.6.22: PHPUnit 9.6.22

Compare Source

Fixed
  • #​6071: PHP Archives (PHARs) of PHPUnit 8.5 and PHPUnit 9.6 bundle outdated versions of Prophecy

How to install or update PHPUnit


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.21 Update dependency phpunit/phpunit to v9.6.21 Oct 8, 2024
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v9.6.21 chore(deps): update dependency phpunit/phpunit to v9.6.21 Oct 8, 2024
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.21 Update dependency phpunit/phpunit to v9.6.21 Oct 8, 2024
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v9.6.21 chore(deps): update dependency phpunit/phpunit to v9.6.21 Oct 9, 2024
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.21 Update dependency phpunit/phpunit to v9.6.21 Oct 9, 2024
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v9.6.21 chore(deps): update dependency phpunit/phpunit to v9.6.21 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from f241fe9 to 4070848 Compare October 24, 2024 06:47
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 4070848 to 67e5e74 Compare November 6, 2024 09:21
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 67e5e74 to 59f8666 Compare December 5, 2024 17:41
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.21 chore(deps): update dependency phpunit/phpunit to v9.6.22 Dec 5, 2024
Copy link
Contributor

coderabbitai bot commented Dec 5, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The pull request updates dependency version constraints in three different composer.json files. In both the zmsentities and zmsmessaging directories, the squizlabs/php_codesniffer version constraint is broadened to allow any version. Additionally, in the zmsmessaging file, the version constraint for phpmd/phpmd is updated to reference the latest stable release. In the zmsstatistic file, the version of firebase/php-jwt is downgraded from v6.11.0 to v6.10.2.

Changes

File(s) Change Summary
zmsentities/composer.json
zmsmessaging/composer.json
Updated squizlabs/php_codesniffer version constraint from ^3.5.8/^3.7 to *
zmsmessaging/composer.json Updated phpmd/phpmd version constraint from ^2.3 to @stable
zmsstatistic/composer.json Downgraded firebase/php-jwt from v6.11.0 to v6.10.2

Possibly related PRs

Suggested reviewers

  • ThomasAFink

Poem

I'm a bunny coder, hopping along the code trail,
Watching dependencies shift without fail.
From strict rules to stars set free,
My ears perk up at each update I see.
With every line that twitches and hops,
This rabbit celebrates as the version lock drops!


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 59f8666 to 4c23a98 Compare January 3, 2025 08:59
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 4c23a98 to f15043f Compare January 15, 2025 16:18
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from f15043f to 463abc5 Compare February 10, 2025 23:10
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 463abc5 to 58575b3 Compare March 3, 2025 13:54
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 58575b3 to 5d4500f Compare March 11, 2025 09:36
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🔭 Outside diff range comments (1)
zmsstatistic/composer.json (1)

34-34: 💡 Verification agent

❓ Verification inconclusive

Ensure Consistent PHPUnit Version

The require-dev section specifies "phpunit/phpunit": "^9.5.4", which is inconsistent with the intended update to v9.6.22. For consistency across components, consider updating this constraint (e.g., to "^9.6.22" or a similar explicit constraint) so that the same PHPUnit version is used project‑wide.


Update PHPUnit Version Constraint in Composer.json

The require-dev section in zmsstatistic/composer.json currently specifies "phpunit/phpunit": "^9.5.4", which does not align with the intended update to v9.6.22. For project-wide consistency, please update this constraint to reflect the new version (e.g., change it to "^9.6.22").

  • File: zmsstatistic/composer.json
  • Suggested change (line 34):
    -        "phpunit/phpunit": "^9.5.4",
    +        "phpunit/phpunit": "^9.6.22",
🧹 Nitpick comments (3)
zmsentities/composer.json (1)

48-48: Revisit Unrestricted squizlabs/php_codesniffer Constraint

Changing the version constraint from a caret range (previously "^3.5.8") to "*" removes any version restrictions. This may inadvertently pull in versions with breaking changes. Consider narrowing the constraint to a more stable range to prevent unexpected issues in your development environment.

zmsmessaging/composer.json (2)

45-45: Verify phpmd/phpmd Stable Constraint

The dependency "phpmd/phpmd" has been changed to "@stable". This should generally point to the latest stable release; however, please verify that the current stable release is compatible with your codebase and does not introduce any regressions compared to the previous "^2.3" constraint.


46-46: Revisit Unrestricted squizlabs/php_codesniffer Constraint

Similar to the change in zmsentities/composer.json, the version constraint for "squizlabs/php_codesniffer" is now "*". Removing version restrictions might lead to unintended updates that could break tests or code style checks. Consider restricting this to a known stable version range.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4da0801 and 5d4500f.

⛔ Files ignored due to path filters (12)
  • mellon/composer.lock is excluded by !**/*.lock
  • zmsadmin/composer.lock is excluded by !**/*.lock
  • zmsapi/composer.lock is excluded by !**/*.lock
  • zmscalldisplay/composer.lock is excluded by !**/*.lock
  • zmscitizenapi/composer.lock is excluded by !**/*.lock
  • zmsclient/composer.lock is excluded by !**/*.lock
  • zmsdb/composer.lock is excluded by !**/*.lock
  • zmsdldb/composer.lock is excluded by !**/*.lock
  • zmsentities/composer.lock is excluded by !**/*.lock
  • zmsmessaging/composer.lock is excluded by !**/*.lock
  • zmsslim/composer.lock is excluded by !**/*.lock
  • zmsticketprinter/composer.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • zmsentities/composer.json (1 hunks)
  • zmsmessaging/composer.json (1 hunks)
  • zmsstatistic/composer.json (1 hunks)
🔇 Additional comments (2)
zmsentities/composer.json (1)

45-45: Ensure Consistent PHPUnit Version

The "phpunit/phpunit" dependency is declared as "^9.6". While this typically allows patch updates (which would include v9.6.22), verify that your dependency resolution indeed picks the updated version. For complete control and clarity across components, you might consider making the version constraint more explicit if needed.

zmsstatistic/composer.json (1)

47-47: Downgrade of firebase/php-jwt Dependency

The dependency for "firebase/php-jwt" has been downgraded from v6.11.0 to v6.10.2. Please confirm that this downgrade is intentional and that none of your code or dependent packages require features or fixes introduced in v6.11.0.

@@ -42,8 +42,8 @@
"require-dev": {
"phpunit/phpunit": "^9.5.4",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

❓ Verification inconclusive

Align PHPUnit Dependency Version

The require-dev section sets "phpunit/phpunit": "^9.5.4", which is lower than the target v9.6.22. To maintain consistency with other components and meet the PR objective, update this constraint to match the updated version.


Update PHPUnit Version in zmsmessaging/composer.json
Please update the dependency in the require-dev section on line 43 from:

-        "phpunit/phpunit": "^9.5.4",
+        "phpunit/phpunit": "^9.6.22",

This change aligns the PHPUnit version with the target v9.6.22 and ensures consistency with other components.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"phpunit/phpunit": "^9.5.4",
"phpunit/phpunit": "^9.6.22",

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch 3 times, most recently from 4a93d31 to 034e2a2 Compare March 18, 2025 14:29
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.22 Update dependency phpunit/phpunit to v9.6.22 Mar 18, 2025
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v9.6.22 chore(deps): update dependency phpunit/phpunit to v9.6.22 Mar 20, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 034e2a2 to 9e9f6f9 Compare March 25, 2025 07:57
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v9.6.22 Update dependency phpunit/phpunit to v9.6.22 Mar 25, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-9.x-lockfile branch from 9e9f6f9 to a0a33b2 Compare March 27, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants