8000 simple-phpunit.php: Uncaught ValueError: substr_count(): Argument #3... with custom SYMFONY_ROOT_DIR · Issue #43877 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
simple-phpunit.php: Uncaught ValueError: substr_count(): Argument #3... with custom SYMFONY_ROOT_DIR #43877
Closed
@weaverryan

Description

@weaverryan

Symfony version(s) affected

4.4

Description

Hi!

On Symfony UX, we are seeing an error in substr_count() from simple=phpunit.php - https://github.com/symfony/ux/runs/4072355007?check_suite_focus=true

The issue originates from #43799 and is because we set SYMFONY_PHPUNIT_DIR: '/tmp/.phpunit' - so, a path that is outside of the project :).

Cheers!

How to reproduce

Run:

SYMFONY_PHPUNIT_DIR='/tmp/.phpunit' php vendor/symfony/phpunit-bridge/bin/simple-phpunit.php

Possible Solution

No response

Additional Context

No response

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

      0