PHP 8 upgrade/support #794
-
Hi how do I configure wprig to support PHP 8? I tried running npm scripts while on PHP 8 but it never gets past through gulp styles. I tried reinstalling composer and npm libraries while on PHP 8 but with no luck. Edit: clarification |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I ran into issues with wp 5.9 and php 8 as well. For me it was the phpcs in the gulp styles. I commeneted out that processing and it runs fine - not sure whats going on exactly as I havent had time to take a deeper look: |
Beta Was this translation helpful? Give feedback.
-
@roljohntorralba where are you getting stuck at? I am able to run it on PHP 8 just fine at the moment. |
Beta Was this translation helpful? Give feedback.
-
@drikfan @roljohntorralba are you guys by change on windows? Need to know more about your system. There are a lot of variables. I noticed some possibly problematic code in gulp that might run weird on Windows, but I'm not currently certain. |
Beta Was this translation helpful? Give feedback.
-
This issue has been addressed in a recent update to WP Rig. The issue was PHP Codesniffer. We added a new dependency straight to squizlabs package. Check composer.json for the update. Be sure to run "composer install" and "composer update" after you add this. Composer.lock needs to update. Then you should be ready to rock and roll. Let me know if you have any questions or further support. |
Beta Was this translation helpful? Give feedback.
This issue has been addressed in a recent update to WP Rig. The issue was PHP Codesniffer. We added a new dependency straight to squizlabs package. Check composer.json for the update. Be sure to run "composer install" and "composer update" after you add this. Composer.lock needs to update. Then you should be ready to rock and roll. Let me know if you have any questions or further support.