<?php

class B
{
}

class C
{
}

class D
{
}

class E
{
}

class F
{
}

class G
{
}

class H
{
}

class I
{
}

class J
{
}

class K
{
}

class L
{
}

class M
{
}

class N
{
}

class O
{
}

class P
{
}

class Q
{
}

class R
{
}

class S
{
}

class T
{
}

class U
{
}

class V
{
}

class W
{
}

class X
{
}

class Y
{
}

class Z
{
}

/**
 * @mago-expect analysis:redundant-comparison
 * @mago-expect analysis:redundant-logical-operation
 * @mago-expect analysis:impossible-condition
 * @mago-expect analysis:impossible-type-comparison
 */
function test(): void
{
    $type = '';
    if ($type === '1') {
    } elseif (
        $type === B::class
        || $type === C::class
        || $type === D::class
        || $type === E::class
        || $type === F::class
        || $type === G::class
        || $type === H::class
        || $type === I::class
        || $type === J::class
        || $type === K::class
        || $type === L::class
        || $type === M::class
        || $type === N::class
        || $type === O::class
        || $type === P::class
        || $type === Q::class
        || $type === R::class
        || $type === S::class
        || $type === T::class
        || $type === U::class
        || $type === V::class
        || $type === W::class
        || $type === X::class
        || $type === Y::class
        || $type === Z::class
    ) {
    }
}
