Skip to content

Commit da22ced

Browse files
authored
Merge pull request #102 from barbosaadriano/master
just updated the phpunit to 8 and do some annotations to allow dynami…
2 parents 154803b + 7b4e86c commit da22ced

15 files changed

Lines changed: 856 additions & 582 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
vendor
2+
.vscode

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,9 @@
5151

5252
- Fixed bug: underlining would start but never end. Now it does.
5353
- Feature request: images are now filtered out of the output.
54+
55+
56+
### Update 5 May '24:
57+
58+
- Fix declarations of dynamic properties to run in PHP 8 environment
59+
- Created some getters and setters and fix broken tests

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"description": "RTF to HTML converter in PHP",
44
"keywords": ["rtf", "converter"],
55
"type": "library",
6-
"version": "1.1",
7-
"license": "GPL-2.0",
6+
"license": "GPL-2.0-only",
87
"authors": [
98
{
109
"name": "Alexander van Oostenrijk",
@@ -16,13 +15,15 @@
1615
"phpunit tests"
1716
]
1817
},
19-
"require": {},
18+
"require": {
19+
"php": "^8.0"
20+
},
2021
"autoload": {
2122
"psr-4": {
2223
"RtfHtmlPhp\\": "src/"
2324
}
2425
},
2526
"require-dev": {
26-
"phpunit/phpunit": "7"
27+
"phpunit/phpunit": "^8"
2728
}
2829
}

0 commit comments

Comments
 (0)