Skip to content

Commit

Permalink
min required sf version 2.7, updated travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Singer committed Feb 9, 2017
1 parent fc22a45 commit ff75a8c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 15 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1

env:
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=dev-master

before_script:
Expand All @@ -19,6 +20,6 @@ matrix:
- env: SYMFONY_VERSION=dev-master
exclude:
- env: SYMFONY_VERSION=dev-master
php: 5.3
- env: SYMFONY_VERSION=2.3.*
php: 5.6
php: 5.4
- env: SYMFONY_VERSION=3.2.*
php: 5.4
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

### master ###
- add compatibility with Symfony 3
- minimum required Symfony version is now 2.7

### v0.5.0 2014-12-17 ###
- It is now possible to call methods that require objects as parameters (in previous versions only methods with scalar
and array parameters could be called). That's why JMSSerializerBundle is now a required dependency.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 Christoph Singer, Web-Agentur 72
Copyright (c) 2013-2017 Christoph Singer, Web-Agentur 72

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ JsonRpcBundle
[![Downloads from Packagist](http://img.shields.io/packagist/dt/wa72/jsonrpc-bundle.svg)](https://packagist.org/packages/wa72/jsonrpc-bundle)


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).
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).

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.

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


© 2014 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.
© 2013-2017 Christoph Singer, Web-Agentur 72. Licensed under the MIT license.
4 changes: 2 additions & 2 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ parameters:

services:
wa72_jsonrpc.jsonrpccontroller:
class: %wa72_jsonrpc.jsonrpccontroller.class%
arguments: ['@service_container', %wa72.jsonrpc%]
class: '%wa72_jsonrpc.jsonrpccontroller.class%'
arguments: ['@service_container', '%wa72.jsonrpc%']
4 changes: 2 additions & 2 deletions Resources/doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
JsonRpcBundle
=============

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`_.
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`_.

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`_.

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

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


.. _`JSON-RPC 2.0`: http://www.jsonrpc.org/specification
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
}
],
"require":{
"php":">=5.3.1",
"symfony/symfony":"~3.0",
"php":">=5.4",
"symfony/symfony":"~2.7|~3.0",
"jms/serializer-bundle":"~1.1"
},
"autoload":{
Expand Down

0 comments on commit ff75a8c

Please sign in to comment.