From 9ca946015bcb981c3235e317e9e500f558b85d17 Mon Sep 17 00:00:00 2001 From: Thomas Zwirner Date: Sun, 5 May 2024 14:23:22 +0200 Subject: [PATCH] updated wcs --- classes/eml/Controller/class-init.php | 8 ++++---- composer.json | 4 ++-- readme.txt | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/classes/eml/Controller/class-init.php b/classes/eml/Controller/class-init.php index fa3b09a..770c774 100644 --- a/classes/eml/Controller/class-init.php +++ b/classes/eml/Controller/class-init.php @@ -439,13 +439,13 @@ public function wp_get_attachment_metadata( array $data, int $attachment_id ): a * @return string */ public function downloadlist_rel_attribute( string $rel_attribute, array $file ): string { - // bail if array is empty - if( empty( $file ) ) { + // bail if array is empty. + if ( empty( $file ) ) { return $rel_attribute; } - // bail if id is not given - if( empty( $file['id'] ) ) { + // bail if id is not given. + if ( empty( $file['id'] ) ) { return $rel_attribute; } diff --git a/composer.json b/composer.json index 0a2e4fa..efefc00 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,8 @@ } }, "require-dev": { - "wp-coding-standards/wpcs": "^3.0.1", - "pronamic/wp-documentor": "^1.3" + "wp-coding-standards/wpcs": "^3.1.0", + "pronamic/wp-documentor": "^1.3.2" }, "require": { "php": "^8.0", diff --git a/readme.txt b/readme.txt index 2efcc19..bd93a60 100644 --- a/readme.txt +++ b/readme.txt @@ -87,3 +87,4 @@ No, only public files can be used. = 1.2.1 = * Added support for hook of plugin "Download List Block with Icons" for mark external files with rel-external * Updated compatibility-flag for WordPress 6.5.3 +* Updated dependencies