Skip to content

Commit 77342bf

Browse files
committed
Update dependencies
1 parent d7f1174 commit 77342bf

File tree

4 files changed

+109
-78
lines changed

4 files changed

+109
-78
lines changed

bin/rr-worker

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
declare(strict_types=1);
55

6+
use Composer\InstalledVersions;
7+
68
\define('RR_WORKER_START', \microtime(true));
79

810
\ini_set('display_errors', 'stderr');
@@ -79,7 +81,7 @@ foreach (['../../../..', '../../..', '../..', '..', '../vendor/laravel/laravel']
7981

8082
$app = new \Symfony\Component\Console\Application(
8183
'RoadRunner worker',
82-
\Composer\InstalledVersions::getPrettyVersion('spiral/roadrunner-laravel') ?? 'unknown'
84+
InstalledVersions::getPrettyVersion('spiral/roadrunner-laravel') ?? 'unknown',
8385
);
8486

8587
$app->add(new \Spiral\RoadRunnerLaravel\Console\Commands\StartCommand($base_path));

composer.json

Lines changed: 77 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,82 @@
11
{
2-
"name": "spiral/roadrunner-laravel",
3-
"type": "library",
4-
"description": "RoadRunner: Bridge for Laravel applications",
5-
"keywords": [
6-
"laravel",
7-
"bridge",
8-
"roadrunner"
9-
],
10-
"license": "MIT",
11-
"authors": [
12-
{
13-
"name": "tarampampam",
14-
"homepage": "https://github.com/tarampampam"
15-
}
16-
],
17-
"require": {
18-
"php": "^8.0",
19-
"composer-runtime-api": "^2.0",
20-
"laravel/framework": "~9.33 || ~10.0",
21-
"nyholm/psr7": "^1.5",
22-
"spiral/roadrunner-http": "^2.2 || ^3.0",
23-
"spiral/roadrunner-worker": "^2.2 || ^3.0",
24-
"symfony/psr-http-message-bridge": "^2.1"
25-
},
26-
"require-dev": {
27-
"guzzlehttp/guzzle": "^6.3 || ~7.0",
28-
"inertiajs/inertia-laravel": "^0.6",
29-
"tightenco/ziggy": "^1.4.0",
30-
"laravel/laravel": "~9.1 || ~10.0",
31-
"laravel/scout": "~9.0 || ~10.0",
32-
"laravel/socialite": "^5.0",
33-
"laravel/telescope": "^4.5",
34-
"livewire/livewire": "^2.7",
35-
"mockery/mockery": "^1.4.4",
36-
"phpstan/phpstan": "~1.6",
37-
"phpunit/phpunit": "^9.5.10",
38-
"brick/math": "^0.10"
39-
},
40-
"autoload": {
41-
"psr-4": {
42-
"Spiral\\RoadRunnerLaravel\\": "src/"
43-
},
44-
"files": [
45-
"helpers/helpers.php"
46-
]
47-
},
48-
"autoload-dev": {
49-
"psr-4": {
50-
"Spiral\\RoadRunnerLaravel\\Tests\\": "tests/"
51-
}
2+
"name": "spiral/roadrunner-laravel",
3+
"type": "library",
4+
"description": "RoadRunner: Bridge for Laravel applications",
5+
"keywords": [
6+
"laravel",
7+
"bridge",
8+
"roadrunner"
9+
],
10+
"license": "MIT",
11+
"authors": [
12+
{
13+
"name": "tarampampam",
14+
"homepage": "https://github.com/tarampampam"
15+
}
16+
],
17+
"require": {
18+
"php": "^8.2",
19+
"composer-runtime-api": "^2.0",
20+
"laravel/framework": "~11.0 || ~12.0",
21+
"nyholm/psr7": "^1.5",
22+
"spiral/roadrunner-http": "^3.0",
23+
"spiral/roadrunner-worker": "^3.0",
24+
"symfony/psr-http-message-bridge": "~6.0 || ~7.0"
25+
},
26+
"require-dev": {
27+
"spiral/code-style": "^2.2.2",
28+
"rector/rector": "^2.0",
29+
"guzzlehttp/guzzle": "^7.0",
30+
"inertiajs/inertia-laravel": "^2.0",
31+
"tightenco/ziggy": "^1.4.0",
32+
"laravel/laravel": "^12.0",
33+
"laravel/scout": "^10.0",
34+
"laravel/socialite": "^5.0",
35+
"laravel/telescope": "^v5.0",
36+
"livewire/livewire": "^v3.6",
37+
"mockery/mockery": "^1.6",
38+
"phpstan/phpstan": "^2.1",
39+
"phpunit/phpunit": "^10.0",
40+
"brick/math": "^0.12"
41+
},
42+
"autoload": {
43+
"psr-4": {
44+
"Spiral\\RoadRunnerLaravel\\": "src/"
5245
},
53-
"bin": [
54-
"bin/rr-worker"
46+
"files": [
47+
"helpers/helpers.php"
48+
]
49+
},
50+
"autoload-dev": {
51+
"psr-4": {
52+
"Spiral\\RoadRunnerLaravel\\Tests\\": "tests/"
53+
}
54+
},
55+
"bin": [
56+
"bin/rr-worker"
57+
],
58+
"scripts": {
59+
"phpunit": "@php ./vendor/bin/phpunit --no-coverage",
60+
"phpunit-cover": "@php ./vendor/bin/phpunit",
61+
"phpstan": "@php ./vendor/bin/phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
62+
"test": [
63+
"@phpstan",
64+
"@phpunit"
5565
],
56-
"scripts": {
57-
"phpunit": "@php ./vendor/bin/phpunit --no-coverage",
58-
"phpunit-cover": "@php ./vendor/bin/phpunit",
59-
"phpstan": "@php ./vendor/bin/phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
60-
"test": [
61-
"@phpstan",
62-
"@phpunit"
63-
],
64-
"test-cover": [
65-
"@phpstan",
66-
"@phpunit-cover"
67-
]
68-
},
69-
"extra": {
70-
"laravel": {
71-
"providers": [
72-
"Spiral\\RoadRunnerLaravel\\ServiceProvider"
73-
]
74-
}
75-
},
76-
"support": {
77-
"issues": "https://github.com/roadrunner-php/laravel-bridge/issues",
78-
"source": "https://github.com/roadrunner-php/laravel-bridge"
66+
"test-cover": [
67+
"@phpstan",
68+
"@phpunit-cover"
69+
]
70+
},
71+
"extra": {
72+
"laravel": {
73+
"providers": [
74+
"Spiral\\RoadRunnerLaravel\\ServiceProvider"
75+
]
7976
}
77+
},
78+
"support": {
79+
"issues": "https://github.com/roadrunner-php/laravel-bridge/issues",
80+
"source": "https://github.com/roadrunner-php/laravel-bridge"
81+
}
8082
}

config/roadrunner.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@
100100

101101
'reset_providers' => [
102102
...Defaults::providersToReset(),
103-
Illuminate\Auth\AuthServiceProvider::class, // is not required for Laravel >= v8.35
104-
Illuminate\Pagination\PaginationServiceProvider::class, // is not required for Laravel >= v8.35
105103
],
106104

107105
/*

rector.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Rector\Config\RectorConfig;
6+
use Rector\Set\ValueObject\LevelSetList;
7+
use Rector\Set\ValueObject\SetList;
8+
9+
return static function (RectorConfig $rectorConfig): void {
10+
$rectorConfig->paths([
11+
__DIR__ . '/bin',
12+
__DIR__ . '/helpers',
13+
__DIR__ . '/fixes',
14+
__DIR__ . '/config',
15+
__DIR__ . '/src',
16+
__DIR__ . '/tests',
17+
]);
18+
19+
// Register rules for PHP 8.4 migration
20+
$rectorConfig->sets([
21+
SetList::PHP_82,
22+
LevelSetList::UP_TO_PHP_82,
23+
]);
24+
25+
// Skip vendor directories
26+
$rectorConfig->skip([
27+
__DIR__ . '/vendor',
28+
]);
29+
};

0 commit comments

Comments
 (0)