@frontastic/common 2.37.0 → 2.39.0

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,16 @@
1
1
 
2
+ ## Version 2.39.0 (2022-12-13)
3
+
4
+ ** Bug fixes **
5
+
6
+ - Fix some PHP 8.1 deprecations
7
+
8
+ ## Version 2.38.0 (2022-12-02)
9
+
10
+ ** New Features and Improvements **
11
+
12
+ - Add PHP 8.1 compatibility
13
+
2
14
  ## Version 2.37.0 (2022-11-08)
3
15
 
4
16
  ** New Features and Improvements **
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.37.0",
4
+ "version": "2.39.0",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -10,10 +10,7 @@
10
10
  ],
11
11
  "config": {
12
12
  "sort-packages": true,
13
- "optimize-autoloader": true,
14
- "platform": {
15
- "php": "7.4"
16
- }
13
+ "optimize-autoloader": true
17
14
  },
18
15
  "conflict": {
19
16
  "frontastic/catwalk": "<1.20.1"
@@ -51,11 +48,11 @@
51
48
  "doctrine/common": "^2.9",
52
49
  "frontastic/apidocs": "@dev",
53
50
  "pdepend/pdepend": "@stable",
54
- "phake/phake": "^3.1",
51
+ "phake/phake": "^4.0",
55
52
  "phploc/phploc": "@stable",
56
53
  "phpmd/phpmd": "@stable",
57
- "phpstan/phpstan": "0.12.25",
58
- "phpunit/phpunit": "^7",
54
+ "phpstan/phpstan": "^0.12.18",
55
+ "phpunit/phpunit": "^8",
59
56
  "sebastian/phpcpd": "@stable",
60
57
  "squizlabs/php_codesniffer": "@stable",
61
58
  "symfony/swiftmailer-bundle": "^3.4"
@@ -36,6 +36,8 @@ Property|Type|Default|Required|Description
36
36
  * [cleanForSession()](#cleanforsession)
37
37
  * [serialize()](#serialize)
38
38
  * [unserialize()](#unserialize)
39
+ * [__serialize()](#__serialize)
40
+ * [__unserialize()](#__unserialize)
39
41
 
40
42
  ### setPassword()
41
43
 
@@ -149,4 +151,26 @@ Argument|Type|Default|Description
149
151
 
150
152
  Return Value: `mixed`
151
153
 
154
+ ### __serialize()
155
+
156
+ ```php
157
+ public function __serialize(): array
158
+ ```
159
+
160
+ Return Value: `array`
161
+
162
+ ### __unserialize()
163
+
164
+ ```php
165
+ public function __unserialize(
166
+ array $data
167
+ ): void
168
+ ```
169
+
170
+ Argument|Type|Default|Description
171
+ --------|----|-------|-----------
172
+ `$data`|`array`||
173
+
174
+ Return Value: `void`
175
+
152
176
  Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -34,10 +34,10 @@ Return Value: `mixed`
34
34
  ### getAggregate()
35
35
 
36
36
  ```php
37
- public function getAggregate(): mixed
37
+ public function getAggregate(): object
38
38
  ```
39
39
 
40
- Return Value: `mixed`
40
+ Return Value: `object`
41
41
 
42
42
  ### getContentTypes()
43
43
 
@@ -29,6 +29,8 @@ Return Value: `mixed`
29
29
  public function versionAction(): \Symfony\Component\HttpFoundation\JsonResponse
30
30
  ```
31
31
 
32
+ *This endpoint exists as a health check for deployments. Do NOT remove.*
33
+
32
34
  Return Value: `\Symfony\Component\HttpFoundation\JsonResponse`
33
35
 
34
36
  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.37.0",
3
+ "version": "2.39.0",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",