for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class LinkedinAuthenticator extends Authenticator
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
public static function get_name()
return 'Linkedin';
}
public static function get_login_form(Controller $controller)
return new LinkedinLoginForm(
$controller,
'LoginForm'
);
public static function authenticate($RAW_data, Form $form = null)
return singleton('LinkedinCallback')->loginUser();
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.