This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ matrix:
1212 - php : 5.5
1313 - php : 5.6
1414 - php : 7.0
15+ - php : 7.1
16+ env : DEPENDENCIES=beta
1517 - php : hhvm
1618 allow_failures :
1719 - php : hhvm
2123
2224before_install :
2325 - composer self-update
26+ - if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
2427 - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/framework-bundle=$SYMFONY_VERSION; fi
2528 - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
2629 - if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then composer require --dev "phpunit/phpunit=4.8.*"; fi
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class DatatableController extends Controller
3939 *
4040 * @param Request $request
4141 *
42- * @Route("/sg/ datatables/edit/field", name="sg_datatables_edit")
42+ * @Route("/datatables/edit/field", name="sg_datatables_edit")
4343 * @Method("POST")
4444 *
4545 * @return Response
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ services:
1818
1919 sg_datatables.response :
2020 class : Sg\DatatablesBundle\Response\DatatableResponse
21+ public : true
2122 arguments :
2223 - ' @request_stack'
2324
2425 sg_datatables.factory :
2526 class : Sg\DatatablesBundle\Datatable\DatatableFactory
27+ public : true
2628 arguments :
2729 - ' @security.authorization_checker'
2830 - ' @security.token_storage'
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Load the routes of the bundle by adding this configuration to the app/config/rou
6969sg_datatables_bundle :
7070 resource : " @SgDatatablesBundle/Controller/"
7171 type : annotation
72+ prefix : /sg
7273` ` `
7374
7475### Step 4: Assetic Configuration
Original file line number Diff line number Diff line change 1919 },
2020 "require" : {
2121 "php" : " >=5.5.9" ,
22- "symfony/framework-bundle" : " ^3.0" ,
22+ "symfony/framework-bundle" : " ^3.0|^4.0 " ,
2323 "doctrine/orm" : " ^2.5" ,
24- "symfony/options-resolver" : " ^3.0" ,
25- "symfony/property-access" : " ^3.0" ,
24+ "symfony/options-resolver" : " ^3.0|^4.0 " ,
25+ "symfony/property-access" : " ^3.0|^4.0 " ,
2626 "friendsofsymfony/jsrouting-bundle" : " ^1.6|^2.0"
2727 },
2828 "autoload" : {
You can’t perform that action at this time.
0 commit comments