Skip to content

Commit 5a0a2d6

Browse files
committed
Update v2.x-automation-test for micro/plugin-oauth2-client
1 parent f9308f5 commit 5a0a2d6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Provider/Locator/ProviderPluginLocator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@
2020
/**
2121
* @author Stanislau Komar <[email protected]>
2222
*/
23-
class ProviderPluginLocator implements ProviderPluginLocatorInterface
23+
readonly class ProviderPluginLocator implements ProviderPluginLocatorInterface
2424
{
2525
/**
2626
* @param KernelInterface $kernel
2727
*/
28-
public function __construct(private readonly KernelInterface $kernel)
29-
{
28+
public function __construct(
29+
private KernelInterface $kernel
30+
) {
3031
}
3132

3233
/**

Provider/Locator/ProviderPluginLocatorFactory.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@
1818
/**
1919
* @author Stanislau Komar <[email protected]>
2020
*/
21-
class ProviderPluginLocatorFactory implements ProviderPluginLocatorFactoryInterface
21+
readonly class ProviderPluginLocatorFactory implements ProviderPluginLocatorFactoryInterface
2222
{
2323
/**
2424
* @param KernelInterface $kernel
2525
*/
2626
public function __construct(
27-
private readonly KernelInterface $kernel
28-
)
29-
{
27+
private KernelInterface $kernel
28+
) {
3029
}
3130

3231
/**

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"name": "micro/plugin-oauth2-client",
33
"description": "Micro Framework: OAuth2 client based on league/oauth2-client",
4+
"license": "MIT",
45
"type": "micro-library",
6+
"authors": [
7+
{
8+
"name": "Stanislau Komar",
9+
"email": "[email protected]"
10+
}
11+
],
512
"require": {
613
"micro/kernel": "^2.0",
714
"micro/plugin-locator": "^2.0",
815
"league/oauth2-client": "^2"
916
},
10-
"license": "MIT",
17+
"minimum-stability": "dev",
1118
"autoload": {
1219
"psr-4": {
1320
"Micro\\Plugin\\OAuth2\\Client\\": "/"
1421
}
15-
},
16-
"authors": [
17-
{
18-
"name": "Stanislau Komar",
19-
"email": "[email protected]"
20-
}
21-
],
22-
"minimum-stability": "dev"
22+
}
2323
}

0 commit comments

Comments
 (0)