Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 30, 2024

Conversation

nathan-schmidt-viget
Copy link
Contributor

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

Copy link
Contributor

@bd-viget bd-viget left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 💯

@nathan-schmidt-viget nathan-schmidt-viget merged commit 9107b7d into main May 30, 2024
@nathan-schmidt-viget nathan-schmidt-viget deleted the ns/90-placeholder-bug branch May 30, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants