1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

More CS fixes

This commit is contained in:
J. King 2017-08-29 11:16:37 -04:00
parent f7e50fe95d
commit f351dd059f
5 changed files with 8 additions and 8 deletions

View file

@ -17,9 +17,9 @@ $rules = [
$finder = \PhpCsFixer\Finder::create();
foreach ($paths as $path) {
if (is_file($path)) {
$finder = $finder->path($path);
$finder = $finder->append([$path]);
} else {
$finder = $finder->in($path);
}
}
return \PhpCsFixer\Config::create()->setRules($rules)->setFinder($finder);
return \PhpCsFixer\Config::create()->setRules($rules)->setFinder($finder);

View file

@ -6,7 +6,7 @@ use JKingWeb\Arsse\Arsse;
use org\bovigo\vfs\vfsStream;
use Phake;
/**
/**
* @covers \JKingWeb\Arsse\Db\SQLite3\Driver<extended>
* @covers \JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder */
class TestDbDriverCreationSQLite3 extends Test\AbstractTest {

View file

@ -5,7 +5,7 @@ namespace JKingWeb\Arsse;
use JKingWeb\Arsse\Db\Transaction;
use Phake;
/**
/**
* @covers \JKingWeb\Arsse\Db\Transaction */
class TestTransaction extends Test\AbstractTest {
protected $drv;

View file

@ -5,7 +5,7 @@ namespace JKingWeb\Arsse;
use JKingWeb\Arsse\Misc\Date;
use Phake;
/**
/**
* @covers \JKingWeb\Arsse\Feed
* @covers \JKingWeb\Arsse\Feed\Exception */
class TestFeed extends Test\AbstractTest {

View file

@ -9,11 +9,11 @@ require_once __DIR__."/../bootstrap.php";
This is a so-called router for the the internal PHP Web server:
<http://php.net/manual/en/features.commandline.webserver.php>
It is used to test feed parsing in a controlled environment,
It is used to test feed parsing in a controlled environment,
answering specific requests used in tests with the data required
to pass the test.
to pass the test.
The parameters of the responses are kept in separate files,
The parameters of the responses are kept in separate files,
which include the following data:
- Response content