1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +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(); $finder = \PhpCsFixer\Finder::create();
foreach ($paths as $path) { foreach ($paths as $path) {
if (is_file($path)) { if (is_file($path)) {
$finder = $finder->path($path); $finder = $finder->append([$path]);
} else { } else {
$finder = $finder->in($path); $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 org\bovigo\vfs\vfsStream;
use Phake; use Phake;
/** /**
* @covers \JKingWeb\Arsse\Db\SQLite3\Driver<extended> * @covers \JKingWeb\Arsse\Db\SQLite3\Driver<extended>
* @covers \JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder */ * @covers \JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder */
class TestDbDriverCreationSQLite3 extends Test\AbstractTest { class TestDbDriverCreationSQLite3 extends Test\AbstractTest {

View file

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

View file

@ -5,7 +5,7 @@ namespace JKingWeb\Arsse;
use JKingWeb\Arsse\Misc\Date; use JKingWeb\Arsse\Misc\Date;
use Phake; use Phake;
/** /**
* @covers \JKingWeb\Arsse\Feed * @covers \JKingWeb\Arsse\Feed
* @covers \JKingWeb\Arsse\Feed\Exception */ * @covers \JKingWeb\Arsse\Feed\Exception */
class TestFeed extends Test\AbstractTest { 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: This is a so-called router for the the internal PHP Web server:
<http://php.net/manual/en/features.commandline.webserver.php> <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 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: which include the following data:
- Response content - Response content