Skip to content

Cleanup unused packages from the Core#14876

Merged
kingjia90 merged 3 commits into11.xfrom
cleanup_packages
Apr 6, 2023
Merged

Cleanup unused packages from the Core#14876
kingjia90 merged 3 commits into11.xfrom
cleanup_packages

Conversation

@dvesh3
Copy link
Copy Markdown
Contributor

@dvesh3 dvesh3 commented Apr 6, 2023

Changes in this pull request

Resolves #9357 (comment)

Additional info

WHAT

🤖 Generated by Copilot at 51df536

Simplified and improved the dependency management of the pimcore/pimcore package and its sub-bundles. Removed some redundant or conflicting dependencies, and added one missing dependency for the AdminBundle.

🤖 Generated by Copilot at 51df536

Oh we're the crew of the pimcore ship
And we sail the web with skill and wit
We trim our composer.json files
And we avoid dependency piles

HOW

🤖 Generated by Copilot at 51df536

  • Remove redundant or unused dependencies from composer.json (link, link, link)
  • Move cbschuld/browser.php dependency to bundles/AdminBundle/composer.json where it is used for browser detection (link, link)
  • Replace masterminds/html5 dependency with symfony/dom-crawler for HTML parsing (link)
  • Remove symfony/asset from symfony-require-dev.sh script to avoid conflicts or updates (link)

@dvesh3 dvesh3 added the Task label Apr 6, 2023
@dvesh3 dvesh3 added this to the 11.0.0 milestone Apr 6, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2023

Review Checklist

  • Target branch (10.5 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@kingjia90 kingjia90 merged commit fb06037 into 11.x Apr 6, 2023
@kingjia90 kingjia90 deleted the cleanup_packages branch April 6, 2023 14:32
@kingjia90
Copy link
Copy Markdown
Contributor

kingjia90 commented Apr 6, 2023

Mhh, just came up to my mind that we cannot remove from the main composer yet, because it doesn't install the one in subfolders like AdminBundle, right?
Opened a PR #14883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Core] composer.json: Cleanup Symfony packages

2 participants