You've already forked Php-Template
Some checks failed
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Has started running
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Has been cancelled
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Has been cancelled
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Has been cancelled
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Has been cancelled
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Has been cancelled
17 lines
343 B
PHP
17 lines
343 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\Tests\Controllers;
|
|
|
|
use Nyholm\Psr7\ServerRequest;
|
|
use Siteworxpro\Tests\Unit;
|
|
|
|
abstract class AbstractController extends Unit
|
|
{
|
|
protected function getMockRequest(string $method = 'GET', string $uri = '/'): ServerRequest
|
|
{
|
|
return new ServerRequest($method, $uri);
|
|
}
|
|
}
|