Commit 61a72b43 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'll-session'

parents dcb90ee3 50bc12f6
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for api/src/Kernel.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ class Kernel extends BaseKernel
    public function getCacheDir(): string
    {
        $appConfig = Application::getInstance()->config();
        $cacheDir  = $appConfig['module_listener_options']['cache_dir'] ?? getcwd() . '/cache';
        $cacheDir  = $appConfig['module_listener_options']['cache_dir'] ?? getcwd() . '/var/cache';

        return $cacheDir;
    }
@@ -22,7 +22,7 @@ class Kernel extends BaseKernel

    public function getLogDir(): string
    {
        return getcwd() . '/data/log';
        return getcwd() . '/var/log';
    }


+2 −6
Changes for code/test9.php: 2 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -6,10 +6,6 @@
 * @var $io         \Symfony\Component\Console\Style\SymfonyStyle
 */

$s = $container->get(\Framework\Navigation\Navigation::class);
dump($_SESSION);

dump($s->home->getPages());

$pages = $s->home->getPage('intervenant');

dd($pages);
 No newline at end of file
phpinfo();
 No newline at end of file
+39 −8
Changes for composer.json: 39 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@
    },
    "autoload-dev"     : {
        "psr-4": {
            "App\\Tests\\": "tests/"
            "App\\Tests\\": "api/tests/"
        }
    },
    "require-dev"      : {
@@ -117,14 +117,14 @@
        "phpunit/phpunit"                   : "^9",
        "friendsofphp/php-cs-fixer"         : "^3.74",
        "api-platform/schema-generator"     : "^5.0",
        "symfony/browser-kit"               : "7.2.*",
        "symfony/css-selector"              : "7.2.*",
        "symfony/debug-bundle"              : "7.2.*",
        "symfony/browser-kit"               : "7.3.*",
        "symfony/css-selector"              : "7.3.*",
        "symfony/debug-bundle"              : "7.3.*",
        "symfony/maker-bundle"              : "^1.44",
        "symfony/phpunit-bridge"            : "7.2.*",
        "symfony/stopwatch"                 : "7.2.*",
        "symfony/var-dumper"                : "7.2.*",
        "symfony/web-profiler-bundle"       : "7.2.*"
        "symfony/phpunit-bridge"            : "7.3.*",
        "symfony/stopwatch"                 : "7.3.*",
        "symfony/var-dumper"                : "7.3.*",
        "symfony/web-profiler-bundle"       : "7.3.*"
    },
    "prefer-stable"    : true,
    "minimum-stability": "dev",
@@ -142,7 +142,34 @@
    "scripts"          : {
        "sniffer:php8"        : "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0",
        "phpcs"               : "./vendor/bin/phpcs -p ./module --standard=PSR12",
        "setup-dirs": [
            "mkdir -p var/session",
            "chmod 777 var/session",

            "mkdir -p var/log",
            "chmod 777 var/log",

            "mkdir -p var/cache",
            "chmod 777 var/cache",

            "mkdir -p var/cache/DoctrineProxy",
            "chmod 777 var/cache/DoctrineProxy",

            "mkdir -p data/fichiers",
            "chmod 777 data/fichiers",

            "mkdir -p data/signature",
            "chmod 777 data/signature"
        ],
        "setup-bins": [
            "chmod 755 bin/ose",
            "chmod 755 bin/ose-code",
            "chmod 755 bin/ose-test"
        ],
        "update-public-vendor": [
            "[ -d cache ] && rm -Rf cache || true",
            "[ -d data/log ] && rm -Rf data/log || true",

            "rm -rf public/vendor",
            "mkdir public/vendor",

@@ -157,9 +184,13 @@
            "cp public/vendor/datatables/css/dataTables.bootstrap5.min.css public/vendor/datatables/css/dataTables.bootstrap5.min.scss"
        ],
        "post-install-cmd"    : [
            "@setup-dirs",
            "@setup-bins",
            "@update-public-vendor"
        ],
        "post-update-cmd"     : [
            "@setup-dirs",
            "@setup-bins",
            "@update-public-vendor"
        ],
        "auto-scripts": {
+108 −109

File changed.

Preview size limit exceeded, changes collapsed.

+0 −6
Changes for config.local.php.default: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -466,12 +466,6 @@ return [

            'logger' => [
                'enable'          => true,
                'level'           => \Monolog\Logger::DEBUG,
                'file'            => __DIR__ . '/cache/unicaen-signature.log',
                'stdout'          => false,
                'file_permission' => 0666,
                'customLogger'    => null,

            ],

            'hook_recipients' => [
Loading