@frontastic/common 2.48.2 → 2.48.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/composer.json +4 -3
  3. package/composer.lock +7552 -0
  4. package/docs/README.md +50 -0
  5. package/docs/php/AccountApiBundle/Command/CreateAccountCommand.md +1 -1
  6. package/docs/php/AccountApiBundle/Controller/LegacyAccountAuthController.md +2 -2
  7. package/docs/php/CoreBundle/Domain/Mailer/SwiftMail.md +2 -2
  8. package/docs/php/CoreBundle/EventListener/JsonExceptionListener.md +2 -2
  9. package/docs/php/CoreBundle/EventListener/JsonViewListener.md +2 -2
  10. package/docs/php/DevelopmentBundle/EventListener/BrowserConsoleDebuggerListener.md +2 -2
  11. package/docs/php/Mvc/EventDispatcher/EventDispatcher.md +40 -0
  12. package/docs/php/Mvc/Exception/FormAlreadyHandledException.md +25 -0
  13. package/docs/php/Mvc/Exception/NoFormHandledException.md +19 -0
  14. package/docs/php/Mvc/Exception/UnauthenticatedUserException.md +7 -0
  15. package/docs/php/Mvc/Flash.md +30 -0
  16. package/docs/php/Mvc/Form/InvalidFormRequest.md +88 -0
  17. package/docs/php/Mvc/Form/ValidFormRequest.md +103 -0
  18. package/docs/php/Mvc/FormRequest.md +86 -0
  19. package/docs/php/Mvc/Headers.md +27 -0
  20. package/docs/php/Mvc/RedirectRoute.md +63 -0
  21. package/docs/php/Mvc/TemplateView.md +65 -0
  22. package/docs/php/Mvc/TokenContext.md +124 -0
  23. package/docs/php/Mvc/ViewStruct.md +56 -0
  24. package/docs/php/MvcBundle/Controller/GyroControllerNameParser.md +38 -0
  25. package/docs/php/MvcBundle/Controller/ResultConverter/ArrayToTemplateResponseConverter.md +64 -0
  26. package/docs/php/MvcBundle/Controller/ResultConverter/ControllerResultConverter.md +40 -0
  27. package/docs/php/MvcBundle/Controller/ResultConverter/ControllerYieldApplier.md +42 -0
  28. package/docs/php/MvcBundle/Controller/ResultConverter/CookieYieldApplier.md +44 -0
  29. package/docs/php/MvcBundle/Controller/ResultConverter/FlashYieldApplier.md +44 -0
  30. package/docs/php/MvcBundle/Controller/ResultConverter/HeadersYieldApplier.md +44 -0
  31. package/docs/php/MvcBundle/Controller/ResultConverter/RedirectConverter.md +57 -0
  32. package/docs/php/MvcBundle/DependencyInjection/CompatibleTreeBuilder.md +32 -0
  33. package/docs/php/MvcBundle/DependencyInjection/Configuration.md +22 -0
  34. package/docs/php/MvcBundle/DependencyInjection/FrontasticCommonMvcExtension.md +32 -0
  35. package/docs/php/MvcBundle/EventListener/ConvertExceptionListener.md +40 -0
  36. package/docs/php/MvcBundle/EventListener/ParamConverterListener.md +42 -0
  37. package/docs/php/MvcBundle/EventListener/ViewListener.md +53 -0
  38. package/docs/php/MvcBundle/FrontasticCommonMvcBundle.md +7 -0
  39. package/docs/php/MvcBundle/MockTokenContext.md +137 -0
  40. package/docs/php/MvcBundle/ParamConverter/ServiceProvider.md +35 -0
  41. package/docs/php/MvcBundle/ParamConverter/SymfonyServiceProvider.md +56 -0
  42. package/docs/php/MvcBundle/Request/SymfonyFormRequest.md +105 -0
  43. package/docs/php/MvcBundle/SymfonyTokenContext.md +143 -0
  44. package/docs/php/MvcBundle/Versions.md +17 -0
  45. package/docs/php/MvcBundle/View/BundleLocation.md +38 -0
  46. package/docs/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.md +48 -0
  47. package/docs/php/MvcBundle/View/TemplateGuesser.md +31 -0
  48. package/docs/php/ReplicatorBundle/Domain/Customer.md +0 -1
  49. package/docs/php/SpecificationBundle/Domain/SchemaFieldTypes.md +5 -0
  50. package/package.json +1 -1
  51. package/src/json/library/common.json +2 -1
  52. package/src/json/masterPageSchemaSchema.json +3 -0
  53. package/vendor/sebastian/diff/tests/fixtures/.editorconfig +1 -0
  54. package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/1_a.txt +1 -0
  55. package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/1_b.txt +0 -0
  56. package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/2_a.txt +35 -0
  57. package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/2_b.txt +18 -0
  58. package/vendor/sebastian/diff/tests/fixtures/out/.editorconfig +1 -0
  59. package/vendor/sebastian/diff/tests/fixtures/out/.gitignore +2 -0
  60. package/vendor/sebastian/diff/tests/fixtures/patch.txt +9 -0
  61. package/vendor/sebastian/diff/tests/fixtures/patch2.txt +21 -0
  62. package/vendor/sebastian/diff/tests/fixtures/serialized_diff.bin +0 -0
  63. package/vendor/symfony/symfony/.github/psalm/.gitignore +4 -0
  64. package/vendor/symfony/symfony/.github/psalm/stubs/ForwardCompatTestTrait.php +38 -0
  65. package/vendor/symfony/symfony/.github/psalm/stubs/SetUpTearDownTrait.php +19 -0
