extract sealed whitelist dependencies
commitc42748e516274a1d296d1e93c85a1a0855ac9740
authorMichael Thomas <mjt@fb.com>
Mon, 8 Mar 2021 13:00:23 +0000 (8 05:00 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 8 Mar 2021 13:02:39 +0000 (8 05:02 -0800)
tree0fd5516cfd0486b2a65ce39848d92bb062b27558
parentf58fbe10d37319ffdd7e02f4a043313795b516a5
extract sealed whitelist dependencies

Summary: This diff adds classes appearing as parameters in a `__Sealed` user attribute (the so-called 'sealed whitelist') as dependencies of the class on which the attribute is specified.

Reviewed By: madgen

Differential Revision: D26609489

fbshipit-source-id: dc718f48bb31adc964254933a600b9a362c50e14
hphp/hack/src/server/serverExtractStandalone.ml
hphp/hack/test/integration/data/dependencies/classes-interfaces.php
hphp/hack/test/integration/data/dependencies/expected/__with_arg_with_sealed_whitelist.php.exp [new file with mode: 0644]
hphp/hack/test/integration/test_extract_standalone.py