Skip to content

IBX-11853: Updated bundle-generator skeletons for 6.0 bundles - #45

Draft
alongosz wants to merge 4 commits into
mainfrom
ibx-11853-update-skeletons-for-6-0
Draft

IBX-11853: Updated bundle-generator skeletons for 6.0 bundles#45
alongosz wants to merge 4 commits into
mainfrom
ibx-11853-update-skeletons-for-6-0

Conversation

@alongosz

Copy link
Copy Markdown
Member
🎫 Issue IBX-11853

Description:

Updates the bundle skeletons and the generator application itself as part of the 6.0 revamp:

  • Skeleton dependencies for 6.0: all ibexa/* constraints and the dev-main branch alias bumped from 5.0 to 6.0, PHPUnit bumped from ^9.5 to ^12.5, in line with current 6.0 bundles (e.g. ibexa/connector-ai-assistant).
  • Skeleton PHPUnit configurations migrated to the PHPUnit 12 schema (removed convert*/verbose/beStrictAboutTodoAnnotatedTests attributes and <listeners>, switched the DAMA extension to <bootstrap>, added a cache directory).
  • pipefail fix for code style CI jobs (skeletons and this repository): without it, the job result reflected the cs2pr exit code, so a failing check-cs piped into a succeeding cs2pr passed the job.
  • Generator application bumped to Symfony 8: Application::add() (removed in Symfony 8) replaced with addCommand(). Symfony 8 requires PHP 8.4, so the application's PHP requirement was raised and PHP 8.3 dropped from this repository's CI matrix. Generated bundles are unaffected (their skeletons still target PHP >= 8.3).

For QA:

Generate a bundle with each skeleton and verify the output, e.g.:

composer install
php bin/ibexa-bundle-generator test-package target-dir --vendor-name=ibexa --vendor-namespace=Ibexa --bundle-name=TestPackage --skeleton-name=ibexa-ee

The generated composer.json should reference ~6.0.x-dev packages and PHPUnit 12, with no __PLACEHOLDER__ leftovers. Requires PHP >= 8.4.

alongosz and others added 4 commits July 17, 2026 14:29
Bumped all ibexa/* constraints and the dev-main branch alias from 5.0
to 6.0, and PHPUnit from ^9.5 to ^12.5, in line with current 6.0
bundles (e.g. ibexa/connector-ai-assistant).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Dropped attributes and elements removed in PHPUnit 10+ (convert*
attributes, verbose, beStrictAboutTodoAnnotatedTests, listeners),
switched the DAMA extension to the bootstrap element, and added
a cache directory.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Without pipefail the job result reflected the cs2pr exit code, so a
failing check-cs run piped into a succeeding cs2pr passed the job.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replaced the Console Application::add() call with addCommand(), as
add() was removed in Symfony 8. Symfony 8 requires PHP 8.4, so the
PHP requirement was raised accordingly and PHP 8.3 dropped from the
CI matrix. Generated bundles are unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant