Skip to content

Commit 1cf4c58

Browse files
committed
Update v2.x-automation-test for micro/plugin-serializer
1 parent bad8596 commit 1cf4c58

File tree

2 files changed

+8
-42
lines changed

2 files changed

+8
-42
lines changed

SerializerPlugin.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212

1313
class SerializerPlugin implements DependencyProviderInterface
1414
{
15-
/**
16-
* {@inheritdoc}
17-
*/
1815
public function provideDependencies(Container $container): void
1916
{
2017
$container->register(SerializerFacadeInterface::class, function (

composer.json

Lines changed: 8 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,52 +14,21 @@
1414
}
1515
],
1616
"require": {
17-
"micro/kernel": "^1.6"
18-
},
19-
"require-dev": {
20-
"ergebnis/composer-normalize": "^2.29",
21-
"friendsofphp/php-cs-fixer": "^3.13",
22-
"micro/kernel-app": "^1.6",
23-
"phpstan/phpstan": "^1.9",
24-
"phpunit/php-code-coverage": "^9.2",
25-
"phpunit/phpunit": "^9.5",
26-
"vimeo/psalm": "^5.4"
17+
"micro/kernel": "^2.0"
2718
},
19+
"minimum-stability": "dev",
2820
"suggest": {
2921
"micro/plugin-serializer-symfony": "Symfony serializer provider for Micro PHP Framework"
3022
},
3123
"autoload": {
3224
"psr-4": {
33-
"Micro\\Plugin\\Serializer\\": "src/"
34-
}
35-
},
36-
"autoload-dev": {
37-
"psr-4": {
38-
"Micro\\Plugin\\Serializer\\Test\\": "tests/"
39-
}
25+
"Micro\\Plugin\\Serializer\\": "/"
26+
},
27+
"exclude-from-classmap": [
28+
"/Tests/"
29+
]
4030
},
4131
"config": {
42-
"allow-plugins": {
43-
"ergebnis/composer-normalize": true
44-
}
45-
},
46-
"scripts": {
47-
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text",
48-
"php-cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --using-cache=no",
49-
"php-cs-try": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no",
50-
"phpstan": "./vendor/bin/phpstan analyze --no-progress",
51-
"phpunit": "./vendor/bin/phpunit",
52-
"psalm": "./vendor/bin/psalm --no-progress --show-info=true",
53-
"statics": [
54-
"@phpstan",
55-
"@psalm",
56-
"@php-cs-try"
57-
],
58-
"test": [
59-
"@statics",
60-
"composer validate --strict",
61-
"composer normalize --dry-run",
62-
"@coverage"
63-
]
32+
"sort-packages": true
6433
}
6534
}

0 commit comments

Comments
 (0)