Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
scrs_zdenek committed Jan 24, 2025
1 parent 9e49fd2 commit 24e3614
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none

- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
Expand All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none

- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none

- run: composer install --no-progress --prefer-dist
Expand Down
6 changes: 3 additions & 3 deletions app/Core/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Factory class to create forms with optional protection based on user login status.
*/
class Factory
readonly class Factory
{
/**
* Constructor to initialize dependencies.
Expand All @@ -21,8 +21,8 @@ class Factory
* @param User $user User object to check login status.
*/
public function __construct(
private readonly Translator $translator,
private readonly User $user,
private Translator $translator,
private User $user,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=8.1 <8.4",
"php": ">=8.3 <9",
"nette/robot-loader": "^4.0",
"latte/latte": "^3.0",
"tracy/tracy": "^2.9",
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# image from docker hub
FROM php:8.3-apache
FROM php:8.4-apache
MAINTAINER Zdeněk Papučík <zdenek.papucik@gmail.com>

# build-time customization
Expand Down
8 changes: 5 additions & 3 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// This is the default state for this file, which must be overwritten by the composer.
echo 'If you see this message, run the composer and install the necessary dependencies.';
exit(1);
// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInite1ca441f57b62eceebe458a684ba574f::getLoader();

0 comments on commit 24e3614

Please sign in to comment.