-
Notifications
You must be signed in to change notification settings - Fork 0
Updated vendor name #7
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR performs a vendor namespace change from RedberryProducts\MdNotion to Redberry\MdNotion across source, tests, configuration, examples, and documentation to align with a new vendor name.
- Updated all PHP namespaces, composer autoload mappings, service provider references, and tests.
- Updated documentation and example scripts to reflect the new namespace.
- Found a lingering class naming inconsistency and a documentation namespace error unrelated to just the vendor prefix change.
Reviewed Changes
Copilot reviewed 120 out of 120 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
tests/TestCase.php | Updated namespace and service provider reference. |
tests/Services/PageReaderTest.php | Updated adapter and service namespaces. |
tests/Services/IntegrationTest.php | Updated object and service namespaces. |
tests/Services/DatabaseTableBasicTest.php | Updated Notion SDK and service namespaces. |
tests/Services/DatabaseReaderTest.php | Updated object, SDK, and service namespaces. |
tests/Services/BlockRegistryTest.php | Updated adapter references in tests. |
tests/SDK/Requests/* | Updated SDK request namespaces. |
tests/Pest.php | Updated TestCase namespace import. |
tests/Objects/* | Updated object and service namespaces. |
tests/MdNotionTest.php | Updated MdNotion core class references. |
tests/FacadeTest.php | Updated Facade and service references. |
tests/ContentBuilderTest.php | Updated ContentBuilder and service references. |
tests/Adapters/* | Updated adapter namespaces in tests. |
src/Traits/* | Updated trait namespaces and imports. |
src/Services/* | Updated service namespaces and dependencies. |
src/SDK/**/* | Updated SDK namespaces and request/resource imports. |
src/Objects/* | Updated object namespaces and internal service resolution. |
src/MdNotionServiceProvider.php | Updated provider namespace and bound classes. |
src/MdNotion.php | Updated core class namespace and imports. |
src/Facades/MdNotion.php | Updated facade namespace and target class reference. |
src/DTOs/* | Updated DTO namespaces. |
src/ContentBuilder.php | Updated builder namespace and service imports. |
src/Commands/MdNotionCommand.php | Updated command namespace. |
src/Adapters/* | Updated adapter namespaces and DTO imports; dynamic resolution lines affected. |
src/Adapters/ColumnAdapter.php | Namespace updated; dynamic class resolution logic exposed. |
config/md-notion.php | Updated config comment and adapter class FQCNs (contains a class name inconsistency). |
composer.json | Updated PSR-4 autoload and provider/alias namespaces; keywords changed. |
phpunit.xml.dist | Updated test suite name. |
README.md | Updated usage examples to new namespace. |
mdnotion_prd.md | Updated usage snippet (introduces an incorrect namespace). |
examples/**/*.php | Updated example imports to new namespace. |
index.php | Updated Notion SDK import. |
column-list-fetch-example.php | Updated adapter and SDK imports. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 120 out of 120 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This pull request updates the package namespace from
RedberryProducts\MdNotion
toRedberry\MdNotion
across the entire codebase and documentation. This change standardizes the naming to match the new package name and ensures consistency for autoloading, configuration, and usage examples. The update touches source files, configuration, documentation, and example scripts.Namespace and autoloading updates:
RedberryProducts\MdNotion
toRedberry\MdNotion
throughout source files, including adapters, DTOs, services, and facades. [1] [2] [3] [4] [5] [6] [7]composer.json
to use the new namespace for PSR-4 autoloading and Laravel service provider/alias configuration. [1] [2]Configuration and adapter references:
config/md-notion.php
to use the new namespace.Documentation and example scripts:
README.md
,mdnotion_prd.md
) to use the new namespace in code samples and instructions. [1] [2] [3] [4] [5] [6]Other updates:
phpunit.xml.dist
to match the new package name.These changes ensure all references are consistent with the new package namespace, reducing confusion and potential autoloading issues.