Closed doekenorg closed 11 months ago
I've moved strauss.phar
along with a composer.json
to the build
folder. In de src
folder, there is now a composer.json
which copies the src
folder to the vendor
folder, so that strauss can do it's magic on that too. From that point we check in gfexcel.php
if the build-autoloader exists. It will use the fixed source files, making the plugin wp.org proof; whilst also being installable on a bedrock project.
Todo:
composer.json
with the additional settings to build/
@doekenorg, feel free to merge if this is done. The PR works.
This PR adds Strauss + the necessary configuration. This also Resolves #165.
Upsides:
Downsides:
The changes are pretty easily fixed though.
It might be possible to alias the old class to the new names, in case those classes don't exist. This is a runtime check, and would avoid initial errors on plugins. Giving us time to fix the plugins.
For release:
master
Release contains:
Todo:
vendor_prefixed
to outputstrauss.phar
from buildFor review also check:
For testing:
Attached is a test-plugin. If this plugin is enabled, it will trigger the loading of a newer version of
league/container
. To fix the break, just comment out the single line in thea-test-plugin.php
file.Please test thoroughly if all features still work. Think: Xlsx, CSV, PDF. Filter feeds, Save dropbox feeds.
a-test-plugin.zip