Add implementations of methods in traits required by a parent class or interface
commit8c7cd2da52da75d48092ff02b6eaf946cbb637e5
authorSasha Manzyuk <manzyuk@fb.com>
Wed, 11 Dec 2019 12:16:46 +0000 (11 04:16 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 11 Dec 2019 12:18:47 +0000 (11 04:18 -0800)
tree7b9b45f56f4737ce9620a767afa926e0fcb5f833
parent71420d746cff744f2776650761c130fe1bbe5db0
Add implementations of methods in traits required by a parent class or interface

Summary: Like D18832490 but for methods defined in traits.  See new test cases added below.

Reviewed By: andrewjkennedy

Differential Revision: D18908144

fbshipit-source-id: 36ed844c759adf75e5df4256b372990728ea2a4d
hphp/hack/src/server/serverExtractStandalone.ml
hphp/hack/test/integration/data/dependencies/classes-traits.php
hphp/hack/test/integration/data/dependencies/expected/__with_method_defined_in_trait.php.exp [new file with mode: 0644]
hphp/hack/test/integration/data/dependencies/expected/__with_method_defined_in_trait2.php.exp [new file with mode: 0644]
hphp/hack/test/integration/test_extract_standalone.py