René's URL Explorer Experiment


Title: Autoloader class conflict with main package · Issue #6 · wp-cli/entity-command · GitHub

Open Graph Title: Autoloader class conflict with main package · Issue #6 · wp-cli/entity-command

X Title: Autoloader class conflict with main package · Issue #6 · wp-cli/entity-command

Description: There's a conflict between wp-cli/entity-command and the main wp-cli/wp-cli package. The following classes appear in both and are defined in the autoloader of both: WP_CLI\CommandWithDBObject WP_CLI\CommandWithMeta WP_CLI\CommandWithTerm...

Open Graph Description: There's a conflict between wp-cli/entity-command and the main wp-cli/wp-cli package. The following classes appear in both and are defined in the autoloader of both: WP_CLI\CommandWithDBObject WP_CL...

X Description: There's a conflict between wp-cli/entity-command and the main wp-cli/wp-cli package. The following classes appear in both and are defined in the autoloader of both: WP_CLI\CommandWithDBObject W...

Opengraph URL: https://github.com/wp-cli/entity-command/issues/6

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Autoloader class conflict with main package","articleBody":"There's a conflict between `wp-cli/entity-command` and the main `wp-cli/wp-cli` package. The following classes appear in both and are defined in the autoloader of both:\r\n\r\n1. `WP_CLI\\CommandWithDBObject`\r\n2. `WP_CLI\\CommandWithMeta`\r\n3. `WP_CLI\\CommandWithTerms`\r\n4. `WP_CLI\\Fetchers\\Comment`\r\n5. `WP_CLI\\Fetchers\\Post`\r\n6. `WP_CLI\\Fetchers\\Site`\r\n7. `WP_CLI\\Fetchers\\User`\r\n\r\nHaving classes be defined in multiple, conflicting packages results in undefined behaviour and can lead to obscure bugs down the road. We should make sure to only ever have the classes be defined in one place.\r\n\r\nHere's Composer's output when using the switch `-o`:\r\n```\r\nGenerating autoload files\r\nWarning: Ambiguous class resolution, \"WP_CLI\\CommandWithDBObject\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/CommandWithDBObject.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/CommandWithDBObject.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\CommandWithMeta\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/CommandWithMeta.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/CommandWithMeta.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\CommandWithTerms\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/CommandWithTerms.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/CommandWithTerms.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\Fetchers\\Comment\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/Fetchers/Comment.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/Fetchers/Comment.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\Fetchers\\Post\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/Fetchers/Post.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/Fetchers/Post.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\Fetchers\\Site\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/Fetchers/Site.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/Fetchers/Site.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"WP_CLI\\Fetchers\\User\" was found in both \"/Users/alain/dev/wp-cli/wp-cli/vendor/wp-cli/entity-command/src/WP_CLI/Fetchers/User.php',\r\n\" and \"/Users/alain/dev/wp-cli/wp-cli/php/WP_CLI/Fetchers/User.php\", the first will be used.\r\n```","author":{"url":"https://github.com/schlessera","@type":"Person","name":"schlessera"},"datePublished":"2017-04-13T09:27:28Z","url":"https://github.com/wp-cli/entity-command/issues/6"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:99e170b0-1342-c732-291c-c7394614ad39
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8076:9CA74:18E8AAB:21FD639:6AFB8C0E
html-safe-nonce808f8316f0b9350a72cbb9a8c2cce228e6c4283df5ad2839751b420d0727bb89
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDc2OjlDQTc0OjE4RThBQUI6MjFGRDYzOTo2QUZCOEMwRSIsInZpc2l0b3JfaWQiOiIzODI0MjIzNDc5Mzc0NTEwMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1f0ebc8db1be9594558e91bef6260bf0e7a76a748925793bf09fd0ba0a19b51d
hovercard-subject-tagissue:221507102
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/entity-command/6/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b7e58817b9752d1d323c97f8757a600fb1e3a2d06629124a5334a83f4c8e1897/wp-cli/entity-command/issues/6
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b7e58817b9752d1d323c97f8757a600fb1e3a2d06629124a5334a83f4c8e1897/wp-cli/entity-command/issues/6
og:image:altThere's a conflict between wp-cli/entity-command and the main wp-cli/wp-cli package. The following classes appear in both and are defined in the autoloader of both: WP_CLI\CommandWithDBObject WP_CL...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschlessera
hostnamegithub.com
expected-hostnamegithub.com
None9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735
turbo-cache-controlno-preview
go-importgithub.com/wp-cli/entity-command git https://github.com/wp-cli/entity-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id87201389
octolytics-dimension-repository_nwowp-cli/entity-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id87201389
octolytics-dimension-repository_network_root_nwowp-cli/entity-command
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release05d967182208691fc7f2e6af52e82fa7fabf6bd5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/wp-cli/entity-command/issues/6#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fentity-command%2Fissues%2F6
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fentity-command%2Fissues%2F6
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=wp-cli%2Fentity-command
Reloadhttps://github.com/wp-cli/entity-command/issues/6
Reloadhttps://github.com/wp-cli/entity-command/issues/6
Reloadhttps://github.com/wp-cli/entity-command/issues/6
wp-clihttps://github.com/wp-cli
entity-commandhttps://github.com/wp-cli/entity-command
Codehttps://github.com/wp-cli/entity-command
Issues9 (9)https://github.com/wp-cli/entity-command/issues
Pull requests10 (10)https://github.com/wp-cli/entity-command/pulls
Actionshttps://github.com/wp-cli/entity-command/actions
Security and qualityhttps://github.com/wp-cli/entity-command/security
Insightshttps://github.com/wp-cli/entity-command/pulse
https://github.com/wp-cli/entity-command
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/6
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/6
Autoloader class conflict with main packagehttps://github.com/wp-cli/entity-command/issues/6#top
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/schlessera
schlesserahttps://github.com/schlessera
on Apr 13, 2017https://github.com/wp-cli/entity-command/issues/6#issue-221507102
schlesserahttps://github.com/schlessera
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
on Apr 13, 2017https://github.com/wp-cli/entity-command/issues/6#event-1041572245
https://github.com/schlessera
schlesserahttps://github.com/schlessera
on Apr 13, 2017https://github.com/wp-cli/entity-command/issues/6#issuecomment-293860526
wp-cli/wp-cli@b0cb6bbhttps://github.com/wp-cli/wp-cli/commit/b0cb6bb0515739da72419b6edee1de12bb1b8bd2
schlesserahttps://github.com/schlessera
completedhttps://github.com/wp-cli/entity-command/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 13, 2017https://github.com/wp-cli/entity-command/issues/6#event-1041706468
Sign up for freehttps://github.com/signup?return_to=https://github.com/wp-cli/entity-command/issues/6
Sign in to commenthttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/6
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.