Skip to content

Commit

Permalink
Merge branch 'main' into renovate/major-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-georgiev authored Jan 21, 2024
2 parents 577ab39 + aeb0698 commit 2727df4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 5 additions & 2 deletions ci/php-cs-fixer/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

declare(strict_types=1);

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

$basePath = __DIR__.'/../../';

$finder = PhpCsFixer\Finder::create()
$finder = Finder::create()
->in($basePath.'ci')
->in($basePath.'src')
->in($basePath.'tests');

$config = new PhpCsFixer\Config();
$config = new Config();

return $config
->setRules(
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"doctrine/annotations": "^2.0",
"doctrine/orm": "~2.5||~3.0",
"ekino/phpstan-banned-code": "^1.0",
"friendsofphp/php-cs-fixer": "^3.46.0",
"friendsofphp/php-cs-fixer": "^3.48.0",
"php-coveralls/php-coveralls": "^2.7.0",
"phpstan/phpstan": "^1.10.56",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpunit/phpunit": "^10.5.7",
"phpunit/phpunit": "^10.5.8",
"qossmic/deptrac-shim": "^1.0.2",
"rector/rector": "^0.19",
"symfony/cache": "^6.4||^7.0"
Expand Down
6 changes: 2 additions & 4 deletions tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ public static function provideValidTransformations(): array
'and some here',
<<<'END'
''"quotes"'' ain't no """worry""", '''right''' Alexander O'Vechkin?
END
,
END,
'back-slashing\double-slashing\\\hooking though',
'and "double-quotes"',
],
'postgresValue' => <<<'END'
{1,2,"text","some text here","and some here","''\"quotes\"'' ain't no \"\"\"worry\"\"\", '''right''' Alexander O'Vechkin?","back-slashing\\double-slashing\\\\hooking though","and \"double-quotes\""}
END
,
END,
],
];
}
Expand Down

0 comments on commit 2727df4

Please sign in to comment.