Skip to content

Commit

Permalink
Update cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Dec 14, 2021
1 parent 5135227 commit 8019e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PHP_CS_FIXER_VERSION=v3.3.2
PHP_CS_FIXER_VERSION=v3.4.0

###########
# Install #
Expand Down Expand Up @@ -67,4 +67,4 @@ fix-php-cs-fixer:

lint-php-cs-fixer: php-cs-fixer.phar
lint-php-cs-fixer:
./php-cs-fixer.phar fix --no-interaction --dry-run --diff
./php-cs-fixer.phar fix --no-interaction --dry-run --diff -vvv
4 changes: 2 additions & 2 deletions src/Bridge/Doctrine/DBAL/Types/TypesDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function getTypeClassname(string $class): string

private function dump(array $types): string
{
array_walk($types, static function (& $type) {
array_walk($types, static function (&$type) {
$type = array_pad($type, 3, null);
});

Expand Down Expand Up @@ -107,7 +107,7 @@ private static function getMarker(): string
return 'ELAO_ENUM_DT_DBAL';
}

private function appendDefaultOnNullMethods(string & $code, string $enumClass, \BackedEnum|int|string|null $defaultOnNull): void
private function appendDefaultOnNullMethods(string &$code, string $enumClass, \BackedEnum|int|string|null $defaultOnNull): void
{
if ($defaultOnNull !== null) {
$defaultOnNullCode = var_export(
Expand Down

0 comments on commit 8019e3d

Please sign in to comment.