Bläddra i källkod

added kint to devel

bach 4 år sedan
förälder
incheckning
c60bd6d8c9

+ 1 - 0
src/composer.json

@@ -25,6 +25,7 @@
         "drupal/redirect_after_login": "^2.7",
         "drupal/typed_data": "1.x-dev@dev",
         "drupal/views_autocomplete_filters": "^1.3",
+        "kint-php/kint": "^3.3",
         "wikimedia/composer-merge-plugin": "^1.4"
     },
     "conflict": {

+ 71 - 1
src/composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "803f9f2c0655a1fb79f86ec3ae05374e",
+    "content-hash": "81bf05c0952bcf7d3b0f73de90c42bb7",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -8538,6 +8538,76 @@
             ],
             "time": "2020-09-30T07:37:11+00:00"
         },
+        {
+            "name": "kint-php/kint",
+            "version": "3.3",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/kint-php/kint.git",
+                "reference": "335ac1bcaf04d87df70d8aa51e8887ba2c6d203b"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/kint-php/kint/zipball/335ac1bcaf04d87df70d8aa51e8887ba2c6d203b",
+                "reference": "335ac1bcaf04d87df70d8aa51e8887ba2c6d203b",
+                "shasum": ""
+            },
+            "require": {
+                "php": ">=5.3.6"
+            },
+            "require-dev": {
+                "friendsofphp/php-cs-fixer": "^2.0",
+                "phpunit/phpunit": "^4.0",
+                "seld/phar-utils": "^1.0",
+                "symfony/finder": "^2.0 || ^3.0 || ^4.0",
+                "vimeo/psalm": "^3.0"
+            },
+            "suggest": {
+                "ext-ctype": "Simple data type tests",
+                "ext-iconv": "Provides fallback detection for ambiguous legacy string encodings such as the Windows and ISO 8859 code pages",
+                "ext-mbstring": "Provides string encoding detection",
+                "kint-php/kint-js": "Provides a simplified dump to console.log()",
+                "kint-php/kint-twig": "Provides d() and s() functions in twig templates",
+                "symfony/polyfill-ctype": "Replacement for ext-ctype if missing",
+                "symfony/polyfill-iconv": "Replacement for ext-iconv if missing",
+                "symfony/polyfill-mbstring": "Replacement for ext-mbstring if missing"
+            },
+            "type": "library",
+            "autoload": {
+                "files": [
+                    "init.php"
+                ],
+                "psr-4": {
+                    "Kint\\": "src/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Jonathan Vollebregt",
+                    "homepage": "https://github.com/jnvsor"
+                },
+                {
+                    "name": "Rokas Šleinius",
+                    "homepage": "https://github.com/raveren"
+                },
+                {
+                    "name": "Contributors",
+                    "homepage": "https://github.com/kint-php/kint/graphs/contributors"
+                }
+            ],
+            "description": "Kint - debugging tool for PHP developers",
+            "homepage": "https://kint-php.github.io/kint/",
+            "keywords": [
+                "debug",
+                "kint",
+                "php"
+            ],
+            "time": "2019-10-17T18:05:24+00:00"
+        },
         {
             "name": "laminas/laminas-diactoros",
             "version": "2.5.0",

+ 3 - 1
src/config/sync/devel.settings.yml

@@ -5,7 +5,9 @@ error_handlers:
 rebuild_theme: false
 debug_mail_file_format: '%to-%subject-%datetime.mail.txt'
 debug_mail_directory: 'temporary://devel-mails'
-devel_dumper: default
+devel_dumper: kint
 _core:
   default_config_hash: 8SYa5OOpQGdg4wnttb0LFNuG6GmivsS2qNv9sTH9gDI
 langcode: fr
+debug_logfile: 'temporary://drupal_debug.txt'
+debug_pre: false

+ 1 - 0
src/config/sync/user.role.anonymous.yml

@@ -17,5 +17,6 @@ permissions:
   - 'create defalut workflow_transition'
   - 'create default workflow_transition'
   - 'create generique workflow_transition'
+  - 'execute enfrancais arbitrary graphql requests'
   - 'view published fil entities'
   - 'view search api pages'

+ 1 - 0
src/config/sync/user.role.authenticated.yml

@@ -24,6 +24,7 @@ permissions:
   - 'edit own chutier entities'
   - 'edit own composition entities'
   - 'edit own fil entities'
+  - 'execute enfrancais arbitrary graphql requests'
   - 'opt-in or out of matomo tracking'
   - 'use chutier'
   - 'use text format wysiwyg'