diff --git a/.env.dev b/.env.dev index 4394c42..056a2e3 100644 --- a/.env.dev +++ b/.env.dev @@ -11,3 +11,5 @@ MAILER_URL=smtp://smtp:1025 PGADMIN_DEFAULT_EMAIL=admin@chill.social PGADMIN_DEFAULT_PASSWORD=password +## Phpstorm IDE project path +PROJECT_DIR= diff --git a/.gitignore b/.gitignore index 7fb07d6..4971775 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ config/secrets/ ## env files .env.local +.env.dev.local .composer/* composer.phar @@ -49,17 +50,18 @@ phpunit.xml nbproject/* .idea +.ignore ### template/api/specs.yaml should be compiled templates/api/specs.yaml - ###> symfony/webpack-encore-bundle ### /node_modules/ /public/build/ npm-debug.log yarn-error.log ###< symfony/webpack-encore-bundle ### + ###> symfony/phpunit-bridge ### .phpunit .phpunit.result.cache diff --git a/config/packages/chill_budget.yaml b/config/packages/chill_budget.yaml index d2e6ef4..b8fd857 100644 --- a/config/packages/chill_budget.yaml +++ b/config/packages/chill_budget.yaml @@ -56,7 +56,6 @@ chill_budget: - { key: mutuelle, labels: [{lang: fr, label: "Mutuelle"}]} - { key: transport, labels: [{lang: fr, label: "Frais de transport"}]} - { key: decouvbank, labels: [{lang: fr, label: "Découvert bancaire utilisé"}]} - - { key: credit, labels: [{lang: fr, label: "Procédure de saisie"}]} - { key: procsaisie, labels: [{lang: fr, label: "Procédure de saisie"}]} - { key: indus, labels: [{lang: fr, label: "Indus"}]} - { key: apurement, labels: [{lang: fr, label: "Plan d'apurement"}]} diff --git a/config/packages/dev/framework.yaml b/config/packages/dev/framework.yaml index 69e5529..4c1e953 100644 --- a/config/packages/dev/framework.yaml +++ b/config/packages/dev/framework.yaml @@ -3,3 +3,10 @@ framework: # allow to debug from ngrok, useful for webhooks coming from outside: - '^(.+\.)?ngrok\.io$' - 'nginx' + + ## Open files in phpstorm IDE from profiler links + # ref: https://symfony.com/doc/current/reference/configuration/framework.html#ide + # need: https://github.com/sanduhrs/phpstorm-url-handler/blob/master/phpstorm-url-handler + # set var in file .env.dev.local (PROJECT_DIR=) + ide: 'phpstorm://open?file=%%f&line=%%l&/var/www/app/>%env(resolve:PROJECT_DIR)%' +