Skip to content

Commit 76a0223

Browse files
Update dependencies, compliance to latest WP code style, v1.1.2 (#14)
* Update dependencies, compliance to latest WP code style * Version 1.1.2 * Update changelog in readme.txt
1 parent 233fecd commit 76a0223

10 files changed

+265
-225
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ language: php
22

33
php:
44
- '5.6'
5-
- '7.0'
65
- '7.1'
76
- '7.2'
7+
- '7.3'
88
- nightly
99

1010
matrix:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this WordPress plugin will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## Version 1.1.2
9+
10+
### Changed
11+
12+
* Enhancement: Compliance with latest WP coding guidelines
13+
14+
715
## Version 1.1.1
816

917
### Changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"require-dev": {
2424
"dealerdirect/phpcodesniffer-composer-installer": "^0.4",
2525
"matthiasmullie/minify": "^1.3",
26+
"phpcompatibility/php-compatibility": "^9.1",
2627
"slowprog/composer-copy-file": "^0.2",
2728
"squizlabs/php_codesniffer": "^3.1",
28-
"wimg/php-compatibility": "^8.0",
29-
"wp-coding-standards/wpcs": "^0.14"
29+
"wp-coding-standards/wpcs": "^2.1"
3030
},
3131
"repositories": [
3232
{

composer.lock

Lines changed: 82 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<property name="text_domain" type="array" value="posts-and-users-stats" />
2727
</properties>
2828
</rule>
29+
<rule ref="WordPress.WP.GlobalVariablesOverride.Prohibited">
30+
<exclude-pattern>posts.php</exclude-pattern>
31+
</rule>
2932

3033
<!-- Include sniffs for PHP cross-version compatibility. -->
3134
<config name="testVersion" value="5.6-"/>

0 commit comments

Comments
 (0)