Skip to content

Commit

Permalink
chore: bumps dependencies and fixes static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed May 1, 2023
1 parent 97898a0 commit fe3c7d7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
]
},
"require-dev": {
"pestphp/pest-dev-tools": "^2.7.0",
"pestphp/pest-dev-tools": "^2.8.0",
"symfony/process": "^6.2.10"
},
"minimum-stability": "stable",
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ parameters:
reportUnmatchedIgnoredErrors: true

ignoreErrors:
- "#has a nullable return type declaration.#"
- "#Language construct isset\\(\\) should not be used.#"
- "#is not allowed to extend#"
- "#is concrete, but does not have a Test suffix#"
Expand All @@ -20,4 +21,3 @@ parameters:
- "# with null as default value#"
- "#has parameter \\$closure with default value.#"
- "#has parameter \\$description with default value.#"
- "#Method Pest\\\\Support\\\\Reflection::getParameterClassName\\(\\) has a nullable return type declaration.#"
3 changes: 2 additions & 1 deletion tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@
✓ failures 5
✓ failures 6
✓ failures 7
✓ failures 8
✓ failures with custom message
✓ not failures
✓ closure missing parameter
Expand Down Expand Up @@ -1033,4 +1034,4 @@
PASS Tests\Visual\Version
✓ 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)
2 changes: 1 addition & 1 deletion tests/Visual/Parallel.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

test('parallel', function () use ($run) {
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');
})->skipOnWindows();

Expand Down

0 comments on commit fe3c7d7

Please sign in to comment.