chore: bumps dependencies and fixes static analysis

This commit is contained in:
Nuno Maduro
2023-05-02 00:51:01 +01:00
parent 97898a0a8e
commit fe3c7d72bd
4 changed files with 5 additions and 4 deletions

View File

@ -49,7 +49,7 @@
] ]
}, },
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^2.7.0", "pestphp/pest-dev-tools": "^2.8.0",
"symfony/process": "^6.2.10" "symfony/process": "^6.2.10"
}, },
"minimum-stability": "stable", "minimum-stability": "stable",

View File

@ -12,6 +12,7 @@ parameters:
reportUnmatchedIgnoredErrors: true reportUnmatchedIgnoredErrors: true
ignoreErrors: ignoreErrors:
- "#has a nullable return type declaration.#"
- "#Language construct isset\\(\\) should not be used.#" - "#Language construct isset\\(\\) should not be used.#"
- "#is not allowed to extend#" - "#is not allowed to extend#"
- "#is concrete, but does not have a Test suffix#" - "#is concrete, but does not have a Test suffix#"
@ -20,4 +21,3 @@ parameters:
- "# with null as default value#" - "# with null as default value#"
- "#has parameter \\$closure with default value.#" - "#has parameter \\$closure with default value.#"
- "#has parameter \\$description with default value.#" - "#has parameter \\$description with default value.#"
- "#Method Pest\\\\Support\\\\Reflection::getParameterClassName\\(\\) has a nullable return type declaration.#"

View File

@ -657,6 +657,7 @@
✓ failures 5 ✓ failures 5
✓ failures 6 ✓ failures 6
✓ failures 7 ✓ failures 7
✓ failures 8
✓ failures with custom message ✓ failures with custom message
✓ not failures ✓ not failures
✓ closure missing parameter ✓ closure missing parameter
@ -1033,4 +1034,4 @@
PASS Tests\Visual\Version PASS Tests\Visual\Version
✓ visual snapshot of help command output ✓ visual snapshot of help command output
Tests: 1 deprecated, 3 warnings, 4 incomplete, 1 notice, 8 todos, 17 skipped, 714 passed (1722 assertions) Tests: 1 deprecated, 3 warnings, 4 incomplete, 1 notice, 8 todos, 17 skipped, 715 passed (1727 assertions)

View File

@ -18,7 +18,7 @@ $run = function () {
test('parallel', function () use ($run) { test('parallel', function () use ($run) {
expect($run('--exclude-group=integration')) expect($run('--exclude-group=integration'))
->toContain('Tests: 1 deprecated, 3 warnings, 4 incomplete, 1 notice, 8 todos, 14 skipped, 702 passed (1707 assertions)') ->toContain('Tests: 1 deprecated, 3 warnings, 4 incomplete, 1 notice, 8 todos, 14 skipped, 703 passed (1712 assertions)')
->toContain('Parallel: 3 processes'); ->toContain('Parallel: 3 processes');
})->skipOnWindows(); })->skipOnWindows();