Open lovek323 opened 9 years ago
Interesting. Looks like this happens when scheck looks for the @Scheck annotation to see if a particular warning should be silenced, and finds something else instead.
I'm not able to repro this locally. @lovek323 any chance I could convince you to attach a kind-of-minimal repro that causes this to happen for you?
@phooji: I have been trying to repro this on a simple case, but haven't yet been able to. I'll let you know if I find a minimal repro.
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
Hello, Here is a file that reproduces this issue:
<?php
// @deprecated: foo
class Foo {}
This is still an issue. I found the same failure running against my PHP repo:
Fatal error: exception Failure("Bad annotation: todo")
I'm trying to run
scheck
on a PHP codebase but I'm gettingFatal error: exception Failure("Bad annotation: deprecated")
. I have tried (very briefly) to debug this myself, but have failed.I'm not sure if this is referring to an annotation in the PHP code (the code definitely makes use of
@deprecated
) or whether this is some scheck/codegraph annotation.Any thoughts on what might be going wrong?