@@ -0,0 +1,38 @@
1
+ # BundleLocation
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\BundleLocation`](../../../../src/php/MvcBundle/View/BundleLocation.php)
4
+
5
+ ## Methods
6
+
7
+ * [__construct()](#__construct)
8
+ * [locationFor()](#locationfor)
9
+
10
+ ### __construct()
11
+
12
+ ```php
13
+ public function __construct(
14
+ \Symfony\Component\HttpKernel\KernelInterface $kernel
15
+ ): mixed
16
+ ```
17
+
18
+ Argument|Type|Default|Description
19
+ --------|----|-------|-----------
20
+ `$kernel`|`\Symfony\Component\HttpKernel\KernelInterface`||
21
+
22
+ Return Value: `mixed`
23
+
24
+ ### locationFor()
25
+
26
+ ```php
27
+ public function locationFor(
28
+ string $className
29
+ ): ?string
30
+ ```
31
+
32
+ Argument|Type|Default|Description
33
+ --------|----|-------|-----------
34
+ `$className`|`string`||
35
+
36
+ Return Value: `?string`
37
+
38
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -0,0 +1,48 @@
1
+ # SymfonyConventionsTemplateGuesser
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\SymfonyConventionsTemplateGuesser`](../../../../src/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.php)
4
+
5
+ **Implements**: [`TemplateGuesser`](TemplateGuesser.md)
6
+
7
+ ## Methods
8
+
9
+ * [__construct()](#__construct)
10
+ * [guessControllerTemplateName()](#guesscontrollertemplatename)
11
+
12
+ ### __construct()
13
+
14
+ ```php
15
+ public function __construct(
16
+ BundleLocation $bundleLocation,
17
+ GyroControllerNameParser $parser
18
+ ): mixed
19
+ ```
20
+
21
+ Argument|Type|Default|Description
22
+ --------|----|-------|-----------
23
+ `$bundleLocation`|[`BundleLocation`](BundleLocation.md)||
24
+ `$parser`|[`GyroControllerNameParser`](../Controller/GyroControllerNameParser.md)||
25
+
26
+ Return Value: `mixed`
27
+
28
+ ### guessControllerTemplateName()
29
+
30
+ ```php
31
+ public function guessControllerTemplateName(
32
+ string $controller,
33
+ ?string $actionName,
34
+ string $format,
35
+ string $engine
36
+ ): string
37
+ ```
38
+
39
+ Argument|Type|Default|Description
40
+ --------|----|-------|-----------
41
+ `$controller`|`string`||
42
+ `$actionName`|`?string`||
43
+ `$format`|`string`||
44
+ `$engine`|`string`||
45
+
46
+ Return Value: `string`
47
+
48
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -0,0 +1,31 @@
1
+ # `interface` TemplateGuesser
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\TemplateGuesser`](../../../../src/php/MvcBundle/View/TemplateGuesser.php)
4
+
5
+ ## Methods
6
+
7
+ * [guessControllerTemplateName()](#guesscontrollertemplatename)
8
+
9
+ ### guessControllerTemplateName()
10
+
11
+ ```php
12
+ public function guessControllerTemplateName(
13
+ string $controller,
14
+ ?string $actionName,
15
+ string $format,
16
+ string $engine
17
+ ): string
18
+ ```
19
+
20
+ *Return a template reference for the given controller, format, engine*
21
+
22
+ Argument|Type|Default|Description
23
+ --------|----|-------|-----------
24
+ `$controller`|`string`||
25
+ `$actionName`|`?string`||
26
+ `$format`|`string`||
27
+ `$engine`|`string`||
28
+
29
+ Return Value: `string`
30
+
31
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -17,7 +17,6 @@ Property|Type|Default|Required|Description
17
17
  `configuration` | `array` | `[]` | *Yes* |
18
18
  `environments` | `array` | `['production', 'staging', 'development']` | *Yes* |
19
19
  `projects` | [`Project`](Project.md)[] | `[]` | *Yes* |
20
- `netlifyUrl` | `?string` | `null` | - |
21
20
 
22
21
  ## Methods
23
22
 
@@ -0,0 +1,5 @@
1
+ # SchemaFieldTypes
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\SpecificationBundle\Domain\SchemaFieldTypes`](../../../../src/php/SpecificationBundle/Domain/SchemaFieldTypes.php)
4
+
5
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.48.2",
3
+ "version": "2.48.4",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.21.0",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",
@@ -124,7 +124,8 @@
124
124
  "name": {
125
125
  "type": "string"
126
126
  }
127
- }
127
+ },
128
+ "required": ["name", "value"]
128
129
  }
