Skip to content

Commit

Permalink
Run tests on commit, fix deprecations in fpdf_tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Jan 25, 2024
1 parent 2bf600e commit 4d95c58
Show file tree
Hide file tree
Showing 7 changed files with 3,683 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: composer tests-all
run: composer test-all
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
/vendor
/composer.phar
/composer.lock
/.phpunit.result.cache
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

41 changes: 0 additions & 41 deletions Makefile

This file was deleted.

13 changes: 10 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"email": "[email protected]"
}
],
"scripts": {
"test-all": "vendor/bin/phpunit && vendor/bin/behat",
"test-behat": "vendor/bin/behat",
"test-phpunit": "vendor/bin/phpunit"
},
"autoload": {
"psr-4": {
"iio\\libmergepdf\\": "src/"
Expand All @@ -20,7 +25,7 @@
]
},
"require": {
"php": "^7.1||^8.0",
"php": "^8.3",
"tecnickcom/tcpdf": "^6.2.22",
"setasign/fpdi": "^2"
},
Expand All @@ -29,7 +34,9 @@
"rafikhaceb/tcpdi": "*"
},
"require-dev": {
"phpunit/phpunit": "^7|^8",
"smalot/pdfparser": "~0.13"
"phpunit/phpunit": "^8",
"smalot/pdfparser": "2.8.0",
"phpspec/prophecy": "^1.18",
"behat/behat": "^3.14"
}
}
Loading

0 comments on commit 4d95c58

Please sign in to comment.