1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Merge pull request #6113 from wallabag/dependabot/composer/friendsofphp/php-cs-fixer-3.4.0

Bump friendsofphp/php-cs-fixer from 2.19.3 to 3.4.0
This commit is contained in:
Jérémy Benoist 2022-12-13 10:30:58 +01:00 committed by GitHub
commit a57c815ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 51 additions and 142 deletions

View file

@ -9,7 +9,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
abstract class WallabagMigration extends AbstractMigration implements ContainerAwareInterface
{
const UN_ESCAPED_TABLE = true;
public const UN_ESCAPED_TABLE = true;
/**
* @var ContainerInterface

View file

@ -21,8 +21,8 @@ use Wallabag\UserBundle\Entity\User;
*/
class Config
{
const REDIRECT_TO_HOMEPAGE = 0;
const REDIRECT_TO_CURRENT_PAGE = 1;
public const REDIRECT_TO_HOMEPAGE = 0;
public const REDIRECT_TO_CURRENT_PAGE = 1;
/**
* @var int

View file

@ -10,7 +10,7 @@ use Wallabag\CoreBundle\Entity\Entry;
*/
class EntryDeletedEvent extends Event
{
const NAME = 'entry.deleted';
public const NAME = 'entry.deleted';
protected $entry;

View file

@ -10,7 +10,7 @@ use Wallabag\CoreBundle\Entity\Entry;
*/
class EntrySavedEvent extends Event
{
const NAME = 'entry.saved';
public const NAME = 'entry.saved';
protected $entry;

View file

@ -19,7 +19,7 @@ use Symfony\Component\HttpFoundation\File\MimeType\MimeTypeExtensionGuesser;
class DownloadImages
{
const REGENERATE_PICTURES_QUALITY = 80;
public const REGENERATE_PICTURES_QUALITY = 80;
private $client;
private $baseFolder;

View file

@ -47,7 +47,7 @@ class TagsAssigner
$label = trim(mb_convert_case($label, \MB_CASE_LOWER));
// avoid empty tag
if (0 === \strlen($label)) {
if ('' === $label) {
continue;
}

View file

@ -383,7 +383,7 @@ class EntryRepository extends ServiceEntityRepository
* Remove tags from all user entries.
*
* @param int $userId
* @param Array<Tag> $tags
* @param array<Tag> $tags
*/
public function removeTags($userId, $tags)
{

View file

@ -14,7 +14,7 @@ use Wallabag\CoreBundle\Entity\Entry;
class PocketImport extends AbstractImport
{
const NB_ELEMENTS = 5000;
public const NB_ELEMENTS = 5000;
/**
* @var HttpMethodsClient
*/