Page MenuHomePhabricator

Replace all the PHPAST JSON test data with readable test data
AbandonedPublic

Authored by epriestley on May 3 2017, 5:09 PM.
Tags
None
Referenced Files
F18733584: D17820.id.diff
Tue, Sep 30, 10:37 PM
F18568095: D17820.id42848.diff
Tue, Sep 9, 10:48 PM
F18508771: D17820.id.diff
Fri, Sep 5, 3:00 AM
F18500956: D17820.diff
Thu, Sep 4, 9:27 PM
F18458762: D17820.diff
Sep 1 2025, 3:19 PM
F18094627: D17820.diff
Aug 7 2025, 10:15 PM
F18093261: D17820.id42848.diff
Aug 7 2025, 4:54 PM
F18084132: D17820.id.diff
Aug 5 2025, 1:52 PM
Subscribers

Details

Summary

Depends on D17819. Ref T4334. This applies the changes from D17819 to the actual test data.

NOTE: This probably identified a bug in php-traits.php.test: we generate a node with type ID 0. I didn't fix it here.
Test Plan

Test pass.

Diff Detail

Repository
rPHU libphutil
Branch
xhp2
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 16774
Build 22381: Run Core Tests
Build 22380: arc lint + arc unit

Event Timeline

src/parser/xhpast/__tests__/data/base-pass.php.test
5–11

WOW AMAZING

SO READABLE!

I think this needs to be updated? It fails for me locally.

Yeah, I did all of this manually so I was waiting for D17819 to update it.

I'm just going to trust that you will fix this after D17819 lands.

This revision is now accepted and ready to land.May 3 2017, 11:49 PM