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": {
"php": "8.2.*"
"php": "8.3.*"
},
"require-dev": {
"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",
"This file is @generated automatically"
],
"content-hash": "83517a77e0f61abacc8332b1d9565a72",
"content-hash": "b043ead93643b0ecaa96f11a4d86f225",
"packages": [],
"packages-dev": [
{
@ -3584,8 +3584,8 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": "8.2.*"
"php": "8.3.*"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}

View file

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