Skip to content

Commit 00b8f55

Browse files
author
Masiukevich Maksim
committed
update serializer component
1 parent e099a4c commit 00b8f55

28 files changed

+136
-245
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can find help and discussion in the following places:
3737
* Create issue [https://github.com/php-service-bus/service-bus/issues](https://github.com/php-service-bus/service-bus/issues)
3838

3939
## Security
40-
If you discover any security related issues, please email [`dev@async-php.com`](mailto:dev@async-php.com) instead of using the issue tracker.
40+
If you discover any security related issues, please email [`contacts@desperado.dev`](mailto:contacts@desperado.dev) instead of using the issue tracker.
4141

4242
## Reporting issues
4343
* [General problems](https://github.com/php-service-bus/service-bus/issues)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"authors": [
1111
{
1212
"name": "Masiukevich Maksim",
13-
"email": "dev@async-php.com",
13+
"email": "contacts@desperado.dev",
1414
"homepage": "https://github.com/mmasiukevich",
1515
"role": "Developer"
1616
}
@@ -41,7 +41,7 @@
4141
"require-dev": {
4242
"php-service-bus/code-style-config": "v1.3.*",
4343
"phpunit/phpunit": "v9.5.*",
44-
"vimeo/psalm": "v4.3.*",
44+
"vimeo/psalm": "v4.4.*",
4545
"phpstan/phpstan": "v0.12.*"
4646
},
4747
"prefer-stable": true,

phpstan.neon

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: '#in iterable type array#'
4+
message: '#@return with type mixed#'
55
path: %currentWorkingDirectory%/src
6-
-
7-
message: '#class ReflectionClass but does not specify its types#'
8-
path: %currentWorkingDirectory%/src
9-
-
10-
message: '#setAttributeValue#'
11-
path: %currentWorkingDirectory%/src/Symfony/Extensions/PropertyNormalizerWrapper.php
6+
checkMissingIterableValueType: false
7+
checkGenericClassInNonGenericObjectType: false

phpunit.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,18 @@
66
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
77
<coverage>
88
<include>
9-
<directory>./</directory>
9+
<directory>./src</directory>
1010
</include>
1111
<exclude>
1212
<directory>./tests</directory>
13-
<directory>./vendor</directory>
1413
</exclude>
1514
</coverage>
1615
<php>
1716
<ini name="error_reporting" value="-1"/>
1817
</php>
1918
<testsuites>
20-
<testsuite name="PHP Service Bus common component">
21-
<directory>./vendor/php-service-bus/common/tests</directory>
22-
</testsuite>
23-
24-
<testsuite name="PHP Service Bus messages serializer component">
19+
<testsuite name="Message serializer component">
2520
<directory>./tests/</directory>
2621
</testsuite>
2722
</testsuites>
28-
</phpunit>
23+
</phpunit>

src/Exceptions/DecodeMessageFailed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

src/Exceptions/DenormalizeFailed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

src/Exceptions/EncodeMessageFailed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

src/Exceptions/NormalizationFailed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

src/Exceptions/SerializationFailed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

src/Exceptions/SerializerExceptionMarker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* Messages serializer implementation.
55
*
6-
* @author Maksim Masiukevich <dev@async-php.com>
6+
* @author Maksim Masiukevich <contacts@desperado.dev>
77
* @license MIT
88
* @license https://opensource.org/licenses/MIT
99
*/
1010

11-
declare(strict_types = 1);
11+
declare(strict_types = 0);
1212

1313
namespace ServiceBus\MessageSerializer\Exceptions;
1414

0 commit comments

Comments
 (0)