8000 Annotation assertions not detected on Windows · Issue #26809 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Annotation assertions not detected on Windows #26809
Closed
@greg0ire

Description

@greg0ire
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 4.0.7

We have an issue on doctrine dbal with an assertion as annotation not being detected and the test being marked as risky on Windows:

This test did not perform any assertions
OK, but incomplete, skipped, or risky tests!

Here is a PR where I tried to isolate the issue as much as possible: doctrine/dbal#3087, leaving only a class and its test.

The test code:

<?php

namespace Doctrine\Tests\DBAL\Schema;

use Doctrine\DBAL\Foo;

class ColumnTest extends \PHPUnit\Framework\TestCase
{
    /**
     * @group legacy
     * @expectedDeprecation Hi
     */
    public function testThatIsGoingToBeRisky() : void
    {
        new Foo();
    }
}

The subsequent appveyor build: https://ci.appveyor.com/project/doctrine/dbal/build/1.0.114/job/3nke06rul3e04598

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

      0