Closed widoz closed 2 months ago
The updates span multiple files related to a WordPress package for searching entities, primarily reflecting a change in the repository ownership from widoz
to spaghetti-dojo
. The changes include updating URLs in documentation and badges, modifying the namespace declarations, and adjusting the package name in configuration files. These modifications ensure that the new repository ownership is correctly referenced throughout the project's codebase and documentation.
File / Path | Change Summary |
---|---|
README.md |
Updated GitHub badges URLs and documentation link to reflect the new repository owner spaghetti-dojo . |
composer.json |
Changed the package name and PSR-4 autoload namespace from widoz to spaghetti-dojo . |
docs/_config.yml |
Updated URLs related to the new GitHub repository and website URL. |
docs/development.md |
Changed the repository URL to git@github.com:spaghetti-dojo/wp-entities-search.git . |
docs/installation.md |
Updated the composer installation command to reflect the new package name spaghetti-dojo/wp-entities-search . |
plugin.php |
Modified the namespace and import declarations from Widoz\Wp\EntitiesSearch to SpaghettiDojo\Wp\EntitiesSearch . |
sources/server/src/... |
Updated namespace declarations in various Module.php and Library.php files to reflect new ownership. |
docs/installation.md
7-7: null (MD025, single-title, single-h1) Multiple top-level headings in the same documentdocs/development.md
12-12: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 13-13: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 14-14: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 15-15: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 21-21: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 27-27: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 37-37: null (MD014, commands-show-output) Dollar signs used before commands without showing output --- 7-7: null (MD025, single-title, single-h1) Multiple top-level headings in the same document
README.md
[uncategorized] ~10-~10: A comma might be missing here. (AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA) Context: ...ntities searching and storage. At it's core it permits to build components and reus...docs/development.md
[typographical] ~18-~18: Consider inserting a comma for improved readability. (INITIAL_ADVP_COMMA) Context: ...After we have installed the dependencies we need to build the assets: ```bash $ ya... --- [typographical] ~24-~24: Consider adding a comma after ‘alternatively’ for more clarity. (RB_LY_COMMA) Context: ...e assets: ```bash $ yarn build ``` or alternatively we can run the dev script to compile th... --- [typographical] ~34-~34: It seems that a comma is missing. (IN_ORDER_TO_VB_COMMA) Context: ... to develop the solution. To start the environment we need to run the following command: ... --- [uncategorized] ~40-~40: This verb does not appear to agree with the subject. Consider using a different form. (AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT) Context: ...urrent project as a plugin. The package contain a E2E module used by the plugin to help... --- [uncategorized] ~40-~40: Use the indefinite article “an” before nouns that start with a vowel sound. (AI_EN_LECTOR_REPLACEMENT_DETERMINER_A_AN) Context: ...roject as a plugin. The package contain a E2E module used by the plugin to help w... --- [uncategorized] ~42-~42: Possible missing comma found. (AI_HYDRA_LEO_MISSING_COMMA) Context: ...ion is provided without content. To add some we can run the following commands from ... --- [uncategorized] ~53-~53: This verb does not appear to agree with the subject. Consider using a different form. (AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT) Context: ...tag ``` ## Basic Concepts The package implement a Value Object to handle immutability c... --- [typographical] ~53-~53: It seems that a comma is missing. (IF_COMMA) Context: ...er a data is fetched from the WordPress API it will be wrapped in a `Set` object, b... --- [uncategorized] ~55-~55: This verb does not appear to agree with the subject. Consider using a different form. (AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT) Context: ...ion` which is not directly consumed but define the type of the `Set`. It should not be...
docs/installation.md (1)
`19-19`: **Updated Composer command to reflect new package name.** The change aligns with the renaming of the repository and package, ensuring consistency across documentation.sources/server/src/Library.php (1)
`5-5`: **Namespace updated to reflect new repository ownership.** This change is necessary to maintain consistency with the new repository owner's naming conventions.Verification successful
--- **Namespace updated to reflect new repository ownership.** The old namespace `Widoz\Wp\EntitiesSearch` has been successfully removed from the codebase.Scripts executed
The following scripts were executed for the analysis: --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php $'Widoz\\Wp\\EntitiesSearch' ``` Length of output: 139 --- --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php 'Widoz\\\\Wp\\\\EntitiesSearch' ``` Length of output: 47plugin.php (1)
`12-12`: **Namespace and use statement updated in plugin.php.** The updates ensure that the plugin's code references the correct namespace following the repository ownership change. Also applies to: 15-15Verification successful
--- **Namespace and use statement updated in plugin.php.** The updates ensure that the plugin's code references the correct namespace following the repository ownership change. No occurrences of the old namespace `Widoz\Wp\EntitiesSearch` were found in the codebase. - Verified that the old namespace `Widoz\Wp\EntitiesSearch` has been completely removed.Scripts executed
The following scripts were executed for the analysis: --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php $'Widoz\\Wp\\EntitiesSearch' ``` Length of output: 139 --- --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php 'Widoz\\\\Wp\\\\EntitiesSearch' ``` Length of output: 47README.md (2)
`5-6`: **Updated GitHub badge URLs and documentation link.** The updated links reflect the new repository owner and ensure that users are directed to the correct resources. Also applies to: 15-15 --- Line range hint `10-10`: **Grammar correction needed in README.md.** The phrase "At it's core" should be corrected to "At its core" to avoid grammatical errors. ```diff - At it's core it permits to build components and reuse the WordPress Rest API to search for Posts associated to one or more Post Types but also, to search for Terms belonging to one or more Taxonomies. + At its core, it permits building components and reusing the WordPress Rest API to search for Posts associated to one or more Post Types but also, to search for Terms belonging to one or more Taxonomies. ```sources/server/src/Modules/Logging/Module.php (1)
`5-5`: **Namespace updated in Logging Module to reflect new repository ownership.** This change is essential for maintaining namespace consistency across the project following the change in repository ownership.Verification successful
--- **Namespace update verified successfully.** All references to the old namespace `Widoz\Wp\EntitiesSearch` have been updated to the new namespace `SpaghettiDojo\Wp\EntitiesSearch\Modules\Logging`.Scripts executed
The following scripts were executed for the analysis: --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php $'Widoz\\Wp\\EntitiesSearch' ``` Length of output: 139 --- --- Script: ```shell #!/bin/bash # Description: Verify all references to the old namespace are updated. # Test: Search for the old namespace usage. Expect: No occurrences. rg --type php 'Widoz\\\\Wp\\\\EntitiesSearch' ``` Length of output: 47sources/server/src/Modules/BlockEditor/Module.php (2)
`5-5`: **Namespace updated to reflect new repository ownership.** The namespace change from `Widoz\Wp\EntitiesSearch` to `SpaghettiDojo\Wp\EntitiesSearch` is consistent with the PR objectives and AI-generated summary. --- Line range hint `5-41`: **Review of class logic and dependency usage.** The class logic and dependency usage seem appropriate and consistent with WordPress development standards. The use of `ContainerInterface` for dependency injection and the registration of scripts using WordPress hooks are correctly implemented. Ensure that all dependencies and assets related to the namespace change are updated accordingly in the project to prevent any potential issues.Verification successful
--- **Namespace Change Verified:** The old namespace `Widoz\Wp\EntitiesSearch` has been successfully updated, and no occurrences were found in the codebase. - All dependencies and assets related to the namespace change are updated accordingly.Scripts executed
The following scripts were executed for the analysis: --- Script: ```shell #!/bin/bash # Description: Verify all dependencies and assets related to the namespace change are updated. # Test: Search for old namespace usage. Expect: No occurrences. rg --type php $'Widoz\\Wp\\EntitiesSearch' ``` Length of output: 139 --- --- Script: ```shell #!/bin/bash # Description: Verify all dependencies and assets related to the namespace change are updated. # Test: Search for old namespace usage. Expect: No occurrences. rg --type php 'Widoz\\\\Wp\\\\EntitiesSearch' ``` Length of output: 47docs/development.md (1)
`12-12`: **Updated repository URL to reflect new ownership.** The repository URL change from `git@github.com:widoz/wp-entities-search.git` to `git@github.com:spaghetti-dojo/wp-entities-search.git` aligns with the PR objectives.Tools
Markdownlint
12-12: null (MD014, commands-show-output) Dollar signs used before commands without showing output
Summary by CodeRabbit
Documentation
spaghetti-dojo
.Chores
composer.json
and updated PSR-4 autoload namespace to match the new repository owner.SpaghettiDojo\Wp\EntitiesSearch
.