Skip to content

Commit 1d6b420

Browse files
committed
Update metafiles
1 parent b5fedc0 commit 1d6b420

File tree

5 files changed

+120
-118
lines changed

5 files changed

+120
-118
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ indent_style = space
88
indent_size = 4
99
trim_trailing_whitespace = true
1010

11-
[*.{yml, yaml, sh, conf, neon*}]
11+
[*.{yml,yaml,sh,conf,neon*}]
1212
indent_size = 2
1313

1414
[Makefile]

.gitattributes

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
* text=auto
22

3-
/.github export-ignore
3+
/.* export-ignore
44
/tests export-ignore
55
/[Dd]ocker* export-ignore
6-
/.* export-ignore
7-
/phpunit.xml* export-ignore
6+
/*.xml export-ignore
7+
/*.xml.dist export-ignore
88
/phpstan.* export-ignore
99
/Makefile export-ignore
10+
/rector.php export-ignore

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test: ## Execute php tests and linters
2929
docker-compose run $(RUN_APP_ARGS) app composer test
3030

3131
test-cover: ## Execute php tests with coverage
32-
docker-compose run --rm --user "0:0" -e 'XDEBUG_MODE=coverage' app sh -c 'docker-php-ext-enable xdebug && su $(shell whoami) -s /bin/sh -c "composer phpunit-cover"'
32+
docker-compose run --rm --user "0:0" -e 'XDEBUG_MODE=coverage' app sh -c 'docker-php-ext-enable xdebug && su $(shell whoami) -s /bin/sh -c "composer phpunit:cover"'
3333

3434
shell: ## Start shell into container with php
3535
docker-compose run $(RUN_APP_ARGS) app sh

composer.json

Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,103 @@
11
{
2-
"name": "roadrunner-php/laravel-bridge",
3-
"type": "library",
4-
"description": "Laravel integration for RoadRunner with support for HTTP, Jobs, gRPC, and Temporal plugins - going beyond Octane's capabilities",
5-
"keywords": [
6-
"laravel",
7-
"bridge",
8-
"roadrunner",
9-
"temporal",
10-
"grpc",
11-
"queue",
12-
"cache",
13-
"http"
14-
],
15-
"funding": [
16-
{
17-
"type": "github",
18-
"url": "https://github.com/sponsors/roadrunner-server"
19-
}
20-
],
21-
"license": "MIT",
22-
"authors": [
23-
{
24-
"name": "butschster",
25-
"homepage": "https://github.com/butschster"
2+
"name": "roadrunner-php/laravel-bridge",
3+
"type": "library",
4+
"description": "Laravel integration for RoadRunner with support for HTTP, Jobs, gRPC, and Temporal plugins - going beyond Octane's capabilities",
5+
"keywords": [
6+
"laravel",
7+
"bridge",
8+
"roadrunner",
9+
"temporal",
10+
"grpc",
11+
"queue",
12+
"cache",
13+
"http"
14+
],
15+
"funding": [
16+
{
17+
"type": "github",
18+
"url": "https://github.com/sponsors/roadrunner-server"
19+
}
20+
],
21+
"license": "MIT",
22+
"authors": [
23+
{
24+
"name": "butschster",
25+
"homepage": "https://github.com/butschster"
26+
},
27+
{
28+
"name": "roxblnfk",
29+
"homepage": "https://github.com/roxblnfk"
30+
},
31+
{
32+
"name": "tarampampam",
33+
"homepage": "https://github.com/tarampampam"
34+
}
35+
],
36+
"require": {
37+
"php": "^8.2",
38+
"spiral/roadrunner-kv": "^4.0",
39+
"spiral/roadrunner-jobs": "^4.0",
40+
"spiral/roadrunner-grpc": "^3.5",
41+
"laravel/octane": "^2.9",
42+
"spiral/roadrunner-http": "^3.0",
43+
"spiral/roadrunner-worker": "^3.0",
44+
"temporal/sdk": "^2.0",
45+
"internal/dload": "^1.1"
2646
},
27-
{
28-
"name": "roxblnfk",
29-
"homepage": "https://github.com/roxblnfk"
47+
"require-dev": {
48+
"laravel/framework": "^12.0",
49+
"spiral/code-style": "^2.2.2",
50+
"rector/rector": "^2.0",
51+
"guzzlehttp/guzzle": "^7.0",
52+
"mockery/mockery": "^1.6",
53+
"phpstan/phpstan": "^2.1",
54+
"phpunit/phpunit": "^10.0"
3055
},
31-
{
32-
"name": "tarampampam",
33-
"homepage": "https://github.com/tarampampam"
34-
}
35-
],
36-
"require": {
37-
"php": "^8.2",
38-
"spiral/roadrunner-kv": "^4.0",
39-
"spiral/roadrunner-jobs": "^4.0",
40-
"spiral/roadrunner-grpc": "^3.5",
41-
"laravel/octane": "^2.9",
42-
"spiral/roadrunner-http": "^3.0",
43-
"spiral/roadrunner-worker": "^3.0",
44-
"temporal/sdk": "^2.0",
45-
"internal/dload": "^1.1"
46-
},
47-
"require-dev": {
48-
"laravel/framework": "^12.0",
49-
"spiral/code-style": "^2.2.2",
50-
"rector/rector": "^2.0",
51-
"guzzlehttp/guzzle": "^7.0",
52-
"mockery/mockery": "^1.6",
53-
"phpstan/phpstan": "^2.1",
54-
"phpunit/phpunit": "^10.0"
55-
},
56-
"autoload": {
57-
"psr-4": {
58-
"Spiral\\RoadRunnerLaravel\\": "src/"
59-
}
60-
},
61-
"autoload-dev": {
62-
"psr-4": {
63-
"Spiral\\RoadRunnerLaravel\\Tests\\": "tests/"
64-
}
65-
},
66-
"bin": [
67-
"bin/rr-worker"
68-
],
69-
"scripts": {
70-
"get:rr": "dload get rr",
71-
"get:temporal": "dload get temporal",
72-
"get:protoc": "dload get protoc protoc-gen-php-grpc",
73-
"cs-check": "vendor/bin/php-cs-fixer fix --dry-run",
74-
"cs-fix": "vendor/bin/php-cs-fixer fix",
75-
"refactor": "rector process --config=rector.php",
76-
"refactor:ci": "rector process --config=rector.php --dry-run --ansi",
77-
"phpunit": "@php ./vendor/bin/phpunit --no-coverage",
78-
"phpunit-cover": "@php ./vendor/bin/phpunit",
79-
"phpstan": "@php ./vendor/bin/phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
80-
"test": [
81-
"@phpstan",
82-
"@phpunit"
56+
"autoload": {
57+
"psr-4": {
58+
"Spiral\\RoadRunnerLaravel\\": "src/"
59+
}
60+
},
61+
"autoload-dev": {
62+
"psr-4": {
63+
"Spiral\\RoadRunnerLaravel\\Tests\\": "tests/"
64+
}
65+
},
66+
"bin": [
67+
"bin/rr-worker"
8368
],
84-
"test-cover": [
85-
"@phpstan",
86-
"@phpunit-cover"
87-
]
88-
},
89-
"extra": {
90-
"laravel": {
91-
"providers": [
92-
"Spiral\\RoadRunnerLaravel\\ServiceProvider",
93-
"Spiral\\RoadRunnerLaravel\\Queue\\QueueServiceProvider",
94-
"Spiral\\RoadRunnerLaravel\\Cache\\CacheServiceProvider",
95-
"Spiral\\RoadRunnerLaravel\\Temporal\\TemporalServiceProvider"
96-
]
69+
"scripts": {
70+
"get:rr": "dload get rr",
71+
"get:temporal": "dload get temporal",
72+
"get:protoc": "dload get protoc protoc-gen-php-grpc",
73+
"cs:check": "php-cs-fixer fix --dry-run",
74+
"cs:fix": "php-cs-fixer fix",
75+
"refactor": "rector process --config=rector.php",
76+
"refactor:ci": "rector process --config=rector.php --dry-run --ansi",
77+
"phpunit": "phpunit --no-coverage",
78+
"phpunit-cover": "phpunit",
79+
"phpstan": "phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
80+
"test": "phpunit --color=always --testdox",
81+
"test:unit": "phpunit --color=always --testsuite=Unit",
82+
"test:feat": "phpunit --color=always --testsuite=Feature",
83+
"test-cover": [
84+
"phpstan",
85+
"@putenv XDEBUG_MODE=coverage",
86+
"phpunit --coverage-clover=runtime/phpunit/logs/clover.xml --color=always"
87+
]
88+
},
89+
"extra": {
90+
"laravel": {
91+
"providers": [
92+
"Spiral\\RoadRunnerLaravel\\ServiceProvider",
93+
"Spiral\\RoadRunnerLaravel\\Queue\\QueueServiceProvider",
94+
"Spiral\\RoadRunnerLaravel\\Cache\\CacheServiceProvider",
95+
"Spiral\\RoadRunnerLaravel\\Temporal\\TemporalServiceProvider"
96+
]
97+
}
98+
},
99+
"support": {
100+
"issues": "https://github.com/roadrunner-php/laravel-bridge/issues",
101+
"source": "https://github.com/roadrunner-php/laravel-bridge"
97102
}
98-
},
99-
"support": {
100-
"issues": "https://github.com/roadrunner-php/laravel-bridge/issues",
101-
"source": "https://github.com/roadrunner-php/laravel-bridge"
102-
}
103103
}

phpunit.xml.dist

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5-
colors="true">
6-
5+
cacheResultFile="runtime/phpunit/result.cache"
6+
colors="true"
7+
stderr="true"
8+
displayDetailsOnTestsThatTriggerWarnings="true"
9+
displayDetailsOnTestsThatTriggerDeprecations="true"
10+
>
711
<testsuites>
812
<testsuite name="Unit">
913
<directory>./tests/Unit</directory>
@@ -12,25 +16,22 @@
1216
<directory>./tests/Feature</directory>
1317
</testsuite>
1418
</testsuites>
15-
16-
<coverage includeUncoveredFiles="false" processUncoveredFiles="true">
19+
<source>
1720
<include>
18-
<directory suffix=".php">./src</directory>
21+
<directory>src</directory>
1922
</include>
2023
<exclude>
21-
<directory>./vendor</directory>
22-
<directory>./tests</directory>
24+
<directory>tests</directory>
2325
</exclude>
26+
</source>
27+
<coverage>
2428
<report>
25-
<html outputDirectory="./coverage/html"/>
26-
<xml outputDirectory="./coverage/xml"/>
27-
<clover outputFile="./coverage/clover.xml"/>
28-
<text outputFile="php://stdout" showUncoveredFiles="false"/>
29+
<html outputDirectory="runtime/coverage"/>
30+
<text outputFile="runtime/coverage.txt"/>
31+
<clover outputFile="runtime/logs/clover.xml"/>
2932
</report>
3033
</coverage>
31-
32-
<php>
33-
<server name="APP_KEY" value="base64:+hY09mlBag/d7Qhq2SjE/i2iUzZBS1dGObLqcHZU2Ac=" force="true"/>
34-
<server name="APP_URL" value="http://unit-test" force="true"/>
35-
</php>
34+
<logging>
35+
<junit outputFile="runtime/report.junit.xml"/>
36+
</logging>
3637
</phpunit>

0 commit comments

Comments
 (0)