Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deprecate WP_Auth0_Metrics #554

Merged
merged 1 commit into from
Oct 4, 2018
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
12 changes: 11 additions & 1 deletion lib/WP_Auth0_Metrics.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
<?php
// TODO: Deprecate
/**
* @deprecated - 3.8.0, not used and no replacement provided.
*
* @codeCoverageIgnore - Deprecated
*/
class WP_Auth0_Metrics {

protected $a0_options;

/**
* @deprecated - 3.8.0, not used and no replacement provided.
*/
public function __construct( WP_Auth0_Options $a0_options ) {
// phpcs:ignore
trigger_error( sprintf( __( 'Method %s is deprecated.', 'wp-auth0' ), __METHOD__ ), E_USER_DEPRECATED );

$this->a0_options = $a0_options;
}

Expand Down