Skip to content

Commit 5de0ace

Browse files
Stephan Wentzpl-github
authored andcommitted
fix(deps): Update dependencies
1 parent 27cc7c3 commit 5de0ace

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

composer.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"brainbits/phpstan-rules": "^3.0",
1818
"dama/doctrine-test-bundle": "^6.0|^7.0",
1919
"doctrine/dbal": "^3.4",
20-
"doctrine/event-manager": "^1.1.1",
21-
"ergebnis/phpstan-rules": "^1.0",
20+
"ergebnis/phpstan-rules": "^2.2.0",
2221
"jangregor/phpstan-prophecy": "^1.0",
2322
"mikey179/vfsstream": "^1.6.11",
2423
"monolog/monolog": "^2.3|^3.0",
@@ -30,17 +29,17 @@
3029
"riverline/multipart-parser": "^2.0",
3130
"slam/phpstan-extensions": "^6.0",
3231
"squizlabs/php_codesniffer": "^3.7.1",
33-
"symfony/browser-kit": "^5.4|^6.0",
34-
"symfony/console": "^5.3|^6.0",
35-
"symfony/dependency-injection": "^5.3|^6.0",
36-
"symfony/filesystem": "^5.3|^6.0",
37-
"symfony/framework-bundle": "^5.4|^6.0",
38-
"symfony/http-client": "^6.0",
39-
"symfony/http-foundation": "^5.3.7|^6.0",
40-
"symfony/mime": "^6.2",
41-
"symfony/security-core": "^5.3|^6.0",
42-
"symfony/security-csrf": "^6.2",
43-
"symfony/uid": "^6.2",
32+
"symfony/browser-kit": "^6.4|^7.0",
33+
"symfony/console": "^6.4|^7.0",
34+
"symfony/dependency-injection": "^6.4|^7.0",
35+
"symfony/filesystem": "^6.4|^7.0",
36+
"symfony/framework-bundle": "^6.4|^7.0",
37+
"symfony/http-client": "^6.4|^7.0",
38+
"symfony/http-foundation": "^6.4|^7.0",
39+
"symfony/mime": "^6.4|^7.0",
40+
"symfony/security-core": "^6.4|^7.0",
41+
"symfony/security-csrf": "^6.4|^7.0",
42+
"symfony/uid": "^6.4|^7.0",
4443
"thecodingmachine/phpstan-safe-rule": "^1.1",
4544
"thecodingmachine/phpstan-strict-rules": "^1.0"
4645
},

phpstan.neon.dist

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,26 @@ parameters:
1010
- src/HttpClientMock/LegacyCallbackHandler.php # needed because of unknown classes when installed with monolog 2.x
1111
- src/ZipContents/ZipContents.php # remove after updating to thecodingmachine/safe >= 2.0
1212
ignoreErrors:
13-
# - '#Class DateTimeImmutable is unsafe to use#' # reactivate after updating to thecodingmachine/safe >= 2.0
1413
- '#Constructor in .* has parameter .* with default value#'
1514
- '#In method "Brainbits\\FunctionalTestHelpers\\Snapshot\\IsXml::.*", caught "Throwable" must be rethrown. Either catch a more specific exception or add a "throw" clause in the "catch" block to propagate the exception.#'
1615
- '#In method "Brainbits\\FunctionalTestHelpers\\Tests\\Uuid\\UuidTraitTest::.*", caught "Throwable" must be rethrown. Either catch a more specific exception or add a "throw" clause in the "catch" block to propagate the exception.#'
17-
#- '#Method .* has a nullable return type declaration#'
18-
#- '#Method .* has parameter .* with a nullable type declaration#'
19-
- '#Method .* has parameter .* with null as default value#'
2016
- '#Method Brainbits\\FunctionalTestHelpers\\Tests\\.*Test::assertMatches.*Snapshot\(\) is protected, but since the containing class is final, it can be private.#'
2117
- '#Method Brainbits\\FunctionalTestHelpers\\Tests\\.*Test::setUpSnapshot\(\) is protected, but since the containing class is final, it can be private.#'
2218
- '#Method Brainbits\\FunctionalTestHelpers\\Tests\\Request\\RequestTraitTest::.*\(\) is protected, but since the containing class is final, it can be private#'
2319
- '#Method Brainbits\\FunctionalTestHelpers\\Tests\\Uuid\\UuidTraitTest::.*\(\) is protected, but since the containing class is final, it can be private#'
2420
- '#Method Brainbits\\FunctionalTestHelpers\\Tests\\ZipContents\\ZipContentsTraitTest::.*\(\) is protected, but since the containing class is final, it can be private#'
2521
ergebnis:
26-
classesAllowedToBeExtended:
27-
- Monolog\Handler\AbstractProcessingHandler
28-
- PHPUnit\Framework\Constraint\Constraint
29-
- RuntimeException
22+
noNullableReturnTypeDeclaration:
23+
enabled: false
24+
noParameterWithNullableTypeDeclaration:
25+
enabled: false
26+
noParameterWithNullDefaultValue:
27+
enabled: false
28+
noExtends:
29+
classesAllowedToBeExtended:
30+
- Monolog\Handler\AbstractProcessingHandler
31+
- PHPUnit\Framework\Constraint\Constraint
32+
- RuntimeException
3033

3134
includes:
3235
- %rootDir%/../../brainbits/phpstan-rules/rules.neon

src/Schema/SchemaTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Brainbits\FunctionalTestHelpers\Schema;
66

7-
use Doctrine\Common\EventManager;
87
use Doctrine\DBAL\Connection;
98
use Doctrine\DBAL\DriverManager;
109
use PHPUnit\Framework\TestCase;
@@ -45,8 +44,6 @@ final protected function fixtureFromNewConnection( // @phpstan-ignore-line
4544
'driver' => 'pdo_sqlite',
4645
'memory' => true,
4746
],
48-
null,
49-
new EventManager(),
5047
);
5148

5249
$this->fixtureFromConnection($connection, $schemaBuilder, $dataBuilder, $buildData);

0 commit comments

Comments
 (0)