Skip to content

ValidatesWhenResolvedTrait.php Issue with PHPUnit Code Coverage #14877

@AdenFraser

Description

@AdenFraser

Receive the following:
Cannot use Illuminate\Contracts\Validation\ValidationException as ValidationException because the name is already in use in /vagrant/vendor/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php

Due to conflict of Illuminate\Contracts\Validation\ValidationException and Illuminate/Validation/ValidatesException sharing the same class name.

This is related to: https://bugs.php.net/bug.php?id=66773

Which is still present in PHP 7.x

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