diff --git a/.platform/schema b/.platform/schema new file mode 100644 index 000000000..e440e5c84 --- /dev/null +++ b/.platform/schema @@ -0,0 +1 @@ +3 \ No newline at end of file diff --git a/composer.json b/composer.json index 3d85c342d..74ef641d3 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,12 @@ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "drupal/coder": "^8.3", "drupal/core-dev": "^9.1", + "jangregor/phpstan-prophecy": "^1.0", + "mglaman/phpstan-drupal": "^1.2", "phpspec/prophecy-phpunit": "^2", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-deprecation-rules": "^1.1", "phpunit/phpunit": "^9.6", "weitzman/drupal-test-traits": "^2.1" }, @@ -47,7 +52,8 @@ "composer/installers": true, "cweagans/composer-patches": true, "drupal/core-composer-scaffold": true, - "php-http/discovery": false + "php-http/discovery": false, + "phpstan/extension-installer": true }, "audit": { "abandoned": "report" diff --git a/composer.lock b/composer.lock index b9ed82081..0c1fe6dc8 100644 --- a/composer.lock +++ b/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": "3c4c87874c39a0c29dfe3972b1a7049e", + "content-hash": "e094966d084dd76a93f218ce52d3bcbb", "packages": [ { "name": "asm89/stack-cors", @@ -760,16 +760,16 @@ }, { "name": "consolidation/output-formatters", - "version": "4.3.1", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/consolidation/output-formatters.git", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86" + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/f65524e9ecd2bd0021c4b18710005caaa6dcbd86", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86", + "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/06711568b4cd169700ff7e8075db0a9a341ceb58", + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58", "shasum": "" }, "require": { @@ -808,9 +808,9 @@ "description": "Format text by applying transformations provided by plug-in formatters.", "support": { "issues": "https://github.com/consolidation/output-formatters/issues", - "source": "https://github.com/consolidation/output-formatters/tree/4.3.1" + "source": "https://github.com/consolidation/output-formatters/tree/4.3.2" }, - "time": "2023-05-20T03:23:06+00:00" + "time": "2023-07-06T04:45:41+00:00" }, { "name": "consolidation/robo", @@ -1789,17 +1789,17 @@ }, { "name": "drupal/config_filter", - "version": "2.4.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/config_filter.git", - "reference": "8.x-2.4" + "reference": "8.x-2.5" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/config_filter-8.x-2.4.zip", - "reference": "8.x-2.4", - "shasum": "dcf442f228dafd6bbac8948db1d51e3f1ca1d0c7" + "url": "https://ftp.drupal.org/files/projects/config_filter-8.x-2.5.zip", + "reference": "8.x-2.5", + "shasum": "a509ec432b0560fbba853b52e74d71cede5f6bdf" }, "require": { "drupal/core": "^8.8 || ^9 || ^10" @@ -1813,8 +1813,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.4", - "datestamp": "1656936801", + "version": "8.x-2.5", + "datestamp": "1698096457", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2650,17 +2650,17 @@ }, { "name": "drupal/editoria11y", - "version": "2.1.2", + "version": "2.1.3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/editoria11y.git", - "reference": "2.1.2" + "reference": "2.1.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/editoria11y-2.1.2.zip", - "reference": "2.1.2", - "shasum": "ebd77063566def30be1c7c2fa684c5b05aaa7112" + "url": "https://ftp.drupal.org/files/projects/editoria11y-2.1.3.zip", + "reference": "2.1.3", + "shasum": "d050d25a6daf2cf59bfd9bcc9cdb9b060d9dc5f6" }, "require": { "drupal/core": "^9 || ^10" @@ -2668,8 +2668,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.1.2", - "datestamp": "1696531334", + "version": "2.1.3", + "datestamp": "1697057896", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3692,17 +3692,17 @@ }, { "name": "drupal/gin_toolbar", - "version": "1.0.0-rc3", + "version": "1.0.0-rc4", "source": { "type": "git", "url": "https://git.drupalcode.org/project/gin_toolbar.git", - "reference": "8.x-1.0-rc3" + "reference": "8.x-1.0-rc4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/gin_toolbar-8.x-1.0-rc3.zip", - "reference": "8.x-1.0-rc3", - "shasum": "f9ae6c1c086f008a2911eb2ced4740ac5c307faf" + "url": "https://ftp.drupal.org/files/projects/gin_toolbar-8.x-1.0-rc4.zip", + "reference": "8.x-1.0-rc4", + "shasum": "4f5fa958362b02804564302b0dfceb39e1b38119" }, "require": { "drupal/core": "^9 || ^10" @@ -3710,8 +3710,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.0-rc3", - "datestamp": "1688477564", + "version": "8.x-1.0-rc4", + "datestamp": "1697192878", "security-coverage": { "status": "not-covered", "message": "RC releases are not covered by Drupal security advisories." @@ -3751,16 +3751,16 @@ }, { "name": "drupal/hdbt", - "version": "5.6.16", + "version": "5.6.23", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "c04c52069efd9befb75f3bdac754a52a88ab5f0f" + "reference": "e3d59c7b07f051da0a2f9d3cc0708137c5d72264" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/c04c52069efd9befb75f3bdac754a52a88ab5f0f", - "reference": "c04c52069efd9befb75f3bdac754a52a88ab5f0f", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/e3d59c7b07f051da0a2f9d3cc0708137c5d72264", + "reference": "e3d59c7b07f051da0a2f9d3cc0708137c5d72264", "shasum": "" }, "require": { @@ -3778,10 +3778,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.16", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.23", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-10-10T07:16:09+00:00" + "time": "2023-10-24T11:50:11+00:00" }, { "name": "drupal/hdbt_admin", @@ -3870,16 +3870,16 @@ }, { "name": "drupal/helfi_api_base", - "version": "2.5.7", + "version": "2.5.8", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base.git", - "reference": "8f39f1d33757ca36623b4e223138357e39d388c6" + "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/8f39f1d33757ca36623b4e223138357e39d388c6", - "reference": "8f39f1d33757ca36623b4e223138357e39d388c6", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/c8ed69e045bae960fff5b71179d09f62ea53651a", + "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a", "shasum": "" }, "require": { @@ -3905,10 +3905,10 @@ ], "description": "Helfi - API Base", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.7", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.8", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/issues" }, - "time": "2023-10-05T13:06:46+00:00" + "time": "2023-10-18T05:44:50+00:00" }, { "name": "drupal/helfi_azure_fs", @@ -3955,16 +3955,41 @@ "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-tools.git", - "reference": "8dfd9dda99f0934070119547e7f950d3f90a9ebc" + "reference": "3f74602477470e7220c12e0304d291f2504ad2ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/8dfd9dda99f0934070119547e7f950d3f90a9ebc", - "reference": "8dfd9dda99f0934070119547e7f950d3f90a9ebc", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/3f74602477470e7220c12e0304d291f2504ad2ba", + "reference": "3f74602477470e7220c12e0304d291f2504ad2ba", "shasum": "" }, + "require": { + "drush/drush": "^10 || ^11 || ^12" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "drupal/coder": "^8.3", + "phpspec/prophecy-phpunit": "^2", + "phpunit/phpunit": "^9.6" + }, "default-branch": true, "type": "drupal-drush", + "autoload": { + "psr-4": { + "DrupalTools\\": "src" + }, + "files": [ + "src/Update/migrations.php" + ] + }, + "autoload-dev": { + "psr-4": { + "DrupalToolsTest\\": "tests/fixtures" + }, + "files": [ + "tests/fixtures/migration_fixture.php" + ] + }, "license": [ "GPL-2.0-or-later" ], @@ -3973,20 +3998,20 @@ "source": "https://github.com/City-of-Helsinki/drupal-tools/tree/main", "issues": "https://github.com/City-of-Helsinki/drupal-tools/issues" }, - "time": "2023-09-26T09:45:28+00:00" + "time": "2023-10-25T07:38:01+00:00" }, { "name": "drupal/helfi_navigation", - "version": "2.1.3", + "version": "2.1.4", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation.git", - "reference": "e08ff75ed78ab66622662c3914abb55ba9ccf35f" + "reference": "a10ae58499ac50c2d4b34773c85653c0256a2e61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-navigation/zipball/e08ff75ed78ab66622662c3914abb55ba9ccf35f", - "reference": "e08ff75ed78ab66622662c3914abb55ba9ccf35f", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-navigation/zipball/a10ae58499ac50c2d4b34773c85653c0256a2e61", + "reference": "a10ae58499ac50c2d4b34773c85653c0256a2e61", "shasum": "" }, "require": { @@ -3996,7 +4021,8 @@ }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "drupal/coder": "^8.3" + "drupal/coder": "^8.3", + "drupal/menu_block_current_language": "^2.0" }, "type": "drupal-module", "license": [ @@ -4004,23 +4030,23 @@ ], "description": "Helfi - Navigation", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/tree/2.1.3", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/tree/2.1.4", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/issues" }, - "time": "2023-10-06T09:42:23+00:00" + "time": "2023-10-24T07:08:39+00:00" }, { "name": "drupal/helfi_platform_config", - "version": "3.4.24", + "version": "3.4.32", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "e0bb476200b068015d2d64595a11ee85307d536c" + "reference": "3fc6a55c3e54e0fcc83971bef6b8cd108aa59a7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/e0bb476200b068015d2d64595a11ee85307d536c", - "reference": "e0bb476200b068015d2d64595a11ee85307d536c", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/3fc6a55c3e54e0fcc83971bef6b8cd108aa59a7d", + "reference": "3fc6a55c3e54e0fcc83971bef6b8cd108aa59a7d", "shasum": "" }, "require": { @@ -4029,6 +4055,7 @@ "drupal/config_ignore": "^2.3", "drupal/config_rewrite": "^1.4", "drupal/content_lock": "^2.2", + "drupal/core": "^9.5", "drupal/crop": "^2.1", "drupal/default_content": "^2.0.0-alpha2", "drupal/diff": "^1.0", @@ -4124,10 +4151,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.24", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.32", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2023-10-10T06:52:38+00:00" + "time": "2023-10-24T19:15:05+00:00" }, { "name": "drupal/helfi_proxy", @@ -4175,16 +4202,16 @@ }, { "name": "drupal/helfi_tpr", - "version": "2.2.7", + "version": "2.2.8", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-tpr.git", - "reference": "68a4e65acffc2038e5006f1d4b2763bc52017184" + "reference": "96e148e1e18bf62bc592ee30f65bfe360b3d2396" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-tpr/zipball/68a4e65acffc2038e5006f1d4b2763bc52017184", - "reference": "68a4e65acffc2038e5006f1d4b2763bc52017184", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-tpr/zipball/96e148e1e18bf62bc592ee30f65bfe360b3d2396", + "reference": "96e148e1e18bf62bc592ee30f65bfe360b3d2396", "shasum": "" }, "require": { @@ -4210,10 +4237,10 @@ ], "description": "TPR integration", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-tpr/tree/2.2.7", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-tpr/tree/2.2.8", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-tpr/issues" }, - "time": "2023-09-14T11:48:29+00:00" + "time": "2023-10-13T10:43:12+00:00" }, { "name": "drupal/helfi_tunnistamo", @@ -5277,17 +5304,17 @@ }, { "name": "drupal/purge", - "version": "3.4.0", + "version": "3.5.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/purge.git", - "reference": "8.x-3.4" + "reference": "8.x-3.5" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/purge-8.x-3.4.zip", - "reference": "8.x-3.4", - "shasum": "deb4eccfe88af35445e8064a9a4a8a056bfb917f" + "url": "https://ftp.drupal.org/files/projects/purge-8.x-3.5.zip", + "reference": "8.x-3.5", + "shasum": "3772c156be0a2fc1df179710d23b9d7bf645b112" }, "require": { "drupal/core": "^9.2 || ^10" @@ -5295,8 +5322,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-3.4", - "datestamp": "1663189449", + "version": "8.x-3.5", + "datestamp": "1697142035", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5304,6 +5331,11 @@ }, "branch-alias": { "dev-8.x-3.x": "3.x-dev" + }, + "drush": { + "services": { + "drush.services.yml": ">=9" + } } }, "notification-url": "https://packages.drupal.org/8/downloads", @@ -5690,17 +5722,17 @@ }, { "name": "drupal/search_api", - "version": "1.29.0", + "version": "1.30.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/search_api.git", - "reference": "8.x-1.29" + "reference": "8.x-1.30" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.29.zip", - "reference": "8.x-1.29", - "shasum": "4663abbcfe5dfc159ee0886fc6c437e998fc0653" + "url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.30.zip", + "reference": "8.x-1.30", + "shasum": "25bd2cfab6a6332c595fbc8be1c4cfff33a85ce8" }, "require": { "drupal/core": "^9.3 || ^10.0" @@ -5721,8 +5753,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.29", - "datestamp": "1679910252", + "version": "8.x-1.30", + "datestamp": "1697366291", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5730,7 +5762,7 @@ }, "drush": { "services": { - "drush.services.yml": "^9 || ^10" + "drush.services.yml": "^9 || ^10 || ^11" } } }, @@ -6138,50 +6170,92 @@ }, { "name": "drupal/stomp", - "version": "2.0.0-alpha1", + "version": "2.0.0-alpha3", "source": { "type": "git", - "url": "https://github.com/City-of-Helsinki/drupal-module-stomp.git", - "reference": "820e1f3aa23dfdce441ac827e03286528111f497" + "url": "https://git.drupalcode.org/project/stomp.git", + "reference": "2.0.0-alpha3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-stomp/zipball/820e1f3aa23dfdce441ac827e03286528111f497", - "reference": "820e1f3aa23dfdce441ac827e03286528111f497", - "shasum": "" + "url": "https://ftp.drupal.org/files/projects/stomp-2.0.0-alpha3.zip", + "reference": "2.0.0-alpha3", + "shasum": "47607b91f06437259e1b0a84b9a696340df8ce55" }, "require": { + "drupal/core": "^9 || ^10", "php": "^8.1", "stomp-php/stomp-php": "^5.0" }, + "conflict": { + "drush/drush": "<11.6" + }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "drupal/coder": "^8.3" + "drupal/coder": "^8.3", + "drush/drush": "^11.6 || ^12", + "jangregor/phpstan-prophecy": "dev-master", + "mglaman/phpstan-drupal": "^1.2", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "1.11.x-dev", + "phpstan/phpstan-deprecation-rules": "1.2.x-dev" }, "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.0-alpha3", + "datestamp": "1697289803", + "security-coverage": { + "status": "not-covered", + "message": "Alpha releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", "license": [ "GPL-2.0-or-later" ], + "authors": [ + { + "name": "alexpott", + "homepage": "https://www.drupal.org/user/157725" + }, + { + "name": "legovaer", + "homepage": "https://www.drupal.org/user/1327142" + }, + { + "name": "tayzlor", + "homepage": "https://www.drupal.org/user/274980" + }, + { + "name": "tsphethean", + "homepage": "https://www.drupal.org/user/881620" + }, + { + "name": "tuutti", + "homepage": "https://www.drupal.org/user/1114264" + } + ], "description": "Integrate Drupal with an external STOMP or AMQP message queue, such as ActiveMQ.", + "homepage": "https://www.drupal.org/project/stomp", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-stomp/tree/2.0.0-alpha1", - "issues": "https://github.com/City-of-Helsinki/drupal-module-stomp/issues" - }, - "time": "2023-10-06T08:19:03+00:00" + "source": "https://git.drupalcode.org/project/stomp" + } }, { "name": "drupal/token", - "version": "1.12.0", + "version": "1.13.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/token.git", - "reference": "8.x-1.12" + "reference": "8.x-1.13" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/token-8.x-1.12.zip", - "reference": "8.x-1.12", - "shasum": "cefe1b203b793682f74ea43e18d0a814cf768763" + "url": "https://ftp.drupal.org/files/projects/token-8.x-1.13.zip", + "reference": "8.x-1.13", + "shasum": "f2a074b51726de3727c1d900237d6d471806a4d2" }, "require": { "drupal/core": "^9.2 || ^10" @@ -6189,8 +6263,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.12", - "datestamp": "1688015262", + "version": "8.x-1.13", + "datestamp": "1697885927", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -6198,7 +6272,7 @@ }, "drush": { "services": { - "drush.services.yml": "^9 || ^10" + "drush.services.yml": ">=9" } } }, @@ -7960,16 +8034,16 @@ }, { "name": "laminas/laminas-feed", - "version": "2.21.0", + "version": "2.22.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-feed.git", - "reference": "52918789a417bc292ccd6fbb4b91bd78a65d50ab" + "reference": "669792b819fca7274698147ad7a2ecc1b0a9b141" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-feed/zipball/52918789a417bc292ccd6fbb4b91bd78a65d50ab", - "reference": "52918789a417bc292ccd6fbb4b91bd78a65d50ab", + "url": "https://api.github.com/repos/laminas/laminas-feed/zipball/669792b819fca7274698147ad7a2ecc1b0a9b141", + "reference": "669792b819fca7274698147ad7a2ecc1b0a9b141", "shasum": "" }, "require": { @@ -7977,24 +8051,24 @@ "ext-libxml": "*", "laminas/laminas-escaper": "^2.9", "laminas/laminas-stdlib": "^3.6", - "php": "~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "conflict": { "laminas/laminas-servicemanager": "<3.3", "zendframework/zend-feed": "*" }, "require-dev": { - "laminas/laminas-cache": "^2.13.2 || ^3.10.1", + "laminas/laminas-cache": "^2.13.2 || ^3.11", "laminas/laminas-cache-storage-adapter-memory": "^1.1.0 || ^2.2", "laminas/laminas-coding-standard": "~2.5.0", "laminas/laminas-db": "^2.18", "laminas/laminas-http": "^2.18", "laminas/laminas-servicemanager": "^3.21.0", - "laminas/laminas-validator": "^2.30.1", - "phpunit/phpunit": "^10.2.6", + "laminas/laminas-validator": "^2.38", + "phpunit/phpunit": "^10.3.1", "psalm/plugin-phpunit": "^0.18.4", "psr/http-message": "^2.0", - "vimeo/psalm": "^5.13.1" + "vimeo/psalm": "^5.14.1" }, "suggest": { "laminas/laminas-cache": "Laminas\\Cache component, for optionally caching feeds between requests", @@ -8036,7 +8110,7 @@ "type": "community_bridge" } ], - "time": "2023-07-24T09:21:16+00:00" + "time": "2023-10-11T20:16:37+00:00" }, { "name": "laminas/laminas-stdlib", @@ -8370,16 +8444,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96" + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", "shasum": "" }, "require": { @@ -8410,7 +8484,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" }, "funding": [ { @@ -8422,7 +8496,7 @@ "type": "tidelift" } ], - "time": "2023-08-05T12:09:49+00:00" + "time": "2023-10-17T14:13:20+00:00" }, { "name": "league/uri", @@ -8950,16 +9024,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.16.0", + "version": "v4.17.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "19526a33fb561ef417e822e85f08a00db4059c17" + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17", - "reference": "19526a33fb561ef417e822e85f08a00db4059c17", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "shasum": "" }, "require": { @@ -9000,9 +9074,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" }, - "time": "2023-06-25T14:52:30+00:00" + "time": "2023-08-13T19:53:39+00:00" }, { "name": "nodespark/des-connector", @@ -10203,16 +10277,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.18", + "version": "v0.11.22", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec" + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/128fa1b608be651999ed9789c95e6e2a31b5802b", + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b", "shasum": "" }, "require": { @@ -10241,7 +10315,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.11.x-dev" + "dev-0.11": "0.11.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false } }, "autoload": { @@ -10273,9 +10351,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.18" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.22" }, - "time": "2023-05-23T02:31:11+00:00" + "time": "2023-10-14T21:56:36+00:00" }, { "name": "ralouphie/getallheaders", @@ -15161,6 +15239,71 @@ }, "time": "2022-10-28T13:30:35+00:00" }, + { + "name": "jangregor/phpstan-prophecy", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/Jan0707/phpstan-prophecy.git", + "reference": "2bc7ca9460395690c6bf7332bdfb2f25d5cae8e0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jan0707/phpstan-prophecy/zipball/2bc7ca9460395690c6bf7332bdfb2f25d5cae8e0", + "reference": "2bc7ca9460395690c6bf7332bdfb2f25d5cae8e0", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "phpstan/phpstan": "^1.0.0" + }, + "conflict": { + "phpspec/prophecy": "<1.7.0,>=2.0.0", + "phpunit/phpunit": "<6.0.0,>=10.0.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.1.1", + "ergebnis/license": "^1.0.0", + "ergebnis/php-cs-fixer-config": "~2.2.0", + "phpspec/prophecy": "^1.7.0", + "phpunit/phpunit": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "JanGregor\\Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Gregor Emge-Triebel", + "email": "jan@jangregor.me" + } + ], + "description": "Provides a phpstan/phpstan extension for phpspec/prophecy", + "support": { + "issues": "https://github.com/Jan0707/phpstan-prophecy/issues", + "source": "https://github.com/Jan0707/phpstan-prophecy/tree/1.0.0" + }, + "funding": [ + { + "url": "https://github.com/localheinz", + "type": "github" + } + ], + "time": "2021-11-08T16:37:47+00:00" + }, { "name": "justinrainbow/json-schema", "version": "5.2.12", @@ -15231,6 +15374,110 @@ }, "time": "2022-04-13T08:02:27+00:00" }, + { + "name": "mglaman/phpstan-drupal", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/mglaman/phpstan-drupal.git", + "reference": "d721420086f146640acecebb7a678661a66e97d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/d721420086f146640acecebb7a678661a66e97d5", + "reference": "d721420086f146640acecebb7a678661a66e97d5", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^1.10.1", + "phpstan/phpstan-deprecation-rules": "^1.1.4", + "symfony/finder": "~3.4.5 ||^4.2 || ^5.0 || ^6.0", + "symfony/yaml": "~3.4.5 || ^4.2|| ^5.0 || ^6.0", + "webflo/drupal-finder": "^1.2" + }, + "require-dev": { + "behat/mink": "^1.8", + "composer/installers": "^1.9", + "drupal/core-recommended": "^8.8@alpha || ^9.0", + "drush/drush": "^9.6 || ^10.0 || ^11", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9", + "slevomat/coding-standard": "^7.1", + "squizlabs/php_codesniffer": "^3.3", + "symfony/phpunit-bridge": "^3.4.3 || ^4.4 || ^5.4 || ^6.0" + }, + "suggest": { + "jangregor/phpstan-prophecy": "Provides a prophecy/prophecy extension for phpstan/phpstan.", + "phpstan/phpstan-deprecation-rules": "For catching deprecations, especially in Drupal core.", + "phpstan/phpstan-phpunit": "PHPUnit extensions and rules for PHPStan." + }, + "type": "phpstan-extension", + "extra": { + "branch-alias": { + "dev-main": "1.0-dev" + }, + "installer-paths": { + "tests/fixtures/drupal/core": [ + "type:drupal-core" + ], + "tests/fixtures/drupal/libraries/{$name}": [ + "type:drupal-library" + ], + "tests/fixtures/drupal/modules/contrib/{$name}": [ + "type:drupal-module" + ], + "tests/fixtures/drupal/profiles/contrib/{$name}": [ + "type:drupal-profile" + ], + "tests/fixtures/drupal/themes/contrib/{$name}": [ + "type:drupal-theme" + ] + }, + "phpstan": { + "includes": [ + "extension.neon", + "rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "mglaman\\PHPStanDrupal\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matt Glaman", + "email": "nmd.matt@gmail.com" + } + ], + "description": "Drupal extension and rules for PHPStan", + "support": { + "issues": "https://github.com/mglaman/phpstan-drupal/issues", + "source": "https://github.com/mglaman/phpstan-drupal/tree/1.2.0" + }, + "funding": [ + { + "url": "https://github.com/mglaman", + "type": "github" + }, + { + "url": "https://opencollective.com/phpstan-drupal", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/mglaman/phpstan-drupal", + "type": "tidelift" + } + ], + "time": "2023-08-24T20:32:56+00:00" + }, { "name": "mikey179/vfsstream", "version": "v1.6.11", @@ -15740,6 +15987,50 @@ }, "time": "2023-04-18T11:58:05+00:00" }, + { + "name": "phpstan/extension-installer", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/phpstan/extension-installer.git", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^2.0", + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.9.0" + }, + "require-dev": { + "composer/composer": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.2.0", + "phpstan/phpstan-strict-rules": "^0.11 || ^0.12 || ^1.0" + }, + "type": "composer-plugin", + "extra": { + "class": "PHPStan\\ExtensionInstaller\\Plugin" + }, + "autoload": { + "psr-4": { + "PHPStan\\ExtensionInstaller\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Composer plugin for automatic installation of PHPStan extensions", + "support": { + "issues": "https://github.com/phpstan/extension-installer/issues", + "source": "https://github.com/phpstan/extension-installer/tree/1.3.1" + }, + "time": "2023-05-24T08:59:17+00:00" + }, { "name": "phpstan/phpdoc-parser", "version": "1.24.2", @@ -15787,6 +16078,116 @@ }, "time": "2023-09-26T12:28:12+00:00" }, + { + "name": "phpstan/phpstan", + "version": "1.10.39", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-10-17T15:46:26+00:00" + }, + { + "name": "phpstan/phpstan-deprecation-rules", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", + "reference": "089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa", + "reference": "089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10.3" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-php-parser": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", + "support": { + "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.4" + }, + "time": "2023-08-05T09:02:04+00:00" + }, { "name": "phpunit/php-code-coverage", "version": "9.2.26", @@ -17953,5 +18354,5 @@ "ext-libxml": "*" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml index 6e74b2221..a8cda2314 100644 --- a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml @@ -16,7 +16,7 @@ dependencies: - path - readonly_field_widget _core: - default_config_hash: RcjlFBYhitNunsd4AVtO6f3l-efOfSCW_nlNFMznzhk + default_config_hash: C2Xc2BwYmiIL9SayNQLxaufcoqA5SLusFthQgnmb10A id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -24,7 +24,7 @@ mode: default content: accessibility_email: type: readonly_field_widget - weight: 9 + weight: 12 region: content settings: label: above @@ -34,7 +34,7 @@ content: third_party_settings: { } accessibility_phone: type: readonly_field_widget - weight: 8 + weight: 11 region: content settings: label: above @@ -44,7 +44,7 @@ content: third_party_settings: { } accessibility_www: type: readonly_field_widget - weight: 12 + weight: 17 region: content settings: label: above @@ -54,7 +54,7 @@ content: third_party_settings: { } address: type: readonly_field_widget - weight: 14 + weight: 19 region: content settings: label: above @@ -64,7 +64,7 @@ content: third_party_settings: { } address_postal: type: readonly_field_widget - weight: 16 + weight: 21 region: content settings: label: above @@ -74,7 +74,7 @@ content: third_party_settings: { } call_charge_info: type: readonly_field_widget - weight: 15 + weight: 20 region: content settings: label: above @@ -84,8 +84,8 @@ content: third_party_settings: { } contacts: type: readonly_field_widget + weight: 39 region: content - weight: 36 settings: label: above formatter_type: null @@ -94,7 +94,7 @@ content: third_party_settings: { } description: type: readonly_field_widget - weight: 13 + weight: 18 region: content settings: label: above @@ -104,7 +104,7 @@ content: third_party_settings: { } email: type: readonly_field_widget - weight: 7 + weight: 10 region: content settings: label: above @@ -114,7 +114,7 @@ content: third_party_settings: { } field_content: type: paragraphs - weight: 27 + weight: 28 region: content settings: title: Paragraph @@ -133,7 +133,7 @@ content: third_party_settings: { } field_lower_content: type: paragraphs - weight: 28 + weight: 29 region: content settings: title: Paragraph @@ -152,14 +152,15 @@ content: third_party_settings: { } field_metatags: type: metatag_firehose - weight: 26 + weight: 27 region: content settings: sidebar: false + use_details: true third_party_settings: { } field_unit_type: type: entity_reference_autocomplete - weight: 28 + weight: 30 region: content settings: match_operator: CONTAINS @@ -169,15 +170,15 @@ content: third_party_settings: { } hide_sidebar_navigation: type: boolean_checkbox - weight: 29 + weight: 31 region: content settings: display_label: true third_party_settings: { } highlights: type: readonly_field_widget + weight: 36 region: content - weight: 33 settings: label: above formatter_type: null @@ -193,7 +194,7 @@ content: third_party_settings: { } latitude: type: readonly_field_widget - weight: 17 + weight: 22 region: content settings: label: above @@ -203,8 +204,8 @@ content: third_party_settings: { } links: type: readonly_field_widget + weight: 33 region: content - weight: 31 settings: label: above formatter_type: null @@ -213,7 +214,7 @@ content: third_party_settings: { } longitude: type: readonly_field_widget - weight: 18 + weight: 23 region: content settings: label: above @@ -241,8 +242,8 @@ content: third_party_settings: { } opening_hours: type: readonly_field_widget + weight: 35 region: content - weight: 32 settings: label: above formatter_type: null @@ -251,8 +252,8 @@ content: third_party_settings: { } other_info: type: readonly_field_widget + weight: 37 region: content - weight: 34 settings: label: above formatter_type: null @@ -261,13 +262,13 @@ content: third_party_settings: { } path: type: path - weight: 11 + weight: 16 region: content settings: { } third_party_settings: { } phone: type: readonly_field_widget - weight: 6 + weight: 9 region: content settings: label: above @@ -277,7 +278,7 @@ content: third_party_settings: { } picture_url: type: readonly_field_widget - weight: 3 + weight: 5 region: content settings: label: above @@ -287,15 +288,15 @@ content: third_party_settings: { } picture_url_override: type: media_library_widget - weight: 4 + weight: 6 region: content settings: media_types: { } third_party_settings: { } price_info: type: readonly_field_widget + weight: 38 region: content - weight: 35 settings: label: above formatter_type: null @@ -304,7 +305,7 @@ content: third_party_settings: { } provided_languages: type: readonly_field_widget - weight: 30 + weight: 32 region: content settings: label: above @@ -314,7 +315,7 @@ content: third_party_settings: { } service_map_embed: type: readonly_field_widget - weight: 20 + weight: 25 region: content settings: label: above @@ -324,7 +325,7 @@ content: third_party_settings: { } services: type: readonly_field_widget - weight: 21 + weight: 26 region: content settings: label: above @@ -334,19 +335,44 @@ content: third_party_settings: { } show_www: type: boolean_checkbox - weight: 11 + weight: 15 region: content settings: display_label: true third_party_settings: { } simple_sitemap: - weight: 10 + weight: 14 region: content settings: { } third_party_settings: { } streetview_entrance_url: type: readonly_field_widget - weight: 19 + weight: 24 + region: content + settings: + label: above + formatter_type: null + formatter_settings: { } + show_description: false + third_party_settings: { } + toc_enabled: + type: boolean_checkbox + weight: 3 + region: content + settings: + display_label: true + third_party_settings: { } + toc_title: + type: string_textfield + weight: 4 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + topical: + type: readonly_field_widget + weight: 34 region: content settings: label: above @@ -355,13 +381,13 @@ content: show_description: false third_party_settings: { } translation: - weight: 5 + weight: 8 region: content settings: { } third_party_settings: { } unit_picture_caption: type: string_textarea - weight: 5 + weight: 7 region: content settings: rows: 5 @@ -369,7 +395,7 @@ content: third_party_settings: { } www: type: readonly_field_widget - weight: 10 + weight: 13 region: content settings: label: above diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml index ffd3f8c30..136b7806b 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml @@ -18,7 +18,7 @@ dependencies: - telephone - text _core: - default_config_hash: wdJwarmtiJ0vb01WKk2D0Ze8oSHKTf0ni1WKSnYpfvE + default_config_hash: tfkOTFeDgVhyd9NcyUP7yambOlzTfsjNcKwlLHPsbhw id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -30,7 +30,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 15 + weight: 14 region: content accessibility_phone: type: string @@ -38,14 +38,14 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 14 + weight: 13 region: content accessibility_sentences: type: tpr_accessibility_sentence label: hidden settings: { } third_party_settings: { } - weight: 20 + weight: 21 region: content accessibility_www: type: link @@ -57,14 +57,14 @@ content: rel: '' target: '' third_party_settings: { } - weight: 16 + weight: 15 region: content address: type: address_plain label: hidden settings: { } third_party_settings: { } - weight: 6 + weight: 5 region: content address_postal: type: string @@ -72,14 +72,21 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 10 + weight: 9 region: content call_charge_info: type: text_default label: above settings: { } third_party_settings: { } - weight: 12 + weight: 11 + region: content + contacts: + type: tpr_connection + label: hidden + settings: { } + third_party_settings: { } + weight: 26 region: content description: type: text_default @@ -94,7 +101,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 9 + weight: 8 region: content field_content: type: entity_reference_revisions_entity_view @@ -103,7 +110,7 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 19 + weight: 20 region: content field_lower_content: type: entity_reference_revisions_entity_view @@ -112,14 +119,14 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 21 + weight: 22 region: content field_metatags: type: metatag_empty_formatter label: above settings: { } third_party_settings: { } - weight: 18 + weight: 17 region: content highlights: type: tpr_connection @@ -136,6 +143,13 @@ content: third_party_settings: { } weight: 24 region: content + links: + type: tpr_connection + label: hidden + settings: { } + third_party_settings: { } + weight: 25 + region: content longitude: type: string label: hidden @@ -165,7 +179,14 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 8 + weight: 7 + region: content + other_info: + type: tpr_connection + label: hidden + settings: { } + third_party_settings: { } + weight: 18 region: content phone: type: telephone_link @@ -173,7 +194,7 @@ content: settings: title: '' third_party_settings: { } - weight: 7 + weight: 6 region: content picture_url: type: imagecache_external_responsive_image @@ -193,13 +214,20 @@ content: third_party_settings: { } weight: 4 region: content + price_info: + type: tpr_connection + label: hidden + settings: { } + third_party_settings: { } + weight: 19 + region: content provided_languages: type: string label: hidden settings: link_to_entity: false third_party_settings: { } - weight: 22 + weight: 23 region: content service_map_embed: type: service_map_embed @@ -209,7 +237,7 @@ content: link_title: 'Open larger map' target: true third_party_settings: { } - weight: 11 + weight: 10 region: content services: type: entity_reference_label @@ -217,7 +245,24 @@ content: settings: link: true third_party_settings: { } - weight: 17 + weight: 16 + region: content + toc_enabled: + type: boolean + label: hidden + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 2 + region: content + topical: + type: tpr_connection + label: hidden + settings: { } + third_party_settings: { } + weight: 27 region: content unit_picture_caption: type: basic_string @@ -236,17 +281,13 @@ content: rel: '' target: '' third_party_settings: { } - weight: 13 + weight: 12 region: content hidden: - contacts: true created: true field_unit_type: true hide_description: true langcode: true - links: true - other_info: true - price_info: true search_api_excerpt: true show_www: true streetview_entrance_url: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml index 34262fd27..2ae63ba99 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml @@ -12,7 +12,7 @@ dependencies: - address - helfi_tpr _core: - default_config_hash: lnEuzT7rRncgL-KC-uIf6ZHGYQprRCEHpYN8WrnQUno + default_config_hash: PouCEjXDV9qruMvBHQAwEjr84IOJOn77scrXQSzvxds id: tpr_unit.tpr_unit.minimal targetEntityType: tpr_unit bundle: tpr_unit @@ -74,5 +74,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true + topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml index c548e2dd2..2dbc3b990 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml @@ -14,7 +14,7 @@ dependencies: - helfi_tpr - imagecache_external _core: - default_config_hash: AoDOI9a3GINbOYGLRXgyPzlenlc4f7iHDdcaKsBT-HM + default_config_hash: 38N-rHkqJOOsX8_Ww-SmyCqRGIxVHf-0OngooKeYAVI id: tpr_unit.tpr_unit.teaser targetEntityType: tpr_unit bundle: tpr_unit @@ -92,5 +92,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true + topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml index 9abbd6105..9ffefa191 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml @@ -15,7 +15,7 @@ dependencies: - imagecache_external - telephone _core: - default_config_hash: 4Y6H4T5UpKZSpYZp9BRJvH-cgRpJ9kH2A7-uMC5cioU + default_config_hash: Ibwu6ghoi4cuIpb_xkzuwiOVxa2SoY6lX-BJnVPFSdE id: tpr_unit.tpr_unit.teaser_with_image targetEntityType: tpr_unit bundle: tpr_unit @@ -93,5 +93,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true + topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml index b9f6626ae..be2b0a2a2 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml @@ -15,7 +15,7 @@ dependencies: - imagecache_external - telephone _core: - default_config_hash: fg5HihHWCdwJOdmXVRbiQKj5e9jCOJd4f9lqh0xUZLM + default_config_hash: cbtj72q0WqHIiipxyV67zGXit9W_E8evc0_6J-CtIpA id: tpr_unit.tpr_unit.wide_teaser targetEntityType: tpr_unit bundle: tpr_unit @@ -106,5 +106,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true + topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml index 566a54859..e45cfa62d 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml @@ -8,8 +8,8 @@ id: helfi_announcements label: 'Helfi: Announcements' label_plural: 'Helfi: Announcements' description: '' -generate_aliases: null read_only: true +generate_aliases: null field_mapper_id: jsonpath field_mapper_config: field_mappings: diff --git a/conf/cmi/user.role.admin.yml b/conf/cmi/user.role.admin.yml index 809087c0d..76c1d84d2 100644 --- a/conf/cmi/user.role.admin.yml +++ b/conf/cmi/user.role.admin.yml @@ -210,8 +210,6 @@ permissions: - 'update media' - 'update own tpr_service' - 'update own tpr_unit' - - 'update tpr_service' - - 'update tpr_unit' - 'use menu link attributes' - 'use siteimprove' - 'use siteimprove prepublish' diff --git a/conf/cmi/views.view.editoria11y_dismissals.yml b/conf/cmi/views.view.editoria11y_dismissals.yml index dcfbd24d6..5ebb58557 100644 --- a/conf/cmi/views.view.editoria11y_dismissals.yml +++ b/conf/cmi/views.view.editoria11y_dismissals.yml @@ -1,3 +1,4 @@ +uuid: 7cc712a4-ef90-44ac-b5c5-82765cd338a4 langcode: en status: true dependencies: diff --git a/conf/cmi/views.view.editoria11y_results.yml b/conf/cmi/views.view.editoria11y_results.yml index ce768f299..84276083a 100644 --- a/conf/cmi/views.view.editoria11y_results.yml +++ b/conf/cmi/views.view.editoria11y_results.yml @@ -1,3 +1,4 @@ +uuid: 3e031fae-4813-472f-b8d7-422c9c3184d7 langcode: en status: true dependencies: diff --git a/docker-compose.yml b/docker-compose.yml index c7dc6ba8b..941446d7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,8 @@ services: # Optionally, you can add this to your default environments variables to enable or disable # xdebug by default (like /etc/environments, ~/.bashrc, or ~/.zshrc). XDEBUG_ENABLE: "${XDEBUG_ENABLE:-false}" + XDEBUG_CONFIG: "${XDEBUG_CONFIG:-}" + PHP_IDE_CONFIG: "${PHP_IDE_CONFIG:-serverName=${DRUPAL_HOSTNAME}}" # DOCKERHOST: host.docker.internal # Use drush server to run functional tests, so we don't have to care about # permission or SSL issues. @@ -121,7 +123,7 @@ services: container_name: "${COMPOSE_PROJECT_NAME}-artemis" image: quay.io/artemiscloud/activemq-artemis-broker environment: - AMQ_EXTRA_ARGS: "--nio --user admin --password admin" + AMQ_EXTRA_ARGS: "--user admin --password admin" depends_on: - app networks: diff --git a/tools/make/project/install.mk b/tools/make/project/install.mk index c38be1433..03b477635 100644 --- a/tools/make/project/install.mk +++ b/tools/make/project/install.mk @@ -6,7 +6,12 @@ endif DRUPAL_POST_INSTALL_TARGETS := drush-deploy drush-locale-update drush-uli OC_LOGIN_TOKEN ?= $(shell bash -c 'read -s -p "You must obtain an API token by visiting https://oauth-openshift.apps.arodevtest.hel.fi/oauth/token/request (Token):" token; echo $$token') + +SYNC_TARGETS := drush-sync-db + +ifneq ($(DUMP_SQL_EXISTS),yes) SYNC_TARGETS := oc-login oc-sync +endif PHONY += oc-login oc-login: