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

Rename yii-queue -> queue, Yii Queue -> Queue, Yii\Queue -> Queue #184

Merged
merged 6 commits into from
Jan 9, 2024

Conversation

xepozz
Copy link
Member

@xepozz xepozz commented Dec 26, 2023

Q A
Is bugfix?
New feature? ✔️
Breaks BC? ✔️

@xepozz xepozz linked an issue Dec 26, 2023 that may be closed by this pull request
Copy link

what-the-diff bot commented Dec 26, 2023

PR Summary

This PR involves a significant name change from "Yii Queue" to "Queue". As a result of this, changes were conducted across several files within the system.

  • Updated "Yii Queue" to "Queue" in Documentation
    The CHANGELOG.md, README.md and several docs/guide/*.md files were updated with the new package name. These changes enable users to follow the updated documentation accurately.

  • Revised Package Information in Composer.json
    The package name and description were updated in the composer.json file, which provides others with accurate package details when they try to manage or install it.

  • Updated Directories and Namespace in PHP files
    Multiple files had their classes, namespaces, and package names updated. Changes were focused on updating from "Yiisoft\Yii\Queue" related namespaces to simply "Yiisoft\Queue". These changes enhance the consistency and readability of the codebase.

  • Modified Commands and Container Names in Makefile and Docker Compose
    The Makefile and docker-compose.yml had the commands and container names updated. This ensures that the system's build automation and application's runtime environment remain congruent with other changes.

  • Updated Test Files' Namespace
    Numerous test files also had their namespaces changed from "Yiisoft\Yii\Queue\Tests" to "Yiisoft\Queue\Tests". This aligns the tests with the updated namespace and directory structure ensuring they function as intended.

This PR is beneficial as it improves the project's consistency and readability for developers and users alike.

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eba0486) 94.31% compared to head (d43ce80) 94.31%.

❗ Current head d43ce80 differs from pull request most recent head 56d382a. Consider uploading reports for the commit 56d382a to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #184   +/-   ##
=========================================
  Coverage     94.31%   94.31%           
  Complexity      340      340           
=========================================
  Files            40       40           
  Lines           915      915           
=========================================
  Hits            863      863           
  Misses           52       52           

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

@xepozz xepozz added the status:code review The pull request needs review. label Dec 26, 2023
@samdark
Copy link
Member

samdark commented Dec 26, 2023

https://github.com/yiisoft/yii-queue-amqp should be renamed as well.

@xepozz xepozz mentioned this pull request Jan 4, 2024
1 task
CHANGELOG.md Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
tests/docker/docker-compose.yml Outdated Show resolved Hide resolved
@samdark samdark self-assigned this Jan 8, 2024
samdark and others added 3 commits January 8, 2024 12:06
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
@samdark samdark merged commit be18f42 into master Jan 9, 2024
4 of 15 checks passed
@samdark samdark deleted the rename-package branch January 9, 2024 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove yiisoft/yii-console dependency & rename package to yiisoft/queue
5 participants