forked from loafle/openapi-generator-original
* [Slim] Add Basic Authentication Middleware User needs to add own implementation to verifyCredentials method in AuthBasic.php. * [Slim] Update README template I'm not sure about `middlewareSrcPath` variable. I'll fix it in following PRs if path is broken. Hope that notice in README catches attention and most of users will read it. * Revert "[Slim] Update README template" This reverts commit204ee02fd8. * Revert "[Slim] Add Basic Authentication Middleware" This reverts commit6a8e03079a. * [Slim] Add "tuupola/slim-basic-auth" package Package "tuupola/slim-basic-auth" 3.1.0 requires PHP 7, that's why I set it's version to ^3.0.0 in Composer. Minimum version will be 3.0.0-rc.1 which supports PHP 5.5. I've tested build with PHP 7, it would be nice to check build with PHP 5.5 someday. * [Slim] Update README template Not sure about forward slash in path to SlimRouter class. I will fix it in upcoming PRs if necessary. * [Slim] Refresh samples
26 lines
862 B
XML
26 lines
862 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.8/phpunit.xsd"
|
|
bootstrap="./vendor/autoload.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
stopOnFailure="false">
|
|
>
|
|
<testsuites>
|
|
<testsuite name="Apis">
|
|
<directory>./test/Api</directory>
|
|
</testsuite>
|
|
<testsuite name="Models">
|
|
<directory>./test/Model</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">./lib//Api</directory>
|
|
<directory suffix=".php">./lib//Model</directory>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit> |