Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 17, 2024
1 parent 66f10ae commit 9f4654f
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@
/behat.yml
/phpspec.yml
/phpunit.xml

###> phpstan/phpstan ###
phpstan.neon
###< phpstan/phpstan ###
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"license": "MIT",
"require": {
"php": "^8.0",
"scaleflex/sylius-filerobot-plugin": "^1.0",
"sylius/mailer-bundle": "^1.8 || ^2.0@beta",
"sylius/sylius": "^1.12",
"sylius/mailer-bundle": "^1.8 || ^2.0@beta",
"symfony/webpack-encore-bundle": "^1.15"
},
"require-dev": {
Expand Down
11 changes: 11 additions & 0 deletions config/packages/nyholm_psr7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'

nyholm.psr7.psr17_factory:
class: Nyholm\Psr7\Factory\Psr17Factory
2 changes: 2 additions & 0 deletions config/packages/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
framework:
workflows: null
8 changes: 8 additions & 0 deletions phpstan.dist.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
parameters:
level: 6
paths:
- bin/
- config/
- public/
- src/
- tests/
36 changes: 36 additions & 0 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@
"ref": "d1227d002b70d1a1f941d91845fcd7ac7fbfc929"
}
},
"nyholm/psr7": {
"version": "1.8",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "1.0",
"ref": "4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2"
},
"files": [
"config/packages/nyholm_psr7.yaml"
]
},
"payum/payum-bundle": {
"version": "2.5",
"recipe": {
Expand All @@ -128,6 +140,18 @@
"ref": "518ac22defa04a8a1d82479ed362e2921487adf0"
}
},
"phpstan/phpstan": {
"version": "1.11",
"recipe": {
"repo": "github.com/symfony/recipes-contrib",
"branch": "main",
"version": "1.0",
"ref": "5e490cc197fb6bb1ae22e5abbc531ddc633b6767"
},
"files": [
"phpstan.dist.neon"
]
},
"phpunit/phpunit": {
"version": "9.6",
"recipe": {
Expand Down Expand Up @@ -400,6 +424,18 @@
"webpack.config.js"
]
},
"symfony/workflow": {
"version": "6.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.3",
"ref": "3b2f8ca32a07fcb00f899649053943fa3d8bbfb6"
},
"files": [
"config/packages/workflow.yaml"
]
},
"willdurand/hateoas-bundle": {
"version": "2.5",
"recipe": {
Expand Down

0 comments on commit 9f4654f

Please sign in to comment.