update SlackNotifySubscriber.php

This commit is contained in:
Marko 2023-11-02 09:43:23 +01:00
parent 03de76a5b3
commit e8a531b407
No known key found for this signature in database
30 changed files with 84213 additions and 511 deletions

49
.ddev/providers/lagoon.yaml Executable file

@ -0,0 +1,49 @@
#ddev-generated
# Lagoon provider configuration.
# To use this configuration,
# 1. Check out the project and then configure it with 'ddev config'. You'll want to use 'ddev start' and make sure the basic functionality is working. Your project must have a .lagoon.yml properly configured.
# 2. Configure an SSH key for your Lagoon user https://docs.lagoon.sh/using-lagoon-advanced/ssh/
# 3. `ddev auth ssh`.
# 4. Add LAGOON_PROJECT and LAGOON_ENVIRONMENT variables to your project in 'web_environment' or a '.ddev/.env'
# 5. `ddev restart`
#
# 'ddev pull lagoon'
auth_command:
command: |
set -eu -o pipefail
ssh-add -l >/dev/null || ( echo "Please 'ddev auth ssh' before running this command." && exit 1 )
if [ -z "${LAGOON_PROJECT:-}" ]; then echo "Please make sure you have set the LAGOON_PROJECT environment variable in your 'web_environment' or .ddev/.env." && exit 1; fi
if [ -z "${LAGOON_ENVIRONMENT}" ]; then echo "Please make sure you have set the LAGOON_ENVIRONMENT environment variable in your 'web_environment' or .ddev/.env." && exit 1; fi
db_import_command:
command: |
# set -x # You can enable bash debugging output by uncommenting
set -eu -o pipefail
export MARIADB_HOST=db MARIADB_USERNAME=db MARIADB_PASSWORD=db MARIADB_DATABASE=db
lagoon-sync sync mariadb -p ${LAGOON_PROJECT} -e ${LAGOON_ENVIRONMENT} --no-interaction
files_import_command:
command: |
#set -x # You can enable bash debugging output by uncommenting
set -eu -o pipefail
lagoon-sync sync files -p ${LAGOON_PROJECT} -e ${LAGOON_ENVIRONMENT} --no-interaction
# push is a dangerous command. If not absolutely needed it's better to delete these lines.
db_push_command:
command: |
set -eu -o pipefail
#set -x # You can enable bash debugging output by uncommenting
export MARIADB_HOST=db MARIADB_USERNAME=db MARIADB_PASSWORD=db MARIADB_DATABASE=db
lagoon-sync sync mariadb -p ${LAGOON_PROJECT} -t ${LAGOON_ENVIRONMENT} -e local --no-interaction
# push is a dangerous command. If not absolutely needed it's better to delete these lines.
files_push_command:
command: |
set -eu -o pipefail
#set -x # You can enable bash debugging output by uncommenting
lagoon-sync sync files -p ${LAGOON_PROJECT} -e local -t ${LAGOON_ENVIRONMENT} --no-interaction

4
.idea/dataSources.xml generated

@ -8,13 +8,13 @@
<jdbc-url>jdbc:mysql://127.0.0.1:3306</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
<data-source source="LOCAL" name="DDEV" uuid="4f0eac1b-a05a-46ad-b191-45cbcbad373f">
<data-source source="LOCAL" name="DDEV" uuid="ac04e527-2f9a-49a3-9321-8e4d0cb5d115">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<configured-by-url>true</configured-by-url>
<remarks>DDEV generated data source</remarks>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://127.0.0.1:55567/db?user=db&amp;password=db</jdbc-url>
<jdbc-url>jdbc:mariadb://127.0.0.1:60799/db?user=db&amp;password=db</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>

305
composer.lock generated

