Update php to v8.3 and symfony to v7.0

This commit is contained in:
Tim 2023-12-12 23:13:57 +01:00
parent 4989a9f7cc
commit c7c245bf13
4 changed files with 667 additions and 691 deletions

View File

@ -4,7 +4,7 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"prefer-stable": true, "prefer-stable": true,
"require": { "require": {
"php": ">=8.1", "php": ">=8.2",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"czproject/git-php": "^4.1", "czproject/git-php": "^4.1",
@ -12,26 +12,26 @@
"doctrine/doctrine-migrations-bundle": "^3.2", "doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.14", "doctrine/orm": "^2.14",
"league/pipeline": "^1.0", "league/pipeline": "^1.0",
"symfony/console": "6.4.*", "symfony/console": "7.0.*",
"symfony/dotenv": "6.4.*", "symfony/dotenv": "7.0.*",
"symfony/flex": "^2", "symfony/flex": "^2",
"symfony/form": "6.4.*", "symfony/form": "7.0.*",
"symfony/framework-bundle": "6.4.*", "symfony/framework-bundle": "7.0.*",
"symfony/monolog-bundle": "^3.0", "symfony/monolog-bundle": "^3.0",
"symfony/runtime": "6.4.*", "symfony/runtime": "7.0.*",
"symfony/security-bundle": "6.4.*", "symfony/security-bundle": "7.0.*",
"symfony/twig-bundle": "6.4.*", "symfony/twig-bundle": "7.0.*",
"symfony/validator": "6.4.*", "symfony/validator": "7.0.*",
"symfony/yaml": "6.4.*", "symfony/yaml": "7.0.*",
"twig/extra-bundle": "^2.12|^3.0", "twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0" "twig/twig": "^2.12|^3.0"
}, },
"require-dev": { "require-dev": {
"deployer/deployer": "^7.3", "deployer/deployer": "^7.3",
"symfony/debug-bundle": "6.4.*", "symfony/debug-bundle": "7.0.*",
"symfony/maker-bundle": "^1.48", "symfony/maker-bundle": "^1.48",
"symfony/stopwatch": "6.4.*", "symfony/stopwatch": "7.0.*",
"symfony/web-profiler-bundle": "6.4.*" "symfony/web-profiler-bundle": "7.0.*"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {
@ -78,7 +78,7 @@
"extra": { "extra": {
"symfony": { "symfony": {
"allow-contrib": false, "allow-contrib": false,
"require": "6.4.*" "require": "7.0.*"
} }
} }
} }

1326
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -103,7 +103,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
/** /**
* @see UserInterface * @see UserInterface
*/ */
public function eraseCredentials() public function eraseCredentials(): void
{ {
// If you store any temporary, sensitive data on the user, clear it here // If you store any temporary, sensitive data on the user, clear it here
// $this->plainPassword = null; // $this->plainPassword = null;

View File

@ -6,7 +6,7 @@ use CzProject\GitPhp\Git;
class CustomGit extends Git class CustomGit extends Git
{ {
public function open($directory) public function open($directory): CustomGitRepository
{ {
return new CustomGitRepository($directory, $this->runner); return new CustomGitRepository($directory, $this->runner);
} }