vigetlabs / wordpress-site-starter

2 stars 0 forks source link

[#90] Fixing placeholder bug, adding phpcs file for bin #97

Closed nathan-schmidt-viget closed 1 month ago

nathan-schmidt-viget commented 1 month ago

Summary

So I noticed that when you create a new site it does not do a search/replace on the twig files. Once I found the line of code I saved it and noticed that the composer files don't have a default PHP cs (so mine defaulted to WP and changed everything). I added a .phpcs file based on PSR12 which is pretty much what Craft follows so we have a base php format for the files in the bin.

Issues

Testing Instructions

  1. No way to test this until we merge with main and run composer create-project --prefer-dist --stability=dev viget/wordpress-site-starter:dev-main

Screenshots

NA