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

[Valdiator] PHP Fatal error: Cannot use 'True' as class name as it is reserved #14336

Closed
BlackScorp opened this issue Apr 13, 2015 · 3 comments
Closed

Comments

@BlackScorp
Copy link

Hello guys, i'am getting an error while running my tests on PHP 7

will be this changed somehow in the future?

https://travis-ci.org/Opentribes/Core/jobs/58144458

@stof
Copy link
Member

stof commented Apr 13, 2015

Yes it will. See #14086 for the issue tracking this, and #14228 for the WIP fixing this. I'm closing this issue as duplicate.

@Orgoff
Copy link

Orgoff commented May 9, 2017

I have a similar problem. I fix it when i change annotation "@Assert\True" by "@Assert\IsTrue" in my entity.

@vajiralasantha
Copy link

I have a similar problem. I fix it when i change annotation "@Assert\True" by "@Assert\IsTrue" in my entity.

Confirmed working. Thanks.

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

No branches or pull requests

4 participants