Showing 2 of 2 total issues
Method testFacebook
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testFacebook() {
$fullBaseUrl = Configure::read('App.fullBaseUrl') ?: FULL_BASE_URL;
// Text link
$title = __d('social_media', 'Share on Facebook');
Method testTwitter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testTwitter() {
// Text link
$title = __d('social_media', 'Share on Twitter');
$urlParameters = [
'url' => 'your-url',