diff --git a/.travis.yml b/.travis.yml index 8bbdaf3..67f7068 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,11 +21,27 @@ matrix: env: SYMFONY_VERSION=3.0.* - php: 5.6 env: SYMFONY_VERSION=^3 + - php: 7.0 + env: SYMFONY_VERSION=2.8.* + - php: 7.0 + env: SYMFONY_VERSION=3.0.* + - php: 7.0 + env: SYMFONY_VERSION=^3 - php: 7.1 env: SYMFONY_VERSION=3.0.* - php: 7.1 env: SYMFONY_VERSION=^3 - php: 7.1 + env: SYMFONY_VERSION=^4 + - php: 7.1 + env: SYMFONY_VERSION=dev-master@dev + - php: 7.2 + env: SYMFONY_VERSION=3.0.* + - php: 7.2 + env: SYMFONY_VERSION=^3 + - php: 7.2 + env: SYMFONY_VERSION=^4 + - php: 7.2 env: SYMFONY_VERSION=dev-master@dev allow_failures: - env: SYMFONY_VERSION=dev-master@dev diff --git a/composer.json b/composer.json index 2009936..d3cc9d4 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^5.6|^7", "dms/dms-filter": "^2.0 | ^3.0", - "symfony/symfony": "^2.8 | ^3" + "symfony/symfony": "^2.8 | ^3.0 | ^4.0" }, "require-dev": { diff --git a/src/DMS/Bundle/FilterBundle/Resources/config/services.yml b/src/DMS/Bundle/FilterBundle/Resources/config/services.yml index 8a3d3c4..45aa00b 100644 --- a/src/DMS/Bundle/FilterBundle/Resources/config/services.yml +++ b/src/DMS/Bundle/FilterBundle/Resources/config/services.yml @@ -7,11 +7,13 @@ services: dms.filter: class: DMS\Bundle\FilterBundle\Service\Filter + public: true arguments: - '@dms.filter.inner.filter' dms.filter.type_extension: class: DMS\Bundle\FilterBundle\Form\Type\FormTypeFilterExtension + public: true arguments: - '@dms.filter' - '%dms_filter.auto_filter_forms%' @@ -25,6 +27,7 @@ services: dms.filter.mapping.loader: class: '%dms.filter.mapping.loader.class%' + public: true arguments: - '@annotation_reader' @@ -41,5 +44,6 @@ services: dms.filter.container_filter: class: DMS\Bundle\FilterBundle\Filter\ContainerFilter + public: true calls: - [setContainer, ['@service_container']]