Skip to content

Commit 542c7e9

Browse files
authored
fix tests with last updates (#301)
2 parents e488e48 + 278d02f commit 542c7e9

File tree

5 files changed

+15
-1386
lines changed

5 files changed

+15
-1386
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ vendor/
44
.phpunit.result.cache
55
tests/cache/
66
tests/Bundle/Resources/var
7+
tests/Bundle/Resources/config/reference.php
78
tools/phpstan/cache/
89
cache/
910
site/

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
->in(__DIR__ . '/src')
55
->in(__DIR__ . '/tests')
66
->append([__DIR__ . '/castor.php'])
7-
->exclude(['cache', 'Bundle/Resources/var'])
7+
->exclude(['cache', 'Bundle/Resources/var', 'Bundles/Resources/config'])
88
;
99

1010
return (new PhpCsFixer\Config())

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
"symfony/console": "^6.4 || ^7.0",
4343
"symfony/finder": "^6.4 || ^7.2",
4444
"symfony/filesystem": "^6.4 || ^7.0",
45-
"symfony/framework-bundle": "*",
45+
"symfony/framework-bundle": "^6.4 || ^7.0",
4646
"symfony/http-client": "^6.4 || ^7.0",
4747
"symfony/http-kernel": "^6.4 || ^7.0",
48-
"symfony/serializer": "*",
48+
"symfony/serializer": "^6.4 || ^7.0",
4949
"symfony/stopwatch": "^6.4 || ^7.0",
5050
"symfony/twig-bundle": "^6.4 || ^7.0",
5151
"symfony/uid": "^6.4 || ^7.0",
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
api_platform:
2-
title: automapper
3-
description: 'Automapper API'
4-
version: 1.0.0
5-
mapping:
6-
paths:
7-
- '%kernel.project_dir%/App/Api/Entity'
8-
formats:
9-
jsonld: [ 'application/ld+json' ]
10-
json: [ 'application/json' ]
1+
api_platform:
2+
title: automapper
3+
description: 'Automapper API'
4+
version: 1.0.0
5+
defaults: []
6+
mapping:
7+
paths:
8+
- '%kernel.project_dir%/App/Api/Entity'
9+
formats:
10+
jsonld: [ 'application/ld+json' ]
11+
json: [ 'application/json' ]
1112
html: [ 'text/html' ]

0 commit comments

Comments
 (0)