Skip to content

Commit

Permalink
Badges and ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Nov 23, 2021
1 parent 512ac65 commit 77b42e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
CBOR Encder/Decoder for Symfony
===============================

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spomky-labs/cbor-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/spomky-labs/cbor-bundle/?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/spomky-labs/cbor-bundle/badge.svg?branch=master)](https://coveralls.io/github/spomky-labs/cbor-bundle?branch=master)
![Build Status](https://github.com/spomky-labs/cbor-bundle/workflows/Coding%20Standards/badge.svg)
![Build Status](https://github.com/spomky-labs/cbor-bundle/workflows/Static%20Analyze/badge.svg)

[![Build Status](https://travis-ci.org/spomky-labs/cbor-bundle.svg?branch=master)](https://travis-ci.org/spomky-labs/cbor-bundle)
![Build Status](https://github.com/spomky-labs/cbor-bundle/workflows/Unit%20and%20Functional%20Tests/badge.svg)
![Build Status](https://github.com/spomky-labs/cbor-bundle/workflows/Rector%20Checkstyle/badge.svg)

[![Latest Stable Version](https://poser.pugx.org/spomky-labs/cbor-bundle/v/stable.png)](https://packagist.org/packages/spomky-labs/cbor-bundle)
[![Total Downloads](https://poser.pugx.org/spomky-labs/cbor-bundle/downloads.png)](https://packagist.org/packages/spomky-labs/cbor-bundle)
Expand Down Expand Up @@ -37,7 +38,7 @@ If you want to load a CBOR encoded data, you just have to use de decoder availab

use SpomkyLabs\CborBundle\CBORDecoder;

// CBOR object (in hex for the example)
// CBOR object (shall be a binary string; in hex for the example)
$data = hex2bin('fb3fd5555555555555');

// Load the data
Expand Down
3 changes: 1 addition & 2 deletions src/CBORDecoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class CBORDecoder
{
public function __construct(
private Decoder $decoder
)
{
) {
}

public function decode(string $data): CBORObject
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/DecodingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use CBOR\Decoder;
use CBOR\Normalizable;
use SpomkyLabs\CborBundle\CBORDecoder;
use function is_string;
use RuntimeException;
use SpomkyLabs\CborBundle\CBORDecoder;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

/**
Expand Down

0 comments on commit 77b42e0

Please sign in to comment.