Skip to content

Commit ff75a8c

Browse files
author
Christoph Singer
committed
min required sf version 2.7, updated travis config
1 parent fc22a45 commit ff75a8c

7 files changed

Lines changed: 21 additions & 15 deletions

File tree

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
language: php
22

33
php:
4-
- 5.3
54
- 5.4
65
- 5.5
76
- 5.6
7+
- 7.0
8+
- 7.1
89

910
env:
10-
- SYMFONY_VERSION=2.3.*
11-
- SYMFONY_VERSION=2.6.*
11+
- SYMFONY_VERSION=2.8.*
12+
- SYMFONY_VERSION=3.2.*
1213
- SYMFONY_VERSION=dev-master
1314

1415
before_script:
@@ -19,6 +20,6 @@ matrix:
1920
- env: SYMFONY_VERSION=dev-master
2021
exclude:
2122
- env: SYMFONY_VERSION=dev-master
22-
php: 5.3
23-
- env: SYMFONY_VERSION=2.3.*
24-
php: 5.6
23+
php: 5.4
24+
- env: SYMFONY_VERSION=3.2.*
25+
php: 5.4

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2+
### master ###
3+
- add compatibility with Symfony 3
4+
- minimum required Symfony version is now 2.7
5+
16
### v0.5.0 2014-12-17 ###
27
- It is now possible to call methods that require objects as parameters (in previous versions only methods with scalar
38
and array parameters could be called). That's why JMSSerializerBundle is now a required dependency.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013 Christoph Singer, Web-Agentur 72
1+
Copyright (c) 2013-2017 Christoph Singer, Web-Agentur 72
22

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ JsonRpcBundle
66
[![Downloads from Packagist](http://img.shields.io/packagist/dt/wa72/jsonrpc-bundle.svg)](https://packagist.org/packages/wa72/jsonrpc-bundle)
77

88

9-
JsonRpcBundle is a bundle for Symfony 2.3 and up that allows to easily build a JSON-RPC server for web services using [JSON-RPC 2.0] (http://www.jsonrpc.org/specification).
9+
JsonRpcBundle is a bundle for Symfony 2.7 and up that allows to easily build a JSON-RPC server for web services using [JSON-RPC 2.0] (http://www.jsonrpc.org/specification).
1010

1111
The bundle contains a controller that is able to expose methods of any service registered in the Symfony service container as a JSON-RPC web service.
1212

@@ -16,4 +16,4 @@ Documentation
1616
Documentation is found in [Resources/doc/index.rst](Resources/doc/index.rst).
1717

1818

19-
© 2014 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.
19+
© 2013-2017 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.

Resources/config/services.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ parameters:
33

44
services:
55
wa72_jsonrpc.jsonrpccontroller:
6-
class: %wa72_jsonrpc.jsonrpccontroller.class%
7-
arguments: ['@service_container', %wa72.jsonrpc%]
6+
class: '%wa72_jsonrpc.jsonrpccontroller.class%'
7+
arguments: ['@service_container', '%wa72.jsonrpc%']

Resources/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
JsonRpcBundle
22
=============
33

4-
JsonRpcBundle is a bundle for Symfony 2.3 and up that allows to easily build a JSON-RPC server for web services using `JSON-RPC 2.0`_.
4+
JsonRpcBundle is a bundle for Symfony 2.7 and up that allows to easily build a JSON-RPC server for web services using `JSON-RPC 2.0`_.
55

66
The bundle contains a controller that is able to expose methods of any service registered in the Symfony service container as a JSON-RPC web service. The return value of the service method is converted to JSON using `jms\_serializer`_.
77

@@ -108,7 +108,7 @@ and you should get the following answer:
108108
There are also unit tests for phpunit. Just install the required dependencies using ``composer install`` and run
109109
``phpunit`` in the root directory of the project.
110110

111-
© 2014 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.
111+
© 2013-2017 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.
112112

113113

114114
.. _`JSON-RPC 2.0`: http://www.jsonrpc.org/specification

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
}
1414
],
1515
"require":{
16-
"php":">=5.3.1",
17-
"symfony/symfony":"~3.0",
16+
"php":">=5.4",
17+
"symfony/symfony":"~2.7|~3.0",
1818
"jms/serializer-bundle":"~1.1"
1919
},
2020
"autoload":{

0 commit comments

Comments
 (0)