Skip to content

Missbehaviour in the test config #58776

@nim0kkruse

Description

@nim0kkruse

Laravel Version

12.50.0

PHP Version

8.4.2

Database Driver & Version

No response

Description

Renovate wants to update the minor version of Laravel in my project from 12.49.0 -> 12.51.0. But since this change the call to "app()->hasDebugModeEnabled()" ist always false, since the config value "app.debug" is always false. I have a .env.testing, where i set the value to true. All other values from this file are working.
I even tested the phpunit.xml and setting it directly in the test. But it's always false. Before this minor update it worked for years. I wasn't able to find the change in the diff of these versions, that caused the issue.

Steps To Reproduce

Running PhpUnits test and check the app.debug value

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions