Skip to content
Snippets Groups Projects
Commit 6f7ff324 authored by Erick Hitter's avatar Erick Hitter
Browse files

Add composer.json

parent d6351579
No related branches found
No related tags found
1 merge request!4Add composer.json
Pipeline #4995 failed with stages
in 2 minutes and 21 seconds
variables:
# Configure mysql service (https://hub.docker.com/_/mysql/)
MYSQL_DATABASE: wordpress_tests
MYSQL_ROOT_PASSWORD: mysql
WP_VERSION: latest
cache:
paths:
- $HOME/.composer
- /root/.composer
before_script:
# Set up WordPress tests
- bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql $WP_VERSION true
# PHPUnit
- |
if [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
PHPunit:PHP5.3:MySQL:
stage: test
variables:
WP_VERSION: '5.1'
image: containers.ethitter.com:443/docker/images/php:5.3
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP5.6:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:5.6
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP7.0:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.0
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP7.1:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.1
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP7.2:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.2
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP7.3:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPCS:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
before_script:
- composer global require automattic/vipwpcs
- composer global require phpcompatibility/phpcompatibility-wp
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp
script:
- phpcs -n
include:
- remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/default.yml
.nvmrc 0 → 100644
v16
# WP Redis User Session Storage #
**Contributors:** ethitter
**Contributors:** [ethitter](https://profiles.wordpress.org/ethitter/)
**Donate link:** https://ethitter.com/donate/
**Tags:** user sessions, session tokens, session storage
**Requires at least:** 4.0
**Tested up to:** 5.2
**Stable tag:** 0.1
**Requires PHP:** 5.3
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
......
{
"name" : "ethitter/wp-redis-user-session-storage",
"description" : "Store WordPress session tokens in Redis rather than the usermeta table. Requires the Redis PECL extension.",
"homepage" : "https://ethitter.com/",
"type" : "wordpress-plugin",
"keywords" : [ "user sessions", "session tokens", "session storage" ],
"license" : "GPL-2.0+",
"authors" : [
{
"name" : "Erick Hitter",
"email" : "wp@ethitter.com",
"homepage" : "https://ethitter.com/"
}
],
"require" : {
"php" : ">=5.3.0"
}
}
# Copyright (C) 2019 Erick Hitter
# Copyright (C) 2022 Erick Hitter
# This file is distributed under the same license as the WP Redis User Session Storage package.
msgid ""
msgstr ""
"Project-Id-Version: WP Redis User Session Storage 0.1\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/wp-redis-user-session-storage\n"
"POT-Creation-Date: 2019-06-04 02:55:04+00:00\n"
"POT-Creation-Date: 2022-07-01 04:12:36+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: grunt-wp-i18n 0.5.4\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Country: United States\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"
#. Plugin Name of the plugin/theme
msgid "WP Redis User Session Storage"
......
This diff is collapsed.
......@@ -4,8 +4,8 @@
"main": "Gruntfile.js",
"author": "Erick Hitter",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-wp-i18n": "~0.5.0",
"grunt-wp-readme-to-markdown": "~1.0.0"
"grunt": "^1.5.3",
"grunt-wp-i18n": "^1.0.3",
"grunt-wp-readme-to-markdown": "^2.1.0"
}
}
File moved
File moved
......@@ -5,6 +5,7 @@ Tags: user sessions, session tokens, session storage
Requires at least: 4.0
Tested up to: 5.2
Stable tag: 0.1
Requires PHP: 5.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment