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

SLR Support #2081

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open

SLR Support #2081

wants to merge 55 commits into from

Conversation

lucatume
Copy link
Contributor

@lucatume lucatume commented May 3, 2024

No description provided.

@lucatume lucatume self-assigned this May 3, 2024
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
@lucatume lucatume marked this pull request as ready for review May 6, 2024 11:13
@lucatume lucatume requested review from bordoni and Camwyn May 6, 2024 11:15
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/Tribe/Assets.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
src/functions/template-tags/general.php Outdated Show resolved Hide resolved
bordoni
bordoni previously approved these changes May 9, 2024
Copy link
Member

@bordoni bordoni left a comment

Choose a reason for hiding this comment

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

I wonder which branch we should use, I would urge this to be released with the plugin consolidation. So probably bucket/plugin-consolidation

Camwyn
Camwyn previously approved these changes May 10, 2024
src/Tribe/Assets.php Outdated Show resolved Hide resolved
@lucatume lucatume dismissed stale reviews from Camwyn and bordoni via 20299d0 May 16, 2024 12:26
package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "tribe-common",
"version": "5.2.7",
"version": "5.4.0-dev",
Copy link
Contributor

Choose a reason for hiding this comment

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

We skipped 5.3?

@@ -559,14 +564,14 @@ function tribe_format_currency( $cost, $post_id = null, $currency_symbol = null,
*
* @category Events
* @param string $optionName Name of the option to retrieve.
* @param string $default Value to return if no such option is found.
* @param string $default Value to return if no such option is 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 you fix the rest of the docblock spacing, since you started?

@stratease stratease added the needs release Needs an associated release in Central before merging. label May 16, 2024
if ( ! empty( $asset->origin_url ) ) {
$asset->origin_url = trailingslashit( $asset->origin_url );
}
$extension = substr( $file, strrpos( $file, '.' ) + 1 );
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space

$asset->origin_url = trailingslashit( $asset->origin_url );
}
$extension = substr( $file, strrpos( $file, '.' ) + 1 );
$plugin_path = ! empty( $origin->plugin_path ) ? $origin->plugin_path : $origin->pluginPath;
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
Object property "$pluginPath" is not in valid snake_case format, try "$plugin_path"

$plugin_path = ! empty( $origin->plugin_path ) ? $origin->plugin_path : $origin->pluginPath;

// Infer the type from the file extension, if not passed.
$type = empty( $arguments['type'] ) ? $extension : $arguments['type'];
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 3 spaces

// Try to enqueue the minified version of the file if not debugging scripts or the file is not available.
if ( ! str_contains( $file, '.min.' ) ) {
// From `something.js` to `something.min.js`.
$minified_file = substr( $file, 0, - ( strlen( $extension ) + 1 ) ) . '.min.' . $extension;
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 3 spaces

$asset->type = 'js';
} elseif ( substr( $asset->file, -4, 4 ) === '.css' ) {
$asset->type = 'css';
$extension = substr( $file, strrpos( $file, '.' ) + 1 );
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 3 spaces

dpanta94 and others added 30 commits July 22, 2024 23:10
…-licensing-fix-uopz

Uplink - Fix incorrect `uopz_redefine` arguments used within `set_const_value`
…-licensing

[SL-157] Support Uplink Licensing
…foreinvalid-license

Check Uplink before invalid license
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs release Needs an associated release in Central before merging.
Projects
None yet
8 participants