Skip to content

Commit ea38d8d

Browse files
authored
Merge pull request #4 from ujwaldhakal/add-tests
Added tests
2 parents 3f98922 + 8168b62 commit ea38d8d

11 files changed

+2566
-81
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
.idea
44
/.vscode/
55
/.php-cs-fixer.php
6-
/.php-cs-fixer.cache
6+
/.php-cs-fixer.cache
7+
.phpunit.result.cache
8+
.php_cs.cache

.php-cs-fixer.dist.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
$finder = (new PhpCsFixer\Finder())
66
->in([
77
__DIR__ . '/src',
8+
__DIR__ . '/tests',
89
]);
910

1011
return (new PhpCsFixer\Config())

composer.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"Ujwaldhakal\\OpentracingMessengerBundle\\": "src/"
1212
}
1313
},
14+
"autoload-dev": {
15+
"psr-4": {
16+
"Ujwaldhakal\\OpentracingMessengerBundle\\Tests\\": "tests/"
17+
}
18+
},
1419
"license": "MIT",
1520
"authors": [
1621
{
@@ -19,6 +24,8 @@
1924
}
2025
],
2126
"require-dev": {
22-
"friendsofphp/php-cs-fixer": "v2.19.0"
27+
"friendsofphp/php-cs-fixer": "v2.19.0",
28+
"phpunit/phpunit": "^9.5",
29+
"symfony/messenger": "^6.1"
2330
}
2431
}

0 commit comments

Comments
 (0)