Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mixed type to verified type checks #725

Open
Ocramius opened this issue Dec 7, 2021 · 0 comments
Open

Add mixed type to verified type checks #725

Ocramius opened this issue Dec 7, 2021 · 0 comments
Milestone

Comments

@Ocramius
Copy link
Owner

Ocramius commented Dec 7, 2021

We need to add the mixed type to ClassWithMixedReferenceableTypedProperties.

Specifically, nullability checks around mixed are a bit interesting (because mixed|null doesn't really exist for PHP).

Potentially just some additions to

<?php
declare(strict_types=1);
namespace ProxyManagerTestAsset;
/**
* Base test class to play around with mixed visibility properties with different type definitions
*
* @author Marco Pivetta <ocramius@gmail.com>
* @license MIT
*/
class ClassWithMixedReferenceableTypedProperties
{
public static $publicStaticUnTypedProperty = 'publicStaticUnTypedProperty';
public static $publicStaticUnTypedPropertyWithoutDefaultValue;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant