Deprecate error 3007 (constructor-like method name)
commitf5bbaf18ea34fa4b8473bef1daf1925d24f14ade
authorMatt Schellhas <rms@fb.com>
Mon, 30 Sep 2019 17:03:41 +0000 (30 10:03 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 30 Sep 2019 17:08:48 +0000 (30 10:08 -0700)
tree4593e9c85282fd8f69f8d15d6bd0b8fc5bdfdd22
parentf4580effef0b27137d050f3812c9f1fb4533dfb0
Deprecate error 3007 (constructor-like method name)

Summary: This error isn't really a language specific error, and is more of a lint. Deprecating it so that linters can handle it instead.

Reviewed By: DavidSnider

Differential Revision: D17509109

fbshipit-source-id: 6712ab63707f2354022b2c2d8d25e0ed9c74688d
hphp/hack/src/errors/error_codes.ml
hphp/hack/src/errors/errors.ml
hphp/hack/src/errors/errors.mli
hphp/hack/src/typing/nast_check/illegal_name_check.ml
hphp/hack/test/errors/error_map.ml
hphp/hack/test/typecheck/class_01.php.exp