129
130
  },
130
131
 
@@ -30,6 +30,9 @@
30
30
  },
31
31
  "category": {
32
32
  "type": "string"
33
+ },
34
+ "pageMatchingPayloadSchema": {
35
+ "$ref": "https://frontastic.cloud/json/library/common#/definitions/fields"
33
36
  }
34
37
  },
35
38
  "required": ["dynamicPageType", "isMultiple", "dataSourceType", "name"]
@@ -0,0 +1 @@
1
+ root = true
@@ -0,0 +1,2 @@
1
+ # reset all ignore rules to create sandbox for integration test
2
+ !/**
@@ -0,0 +1,9 @@
1
+ diff --git a/Foo.php b/Foo.php
2
+ index abcdefg..abcdefh 100644
3
+ --- a/Foo.php
4
+ +++ b/Foo.php
5
+ @@ -20,4 +20,5 @@ class Foo
6
+ const ONE = 1;
7
+ const TWO = 2;
8
+ + const THREE = 3;
9
+ const FOUR = 4;
@@ -0,0 +1,21 @@
1
+ diff --git a/Foo.php b/Foo.php
2
+ index abcdefg..abcdefh 100644
3
+ --- a/Foo.php
4
+ +++ b/Foo.php
5
+ @@ -20,4 +20,5 @@ class Foo
6
+ const ONE = 1;
7
+ const TWO = 2;
8
+ + const THREE = 3;
9
+ const FOUR = 4;
10
+
11
+ @@ -320,4 +320,5 @@ class Foo
12
+ const A = 'A';
13
+ const B = 'B';
14
+ + const C = 'C';
15
+ const D = 'D';
16
+
17
+ @@ -600,4 +600,5 @@ class Foo
18
+ public function doSomething() {
19
+
20
+ + return 'foo';
21
+ }
@@ -0,0 +1,4 @@
1
+ *
2
+ !.gitignore
3
+ !stubs
4
+ !stubs/*
@@ -0,0 +1,38 @@
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ namespace Symfony\Component\Test;
13
+
14
+ use PHPUnit\Framework\TestCase;
15
+
16
+ /**
17
+ * @internal
18
+ */
19
+ trait ForwardCompatTestTrait
20
+ {
21
+ private function doSetUp(): void
22
+ {
23
+ }
24
+
25
+ private function doTearDown(): void
26
+ {
27
+ }
28
+
29
+ protected function setUp(): void
30
+ {
31
+ $this->doSetUp();
32
+ }
33
+
34
+ protected function tearDown(): void
35
+ {
36
+ $this->doTearDown();
37
+ }
38
+ }
@@ -0,0 +1,19 @@
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ namespace Symfony\Bridge\PhpUnit;
13
+
14
+ use PHPUnit\Framework\TestCase;
15
+
16
+ trait SetUpTearDownTrait
17
+ {
18
+ use Legacy\SetUpTearDownTraitForV8;
19
+ }