Open schlessera opened 7 years ago
The class Spyc should be split out into a separate file so that it can be properly managed through Composer autoloading.
Spyc
This enables other code (which is not using the procedural access to the class) to manage how and when the actual class is loaded.
Related issues: https://github.com/wp-cli/wp-cli/issues/3850 https://github.com/wp-cli/wp-cli/issues/3875
The class
Spyc
should be split out into a separate file so that it can be properly managed through Composer autoloading.This enables other code (which is not using the procedural access to the class) to manage how and when the actual class is loaded.
Related issues: https://github.com/wp-cli/wp-cli/issues/3850 https://github.com/wp-cli/wp-cli/issues/3875