Skip to content

LARAVEL_START already defined in ComposerScripts::prePackageUninstall #57220

@htulibacki

Description

@htulibacki

Laravel Version

12.32.1

PHP Version

8.4.13

Database Driver & Version

No response

Description

I think that LARAVEL_START is being redeclared in Illuminate\Foundation\ComposerScripts::prePackageUninstall when trying to uninstall more than one package at a time,

Steps To Reproduce

  1. Install a fresh Laravel.
  2. Try to uninstall Laravel Sail for an intstance (it will remove symfony/yaml, so the hook will be called a second time).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions