Skip to content

Commit

Permalink
Update: Grunt string-replace
Browse files Browse the repository at this point in the history
  • Loading branch information
mehedi-bb committed Jun 12, 2024
1 parent a24eb87 commit a6ad0da
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 52 deletions.
14 changes: 7 additions & 7 deletions includes/Library/Composer/Src/FFMpeg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
/**
* FFMpeg custom class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
class FFMpeg {
private static $instance;

/**
* Get the instance of the class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return FFMpeg
*/
Expand All @@ -29,7 +29,7 @@ public static function instance() {
/**
* This Function Is Used To Get Instance From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param \FFMpeg\Driver\FFMpegDriver $ffmpeg.
* @param \FFMpeg\FFProbe $ffprobe.
Expand All @@ -43,7 +43,7 @@ function ffmpeg( $ffmpeg, $ffprobe ) {
/**
* This Function Is Used To Get Instance From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param \FFMpeg\Driver\FFProbeDriver $ffprobe.
* @param \Doctrine\Common\Cache\Cache $cache.
Expand All @@ -57,7 +57,7 @@ function ffprobe( $ffprobe, $cache ) {
/**
* Creates an FFMpeg.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param array|\Alchemy\BinaryDriver\ConfigurationInterface $configuration
* @param \Psr\Log\LoggerInterface $logger
Expand All @@ -72,7 +72,7 @@ function ffmpeg_create( $configuration = array(), $logger = null, $probe = null
/**
* Creates an FFProbe.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param array|\Alchemy\BinaryDriver\ConfigurationInterface $configuration
* @param \Psr\Log\LoggerInterface $logger
Expand All @@ -87,7 +87,7 @@ function ffprobe_create( $configuration = array(), $logger = null, $cache = null
/**
* Create timecode from number of seconds From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param float $seconds Seconds value.
*
Expand Down
8 changes: 4 additions & 4 deletions includes/Library/Composer/Src/ZipStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
/**
* ZipStream custom class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
class ZipStream {
private static $instance;
/**
* Get the instance of the class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return ZipStream
*/
Expand All @@ -28,7 +28,7 @@ public static function instance() {
/**
* This Function Is Used To Get Instance From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return \ZipStream\ZipStream
*/
Expand All @@ -39,7 +39,7 @@ function zipstream( $file_name, $options ) {
/**
* This Function Is Used To Get Instance From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return \ZipStream\Option\Archive
*/
Expand Down
8 changes: 4 additions & 4 deletions includes/Library/composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Composer class for scoped library logic.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
class Composer {

Expand All @@ -17,7 +17,7 @@ class Composer {
/**
* Get the instance of the class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return Composer
*/
Expand All @@ -33,7 +33,7 @@ public static function instance() {
/**
* This function is used to get ZipStream instance from scoped vendor.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return \BuddyBoss\Library\Composer\ZipStream/\BuddyBossPlatform\BuddyBoss\Library\Composer\ZipStream
*/
Expand All @@ -48,7 +48,7 @@ function zipstream_instance() {
/**
* This function is used to get FFMpeg instance from scoped vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return \BuddyBoss\Library\Composer\FFMpeg/\BuddyBossPlatform\BuddyBoss\Library\Composer\FFMpeg
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
},
"license": "GPL-2.0-or-later",
"version": "3.1.0",
"BBVersion": "2.6.21"
"BBVersion": "2.6.30"
}
12 changes: 6 additions & 6 deletions src/bp-core/admin/bp-core-admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3749,7 +3749,7 @@ function bb_cpt_feed_enabled_disabled() {
/**
* Register the BuddyBoss Upgrade submenu page.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param string $active_tab Current tab name.
*
Expand Down Expand Up @@ -3790,7 +3790,7 @@ function bb_core_get_upgrade_settings_admin_tabs( $active_tab = '' ) {
/**
* Filters the tab data used in our wp-admin screens.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param array $tabs Tab data.
*/
Expand All @@ -3800,7 +3800,7 @@ function bb_core_get_upgrade_settings_admin_tabs( $active_tab = '' ) {
/**
* Output the performance tabs in the admin area.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return void
*/
Expand All @@ -3816,7 +3816,7 @@ function bb_core_upgrade_admin_tabs() {
/**
* Filters the admin tabs to be displayed.
*
* @since BuddyPress [BBVERSION]
* @since BuddyPress 2.6.30
*
* @param array $value Array of tabs to output to the admin area.
*/
Expand Down Expand Up @@ -3849,15 +3849,15 @@ function bb_core_upgrade_admin_tabs() {
/**
* Fires after the output of tabs for the admin area.
*
* @since BuddyPress [BBVERSION]
* @since BuddyPress 2.6.30
*/
do_action( 'bb_upgrade_settings_admin_tabs' );
}

/**
* Web performance tester class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* return object
*/
Expand Down
16 changes: 8 additions & 8 deletions src/bp-core/admin/classes/class-bb-performance-tester.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package BuddyBoss
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/

require_once buddypress()->plugin_dir . 'bp-core/admin/templates/benchmark.php';
Expand All @@ -14,7 +14,7 @@
*
* @package BuddyBoss
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
class BB_Performance_Tester {

Expand All @@ -23,14 +23,14 @@ class BB_Performance_Tester {
*
* @var BB_Performance_Tester
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
private static $instance;

/**
* Class instance
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
public static function instance() {
if ( ! isset( self::$instance ) && ! ( self::$instance instanceof BB_Performance_Tester ) ) {
Expand All @@ -42,7 +42,7 @@ public static function instance() {
/**
* Constructor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
public function __construct() {
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts_and_style' ) );
Expand All @@ -51,7 +51,7 @@ public function __construct() {
/**
* Settings page.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
public function settings_page() {
if ( ! current_user_can( 'manage_options' ) ) {
Expand Down Expand Up @@ -367,7 +367,7 @@ public function settings_page() {
/**
* Version name of the API.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return string
*/
Expand All @@ -378,7 +378,7 @@ private function get_version() {
/**
* Fires when enqueuing scripts for all admin pages.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param string $hook The current admin page.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This file contains information about BuddyBoss Upgrade.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @package BuddyBoss
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* BuddyBoss Performance Tester Admin Screen.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @package BuddyBoss
*/
Expand Down
4 changes: 2 additions & 2 deletions src/bp-core/bp-core-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ function bb_bg_process_log_load() {
/**
* Remove notices from the buddyboss upgrade screens.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
function bb_remove_admin_notices() {
$screen = get_current_screen();
Expand All @@ -1193,7 +1193,7 @@ function bb_remove_admin_notices() {
/**
* Load the web performance tester.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-core/classes/class-bp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public function bp_credits_screen() {
/**
* Output the upgrade screen.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
public function bp_upgrade_screen() {
$active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'bb-upgrade'; // phpcs:ignore
Expand Down
14 changes: 7 additions & 7 deletions src/includes/Library/Composer/Src/FFMpeg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
/**
* FFMpeg custom class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*/
class FFMpeg {
private static $instance;

/**
* Get the instance of the class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @return FFMpeg
*/
Expand All @@ -29,7 +29,7 @@ public static function instance() {
/**
* This Function Is Used To Get Instance From Scoped Vendor.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param \FFMpeg\Driver\FFMpegDriver $ffmpeg
* @param \FFMpeg\FFProbe $ffprobe
Expand All @@ -43,7 +43,7 @@ function ffmpeg( $ffmpeg, $ffprobe ) {
/**
* This Function Is Used To Get Instance From Scoped Vendor.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param \FFMpeg\Driver\FFProbeDriver $ffprobe
* @param \Doctrine\Common\Cache\Cache $cache
Expand All @@ -57,7 +57,7 @@ function ffprobe( $ffprobe, $cache ) {
/**
* Creates an FFMpeg.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param array|\Alchemy\BinaryDriver\ConfigurationInterface $configuration
* @param \Psr\Log\LoggerInterface $logger
Expand All @@ -72,7 +72,7 @@ function ffmpeg_create( $configuration = array(), $logger = null, $probe = null
/**
* Creates an FFProbe.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param array|\Alchemy\BinaryDriver\ConfigurationInterface $configuration
* @param \Psr\Log\LoggerInterface $logger
Expand All @@ -87,7 +87,7 @@ function ffprobe_create( $configuration = array(), $logger = null, $cache = null
/**
* Create timecode from number of seconds From Scoped Vendor
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.30
*
* @param float $seconds Seconds value.
*
Expand Down
Loading

0 comments on commit a6ad0da

Please sign in to comment.