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
F13050056: D17820.diff
Fri, Apr 19, 2:35 AM
Unknown Object (File)
Wed, Apr 17, 2:52 PM
Unknown Object (File)
Fri, Apr 12, 10:40 PM
Unknown Object (File)
Thu, Apr 11, 7:07 AM
Unknown Object (File)
Mon, Mar 25, 10:41 PM
Unknown Object (File)
Mar 15 2024, 11:56 PM
Unknown Object (File)
Feb 28 2024, 6:06 PM
Unknown Object (File)
Feb 22 2024, 11:15 AM
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