Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: 8.2
php-version: 8.4

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
php_version: 8.2
php_version: 8.4
path: vendor
key: ${{ runner.os }}
restore-keys: |
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=8.2",
"php": ">=8.4",
"micro/kernel-app": "^1.6",
"micro/autowire": "^1.6",
"micro/plugin-configuration-helper": "^1.6",
Expand All @@ -23,12 +23,12 @@
"micro/plugin-twig-webpack-encore": "^1.6"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.29",
"phpunit/phpunit": "^10.1",
"vimeo/psalm": "^5.15",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.13",
"phpunit/php-code-coverage": "^10.1"
"ergebnis/composer-normalize": "^2",
"phpunit/phpunit": "^12",
"vimeo/psalm": "^6",
"phpstan/phpstan": "^2",
"friendsofphp/php-cs-fixer": "^3",
"phpunit/php-code-coverage": "^12"
},
"autoload": {
"psr-4": {
Expand Down
11 changes: 6 additions & 5 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
</projectFiles>

<issueHandlers>
<UnnecessaryVarAnnotation>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<directory name="src/"/>
<directory name="src/" />
</errorLevel>
</UnnecessaryVarAnnotation>
<InaccessibleProperty>
</PossiblyUnusedMethod>
<UnusedClass>
<errorLevel type="suppress">
<directory name="src/"/>
</errorLevel>
</InaccessibleProperty>
</UnusedClass>
</issueHandlers>
</psalm>
1 change: 1 addition & 0 deletions src/Blog/BlogPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class BlogPlugin implements RouteProviderPluginInterface, TwigTemplatePluginInte
{
use TwigTemplatePluginTrait;

#[\Override]
public function provideRoutes(HttpFacadeInterface $httpFacade): iterable
{
yield $httpFacade
Expand Down
4 changes: 2 additions & 2 deletions src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

$basedir = realpath(__DIR__.'/../');
if (!$basedir) {
throw new \RuntimeException('Base path can not be resolved.');
throw new RuntimeException('Base path can not be resolved.');
}

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

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

Expand Down
2 changes: 1 addition & 1 deletion tests/tools/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.16"
"friendsofphp/php-cs-fixer": "^3"
}
}
2 changes: 1 addition & 1 deletion tests/tools/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require-dev": {
"phpstan/phpstan": "^1.10"
"phpstan/phpstan": "^2"
}
}
2 changes: 1 addition & 1 deletion tests/tools/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require-dev": {
"vimeo/psalm": "^5.11"
"vimeo/psalm": "^6"
}
}
Loading