Skip to content

Commit 1c9e671

Browse files
committed
Update configuration and minor tweaks
1 parent 15ccd4f commit 1c9e671

File tree

7 files changed

+45
-14
lines changed

7 files changed

+45
-14
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Exclude files from exporting
3+
#
4+
5+
/.gitattributes export-ignore
6+
/.github export-ignore
7+
/.gitignore export-ignore
8+
/tests export-ignore
9+
/phpunit.xml export-ignore

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [ 8.0, 7.4, 7.3, 7.2, 7.1 ]
17+
php: [ 8.0, 8.1, 8.2 ]
1818
stability: [ prefer-lowest, prefer-stable ]
1919

2020
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

CHANGELOG.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1-
# 2.0.0
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
23

3-
- Updated HTMLPurifier library to version 4.13.0
4-
- Minimal PHP requirement is now 7.1.3
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
56

6-
# 3.0.0
7+
# [3.0.0] - 2023-11-30
78

8-
- Removed HTMLPurifier library
9+
- Replace included library code with `ezyang/htmlpurifier` (`^4.16`) composer package.
10+
11+
# [2.0.1] - 2020-05-28
12+
13+
- Update dependencies.
14+
15+
# [2.0.0] - 2020-08-18
16+
17+
- Updated HTMLPurifier library to version 4.13.0.
18+
- Minimal PHP requirement is now 7.1.3.
19+
20+
# [1.0.1] - 2018-10-26
21+
22+
- Modify LICENCE and composer.json contents.
23+
24+
# [1.0.0] - 2018-07-18
25+
26+
- Initial version.

Plugin.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
/** @noinspection PhpMissingParentCallCommonInspection */
4-
53
declare(strict_types=1);
64

75
namespace Vdlp\HtmlPurifier;

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
],
1616
"require": {
1717
"php": "^8.0.2",
18-
"composer/installers": "^1.0",
18+
"composer/installers": "^1.0 || ^2.0",
1919
"ezyang/htmlpurifier": "^4.16"
20+
},
21+
"config": {
22+
"allow-plugins": {
23+
"composer/installers": true
24+
}
2025
}
2126
}

updates/version.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1.0.0: First version of Vdlp.HtmlPurifier
2-
1.0.1: Update plugin LICENSE
3-
2.0.0: Update library and minimal required PHP version
4-
2.0.1: Update plugin dependencies
5-
3.0.0: Library removed and dependency added
1+
v1.0.0: First version of Vdlp.HtmlPurifier.
2+
v1.0.1: Update plugin LICENSE.
3+
v2.0.0: Update library and minimal required PHP version.
4+
v2.0.1: Update plugin dependencies.
5+
v3.0.0: Replace library code with composer dependency.

0 commit comments

Comments
 (0)