TODO: ajouter un plug-in symfony permettant de charger un utilisateur dans les apps a partir de l'authentification multiple
TODO: lire les documentation officielles provenant des 4 plate-formes tranquillement afin de comprendre commet doit on tester ces type d'auth quitte a créé un sous domaine particulier directement hebergé sur gittea
-->Sécuriser le serveur de dev
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+#!/usr/bin/env php |
|
2 |
+<?php |
|
3 |
+ |
|
4 |
+if (!file_exists(dirname(__DIR__) . '/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) { |
|
5 |
+ echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n"; |
|
6 |
+ exit(1); |
|
7 |
+} |
|
8 |
+ |
|
9 |
+if (false === getenv('SYMFONY_PHPUNIT_DIR')) { |
|
10 |
+ putenv('SYMFONY_PHPUNIT_DIR=' . __DIR__ . '/.phpunit'); |
|
11 |
+} |
|
12 |
+ |
|
13 |
+require dirname(__DIR__) . '/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php'; |