Skip to content

Commit 904e8e6

Browse files
Merge pull request #227 from barnabywalters/master
Update dependencies, get GH actions working
2 parents 2c959d4 + b9814db commit 904e8e6

File tree

5 files changed

+20
-1447
lines changed

5 files changed

+20
-1447
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@ jobs:
4242
- name: Run Test Suite
4343
run: XDEBUG_MODE=coverage ./vendor/bin/phpunit tests --coverage-text
4444

45+
- name: Run Code Sniffer
46+
run: ./vendor/bin/phpcs
47+
4548
#- name: Run Static Analysis
4649
# run: ./vendor/bin/psalm

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
/nbproject
33
composer.phar
4+
composer.lock
45
/vendor/
56
/tmp
67
.idea/

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,18 @@ Currently php-mf2 passes the majority of it’s own test case, and a good percen
356356

357357
### Changelog
358358

359+
#### v0.5.0
360+
361+
Breaking change: bumped minimum PHP version from 5.4 to 5.6 (#220)
362+
363+
Other changes:
364+
365+
* #195 Fix backcompat parsing for geo property
366+
* #182 Fix parsing for iframe.u-*\[src]
367+
* #214 parse an img element for src and alt
368+
* #206 Add optional ID for h-* elements
369+
* #198 reduce instances where photo is implied
370+
359371
#### v0.4.6
360372

361373
Bugfixes:

composer.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,12 @@
1818
}
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "4.8.*",
21+
"phpunit/phpunit": "^5.7",
2222
"mf2/tests": "dev-master#e9e2b905821ba0a5b59dab1a8eaf40634ce9cd49",
23-
"squizlabs/php_codesniffer": "^2.6 || ^3.1.0",
24-
"dealerdirect/phpcodesniffer-composer-installer": "^0.6",
25-
"phpcompatibility/php-compatibility": "^9.3"
23+
"squizlabs/php_codesniffer": "^3.6.2",
24+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
25+
"phpcompatibility/php-compatibility": "^9.3"
2626
},
27-
"scripts": {
28-
"install-codestandards": [
29-
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
30-
],
31-
"phpcs": "./vendor/bin/phpcs -p",
32-
"phpunit": "./vendor/bin/phpunit"
33-
},
3427
"autoload": {
3528
"files": ["Mf2/Parser.php"]
3629
},

0 commit comments

Comments
 (0)