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

API Remove API which is now in silverstripe/silverstripe-template-engine #11451

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Nov 3, 2024

I'm choosing to leave the config here because it's framework that cares about having a default template engine, it's not the template engine module that explicitly wants itself to be the default.

The failing CI in this PR will go green once silverstripe/silverstripe-assets#634 is merged

Issue

Comment on lines -31 to -34
<!-- use short array syntax (less thirdparty) -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax">
<exclude-pattern>/thirdparty/*</exclude-pattern>
</rule>
Copy link
Member Author

Choose a reason for hiding this comment

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

That directory is now completely removed from framework

Comment on lines -29 to -30
* - THIRDPARTY_DIR: Path relative to webroot, e.g. "framework/thirdparty"
* - THIRDPARTY_PATH: Absolute filepath, e.g. "/var/www/my-webroot/framework/thirdparty"
Copy link
Member Author

Choose a reason for hiding this comment

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

That directory doesn't exist in framework anymore, so I'm removing the related constants.
I can't imagine anyone was using them given the only thing in there was the code which takes the template parser .peg and builds out the template parser .php

@emteknetnz emteknetnz merged commit bbd8bb9 into silverstripe:6 Nov 6, 2024
11 of 12 checks passed
@emteknetnz emteknetnz deleted the pulls/6/template-engine-moved branch November 6, 2024 01:29
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.

2 participants