@ -8,16 +8,16 @@
"packages": [
{
"name": "api-platform/core",
"version": "v3.1.18",
"version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/api-platform/core.git",
"reference": "198ca0f1f1c9f730a15e85762b04af43eb43424e"
"reference": "de8d5835f0a349f80a32b268be893d8e2cf85a07"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/api-platform/core/zipball/198ca0f1f1c9f730a15e85762b04af43eb43424e",
"reference": "198ca0f1f1c9f730a15e85762b04af43eb43424e",
"url": "https://api.github.com/repos/api-platform/core/zipball/de8d5835f0a349f80a32b268be893d8e2cf85a07",
"reference": "de8d5835f0a349f80a32b268be893d8e2cf85a07",
"shasum": ""
},
"require": {
@ -41,7 +41,7 @@
"doctrine/mongodb-odm": "<2.4",
"doctrine/orm": "<2.14.0",
"doctrine/persistence": "<1.3",
"elasticsearch/elasticsearch": ">=8.0",
"elasticsearch/elasticsearch": ">=8.0,<8.4",
"phpspec/prophecy": "<1.15",
"phpunit/phpunit": "<9.5",
"symfony/var-exporter": "<6.1.1"
@ -56,7 +56,7 @@
"doctrine/mongodb-odm": "^2.2",
"doctrine/mongodb-odm-bundle": "^4.0",
"doctrine/orm": "^2.14",
"elasticsearch/elasticsearch": "^7.11.0",
"elasticsearch/elasticsearch": "^7.11 || ^8.4",
"friends-of-behat/mink-browserkit-driver": "^1.3.1",
"friends-of-behat/mink-extension": "^2.2",
"friends-of-behat/symfony-extension": "^2.1",
@ -99,6 +99,7 @@
"symfony/routing": "^6.1",
"symfony/security-bundle": "^6.1",
"symfony/security-core": "^6.1",
"symfony/stopwatch": "^6.1",
"symfony/twig-bundle": "^6.1",
"symfony/uid": "^6.1",
"symfony/validator": "^6.1",
@ -128,7 +129,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.2.x-dev"
"dev-main": "3.3.x-dev"
},
"symfony": {
"require": "^6.1"
@ -165,15 +166,9 @@
],
"support": {
"issues": "https://github.com/api-platform/core/issues",
"source": "https://github.com/api-platform/core/tree/v3.1.18"
"source": "https://github.com/api-platform/core/tree/v3.2.0"
},
"funding": [
{
"url": "https://tidelift.com/funding/github/packagist/api-platform/core",
"type": "tidelift"
}
],
"time": "2023-09-15T13:45:54+00:00"
"time": "2023-10-12T10:35:19+00:00"
},
{
"name": "doctrine/annotations",
@ -346,16 +341,16 @@
},
{
"name": "doctrine/collections",
"version": "2.1.3",
"version": "2.1.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/collections.git",
"reference": "3023e150f90a38843856147b58190aa8b46cc155"
"reference": "72328a11443a0de79967104ad36ba7b30bded134"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/collections/zipball/3023e150f90a38843856147b58190aa8b46cc155",
"reference": "3023e150f90a38843856147b58190aa8b46cc155",
"url": "https://api.github.com/repos/doctrine/collections/zipball/72328a11443a0de79967104ad36ba7b30bded134",
"reference": "72328a11443a0de79967104ad36ba7b30bded134",
"shasum": ""
},
"require": {
@ -363,7 +358,7 @@
"php": "^8.1"
},
"require-dev": {
"doctrine/coding-standard": "^10.0",
"doctrine/coding-standard": "^12",
"ext-json": "*",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.0",
@ -412,7 +407,7 @@
],
"support": {
"issues": "https://github.com/doctrine/collections/issues",
"source": "https://github.com/doctrine/collections/tree/2.1.3"
"source": "https://github.com/doctrine/collections/tree/2.1.4"
},
"funding": [
{
@ -428,7 +423,7 @@
"type": "tidelift"
}
],
"time": "2023-07-06T15:15:36+00:00"
"time": "2023-10-03T09:22:33+00:00"
},
{
"name": "doctrine/common",
@ -523,16 +518,16 @@
},
{
"name": "doctrine/dbal",
"version": "3.7.0",
"version": "3.7.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf"
"reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/00d03067f07482f025d41ab55e4ba0db5eca2cdf",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"shasum": ""
},
"require": {
@ -616,7 +611,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.7.0"
"source": "https://github.com/doctrine/dbal/tree/3.7.1"
},
"funding": [
{
@ -632,20 +627,20 @@
"type": "tidelift"
}
],
"time": "2023-09-26T20:56:55+00:00"
"time": "2023-10-06T05:06:20+00:00"
},
{
"name": "doctrine/deprecations",
"version": "v1.1.1",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"
"reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
"reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
"reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
"shasum": ""
},
"require": {
@ -677,9 +672,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/v1.1.1"
"source": "https://github.com/doctrine/deprecations/tree/1.1.2"
},
"time": "2023-06-03T09:27:29+00:00"
"time": "2023-09-27T20:04:15+00:00"
},
{
"name": "doctrine/doctrine-bundle",
@ -2927,16 +2922,16 @@
},
{
"name": "symfony/cache",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "e60d00b4f633efa4c1ef54e77c12762d9073e7b3"
"reference": "6c1a3ea078c4d88ee892530945df63a87981b2da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/e60d00b4f633efa4c1ef54e77c12762d9073e7b3",
"reference": "e60d00b4f633efa4c1ef54e77c12762d9073e7b3",
"url": "https://api.github.com/repos/symfony/cache/zipball/6c1a3ea078c4d88ee892530945df63a87981b2da",
"reference": "6c1a3ea078c4d88ee892530945df63a87981b2da",
"shasum": ""
},
"require": {
@ -3003,7 +2998,7 @@
"psr6"
],
"support": {
"source": "https://github.com/symfony/cache/tree/v6.3.4"
"source": "https://github.com/symfony/cache/tree/v6.3.5"
},
"funding": [
{
@ -3019,7 +3014,7 @@
"type": "tidelift"
}
],
"time": "2023-08-05T09:10:27+00:00"
"time": "2023-09-26T15:48:55+00:00"
},
{
"name": "symfony/cache-contracts",
@ -3337,16 +3332,16 @@
},
{
"name": "symfony/dependency-injection",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "68a5a9570806a087982f383f6109c5e925892a49"
"reference": "2ed62b3bf98346e1f45529a7b6be2196739bb993"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/68a5a9570806a087982f383f6109c5e925892a49",
"reference": "68a5a9570806a087982f383f6109c5e925892a49",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2ed62b3bf98346e1f45529a7b6be2196739bb993",
"reference": "2ed62b3bf98346e1f45529a7b6be2196739bb993",
"shasum": ""
},
"require": {
@ -3398,7 +3393,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/dependency-injection/tree/v6.3.4"
"source": "https://github.com/symfony/dependency-injection/tree/v6.3.5"
},
"funding": [
{
@ -3414,7 +3409,7 @@
"type": "tidelift"
}
],
"time": "2023-08-16T17:55:17+00:00"
"time": "2023-09-25T16:46:40+00:00"
},
{
"name": "symfony/deprecation-contracts",
@ -3485,16 +3480,16 @@
},
{
"name": "symfony/doctrine-bridge",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/doctrine-bridge.git",
"reference": "589eeeb93669739ec1d8bd4593e4972d94e0981d"
"reference": "9977eb1adf999ceded213e88c1ac6dff7a1a0306"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/589eeeb93669739ec1d8bd4593e4972d94e0981d",
"reference": "589eeeb93669739ec1d8bd4593e4972d94e0981d",
"url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/9977eb1adf999ceded213e88c1ac6dff7a1a0306",
"reference": "9977eb1adf999ceded213e88c1ac6dff7a1a0306",
"shasum": ""
},
"require": {
@ -3575,7 +3570,7 @@
"description": "Provides integration for Doctrine with various Symfony components",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/doctrine-bridge/tree/v6.3.4"
"source": "https://github.com/symfony/doctrine-bridge/tree/v6.3.5"
},
"funding": [
{
@ -3591,7 +3586,7 @@
"type": "tidelift"
}
],
"time": "2023-08-08T10:40:25+00:00"
"time": "2023-09-29T16:16:03+00:00"
},
{
"name": "symfony/dotenv",
@ -3669,16 +3664,16 @@
},
{
"name": "symfony/error-handler",
"version": "v6.3.2",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "85fd65ed295c4078367c784e8a5a6cee30348b7a"
"reference": "1f69476b64fb47105c06beef757766c376b548c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/85fd65ed295c4078367c784e8a5a6cee30348b7a",
"reference": "85fd65ed295c4078367c784e8a5a6cee30348b7a",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/1f69476b64fb47105c06beef757766c376b548c4",
"reference": "1f69476b64fb47105c06beef757766c376b548c4",
"shasum": ""
},
"require": {
@ -3723,7 +3718,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v6.3.2"
"source": "https://github.com/symfony/error-handler/tree/v6.3.5"
},
"funding": [
{
@ -3739,7 +3734,7 @@
"type": "tidelift"
}
],
"time": "2023-07-16T17:05:46+00:00"
"time": "2023-09-12T06:57:20+00:00"
},
{
"name": "symfony/event-dispatcher",
@ -4026,16 +4021,16 @@
},
{
"name": "symfony/finder",
"version": "v6.3.3",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "9915db259f67d21eefee768c1abcf1cc61b1fc9e"
"reference": "a1b31d88c0e998168ca7792f222cbecee47428c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/9915db259f67d21eefee768c1abcf1cc61b1fc9e",
"reference": "9915db259f67d21eefee768c1abcf1cc61b1fc9e",
"url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4",
"reference": "a1b31d88c0e998168ca7792f222cbecee47428c4",
"shasum": ""
},
"require": {
@ -4070,7 +4065,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v6.3.3"
"source": "https://github.com/symfony/finder/tree/v6.3.5"
},
"funding": [
{
@ -4086,7 +4081,7 @@
"type": "tidelift"
}
],
"time": "2023-07-31T08:31:44+00:00"
"time": "2023-09-26T12:56:25+00:00"
},
{
"name": "symfony/flex",
@ -4155,16 +4150,16 @@
},
{
"name": "symfony/form",
"version": "v6.3.2",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/form.git",
"reference": "afdadf511e08bc6d4752afb869ce084276aca4e2"
"reference": "0f9ad8600c1021983d096512066ee54332aa3139"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/form/zipball/afdadf511e08bc6d4752afb869ce084276aca4e2",
"reference": "afdadf511e08bc6d4752afb869ce084276aca4e2",
"url": "https://api.github.com/repos/symfony/form/zipball/0f9ad8600c1021983d096512066ee54332aa3139",
"reference": "0f9ad8600c1021983d096512066ee54332aa3139",
"shasum": ""
},
"require": {
@ -4232,7 +4227,7 @@
"description": "Allows to easily create, process and reuse HTML forms",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/form/tree/v6.3.2"
"source": "https://github.com/symfony/form/tree/v6.3.5"
},
"funding": [
{
@ -4248,20 +4243,20 @@
"type": "tidelift"
}
],
"time": "2023-07-26T17:39:03+00:00"
"time": "2023-09-10T17:47:23+00:00"
},
{
"name": "symfony/framework-bundle",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/framework-bundle.git",
"reference": "f822f54ff05cd88878910b4559f66c12176d952c"
"reference": "567cafcfc08e3076b47290a7558b0ca17a98b0ce"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/framework-bundle/zipball/f822f54ff05cd88878910b4559f66c12176d952c",
"reference": "f822f54ff05cd88878910b4559f66c12176d952c",
"url": "https://api.github.com/repos/symfony/framework-bundle/zipball/567cafcfc08e3076b47290a7558b0ca17a98b0ce",
"reference": "567cafcfc08e3076b47290a7558b0ca17a98b0ce",
"shasum": ""
},
"require": {
@ -4376,7 +4371,7 @@
"description": "Provides a tight integration between Symfony components and the Symfony full-stack framework",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/framework-bundle/tree/v6.3.4"
"source": "https://github.com/symfony/framework-bundle/tree/v6.3.5"
},
"funding": [
{
@ -4392,20 +4387,20 @@
"type": "tidelift"
}
],
"time": "2023-08-16T18:04:38+00:00"
"time": "2023-09-29T10:45:15+00:00"
},
{
"name": "symfony/http-client",
"version": "v6.3.2",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-client.git",
"reference": "15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00"
"reference": "213e564da4cbf61acc9728d97e666bcdb868c10d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-client/zipball/15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00",
"reference": "15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00",
"url": "https://api.github.com/repos/symfony/http-client/zipball/213e564da4cbf61acc9728d97e666bcdb868c10d",
"reference": "213e564da4cbf61acc9728d97e666bcdb868c10d",
"shasum": ""
},
"require": {
@ -4468,7 +4463,7 @@
"http"
],
"support": {
"source": "https://github.com/symfony/http-client/tree/v6.3.2"
"source": "https://github.com/symfony/http-client/tree/v6.3.5"
},
"funding": [
{
@ -4484,7 +4479,7 @@
"type": "tidelift"
}
],
"time": "2023-07-05T08:41:27+00:00"
"time": "2023-09-29T15:57:12+00:00"
},
{
"name": "symfony/http-client-contracts",
@ -4566,16 +4561,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "cac1556fdfdf6719668181974104e6fcfa60e844"
"reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/cac1556fdfdf6719668181974104e6fcfa60e844",
"reference": "cac1556fdfdf6719668181974104e6fcfa60e844",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/b50f5e281d722cb0f4c296f908bacc3e2b721957",
"reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957",
"shasum": ""
},
"require": {
@ -4623,7 +4618,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.3.4"
"source": "https://github.com/symfony/http-foundation/tree/v6.3.5"
},
"funding": [
{
@ -4639,20 +4634,20 @@
"type": "tidelift"
}
],
"time": "2023-08-22T08:20:46+00:00"
"time": "2023-09-04T21:33:54+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb"
"reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb",
"reference": "36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/9f991a964368bee8d883e8d57ced4fe9fff04dfc",
"reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc",
"shasum": ""
},
"require": {
@ -4736,7 +4731,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v6.3.4"
"source": "https://github.com/symfony/http-kernel/tree/v6.3.5"
},
"funding": [
{
@ -4752,7 +4747,7 @@
"type": "tidelift"
}
],
"time": "2023-08-26T13:54:49+00:00"
"time": "2023-09-30T06:37:04+00:00"
},
{
"name": "symfony/notifier",
@ -4901,16 +4896,16 @@
},
{
"name": "symfony/password-hasher",
"version": "v6.3.0",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/password-hasher.git",
"reference": "d23ad221989e6b8278d050cabfd7b569eee84590"
"reference": "278d3a49715073879f75e372ad80b8cfeca949d3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/password-hasher/zipball/d23ad221989e6b8278d050cabfd7b569eee84590",
"reference": "d23ad221989e6b8278d050cabfd7b569eee84590",
"url": "https://api.github.com/repos/symfony/password-hasher/zipball/278d3a49715073879f75e372ad80b8cfeca949d3",
"reference": "278d3a49715073879f75e372ad80b8cfeca949d3",
"shasum": ""
},
"require": {
@ -4953,7 +4948,7 @@
"password"
],
"support": {
"source": "https://github.com/symfony/password-hasher/tree/v6.3.0"
"source": "https://github.com/symfony/password-hasher/tree/v6.3.5"
},
"funding": [
{
@ -4969,7 +4964,7 @@
"type": "tidelift"
}
],
"time": "2023-02-14T09:04:20+00:00"
"time": "2023-09-25T17:05:16+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
@ -5702,16 +5697,16 @@
},
{
"name": "symfony/routing",
"version": "v6.3.3",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "e7243039ab663822ff134fbc46099b5fdfa16f6a"
"reference": "82616e59acd3e3d9c916bba798326cb7796d7d31"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/e7243039ab663822ff134fbc46099b5fdfa16f6a",
"reference": "e7243039ab663822ff134fbc46099b5fdfa16f6a",
"url": "https://api.github.com/repos/symfony/routing/zipball/82616e59acd3e3d9c916bba798326cb7796d7d31",
"reference": "82616e59acd3e3d9c916bba798326cb7796d7d31",
"shasum": ""
},
"require": {
@ -5765,7 +5760,7 @@
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v6.3.3"
"source": "https://github.com/symfony/routing/tree/v6.3.5"
},
"funding": [
{
@ -5781,7 +5776,7 @@
"type": "tidelift"
}
],
"time": "2023-07-31T07:08:24+00:00"
"time": "2023-09-20T16:05:51+00:00"
},
{
"name": "symfony/runtime",
@ -5864,16 +5859,16 @@
},
{
"name": "symfony/security-bundle",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/security-bundle.git",
"reference": "31957477b289220a47880ead3727bf5cc059fa08"
"reference": "2df460eacceb11b9287cfafddda4d27023dd9001"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/31957477b289220a47880ead3727bf5cc059fa08",
"reference": "31957477b289220a47880ead3727bf5cc059fa08",
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/2df460eacceb11b9287cfafddda4d27023dd9001",
"reference": "2df460eacceb11b9287cfafddda4d27023dd9001",
"shasum": ""
},
"require": {
@ -5890,7 +5885,7 @@
"symfony/password-hasher": "^5.4|^6.0",
"symfony/security-core": "^6.2",
"symfony/security-csrf": "^5.4|^6.0",
"symfony/security-http": "^6.3"
"symfony/security-http": "^6.3.4"
},
"conflict": {
"symfony/browser-kit": "<5.4",
@ -5954,7 +5949,7 @@
"description": "Provides a tight integration of the Security component into the Symfony full-stack framework",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/security-bundle/tree/v6.3.4"
"source": "https://github.com/symfony/security-bundle/tree/v6.3.5"
},
"funding": [
{
@ -5970,20 +5965,20 @@
"type": "tidelift"
}
],
"time": "2023-08-25T08:46:23+00:00"
"time": "2023-09-25T17:05:55+00:00"
},
{
"name": "symfony/security-core",
"version": "v6.3.3",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/security-core.git",
"reference": "b86ce012cc9a62a15ed43af5037eebc3e6de4d7f"
"reference": "ec8f24dc1195f46483510892271d01a5202bba70"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/security-core/zipball/b86ce012cc9a62a15ed43af5037eebc3e6de4d7f",
"reference": "b86ce012cc9a62a15ed43af5037eebc3e6de4d7f",
"url": "https://api.github.com/repos/symfony/security-core/zipball/ec8f24dc1195f46483510892271d01a5202bba70",
"reference": "ec8f24dc1195f46483510892271d01a5202bba70",
"shasum": ""
},
"require": {
@ -6039,7 +6034,7 @@
"description": "Symfony Security Component - Core Library",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/security-core/tree/v6.3.3"
"source": "https://github.com/symfony/security-core/tree/v6.3.5"
},
"funding": [
{
@ -6055,7 +6050,7 @@
"type": "tidelift"
}
],
"time": "2023-07-31T07:08:24+00:00"
"time": "2023-09-10T17:47:23+00:00"
},
{
"name": "symfony/security-csrf",
@ -6127,16 +6122,16 @@
},
{
"name": "symfony/security-http",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/security-http.git",
"reference": "0afb37c1120c1c46219bdbd1dd912fb4d48eaf7d"
"reference": "47058ea557a4c64ba86e9249651222842bd52e2a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/security-http/zipball/0afb37c1120c1c46219bdbd1dd912fb4d48eaf7d",
"reference": "0afb37c1120c1c46219bdbd1dd912fb4d48eaf7d",
"url": "https://api.github.com/repos/symfony/security-http/zipball/47058ea557a4c64ba86e9249651222842bd52e2a",
"reference": "47058ea557a4c64ba86e9249651222842bd52e2a",
"shasum": ""
},
"require": {
@ -6194,7 +6189,7 @@
"description": "Symfony Security Component - HTTP Integration",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/security-http/tree/v6.3.4"
"source": "https://github.com/symfony/security-http/tree/v6.3.5"
},
"funding": [
{
@ -6210,20 +6205,20 @@
"type": "tidelift"
}
],
"time": "2023-08-25T19:43:09+00:00"
"time": "2023-08-30T06:30:46+00:00"
},
{
"name": "symfony/serializer",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "96d28a58d5a128bf77c54534b380eb7c92c8f846"
"reference": "855fc058c8bdbb69f53834f2fdb3876c9bc0ab7c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/96d28a58d5a128bf77c54534b380eb7c92c8f846",
"reference": "96d28a58d5a128bf77c54534b380eb7c92c8f846",
"url": "https://api.github.com/repos/symfony/serializer/zipball/855fc058c8bdbb69f53834f2fdb3876c9bc0ab7c",
"reference": "855fc058c8bdbb69f53834f2fdb3876c9bc0ab7c",
"shasum": ""
},
"require": {
@ -6288,7 +6283,7 @@
"description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/serializer/tree/v6.3.4"
"source": "https://github.com/symfony/serializer/tree/v6.3.5"
},
"funding": [
{
@ -6304,7 +6299,7 @@
"type": "tidelift"
}
],
"time": "2023-08-24T14:35:28+00:00"
"time": "2023-09-29T16:18:53+00:00"
},
{
"name": "symfony/service-contracts",
@ -6519,16 +6514,16 @@
},
{
"name": "symfony/string",
"version": "v6.3.2",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "53d1a83225002635bca3482fcbf963001313fb68"
"reference": "13d76d0fb049051ed12a04bef4f9de8715bea339"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68",
"reference": "53d1a83225002635bca3482fcbf963001313fb68",
"url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339",
"reference": "13d76d0fb049051ed12a04bef4f9de8715bea339",
"shasum": ""
},
"require": {
@ -6585,7 +6580,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v6.3.2"
"source": "https://github.com/symfony/string/tree/v6.3.5"
},
"funding": [
{
@ -6601,7 +6596,7 @@
"type": "tidelift"
}
],
"time": "2023-07-05T08:41:27+00:00"
"time": "2023-09-18T10:38:32+00:00"
},
{
"name": "symfony/translation-contracts",
@ -6683,16 +6678,16 @@
},
{
"name": "symfony/twig-bridge",
"version": "v6.3.2",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/twig-bridge.git",
"reference": "6f8435db76a2d79917489a19a82679276c1b4e32"
"reference": "18f2cbe1d46ad43c4d3bd45e5e6279172068e064"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/twig-bridge/zipball/6f8435db76a2d79917489a19a82679276c1b4e32",
"reference": "6f8435db76a2d79917489a19a82679276c1b4e32",
"url": "https://api.github.com/repos/symfony/twig-bridge/zipball/18f2cbe1d46ad43c4d3bd45e5e6279172068e064",
"reference": "18f2cbe1d46ad43c4d3bd45e5e6279172068e064",
"shasum": ""
},
"require": {
@ -6771,7 +6766,7 @@
"description": "Provides integration for Twig with various Symfony components",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/twig-bridge/tree/v6.3.2"
"source": "https://github.com/symfony/twig-bridge/tree/v6.3.5"
},
"funding": [
{
@ -6787,7 +6782,7 @@
"type": "tidelift"
}
],
"time": "2023-07-20T16:42:33+00:00"
"time": "2023-09-12T06:57:20+00:00"
},
{
"name": "symfony/twig-bundle",
@ -6876,16 +6871,16 @@
},
{
"name": "symfony/validator",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/validator.git",
"reference": "0c8435154920b9bbe93bece675234c244cadf73b"
"reference": "48e815ba3b5eb72e632588dbf7ea2dc4e608ee47"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/validator/zipball/0c8435154920b9bbe93bece675234c244cadf73b",
"reference": "0c8435154920b9bbe93bece675234c244cadf73b",
"url": "https://api.github.com/repos/symfony/validator/zipball/48e815ba3b5eb72e632588dbf7ea2dc4e608ee47",
"reference": "48e815ba3b5eb72e632588dbf7ea2dc4e608ee47",
"shasum": ""
},
"require": {
@ -6952,7 +6947,7 @@
"description": "Provides tools to validate values",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/validator/tree/v6.3.4"
"source": "https://github.com/symfony/validator/tree/v6.3.5"
},
"funding": [
{
@ -6968,20 +6963,20 @@
"type": "tidelift"
}
],
"time": "2023-08-17T15:49:05+00:00"
"time": "2023-09-29T07:41:15+00:00"
},
{
"name": "symfony/var-dumper",
"version": "v6.3.4",
"version": "v6.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "2027be14f8ae8eae999ceadebcda5b4909b81d45"
"reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/2027be14f8ae8eae999ceadebcda5b4909b81d45",
"reference": "2027be14f8ae8eae999ceadebcda5b4909b81d45",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/3d9999376be5fea8de47752837a3e1d1c5f69ef5",
"reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5",
"shasum": ""
},
"require": {
@ -7036,7 +7031,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.3.4"
"source": "https://github.com/symfony/var-dumper/tree/v6.3.5"
},
"funding": [
{
@ -7052,7 +7047,7 @@
"type": "tidelift"
}
],
"time": "2023-08-24T14:51:05+00:00"
"time": "2023-09-12T10:11:35+00:00"
},
{
"name": "symfony/var-exporter",

@ -2,7 +2,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-cyrillic-ext-400-normal.woff2) format('woff2'), url(./files/open-sans-cyrillic-ext-400-normal.woff) format('woff');
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
@ -12,7 +12,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-cyrillic-400-normal.woff2) format('woff2'), url(./files/open-sans-cyrillic-400-normal.woff) format('woff');
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
@ -22,7 +22,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-greek-ext-400-normal.woff2) format('woff2'), url(./files/open-sans-greek-ext-400-normal.woff) format('woff');
unicode-range: U+1F00-1FFF;
@ -32,7 +32,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-greek-400-normal.woff2) format('woff2'), url(./files/open-sans-greek-400-normal.woff) format('woff');
unicode-range: U+0370-03FF;
@ -42,7 +42,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-hebrew-400-normal.woff2) format('woff2'), url(./files/open-sans-hebrew-400-normal.woff) format('woff');
unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
@ -52,7 +52,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-vietnamese-400-normal.woff2) format('woff2'), url(./files/open-sans-vietnamese-400-normal.woff) format('woff');
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
@ -62,18 +62,18 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-latin-ext-400-normal.woff2) format('woff2'), url(./files/open-sans-latin-ext-400-normal.woff) format('woff');
unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* open-sans-latin-400-normal */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 400;
src: url(./files/open-sans-latin-400-normal.woff2) format('woff2'), url(./files/open-sans-latin-400-normal.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@ -2,7 +2,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-cyrillic-ext-700-normal.woff2) format('woff2'), url(./files/open-sans-cyrillic-ext-700-normal.woff) format('woff');
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
@ -12,7 +12,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-cyrillic-700-normal.woff2) format('woff2'), url(./files/open-sans-cyrillic-700-normal.woff) format('woff');
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
@ -22,7 +22,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-greek-ext-700-normal.woff2) format('woff2'), url(./files/open-sans-greek-ext-700-normal.woff) format('woff');
unicode-range: U+1F00-1FFF;
@ -32,7 +32,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-greek-700-normal.woff2) format('woff2'), url(./files/open-sans-greek-700-normal.woff) format('woff');
unicode-range: U+0370-03FF;
@ -42,7 +42,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-hebrew-700-normal.woff2) format('woff2'), url(./files/open-sans-hebrew-700-normal.woff) format('woff');
unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
@ -52,7 +52,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-vietnamese-700-normal.woff2) format('woff2'), url(./files/open-sans-vietnamese-700-normal.woff) format('woff');
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
@ -62,18 +62,18 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-latin-ext-700-normal.woff2) format('woff2'), url(./files/open-sans-latin-ext-700-normal.woff) format('woff');
unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* open-sans-latin-700-normal */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: var(--fontsource-display, swap);
font-display: swap;
font-weight: 700;
src: url(./files/open-sans-latin-700-normal.woff2) format('woff2'), url(./files/open-sans-latin-700-normal.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -9,7 +9,7 @@ window.onload = function() {
self.disconnect();
op.querySelector('.opblock-summary').click();
op.querySelector('.opblock-summary-control').click();
const tryOutObserver = new MutationObserver(function (mutations, self) {
const tryOut = op.querySelector('.try-out__btn');
if (!tryOut) return;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -43,19 +43,33 @@ class SlackNotifySubscriber implements EventSubscriberInterface
*/
public function sendSlack(ViewEvent $event): void
{
$slack = new Client($this->slackWebhookUrl);
$slack = new Client($this->slackWebhookUrl, [
'username' => 'CDS-Notify',
'channel' => '#general',
'link_names' => true
]);
$order = $event->getControllerResult();
$method = $event->getRequest()->getMethod();
//wenn es keine Bestellung ist oder es kein POST Request ist, dann return
if (!$order instanceof Order || Request::METHOD_POST !== $method) {
//wenn es keine Bestellung ist oder es kein POST Request ist, dann return
if (!$order instanceof Order || Request::METHOD_POST !== $method) {
return;
}
}
$msg = "Bestellung {$order->getId()}: ";
foreach($order->getData() as $item) {
if($item['menge'] > 0 && strlen($item['sku']) > 0) {
$msg .= ' '.$item['name'];
$msg .= ' - '.$item['sku'];
$msg .= ' Menge: '.$item['menge'];
}
}
if($order->getStatus() == 1) {
$msg = "Bestellung {$order->getId()} has been created: {$order->getStatus()} json: " . json_encode($order);
$slack->from('CDS-Notify')->send($msg);
$slack->from('CDS-Notify')
->send($msg);
}
}
}