Skip to content

Conversation

@vsolovei-smartling
Copy link
Contributor

@vsolovei-smartling vsolovei-smartling commented Jan 6, 2026

This pr includes changes for automatically handling dependency scoping after each composer update, as is required for proper code changes

"require": {
"galbar/jsonpath": "^2.0",
"vsolovei-smartling/retry": "^2.0.1",
"jralph/retry": "3.0.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

jralph/retry 3.0.0 includes a pr from vsolovei-smartling/retry 2.0.1

Comment on lines +18 to +21
"symfony/dependency-injection": "~5.4",
"symfony/expression-language": "~5.4",
"symfony/config": "~5.4",
"symfony/yaml": "~5.4",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Required changes as more and more libraries are using php 8+

- "%plugin.name%"
- "%plugin.version%"
- "%plugin.url%"
- "@=service('wp.proxy').plugin_dir_url(constant('SMARTLING_PLUGIN_DIR')~constant('DIRECTORY_SEPARATOR')~'..')"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No more dynamic parameters in symfony 5

Comment on lines +48 to +49
"./inc/third-party/vsolovei-smartling/namespacer/bin/namespacer --composer ./composer.json --package smartling-connector --namespace \"Smartling\\Vendor\" inc",
"php fix-double-namespace.php"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain this please? I don't get what is broken and why it's broken and what does this custom script do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When namespacing, Smartling/Vendor namespace is sometimes appended more than once. The custom script removes the duplicate prefix until none are found

Copy link
Contributor

Choose a reason for hiding this comment

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

can we fix the root cause instead of consequences? or the root cause is somewhere deep in 3rd parties?

@@ -0,0 +1,282 @@
# Elementor Content Processing Guide
Copy link
Contributor

@PavelLoparev PavelLoparev Jan 7, 2026

Choose a reason for hiding this comment

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

Ho do you use this file with claude? It's not inside .claude/... folder (prompt/skill/etc), you manually reference it?

I propose to convert this to the skill or prompt and pack it to one of our plugins (or create new one). Take a look here: https://github.com/Smartling/claude-plugins

sounds like a new int-team-wp plugin for claude to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is referenced in claude.md on line 124

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