Add some more test cases
commit93e9a0702702f7f4c495721ba9cbdfd9ed1bf6dc
authorHunter Goldstein <hgoldstein@fb.com>
Thu, 17 Mar 2022 23:57:16 +0000 (17 16:57 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 17 Mar 2022 23:57:16 +0000 (17 16:57 -0700)
tree8dbc33ffac090c73b3e822055feb6e164727008e
parent569e8d855e0a265acb63cd6f22ba6419b7488ca7
Add some more test cases

Summary:
* We want to ensure that fanout respects when a *method* has changed it's internal-ness without changing it's module membership
* XHP classes should follow the same rules as normal classes
  * syntactically it's not possible to make an XHP attribute internal right now
* **Modules are orthogonal to namespaces**: module membership should not affect naming in any way.

Reviewed By: jamesjwu

Differential Revision: D34408894

fbshipit-source-id: 0b30b1e0093223ad7413f4e373dc4273355d82a2
hphp/hack/test/fanout/modules/module_internal_method.php [new file with mode: 0644]
hphp/hack/test/fanout/modules/module_internal_method.php.incr_no_old_decls.exp [new file with mode: 0644]
hphp/hack/test/fanout/modules/module_internal_method.php.incr_old_decl.exp [new file with mode: 0644]
hphp/hack/test/fanout/modules/module_internal_method.php.saved_state.exp [new file with mode: 0644]
hphp/hack/test/typecheck/modules/modules_xhp.php [new file with mode: 0644]
hphp/hack/test/typecheck/modules/modules_xhp.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/modules/namespaces.php [new file with mode: 0644]
hphp/hack/test/typecheck/modules/namespaces.php.exp [new file with mode: 0644]