Skip to content

Conversation

@remyperona
Copy link
Contributor

@remyperona remyperona commented Jan 23, 2026

Description

Replace Mozart by Strauss to handle prefixing the namespaces of our production dependencies

Type of change

  • Chore

Detailed scenario

What was tested

Tested global function of the plugin, as this mostly impacts the container (used everywhere), and the plugin family

How to test

Smoke tests should cover testing the PR

Affected Features & Quality Assurance Scope

  • Container
  • WP background processing
  • Plugin Family

Technical description

Documentation

Strauss is used as a phar file instead of a composer dev dependency.

Differently from Mozart, it doesn't split packages between PSR-4 and classmap autoloader, everything is in the same folder.

It also creates a dedicated composer autoloader file for those dependencies, which is called in the main composer autoloader file.

New dependencies

Removed mozart and replace it with strauss as a phar, not a dependency

Mandatory Checklist

Code validation

  • I validated all the Acceptance Criteria. If possible, provide screenshots or videos.

Code style

  • I wrote a self-explanatory code about what it does.
  • I protected entry points against unexpected inputs.
  • I did not introduce unnecessary complexity.

@remyperona remyperona self-assigned this Jan 23, 2026
@codacy-production
Copy link

codacy-production bot commented Jan 23, 2026

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 1c4318e1 0.00% (target: 50.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1c4318e) Report Missing Report Missing Report Missing
Head commit (799fa20) 13940 48 0.34%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1016) 82 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@remyperona remyperona marked this pull request as ready for review January 26, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants