From 12e10f48f3f53616c0060662e7ff04aebf52e70f Mon Sep 17 00:00:00 2001 From: steel <mael.acier@ensiie.fr> Date: Sat, 18 Jan 2025 01:26:44 +0100 Subject: [PATCH] update composer.json to require PHP 8.4; add new index.html and oauth2.php files; remove old index.php and web/oauth2.php --- composer.json | 4 +++- web/index.php => index.html | 4 ++-- web/oauth2.php => oauth2.php | 0 web/oidc.php => oidc.php | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename web/index.php => index.html (69%) rename web/oauth2.php => oauth2.php (100%) rename web/oidc.php => oidc.php (100%) diff --git a/composer.json b/composer.json index 761f929..04907e4 100644 --- a/composer.json +++ b/composer.json @@ -6,5 +6,7 @@ "name": "steel" } ], - "require": {} + "require": { + "php": "^8.4" + } } diff --git a/web/index.php b/index.html similarity index 69% rename from web/index.php rename to index.html index d93966b..f4cd961 100644 --- a/web/index.php +++ b/index.html @@ -10,7 +10,7 @@ <body> <main> - <button><a href="oauth2.php">Version OAuth 2</a></button> - <button><a href="oidc.php">Version OpenID Connect</a></button> + <a href="oauth2.php"><button></button>Version OAuth 2</button></a> + <a href="oidc.php"><button></button>Version OpenID Connect</button></a> </main> </body> \ No newline at end of file diff --git a/web/oauth2.php b/oauth2.php similarity index 100% rename from web/oauth2.php rename to oauth2.php diff --git a/web/oidc.php b/oidc.php similarity index 100% rename from web/oidc.php rename to oidc.php -- GitLab