Skip to content

Commit f127653

Browse files
authored
Merge pull request #14 from Micro-PHP/1.6.4
v1.6.4 php84
2 parents e56622b + 9ea8a5c commit f127653

File tree

8 files changed

+21
-19
lines changed

8 files changed

+21
-19
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
uses: shivammathur/setup-php@v2
2121
with:
2222
coverage: none
23-
php-version: 8.2
23+
php-version: 8.4
2424

2525
- name: Cache Composer packages
2626
id: composer-cache
2727
uses: actions/cache@v3
2828
with:
29-
php_version: 8.2
29+
php_version: 8.4
3030
path: vendor
3131
key: ${{ runner.os }}
3232
restore-keys: |

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=8.2",
13+
"php": ">=8.4",
1414
"micro/kernel-app": "^1.6",
1515
"micro/autowire": "^1.6",
1616
"micro/plugin-configuration-helper": "^1.6",
@@ -23,12 +23,12 @@
2323
"micro/plugin-twig-webpack-encore": "^1.6"
2424
},
2525
"require-dev": {
26-
"ergebnis/composer-normalize": "^2.29",
27-
"phpunit/phpunit": "^10.1",
28-
"vimeo/psalm": "^5.15",
29-
"phpstan/phpstan": "^1.10",
30-
"friendsofphp/php-cs-fixer": "^3.13",
31-
"phpunit/php-code-coverage": "^10.1"
26+
"ergebnis/composer-normalize": "^2",
27+
"phpunit/phpunit": "^12",
28+
"vimeo/psalm": "^6",
29+
"phpstan/phpstan": "^2",
30+
"friendsofphp/php-cs-fixer": "^3",
31+
"phpunit/php-code-coverage": "^12"
3232
},
3333
"autoload": {
3434
"psr-4": {

psalm.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
</projectFiles>
1515

1616
<issueHandlers>
17-
<UnnecessaryVarAnnotation>
17+
<PossiblyUnusedMethod>
1818
<errorLevel type="suppress">
19-
<directory name="src/"/>
19+
<directory name="src/" />
2020
</errorLevel>
21-
</UnnecessaryVarAnnotation>
22-
<InaccessibleProperty>
21+
</PossiblyUnusedMethod>
22+
<UnusedClass>
2323
<errorLevel type="suppress">
24+
<directory name="src/"/>
2425
</errorLevel>
25-
</InaccessibleProperty>
26+
</UnusedClass>
2627
</issueHandlers>
2728
</psalm>

src/Blog/BlogPlugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class BlogPlugin implements RouteProviderPluginInterface, TwigTemplatePluginInte
1414
{
1515
use TwigTemplatePluginTrait;
1616

17+
#[\Override]
1718
public function provideRoutes(HttpFacadeInterface $httpFacade): iterable
1819
{
1920
yield $httpFacade

src/Kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
$basedir = realpath(__DIR__.'/../');
1010
if (!$basedir) {
11-
throw new \RuntimeException('Base path can not be resolved.');
11+
throw new RuntimeException('Base path can not be resolved.');
1212
}
1313

1414
require_once $basedir.'/vendor/autoload.php';
1515

16-
return function () use ($basedir): \Micro\Framework\Kernel\KernelInterface {
16+
return function () use ($basedir): Micro\Framework\Kernel\KernelInterface {
1717
$applicationConfiguration = new class($basedir) extends DefaultApplicationConfiguration {
1818
private Dotenv $dotenv;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require-dev": {
3-
"friendsofphp/php-cs-fixer": "^3.16"
3+
"friendsofphp/php-cs-fixer": "^3"
44
}
55
}

tests/tools/phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require-dev": {
3-
"phpstan/phpstan": "^1.10"
3+
"phpstan/phpstan": "^2"
44
}
55
}

tests/tools/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require-dev": {
3-
"vimeo/psalm": "^5.11"
3+
"vimeo/psalm": "^6"
44
}
55
}

0 commit comments

Comments
 (0)