File: FakeCheck.php

package info (click to toggle)
google-recaptcha 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: php: 1,115; makefile: 9
file content (14 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

use ReCaptcha\RequestParameters;

/**
 * Sends POST requests to the reCAPTCHA service.
 */
class FakeCheck extends ReCaptcha\RequestMethod\Post
{
    public function submit(RequestParameters $params)
    {
        return '{"success": true, "hostname": "debian.local"}';
    }
}