Open sebacruz opened 8 years ago
Related to issue #40 ?
Oh, yeah! I forgot to point that.
I'm totally newbie. What can I do in order to test it inside Atom?
Applying this patch, the package loads but the panel shows blank. DeprecationCop shows error messages about using deprecated calls. Using Atom 1.9.8.
You receive the same error with any file?
I was able to reproduce that error with some classes (like this) in Atom@1.9.8 with php-integrator-base@1.1.2 and find out that this package throws the following errors:
php-integrator-symbol-viewer/lib/Main.js:124
Uncaught (in promise) TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
php-integrator-symbol-viewer/lib/ConstantDetailsView.js:10
Uncaught (in promise) TypeError: Cannot read property 'resolvedType' of undefined
I didn't have the time to debug a little bit more yet.
Thanks for your time, @sebacruz. I've reported the deprecation issue in #47.
This change makes the package work again.