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

Replaced configuration events with methods in TwigView #15

Merged
merged 2 commits into from
Mar 28, 2020

Conversation

othercorey
Copy link
Member

This adds create and initialize methods in TwigView to replace the configuration events. Also cleans up extension and parser class names so they can be used properly.

I need to write some new unit tests that are more comprehensive.

@othercorey othercorey added this to the 1.0 milestone Mar 27, 2020
src/View/TwigView.php Outdated Show resolved Hide resolved
@othercorey
Copy link
Member Author

Any ideas why phpstan complains about the debug filter and only the debug filter?

@ADmad
Copy link
Member

ADmad commented Mar 28, 2020

Any ideas why phpstan complains about the debug filter and only the debug filter?

Static Analysis build is passing.

@othercorey
Copy link
Member Author

Well yea, I adjusted the ignore list. It's just really strange that's needed.

@othercorey
Copy link
Member Author

TwigView should now have simple tests for most things. Added render tests for simple templates and layouts with element tag.

Everything seems to be loading and running.

@othercorey othercorey merged commit eec2f92 into master Mar 28, 2020
@othercorey othercorey deleted the configure-events branch March 28, 2020 18:05
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.

None yet

2 participants