Skip to content

Bump codecov/codecov-action from 5.4.0 to 5.4.2 #448

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
- name: Run Testsuite
run: php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5.4.0
uses: codecov/codecov-action@v5.4.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml

Unchanged files with check annotations Beta

*
* @var string
*/
protected $format_string = '{txt} <img src="{src}" alt="{alt}"/>';

Check warning on line 17 in includes/MslsLinkTextImage.php

GitHub Actions / test

PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage

Images should be added using wp_get_attachment_image() or similar functions
/**
* Get the description
* @return string
*/
public function get_img(): string {
return sprintf( '<img alt="%s" src="%s" />', $this->language, $this->src );

Check warning on line 198 in includes/MslsAdminIcon.php

GitHub Actions / test

PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage

Images should be added using wp_get_attachment_image() or similar functions
}
/**
$sql_cache = MslsSqlCacher::create( __CLASS__, __METHOD__ );
// load post we need to exclude (they already have a translation) from search query
$query->query_vars['post__not_in'] = ( new TranslatedPostIdQuery( $sql_cache ) )( $blog->get_language() );

Check warning on line 82 in includes/MslsCustomFilter.php

GitHub Actions / test

WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in

Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
return $query;
}
return false;
}
if ( ! isset( $_POST['msls_import'] ) ) {

Check warning on line 150 in includes/ContentImport/ContentImporter.php

GitHub Actions / test

WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.
return false;
}
return $empty;
}
if ( ! isset( $_POST['msls_import'] ) ) {

Check warning on line 388 in includes/ContentImport/ContentImporter.php

GitHub Actions / test

WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.
return $empty;
}
public function debugger( $message ): void {
if ( defined( 'WP_DEBUG' ) && WP_DEBUG === true ) {
if ( is_array( $message ) || is_object( $message ) ) {
$message = print_r( $message, true );

Check warning on line 51 in includes/MslsMain.php

GitHub Actions / test

WordPress.PHP.DevelopmentFunctions.error_log_print_r

print_r() found. Debug code should not normally be used in production.
}
error_log( 'MSLS Debug: ' . $message );

Check warning on line 54 in includes/MslsMain.php

GitHub Actions / test

WordPress.PHP.DevelopmentFunctions.error_log_error_log

error_log() found. Debug code should not normally be used in production.
}
}
* Register the form-elements
*/
public function register(): void {
register_setting( 'msls', 'msls', array( $this, 'validate' ) );

Check warning on line 205 in includes/MslsAdmin.php

GitHub Actions / test

PluginCheck.CodeAnalysis.SettingSanitization.register_settingDynamic

Dynamic argument passed in third parameter of register_setting(). Please ensure proper sanitization.
$sections = array(
'language_section' => __( 'Language Settings', 'multisite-language-switcher' ),
);
// phpcs:ignore WordPress.Security.EscapeOutput
trigger_error( sprintf( esc_html( $format ), strval( self::MAX_REFERENCE_USERS ) ) );

Check warning on line 388 in includes/MslsAdmin.php

GitHub Actions / test

WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

trigger_error() found. Debug code should not normally be used in production.
}
// phpcs:ignore WordPress.Security.EscapeOutput
{
"name": "lloc/multisite-language-switcher",
"description": "Multisite Language Switcher",