update devenv and readme

This commit is contained in:
2020-04-09 12:12:56 +02:00
parent 5c4b1eaf60
commit 0cc35e9dd5
4 changed files with 10 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
language: php language: php
php: php:
- '5.6'
- '7.2' - '7.2'
- '7.3' - '7.3'
- '7.4' - '7.4'

View File

@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/stklcode/wp-liveticker.svg?branch=master)](https://travis-ci.org/stklcode/wp-liveticker) [![Build Status](https://travis-ci.org/stklcode/wp-liveticker.svg?branch=master)](https://travis-ci.org/stklcode/wp-liveticker)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=de.stklcode.web.wordpress.plugins%3Awp-liveticker&metric=alert_status)](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=de.stklcode.web.wordpress.plugins%3Awp-liveticker&metric=alert_status)](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker)
[![WP Plugin Version](https://img.shields.io/wordpress/plugin/v/stklcode-liveticker.svg)](https://wordpress.org/plugins/stklcode-liveticker/)
[![Packagist Version](https://img.shields.io/packagist/v/stklcode/stklcode-liveticker.svg)](https://packagist.org/packages/stklcode/stklcode-liveticker) [![Packagist Version](https://img.shields.io/packagist/v/stklcode/stklcode-liveticker.svg)](https://packagist.org/packages/stklcode/stklcode-liveticker)
[![License](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://github.com/stklcode/wp-liveticker/blob/master/LICENSE.md) [![License](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://github.com/stklcode/wp-liveticker/blob/master/LICENSE.md)
@@ -28,7 +29,7 @@ Easily add multiple livetickers, add them to posts with shortcode or use them as
* RSS feed capability * RSS feed capability
* Gutenberg block and shortcode to display liveticker * Gutenberg block and shortcode to display liveticker
* Add ticker to sidebar widgets * Add ticker to sidebar widgets
* Ability to customise through CSS * Ability to customize through CSS
* Localization support * Localization support
@@ -59,9 +60,11 @@ You can deactivate the default stylesheet on the settings page and include your
### Does the liveticker work with caching? ### Does the liveticker work with caching?
It strongly depends on the use case. If you activate AJAX updates (enabled by default), the JavaScript will automatically update the content, even when the
If you update your ticker every 5 minutes, a caching time of 12 hours obviously makes no sense. page is loaded from cached.
However the AJAX update will fetch the latest ticks and update cached tickers depending on the configured interval.
If AJAX is disabled, it depends on your update and caching intervals. If you update your ticker every 5 minutes, a
caching time of 12 hours obviously makes no sense.
## Screenshots ## Screenshots

View File

@@ -22,10 +22,10 @@
}, },
"require-dev": { "require-dev": {
"php": ">=5.2", "php": ">=5.2",
"consolidation/robo": "^1.4", "consolidation/robo": "^2",
"phpunit/phpunit": "*", "phpunit/phpunit": "*",
"phpunit/php-code-coverage": "*", "phpunit/php-code-coverage": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5", "dealerdirect/phpcodesniffer-composer-installer": "^0.6",
"slowprog/composer-copy-file": "~0.3", "slowprog/composer-copy-file": "~0.3",
"squizlabs/php_codesniffer": "^3.5", "squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/php-compatibility": "^9.3", "phpcompatibility/php-compatibility": "^9.3",

View File

@@ -5,8 +5,8 @@
"author": "Stefan Kalscheuer", "author": "Stefan Kalscheuer",
"license": "GPL-2.0+", "license": "GPL-2.0+",
"devDependencies": { "devDependencies": {
"@wordpress/eslint-plugin": "^3.4.1",
"eslint": "^6", "eslint": "^6",
"@wordpress/eslint-plugin": "^3",
"stylelint": "^13", "stylelint": "^13",
"stylelint-config-wordpress": "^16" "stylelint-config-wordpress": "^16"
} }