Skip to content

Commit 5003161

Browse files
committed
Normalise copyright
1 parent 8793907 commit 5003161

11 files changed

+12
-13
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016 - 2017 Riikka Kalliomäki
1+
Copyright (c) 2016-2017 Riikka Kalliomäki
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ memory to process.
1919
In order to increase interoperability, the library also provides a PSR-7
2020
compatible stream to use with frameworks and HTTP requests.
2121

22-
API documentation for the library can be generated using Sami and found
23-
[online](http://violet.riimu.net/api/streaming-json-encoder/).
22+
The API documentation is available at: http://violet.riimu.net/api/streaming-json-encoder/
2423

2524
[![Travis](https://img.shields.io/travis/violet-php/streaming-json-encoder.svg?style=flat-square)](https://travis-ci.org/violet-php/streaming-json-encoder)
2625
[![Scrutinizer](https://img.shields.io/scrutinizer/g/violet-php/streaming-json-encoder.svg?style=flat-square)](https://scrutinizer-ci.com/g/violet-php/streaming-json-encoder/)
@@ -279,6 +278,6 @@ options also have additional effects on the encoders:
279278

280279
## Credits ##
281280

282-
This library is copyright 2016 - 2017 to Riikka Kalliomäki.
281+
This library is Copyright (c) 2017 Riikka Kalliomäki.
283282

284283
See LICENSE for license and copying information.

src/AbstractJsonEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Abstract encoder for encoding JSON iteratively.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
abstract class AbstractJsonEncoder implements \Iterator

src/BufferJsonEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Encodes the given value as JSON and returns encoding result step by step.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
class BufferJsonEncoder extends AbstractJsonEncoder

src/EncodingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Exception that gets thrown when error occurs in JSON encoding and the encoder cannot continue.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
class EncodingException extends \Exception

src/JsonStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Provides a http stream interface for encoding JSON.
99
*
1010
* @author Riikka Kalliomäki <[email protected]>
11-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
11+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1212
* @license http://opensource.org/licenses/mit-license.php MIT License
1313
*/
1414
class JsonStream implements StreamInterface

src/JsonToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* List of JSON tokens outputted by the encoder.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
final class JsonToken

src/StreamJsonEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Encodes value into JSON and directly echoes it or passes it to a stream.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
class StreamJsonEncoder extends AbstractJsonEncoder

tests/classes/SerializableData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* SerializableData.
77
*
88
* @author Riikka Kalliomäki <[email protected]>
9-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
9+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1010
* @license http://opensource.org/licenses/mit-license.php MIT License
1111
*/
1212
class SerializableData implements \JsonSerializable

tests/tests/JsonEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* StreamingJsonEncoderTest.
1111
*
1212
* @author Riikka Kalliomäki <[email protected]>
13-
* @copyright Copyright (c) 2016, Riikka Kalliomäki
13+
* @copyright Copyright (c) 2016-2017 Riikka Kalliomäki
1414
* @license http://opensource.org/licenses/mit-license.php MIT License
1515
*/
1616
class JsonEncoderTest extends TestCase

0 commit comments

Comments
 (0)