Skip to content

Commit c485ba0

Browse files
committed
Fixing issue with scrutinizer and CI
1 parent 20d3398 commit c485ba0

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Upload Scrutinizer coverage
4242
uses: sudo-bot/action-scrutinizer@latest
4343
# Do not run this step on forked versions of the main repository (example: contributor forks)
44-
if: github.repository == 'runopencodeexit/query-resources-loader-bundle'
44+
if: github.repository == 'runopencode/query-resources-loader-bundle'
4545
with:
4646
cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
4747

.php-cs-fixer.dist.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
->in([
88
__DIR__ . '/src',
99
__DIR__ . '/tests',
10-
])->notPath([
11-
'/tests\/Resources\/App\/var\//',
10+
])
11+
->notPath([
12+
'/\/var\//',
1213
]);
1314

1415
$config = new PhpCsFixer\Config();

src/RunOpenCode/Bundle/QueryResourcesLoader/Executor/Dbal/DbalParameters.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ final public function date(string $name, ?\DateTimeInterface $value): self
7575

7676
final public function dateImmutable(string $name, ?\DateTimeInterface $value): self
7777
{
78-
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
78+
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
7979

8080
return $this->set($name, $value, Types::DATE_IMMUTABLE);
8181
}
@@ -92,7 +92,7 @@ final public function dateTime(string $name, ?\DateTimeInterface $value): self
9292

9393
final public function dateTimeImmutable(string $name, ?\DateTimeInterface $value): self
9494
{
95-
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
95+
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
9696

9797
return $this->set($name, $value, Types::DATETIME_IMMUTABLE);
9898
}
@@ -104,7 +104,7 @@ final public function dateTimeTz(string $name, ?\DateTimeInterface $value): self
104104

105105
final public function dateTimeTzImmutable(string $name, ?\DateTimeInterface $value): self
106106
{
107-
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
107+
$value = null !== $value && !$value instanceof \DateTimeImmutable ? \DateTimeImmutable::createFromInterface($value) : $value;
108108

109109
return $this->set($name, $value, Types::DATETIMETZ_IMMUTABLE);
110110
}

vendor-bin/dev/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"phploc/phploc": "^7.0",
99
"phpmd/phpmd": "^2.12",
1010
"vimeo/psalm": "^5.6",
11-
"friendsofphp/php-cs-fixer": "^3.8",
11+
"friendsofphp/php-cs-fixer": "^v3.62",
1212
"psalm/plugin-phpunit": "^0.18",
1313
"psalm/plugin-symfony": "^5.0",
1414
"matthiasnoback/symfony-dependency-injection-test": "^4.3",

0 commit comments

Comments
 (0)