mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Merge pull request #6004 from nexxai/master
This commit is contained in:
commit
639bba031f
7 changed files with 7 additions and 7 deletions
|
@ -346,7 +346,7 @@ class ContentProxy
|
|||
* parse_url arrays.
|
||||
*
|
||||
* As array_diff_assoc only computes changes to go from the left array
|
||||
* to the right one, we make two differents arrays to have both
|
||||
* to the right one, we make two different arrays to have both
|
||||
* directions. We merge these two arrays and sort keys before passing
|
||||
* the result to the switch.
|
||||
*
|
||||
|
|
|
@ -33,7 +33,7 @@ class CryptoProxy
|
|||
/**
|
||||
* Ensure the given value will be crypted.
|
||||
*
|
||||
* @param string $secretValue Secret valye to crypt
|
||||
* @param string $secretValue Secret value to crypt
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,7 @@ use Wallabag\UserBundle\Entity\User;
|
|||
* This class intend to detect the active theme for the logged in user.
|
||||
* It will retrieve the configured theme of the user.
|
||||
*
|
||||
* If no user where logged in, it will returne the default theme
|
||||
* If no user where logged in, it will return the default theme
|
||||
*/
|
||||
class DetectActiveTheme implements DeviceDetectionInterface
|
||||
{
|
||||
|
|
|
@ -167,7 +167,7 @@ class EntriesExport
|
|||
|
||||
$book->setAuthor($this->author, $this->author);
|
||||
|
||||
// I hope this is a non existant address :)
|
||||
// I hope this is a non-existent address :)
|
||||
$book->setPublisher('wallabag', 'wallabag');
|
||||
// Strictly not needed as the book date defaults to time().
|
||||
$book->setDate(time());
|
||||
|
|
|
@ -242,7 +242,7 @@ class EntryRepository extends EntityRepository
|
|||
$entryAlias = 'e' . $i;
|
||||
$tagAlias = 't' . $i;
|
||||
|
||||
// Complexe queries to ensure multiple tags are associated to an entry
|
||||
// Complex queries to ensure multiple tags are associated to an entry
|
||||
// https://stackoverflow.com/a/6638146/569101
|
||||
$qb->andWhere($qb->expr()->in(
|
||||
'e.id',
|
||||
|
|
|
@ -18,7 +18,7 @@ class RedisWorkerCommand extends ContainerAwareCommand
|
|||
->setName('wallabag:import:redis-worker')
|
||||
->setDescription('Launch Redis worker')
|
||||
->addArgument('serviceName', InputArgument::REQUIRED, 'Service to use: wallabag_v1, wallabag_v2, pocket, readability, pinboard, delicious, firefox, chrome or instapaper')
|
||||
->addOption('maxIterations', '', InputOption::VALUE_OPTIONAL, 'Number of iterations before stoping', false)
|
||||
->addOption('maxIterations', '', InputOption::VALUE_OPTIONAL, 'Number of iterations before stopping', false)
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ class DownloadImagesTest extends TestCase
|
|||
$this->assertFalse($res);
|
||||
}
|
||||
|
||||
public function testEnsureOnlyFirstOccurenceIsReplaced()
|
||||
public function testEnsureOnlyFirstOccurrenceIsReplaced()
|
||||
{
|
||||
$httpMockClient = new HttpMockClient();
|
||||
$httpMockClient->addResponse(new Response(200, ['content-type' => 'image/png'], file_get_contents(__DIR__ . '/../fixtures/unnamed.png')));
|
||||
|
|
Loading…
Reference in a new issue