pluginkollektiv / statify

Statify – statistics plugin for WordPress
https://wordpress.org/plugins/statify/
GNU General Public License v3.0
77 stars 22 forks source link

Composer dependencies and autoloader missing in deployment #256

Closed stklcode closed 1 year ago

stklcode commented 1 year ago

Describe the bug

Regression from #247

As part of this change we introduced an external library for crawler detection and use the Composer autoloader mechanism for that.

However, the vendor directory is currently excluded from deployment and thus missing in the final package.

To Reproduce Steps to reproduce the behavior:

  1. Build the project as it's done in the CI pipeline
  2. Install the plugin
  3. Visit any page
  4. See PHP errors due to missing .../vendor/autoload.php

Expected behavior Page loads as before without errors.

System (please complete the following information):

Additional context Plugin from current develop branch (starting from c5c21badd784861be6860b9e42659ddd884eb1b4)