Update to PHP 8.3

This commit is contained in:
Daniel Siepmann 2024-02-14 12:44:21 +01:00
parent c634827af7
commit 4429e25a79
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@
} }
}, },
"require": { "require": {
"php": "8.2.*" "php": "8.3.*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^10.0", "phpunit/phpunit": "^10.0",

6
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "83517a77e0f61abacc8332b1d9565a72", "content-hash": "b043ead93643b0ecaa96f11a4d86f225",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -3584,8 +3584,8 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": "8.2.*" "php": "8.3.*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.6.0"
} }

View file

@ -4,8 +4,8 @@ let
projectInstall = pkgs.writeShellApplication { projectInstall = pkgs.writeShellApplication {
name = "project-install"; name = "project-install";
runtimeInputs = [ runtimeInputs = [
pkgs.php82 pkgs.php83
pkgs.php82Packages.composer pkgs.php83Packages.composer
projectTest projectTest
]; ];
text = '' text = ''
@ -16,7 +16,7 @@ let
projectTest = pkgs.writeShellApplication { projectTest = pkgs.writeShellApplication {
name = "project-test"; name = "project-test";
runtimeInputs = [ runtimeInputs = [
pkgs.php82 pkgs.php83
]; ];
text = '' text = ''
./vendor/bin/phpunit ./vendor/bin/phpunit
@ -26,7 +26,7 @@ let
projectRun = pkgs.writeShellApplication { projectRun = pkgs.writeShellApplication {
name = "project-run"; name = "project-run";
runtimeInputs = [ runtimeInputs = [
pkgs.php82 pkgs.php83
]; ];
text = '' text = ''
php -S 127.0.0.1:8080 -t public php -S 127.0.0.1:8080 -t public
@ -38,8 +38,8 @@ let
pkgs.git pkgs.git
pkgs.rsync pkgs.rsync
# Missing ssh # Missing ssh
pkgs.php82 pkgs.php83
pkgs.php82Packages.composer pkgs.php83Packages.composer
projectInstall projectInstall
]; ];
text = '' text = ''
@ -71,8 +71,8 @@ let
in pkgs.mkShell { in pkgs.mkShell {
name = "Fediverse-Feed-Wrappers"; name = "Fediverse-Feed-Wrappers";
buildInputs = [ buildInputs = [
pkgs.php82 pkgs.php83
pkgs.php82Packages.composer pkgs.php83Packages.composer
projectInstall projectInstall
projectTest projectTest
projectRun projectRun