• 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 ??

    • This topic was modified 1 month, 1 week ago by David Brown. Reason: Looks like the plug-in banner is linking to an old github, so never mind that
Viewing 1 replies (of 1 total)
  • Plugin Author Mark Collister

    (@2050nz)

    Hi David,

    Thanks for the feedback and bringing this to our attention. We are in the process of updating our plugin build process and will get the php-scoper.phar removed in the next plugin update

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.