Review 11.5 Merged

82839[TASK] Add `composer` dispatcher to `runTests.sh`

Stefan Bürk CR +2 V +2 Easy +13 −0 updated 02/07/24, 13:27

Commit message

This change adds a composer command dispatcher to
`Build/Scripts/runTests.sh` to allow the execution
of any composer command without the hassle to have
a proper composer installed on the host system.

This also helps for onboarding new contributors not
having a proper php and composer ecosystem installed
on the host system.

For example, to raise dependencies following can now
be used:

> Build/Scripts/runTests.sh -s composer -- require --dev \
  typo3/testing-framework:dev-main

Other examples:

> Build/Scripts/runTests.sh -s composer -- dumpautoload
> Build/Scripts/runTests.sh -s composer -- info | grep "symfony"

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Stefan Bürk commented on patch set 1 02/07/24, 13:13

    Cherry Picked from branch 12.4.
  2. core-ci voted on patch set 1 V +1 02/07/24, 13:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/52862

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 02/07/24, 13:27

  4. Stefan Bürk merged patch set 2 02/07/24, 13:27