Does the plugin need to distribute php-scoper.phar?
-
After a few months of intermittent struggling to figure out why PHPStorm (an IDE) stopped showing me pop-up documentation for built-in PHP functions in my WordPress site project, I finally figured out that it was because with version 1.7 you started including php-scoper.phar. This phar archive contains a set of “stub” files — commented definitions for the built-in PHP functions and the duplication with the IDE’s built-in stubs led to unhelpful behavior that it took me a long time to track down.
(I’m not a full-time PHP dev, or I probably would have known to press Ctrl-B on the function marked as having duplicate definitions to see where it’s defined. Right-clicking php-scoper.phar and telling PHPStorm to exclude it from the project fixed the problem.)
I am not familiar with php-scoper, but its phar seems to be a tool used during development. From version 1.10.0 of your plugin, I deleted php-scoper.phar and was able to deactivate, activate, and test the plugin successfully without that file being present.
I think it would be helpful and appropriate if php-scoper.phar were removed from the plug-in distribution on www.remarpro.com. But if I’m wrong about that, I’m always happy to learn new things ??
- You must be logged in to reply to this topic.