diff --git a/Sources/config/config.php b/Sources/config/config.php index d63ad388..3d030f3b 100755 --- a/Sources/config/config.php +++ b/Sources/config/config.php @@ -1,10 +1,6 @@ load(); - use Shared\Log; $dotenv = Dotenv::createUnsafeImmutable(__DIR__,'.env'); diff --git a/Sources/src/app/controller/AthleteController.php b/Sources/src/app/controller/AthleteController.php index 901fe26f..54d49e87 100644 --- a/Sources/src/app/controller/AthleteController.php +++ b/Sources/src/app/controller/AthleteController.php @@ -1,63 +1,62 @@ 'John', - 'prenom' => 'Doe', - 'img' => 'john_doe', - 'username' => 'johndoe', - ], - [ - 'nom' => 'Alice', - 'prenom' => 'Smith', - 'img' => 'alice_smith', - 'username' => 'alicesmith', - ], - ]; - // if(!Validation::val_string($name)){ - try { - //code... - $model->userMgr->addFriend($username); - return $this->render('./page/addfriend.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => $utiliArray, - 'infoUser' => [], - 'exos' => [], - 'member' => [], - 'responce' => "Notification d'ajout envoyée à $username" - ]); - } catch (\Throwable $th) { - //throw $th; - // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); - } - // } +// #[Route(path: '/search-user', name: 'search-user', methods: ['GET'])] +// public function searchUser(string $username, IRequest $req): Response +// { +// $taberror = []; +// $utiliArray = [ +// [ +// 'nom' => 'John', +// 'prenom' => 'Doe', +// 'img' => 'john_doe', +// 'username' => 'johndoe', +// ], +// [ +// 'nom' => 'Alice', +// 'prenom' => 'Smith', +// 'img' => 'alice_smith', +// 'username' => 'alicesmith', +// ], +// ]; +// // if(!Validation::val_string($name)){ +// try { +// //code... +// // $model->userMgr->getUser($name); +// return $this->render('./page/addfriend.html.twig',[ +// 'css' => $this->preference->getCookie(), +// 'pp' => "test2", +// 'user' => "Doe", +// 'role' => "Athlète", +// 'friendship' => [], +// 'analyzes' => [], +// 'mails' => [], +// 'users' => $utiliArray, +// 'infoUser' => [], +// 'exos' => [], +// 'member' => [], +// 'responce' => "Notification d'ajout envoyée à $username" +// ]); +// } catch (\Throwable $th) { +// //throw $th; +// // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); +// } +// // } - } -} +// } + // #[Route(path: '/analyses', name: 'analyses', methods: ['GET'])] // public function analyses(): Response // { diff --git a/Sources/src/app/controller/CoachController.php b/Sources/src/app/controller/CoachController.php index 669248f9..e867f09c 100644 --- a/Sources/src/app/controller/CoachController.php +++ b/Sources/src/app/controller/CoachController.php @@ -1,31 +1,31 @@ coachManager = $dataManager->coachMgr; - $this->security = $security; - } +// public function __construct(DataManager $dataManager, Security $security) +// { +// $this->coachManager = $dataManager->coachMgr; +// $this->security = $security; +// } // #[Route(path: '/', name: 'home', methods: ['GET'])] // public function index(): Response @@ -44,7 +44,6 @@ // 'member' => [] // ]); // } -// // #[Route('/global-stats', name: 'coach_global_stats', methods: ['GET'])] // public function globalStats(): Response // { @@ -52,194 +51,10 @@ // return $this->render('coach/global_stats.html.twig'); // } - #[Route(path: '/exercice', name: 'exercice', methods: ['GET'])] // 8 - public function exercice(): Response - { - return $this->render('./page/exercice.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => [], - 'infoUser' => [], - 'exos' => [], - 'member' => [] - ]); - } - - #[Route(path: '/exercices', name: 'exercices', methods: ['POST'])] // 8 - public function exercices(String $type, String $intensite, String $date, IRequest $req): Response - { - $exercicesArray = [ - [ - 'date' => $date, - 'type' => $type, - 'intensite' => $intensite, - 'status' => 'A venur', - ] - ]; - return $this->render('./page/exercice.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => [], - 'infoUser' => [], - 'exos' => $exercicesArray, - 'member' => [] - ]); - } - - #[Route(path: '/search-member', name: 'search-member', methods: ['GET'])] - public function searchMember(string $username, IRequest $req): Response - { - $taberror = []; - // FILTER - $utiliArray = [ - [ - 'nom' => 'John', - 'prenom' => 'Doe', - 'img' => 'john_doe', - 'username' => 'johndoe', - ], - [ - 'nom' => 'Alice', - 'prenom' => 'Smith', - 'img' => 'alice_smith', - 'username' => 'alicesmith', - ], - ]; - // if(!Validation::val_string($name)){ - try { - //code... - // $model->userMgr->addFriend($name); - return $this->render('./page/addmember.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => $utiliArray, - 'infoUser' => [], - 'exos' => [], - 'member' => [], - 'responce' => "Notification d'ajout envoyée à $username" - ]); - } catch (\Throwable $th) { - //throw $th; - // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); - } - // } - - } - - #[Route(path: '/add-member', name: 'add-member', methods: ['POST'])] - public function addmember(string $username, IRequest $req): Response - { - $taberror = []; - $utiliArray = [ - [ - 'nom' => 'John', - 'prenom' => 'Doe', - 'img' => 'john_doe', - 'username' => 'johndoe', - ], - [ - 'nom' => 'Alice', - 'prenom' => 'Smith', - 'img' => 'alice_smith', - 'username' => 'alicesmith', - ], - ]; - // if(!Validation::val_string($name)){ - try { - //code... - // $model->userMgr->addFriend($name); - return $this->render('./page/addmember.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => $utiliArray, - 'infoUser' => [], - 'exos' => [], - 'member' => [], - 'responce' => "Notification d'ajout envoyée à $username" - ]); - } catch (\Throwable $th) { - //throw $th; - // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); - } - // } - - } - - #[Route(path: '/member', name: 'member', methods: ['GET'])] - public function member(): Response - { - $utiliArray = [ - [ - 'nom' => 'John', - 'prenom' => 'Doe', - 'img' => 'john_doe', - 'username' => 'johndoe', - ], - [ - 'nom' => 'Alice', - 'prenom' => 'Smith', - 'img' => 'alice_smith', - 'username' => 'alicesmith', - ], - ]; - return $this->render('./page/addmember.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => $utiliArray, - 'infoUser' => [], - 'exos' => [], - 'member' => [], - ]); - } - - #[Route(path: '/coaching', name: 'coaching', methods: ['GET'])] - public function coaching(): Response - { - return $this->render('./page/coaching.html.twig',[ - 'css' => $this->preference->getCookie(), - 'pp' => "test2", - 'user' => "Doe", - 'role' => "Athlète", - 'friendship' => [], - 'analyzes' => [], - 'mails' => [], - 'users' => [], - 'infoUser' => [], - 'exos' => [], - 'member' => [] - ]); - } - - -// #[Route(path: '/coaching', name: 'coaching', methods: ['GET'])] -// public function coaching(): Response +// #[Route(path: '/exercice', name: 'exercice', methods: ['GET'])] // 8 +// public function exercice(): Response // { -// return $this->render('./page/coaching.html.twig',[ +// return $this->render('./page/exercice.html.twig',[ // 'css' => $this->preference->getCookie(), // 'pp' => "test2", // 'user' => "Doe", @@ -253,13 +68,30 @@ // 'member' => [] // ]); // } -// + +// #[Route(path: '/coaching', name: 'coaching', methods: ['GET'])] +// public function coaching(): Response +// { +// return $this->render('./page/coaching.html.twig',[ +// 'css' => $this->preference->getCookie(), +// 'pp' => "test2", +// 'user' => "Doe", +// 'role' => "Athlète", +// 'friendship' => [], +// 'analyzes' => [], +// 'mails' => [], +// 'users' => [], +// 'infoUser' => [], +// 'exos' => [], +// 'member' => [] +// ]); +// } + // #[Route('/list-athletes', name: 'coach_list_athletes')] // public function listAthletes(): Response // { // $coach = $this->security->getUser(); // $athletes = $this->coachManager->getAthletesForCoach($coach); -// // return $this->render('coach/list_athletes.html.twig', [ // 'athletes' => $athletes, // ]); @@ -272,23 +104,21 @@ // 'athleteId' => $athleteId, // ]); // } -// // #[Route('/add-athlete/{athleteId}', name: 'coach_add_athlete', methods: ['POST'])] // public function addAthlete(IRequest $request, $athleteId): IResponse // { // // Implement logic to add athlete // // ... -// + // return $this->redirectToRoute('coach_list_athletes'); // } - // #[Route('/remove-athlete', name: 'coach_remove_athlete', methods: ['POST'])] - // public function removeAthlete(int $athleteId, IRequest $request): IResponse - // { - - // return $this->redirectToRoute("/athletes"); - // } - +// // #[Route('/remove-athlete', name: 'coach_remove_athlete', methods: ['POST'])] +// // public function removeAthlete(int $athleteId, IRequest $request): IResponse +// // { + +// // return $this->redirectToRoute("/athletes"); +// // } - } -?> \ No newline at end of file + +// } diff --git a/Sources/src/app/controller/Controller.php b/Sources/src/app/controller/Controller.php index 03be12d8..decd7d99 100644 --- a/Sources/src/app/controller/Controller.php +++ b/Sources/src/app/controller/Controller.php @@ -76,183 +76,183 @@ class Controller extends BaseController ]); } -// #[Route(path: '/exercice', name: 'exercice', methods: ['GET'])] // 8 -// public function exercice(): Response -// { -// return $this->render('./page/exercice.html.twig',[ -// 'css' => $this->preference->getCookie(), -// 'pp' => "test2", -// 'user' => "Doe", -// 'role' => "Athlète", -// 'friendship' => [], -// 'analyzes' => [], -// 'mails' => [], -// 'users' => [], -// 'infoUser' => [], -// 'exos' => [], -// 'member' => [] -// ]); -// } -// -// #[Route(path: '/exercices', name: 'exercices', methods: ['POST'])] // 8 -// public function exercices(String $type, String $intensite, String $date, IRequest $req): Response -// { -// $exercicesArray = [ -// [ -// 'date' => $date, -// 'type' => $type, -// 'intensite' => $intensite, -// 'status' => 'A venur', -// ] -// ]; -// return $this->render('./page/exercice.html.twig',[ -// 'css' => $this->preference->getCookie(), -// 'pp' => "test2", -// 'user' => "Doe", -// 'role' => "Athlète", -// 'friendship' => [], -// 'analyzes' => [], -// 'mails' => [], -// 'users' => [], -// 'infoUser' => [], -// 'exos' => $exercicesArray, -// 'member' => [] -// ]); -// } - - // #[Route(path: '/search-user', name: 'search-user', methods: ['GET'])] - // public function searchUser(string $username, IRequest $req): Response - // { - // $taberror = []; - // // FILTER - // $utiliArray = [ - // [ - // 'nom' => 'John', - // 'prenom' => 'Doe', - // 'img' => 'john_doe', - // 'username' => 'johndoe', - // ], - // [ - // 'nom' => 'Alice', - // 'prenom' => 'Smith', - // 'img' => 'alice_smith', - // 'username' => 'alicesmith', - // ], - // ]; - // // if(!Validation::val_string($name)){ - // try { - // //code... - // // $model->userMgr->addFriend($name); - // return $this->render('./page/addfriend.html.twig',[ - // 'css' => $this->preference->getCookie(), - // 'pp' => "test2", - // 'user' => "Doe", - // 'role' => "Athlète", - // 'friendship' => [], - // 'analyzes' => [], - // 'mails' => [], - // 'users' => $utiliArray, - // 'infoUser' => [], - // 'exos' => [], - // 'member' => [], - // 'responce' => "Notification d'ajout envoyée à $username" - // ]); - // } catch (\Throwable $th) { - // //throw $th; - // // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); - // } - // // } + #[Route(path: '/exercice', name: 'exercice', methods: ['GET'])] // 8 + public function exercice(): Response + { + return $this->render('./page/exercice.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => [], + 'infoUser' => [], + 'exos' => [], + 'member' => [] + ]); + } + + #[Route(path: '/exercices', name: 'exercices', methods: ['POST'])] // 8 + public function exercices(String $type, String $intensite, String $date, IRequest $req): Response + { + $exercicesArray = [ + [ + 'date' => $date, + 'type' => $type, + 'intensite' => $intensite, + 'status' => 'A venur', + ] + ]; + return $this->render('./page/exercice.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => [], + 'infoUser' => [], + 'exos' => $exercicesArray, + 'member' => [] + ]); + } + + #[Route(path: '/search-user', name: 'search-user', methods: ['GET'])] + public function searchUser(string $username, IRequest $req): Response + { + $taberror = []; + // FILTER + $utiliArray = [ + [ + 'nom' => 'John', + 'prenom' => 'Doe', + 'img' => 'john_doe', + 'username' => 'johndoe', + ], + [ + 'nom' => 'Alice', + 'prenom' => 'Smith', + 'img' => 'alice_smith', + 'username' => 'alicesmith', + ], + ]; + // if(!Validation::val_string($name)){ + try { + //code... + // $model->userMgr->addFriend($name); + return $this->render('./page/addfriend.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => $utiliArray, + 'infoUser' => [], + 'exos' => [], + 'member' => [], + 'responce' => "Notification d'ajout envoyée à $username" + ]); + } catch (\Throwable $th) { + //throw $th; + // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); + } + // } + + } + + #[Route(path: '/search-member', name: 'search-member', methods: ['GET'])] + public function searchMember(string $username, IRequest $req): Response + { + $taberror = []; + // FILTER + $utiliArray = [ + [ + 'nom' => 'John', + 'prenom' => 'Doe', + 'img' => 'john_doe', + 'username' => 'johndoe', + ], + [ + 'nom' => 'Alice', + 'prenom' => 'Smith', + 'img' => 'alice_smith', + 'username' => 'alicesmith', + ], + ]; + // if(!Validation::val_string($name)){ + try { + //code... + // $model->userMgr->addFriend($name); + return $this->render('./page/addmember.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => $utiliArray, + 'infoUser' => [], + 'exos' => [], + 'member' => [], + 'responce' => "Notification d'ajout envoyée à $username" + ]); + } catch (\Throwable $th) { + //throw $th; + // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); + } + // } + + } + + #[Route(path: '/add-member', name: 'add-member', methods: ['POST'])] + public function addmember(string $username, IRequest $req): Response + { + $taberror = []; + $utiliArray = [ + [ + 'nom' => 'John', + 'prenom' => 'Doe', + 'img' => 'john_doe', + 'username' => 'johndoe', + ], + [ + 'nom' => 'Alice', + 'prenom' => 'Smith', + 'img' => 'alice_smith', + 'username' => 'alicesmith', + ], + ]; + // if(!Validation::val_string($name)){ + try { + //code... + // $model->userMgr->addFriend($name); + return $this->render('./page/addmember.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => $utiliArray, + 'infoUser' => [], + 'exos' => [], + 'member' => [], + 'responce' => "Notification d'ajout envoyée à $username" + ]); + } catch (\Throwable $th) { + //throw $th; + // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); + } + // } - // } - -// #[Route(path: '/search-member', name: 'search-member', methods: ['GET'])] -// public function searchMember(string $username, IRequest $req): Response -// { -// $taberror = []; -// // FILTER -// $utiliArray = [ -// [ -// 'nom' => 'John', -// 'prenom' => 'Doe', -// 'img' => 'john_doe', -// 'username' => 'johndoe', -// ], -// [ -// 'nom' => 'Alice', -// 'prenom' => 'Smith', -// 'img' => 'alice_smith', -// 'username' => 'alicesmith', -// ], -// ]; -// // if(!Validation::val_string($name)){ -// try { -// //code... -// // $model->userMgr->addFriend($name); -// return $this->render('./page/addmember.html.twig',[ -// 'css' => $this->preference->getCookie(), -// 'pp' => "test2", -// 'user' => "Doe", -// 'role' => "Athlète", -// 'friendship' => [], -// 'analyzes' => [], -// 'mails' => [], -// 'users' => $utiliArray, -// 'infoUser' => [], -// 'exos' => [], -// 'member' => [], -// 'responce' => "Notification d'ajout envoyée à $username" -// ]); -// } catch (\Throwable $th) { -// //throw $th; -// // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); -// } -// // } -// -// } - -// #[Route(path: '/add-member', name: 'add-member', methods: ['POST'])] -// public function addmember(string $username, IRequest $req): Response -// { -// $taberror = []; -// $utiliArray = [ -// [ -// 'nom' => 'John', -// 'prenom' => 'Doe', -// 'img' => 'john_doe', -// 'username' => 'johndoe', -// ], -// [ -// 'nom' => 'Alice', -// 'prenom' => 'Smith', -// 'img' => 'alice_smith', -// 'username' => 'alicesmith', -// ], -// ]; -// // if(!Validation::val_string($name)){ -// try { -// //code... -// // $model->userMgr->addFriend($name); -// return $this->render('./page/addmember.html.twig',[ -// 'css' => $this->preference->getCookie(), -// 'pp' => "test2", -// 'user' => "Doe", -// 'role' => "Athlète", -// 'friendship' => [], -// 'analyzes' => [], -// 'mails' => [], -// 'users' => $utiliArray, -// 'infoUser' => [], -// 'exos' => [], -// 'member' => [], -// 'responce' => "Notification d'ajout envoyée à $username" -// ]); -// } catch (\Throwable $th) { -// //throw $th; -// // return $this->render("addfriend.html.twig", ['tabError' => $taberror ]); -// } -// // } -// -// } + } #[Route(path: '/member', name: 'member', methods: ['GET'])] public function member(): Response @@ -432,23 +432,23 @@ class Controller extends BaseController ]); } -// #[Route(path: '/coaching', name: 'coaching', methods: ['GET'])] -// public function coaching(): Response -// { -// return $this->render('./page/coaching.html.twig',[ -// 'css' => $this->preference->getCookie(), -// 'pp' => "test2", -// 'user' => "Doe", -// 'role' => "Athlète", -// 'friendship' => [], -// 'analyzes' => [], -// 'mails' => [], -// 'users' => [], -// 'infoUser' => [], -// 'exos' => [], -// 'member' => [] -// ]); -// } + #[Route(path: '/coaching', name: 'coaching', methods: ['GET'])] + public function coaching(): Response + { + return $this->render('./page/coaching.html.twig',[ + 'css' => $this->preference->getCookie(), + 'pp' => "test2", + 'user' => "Doe", + 'role' => "Athlète", + 'friendship' => [], + 'analyzes' => [], + 'mails' => [], + 'users' => [], + 'infoUser' => [], + 'exos' => [], + 'member' => [] + ]); + } #[Route(path: '/mail', name: 'mail', methods: ['GET'])] public function mail(): Response @@ -711,5 +711,4 @@ class Controller extends BaseController 'member' => [] ]); } - } \ No newline at end of file diff --git a/Sources/vendor/composer/installed.json b/Sources/vendor/composer/installed.json index ff40b469..9f2c44ed 100755 --- a/Sources/vendor/composer/installed.json +++ b/Sources/vendor/composer/installed.json @@ -232,6 +232,71 @@ ], "install-path": "../graham-campbell/result-type" }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.2", + "version_normalized": "1.1.2.0", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "time": "2023-11-12T22:16:48+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "install-path": "../graham-campbell/result-type" + }, { "name": "myclabs/deep-copy", "version": "1.11.1", @@ -1122,6 +1187,62 @@ }, "install-path": "../psr/container" }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "time": "2021-11-05T16:47:00+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "install-path": "../psr/container" + }, { "name": "sebastian/cli-parser", "version": "2.0.0", diff --git a/Sources/vendor/composer/installed.php b/Sources/vendor/composer/installed.php index 647e82e4..72086882 100755 --- a/Sources/vendor/composer/installed.php +++ b/Sources/vendor/composer/installed.php @@ -18,6 +18,7 @@ 'install_path' => __DIR__ . '/../adriangibbons/php-fit-file-analysis', 'aliases' => array(), 'dev_requirement' => false, + ), 'altorouter/altorouter' => array( 'pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', @@ -54,6 +55,15 @@ 'aliases' => array(), 'dev_requirement' => false, ), + 'graham-campbell/result-type' => array( + 'pretty_version' => 'v1.1.2', + 'version' => '1.1.2.0', + 'reference' => 'fbd48bce38f73f8a4ec8583362e732e4095e5862', + 'type' => 'library', + 'install_path' => __DIR__ . '/../graham-campbell/result-type', + 'aliases' => array(), + 'dev_requirement' => false, + ), 'hearttrack/package' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master',