Skip to content

Preserve public/index.php during Flex migration - #29

Closed
Soner (shyim) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-public-directory-issues
Closed

Soner (shyim) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-public-directory-issues

Conversation

Copilot AI commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Upgrading Shopware 6.4 projects to 6.5 could delete public/index.php during template migration, leaving the installation without its public front controller.

  • Migration cleanup

    • Remove public/index.php from FlexMigrator::REMOVE_FILES.
  • Regression coverage

    • Verify cleanup still removes legacy files while preserving the public entry point.
$fs->touch($tmpDir . '/public/index.php');

$flexMigrator->cleanup($tmpDir);

static::assertFileExists($tmpDir . '/public/index.php');

Copilot AI changed the title [WIP] Fix breaking changes in /public directory on upgrade to Shopware 6.5 Preserve public/index.php during Flex migration Jul 30, 2026
Copilot AI requested a review from Soner (shyim) July 30, 2026 17:24
@shyim
Soner (shyim) deleted the copilot/fix-public-directory-issues branch August 4, 2026 11:29
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.

Upgrade from 6.4 to 6.5 broken with latest version

3 participants