Skip to content

phpunit rector-src warning in tests/Issues #7958

@samsonasik

Description

@samsonasik

Bug Report

Subject Details
Rector version rector-src dev-main

Minimal PHP Code Causing Issue

Current phpunit test has warning error:

➜  rector-src git:(main) vendor/bin/phpunit tests/Issues
PHPUnit 10.1.3 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.2.5
Configuration: /Users/samsonasik/www/rector-src/phpunit.xml

...............................................................  63 / 179 ( 35%)
.............W..W.............................................. 126 / 179 ( 70%)
.....................................................           179 / 179 (100%)

Time: 00:19.546, Memory: 1.18 GB

OK, but there are issues!
Tests: 179, Assertions: 191, Warnings: 2.

Expected Behaviour

It should green without warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions