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

Fix/phpcs #286

Merged
merged 53 commits into from
Oct 4, 2022
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b184483
Initial PHPCS checks
oscarssanchez Aug 1, 2022
6692501
PHPCBF fixes
oscarssanchez Aug 1, 2022
65171b2
brightcove-video-connect.php phpcs fixes
oscarssanchez Aug 4, 2022
015d546
cli/class-brightcove-cli.php phpcs fixes
oscarssanchez Aug 4, 2022
26a646f
class-bc-admin-media-api.php phpcs fixes
oscarssanchez Aug 4, 2022
3fea880
class-bc-admin-labels-page.php phpcs fixes
oscarssanchez Aug 4, 2022
cf0b1c3
class-bc-admin-menu.php phpcs fixes
oscarssanchez Aug 4, 2022
d7a48b4
class-bc-admin-playlists-page.php phpcs fixes
oscarssanchez Aug 4, 2022
3e70d61
class-bc-admin-settings-page.php
oscarssanchez Aug 4, 2022
3c7f09c
class-bc-admin-sources.php phpcs fixes
oscarssanchez Aug 4, 2022
53ca539
class-bc-admin-user-profile.php phpcs fixes
oscarssanchez Aug 4, 2022
5943efe
class-bc-admin-videos-page.php phpcs fixes
oscarssanchez Aug 4, 2022
d29cde5
class-bc-templates.php phpcs fixes
oscarssanchez Aug 4, 2022
feae4b8
class-bc-api.php phpcs fixes
oscarssanchez Aug 4, 2022
051658b
class-bc-cms-api.php phpcs fixes
oscarssanchez Aug 4, 2022
594c612
class-bc-experiences-api.php phpcs fixes
oscarssanchez Aug 4, 2022
31e1a98
includes/api/class-bc-oauth.php phpcs fixes
oscarssanchez Aug 4, 2022
b2976a1
includes/api/class-bc-player-management-api.php phpcs fixes
oscarssanchez Aug 4, 2022
898975c
includes/api/class-bc-player-management-api2.php phpcs fixes
oscarssanchez Aug 4, 2022
e022ca6
includes/api/class-bc-text-track.php phpcs fixes
oscarssanchez Aug 4, 2022
dad8c04
includes/class-bc-accounts.php phpcs fixes
oscarssanchez Aug 4, 2022
67da919
includes/class-bc-errors.php phpcs fixes
oscarssanchez Aug 4, 2022
df0fd2b
includes/class-bc-experiences-shortcode.php phpcs fixes
oscarssanchez Aug 4, 2022
9808c30
includes/class-bc-in-page-experience-shortcode.php phpcs fixes
oscarssanchez Aug 4, 2022
75d141b
includes/class-bc-labels.php phpcs fixes
oscarssanchez Aug 4, 2022
b196c2e
includes/class-bc-logging.php phpcs fixes
oscarssanchez Aug 4, 2022
e662a3f
includes/class-bc-notification-api.php phpcs fixes
oscarssanchez Aug 4, 2022
0004fcd
includes/class-bc-permissions.php phpcs fixes
oscarssanchez Aug 4, 2022
3888ac5
includes/class-bc-playlist-shortcode.php phpcs fixes
oscarssanchez Aug 4, 2022
e7bf58f
includes/class-bc-setup.php phpcs fixes
oscarssanchez Aug 4, 2022
ef7f50c
includes/class-bc-tags.php phpcs fixes
oscarssanchez Aug 4, 2022
40352ad
includes/class-bc-utility.php phpcs fixes
oscarssanchez Aug 4, 2022
39dc9d9
includes/class-bc-video-shortcode.php phpcs fixes
oscarssanchez Aug 4, 2022
f6ca93b
includes/class-bc-video-upload.php phpcs fixes
oscarssanchez Aug 4, 2022
1728cf2
includes/sync/class-bc-playlists.php phpcs fixes
oscarssanchez Aug 4, 2022
295fc2c
includes/sync/class-bc-videos.php phpcs fixes
oscarssanchez Aug 4, 2022
d01be57
uninstall.php phpcs fixes
oscarssanchez Aug 4, 2022
456df46
Merge branch 'develop' into fix/phpcs
oscarssanchez Aug 4, 2022
82b69f1
Fixes activation error
oscarssanchez Sep 5, 2022
552364b
Fixes bug with old folder ID update
oscarssanchez Sep 5, 2022
db2d1d9
Bump php lint version used
oscarssanchez Sep 21, 2022
db94cfc
Remove unused code
oscarssanchez Sep 21, 2022
1069e77
Align descriptions
oscarssanchez Sep 21, 2022
9158805
Align descriptions
oscarssanchez Sep 21, 2022
ff0df76
Deprecate actions
oscarssanchez Sep 22, 2022
5234eb4
Align docs
oscarssanchez Sep 22, 2022
ae933bc
Specify phpcs rule
oscarssanchez Sep 22, 2022
ab24ae0
Align docs
oscarssanchez Sep 23, 2022
af798f7
Add comma
oscarssanchez Sep 23, 2022
8b6cce4
Remove unused code
oscarssanchez Sep 23, 2022
b261726
Add phpcs rule
oscarssanchez Sep 23, 2022
31b09b8
Deprecate method
oscarssanchez Oct 3, 2022
454cb98
PHPCS fixes
oscarssanchez Oct 3, 2022
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
Prev Previous commit
Next Next commit
brightcove-video-connect.php phpcs fixes
oscarssanchez committed Aug 4, 2022
commit 65171b298087ec9981c49e7000034646b727bbed
4 changes: 2 additions & 2 deletions brightcove-video-connect.php
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@
* License: GPLv2+
* Text Domain: brightcove
* Domain Path: /languages
*
* @package Brightcove_Video_Connect
*/

/**
@@ -83,8 +85,6 @@ function brightcove_deactivate() {
add_action( 'init', array( 'BC_Setup', 'action_init_all' ), 9 ); // Ensures the menu is loaded on all pages.
add_action( 'init', array( 'BC_Notification_API', 'setup' ), 9 );

// add_action( 'brightcove_upgrade', array( 'BC_Notification_API', 'maybe_backport_subscriptions' ) ); // @TODO Verify API as errors don't seem to match the documentation

if ( ! defined( 'WPCOM_IS_VIP_ENV' ) || ! WPCOM_IS_VIP_ENV ) {

// Activation / Deactivation.