diff --git a/.travis.yml b/.travis.yml index d2e0af6..0c2a0e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 services: - mysql @@ -15,6 +16,10 @@ env: - DB=pgsql RUNLEVEL=0 - DB=pgsql RUNLEVEL=10 +matrix: + allow_failures: + - php: 7.2 + before_script: - composer selfupdate --no-progress - travis_retry composer install --prefer-dist diff --git a/src/ContainerFactory.php b/src/ContainerFactory.php index 24ad7da..ff1910d 100644 --- a/src/ContainerFactory.php +++ b/src/ContainerFactory.php @@ -5,8 +5,9 @@ /** * @internal */ -class ContainerFactory extends \Nette\Object +class ContainerFactory { + use \Nette\SmartObject; private static $container;