diff --git a/.travis.yml b/.travis.yml index fff05ce..48a661d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,7 @@ php: - 5.5 - 5.6 - 7.0 - -matrix: - allow_failures: - - php: 7.0 + - 7.1 before_script: - travis_retry composer self-update diff --git a/README.md b/README.md index c4696c1..46979e4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An extension for Twig that provides simple filters for Gravatar. ## Installation Use `composer` to install this extension: ```Shell -composer require ry167/twig-gravatar 2.0.2 +composer require ry167/twig-gravatar 3.0.0 ``` ## Usage @@ -20,7 +20,7 @@ require("vendor/autoload.php"); //Define your Twig Environment and Twig Loader $twig->addExtension(new \TwigGravatar()); -//create customized Twig Gravatar +//or create a customized Twig Gravatar instance new \TwigGravatar($default = null, $size = null, $filterPrefix = 'gr', $rating = null, $useHttps = true); ``` @@ -37,10 +37,10 @@ new \TwigGravatar($default = null, $size = null, $filterPrefix = 'gr', $rating = tags: - { name: twig.extension } ``` -You can also remove arguments section and the default values shown will be used. +You can also remove the arguments section and the default values will be used. ## Filters -This is Extension is designed so that you chain together the filters that you need on top of each other. You must however always start with the grAvatar filter. +This Extension is designed so that you chain together the filters that you need on top of each other. You must however always start with the grAvatar filter. ### grAvatar Create a Gravatar URL, This returns just the URL for the persons avatar image without the `` tag