Skip to content

Commit b9d0276

Browse files
committed
component update
1 parent 425437b commit b9d0276

28 files changed

+181
-93
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[![Build Status](https://travis-ci.org/php-service-bus/message-serializer.svg?branch=master)](https://travis-ci.org/php-service-bus/message-serializer)
2+
[![Code Coverage](https://scrutinizer-ci.com/g/php-service-bus/message-serializer/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/php-service-bus/message-serializer/?branch=master)
3+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/php-service-bus/message-serializer/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/php-service-bus/message-serializer/?branch=master)
4+
5+
## What is it?
6+
7+
Messages serialization component

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"name": "php-service-bus/message-serializer",
3-
"description": "PHP Service Bus (publish-subscribe pattern) messages serializer component",
3+
"description": "Messages serializer implementation",
44
"type": "library",
5-
"keywords": ["cqrs", "event-sourcing", "async-php", "command-bus", "messaging"],
5+
"keywords": [
6+
"async-php",
7+
"command-bus",
8+
"messaging"
9+
],
610
"authors": [
711
{
812
"name": "Masiukevich Maksim",
@@ -19,6 +23,7 @@
1923
},
2024
"autoload-dev": {
2125
"psr-4": {
26+
"ServiceBus\\Common\\Tests\\": "vendor/php-service-bus/common/tests",
2227
"ServiceBus\\MessageSerializer\\Tests\\": "tests/"
2328
}
2429
},
@@ -30,7 +35,8 @@
3035
},
3136
"require-dev": {
3237
"phpunit/phpunit": "^7",
33-
"vimeo/psalm": "^3"
38+
"vimeo/psalm": "dev-master",
39+
"ext-iconv": "*"
3440
},
3541
"prefer-stable": true,
3642
"minimum-stability": "dev",

composer.lock

Lines changed: 112 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@
1414
</php>
1515

1616
<testsuites>
17-
<testsuite name="Service Bus serializer">
17+
18+
<testsuite name="Service Bus common">
19+
<directory>./vendor/php-service-bus/common/tests</directory>
20+
</testsuite>
21+
22+
<testsuite name="Messages serializer">
1823
<directory>./tests/</directory>
1924
</testsuite>
25+
2026
</testsuites>
2127

2228
<filter>

psalm.xml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<psalm
33
totallyTyped="true"
44
useDocblockTypes="true"
5+
useDocblockPropertyTypes="true"
6+
allowPhpStormGenerics="true"
7+
requireVoidReturnType="true"
8+
ignoreInternalFunctionFalseReturn="false"
9+
ignoreInternalFunctionNullReturn="false"
510
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
611
xmlns="https://getpsalm.org/schema/config"
712
xsi:schemaLocation="https://getpsalm.org/schema/config"
@@ -14,30 +19,6 @@
1419
</projectFiles>
1520

1621
<issueHandlers>
17-
<LessSpecificReturnType errorLevel="info"/>
18-
19-
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
20-
<DeprecatedMethod errorLevel="info"/>
21-
<DeprecatedProperty errorLevel="info"/>
22-
<DeprecatedClass errorLevel="info"/>
23-
24-
<MissingClosureReturnType errorLevel="info"/>
25-
<MissingReturnType errorLevel="info"/>
26-
<MissingPropertyType errorLevel="info"/>
27-
<InvalidDocblock errorLevel="info"/>
28-
<MisplacedRequiredParam errorLevel="info"/>
29-
30-
<PropertyNotSetInConstructor errorLevel="suppress"/>
3122
<PropertyNotSetInConstructor errorLevel="suppress"/>
32-
<MissingConstructor errorLevel="info"/>
33-
<MissingClosureParamType errorLevel="info"/>
34-
<MissingParamType errorLevel="info"/>
35-
36-
<DocblockTypeContradiction errorLevel="info"/>
37-
<RedundantConditionGivenDocblockType errorLevel="info"/>
38-
39-
<UnresolvableInclude errorLevel="info"/>
40-
41-
<RawObjectIteration errorLevel="info"/>
4223
</issueHandlers>
4324
</psalm>

src/Exceptions/DecodeMessageFailed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* PHP Service Bus (publish-subscribe pattern implementation) serializer component
4+
* Messages serializer implementation
55
*
66
* @author Maksim Masiukevich <dev@async-php.com>
77
* @license MIT

src/Exceptions/DenormalizeFailed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* PHP Service Bus (publish-subscribe pattern implementation) serializer component
4+
* Messages serializer implementation
55
*
66
* @author Maksim Masiukevich <dev@async-php.com>
77
* @license MIT

0 commit comments

Comments
 (0)