Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum to Testbench 9.5 #10

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"require": {
"php": "^8.2",
"laravel/browser-kit-testing": "^7.2",
"orchestra/testbench": "^9.2",
"orchestra/testbench": "^9.5",
"symfony/dom-crawler": "^7.0"
},
"require-dev": {
"laravel/pint": "^1.6",
"phpstan/phpstan": "^1.10.50"
"laravel/pint": "^1.17",
"phpstan/phpstan": "^1.11"
},
"scripts": {
"post-autoload-dump": [
Expand Down
6 changes: 4 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ parameters:
# The level 8 is the highest level
level: 6

checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
ignoreErrors:
# - identifier: missingType.generics
- identifier: missingType.iterableValue

treatPhpDocTypesAsCertain: false
2 changes: 1 addition & 1 deletion tests/RouteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function canSendRequestWithPrefixViaNamedRoute()
#[Test]
public function canSendRequestUsingActionHelper()
{
$crawler = $this->action('GET', sprintf('%s@index', Controller::class));
$crawler = $this->action('GET', \sprintf('%s@index', Controller::class));

$this->assertResponseOk();
$this->assertEquals('Controller@index', $crawler->getContent());
Expand Down