Skip to content

Add support to IterableCodeExtractor for symlinks. - #249

Merged
swissspidy merged 1 commit into
wp-cli:masterfrom
jenkoian:symlink-support
Jul 5, 2021
Merged

Add support to IterableCodeExtractor for symlinks.#249
swissspidy merged 1 commit into
wp-cli:masterfrom
jenkoian:symlink-support

Conversation

@jenkoian

Copy link
Copy Markdown
Contributor

Could only get the tests to pass locally with the yoast polyfill TestCase but let me know if you want me to revert to PHPUnit_Framework_TestCase

@jenkoian
jenkoian requested a review from a team as a code owner May 25, 2021 15:11
@swissspidy

Copy link
Copy Markdown
Member

Does this also apply to JS files?

@schlessera Looks like the PHPUnit polyfills are now part of wp-cli-tests, so seems reasonable to use it here. WDYT?

@jenkoian

Copy link
Copy Markdown
Contributor Author

Does this also apply to JS files?

Not sure I follow?

@swissspidy

Copy link
Copy Markdown
Member

Does this also apply to JS files?

Not sure I follow?

I was wondering whether this also fixes usage of symlinked JavaScript files. But I suppose the answer is yes because IterableCodeExtractor is just a trait used by both :-)

Comment thread tests/IterableCodeExtractorTest.php
Comment thread tests/IterableCodeExtractorTest.php Outdated
@schlessera schlessera added bug command:i18n-make-pot Related to 'i18n make-pot' command labels Jul 5, 2021
@swissspidy swissspidy added this to the 2.2.9 milestone Jul 5, 2021
@swissspidy
swissspidy merged commit bf27df3 into wp-cli:master Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug command:i18n-make-pot Related to 'i18n make-pot' command

3 participants