Skip to content

Commit

Permalink
Make it php 7.0+ compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
jperdochqu committed Jan 9, 2024
1 parent 670b0fc commit 2e1acd8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-php-oldest.yml
Expand Up @@ -13,8 +13,11 @@ jobs:
path: vendor
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
env:
COMPOSER: "composer-php-oldest.json"
with:
php_version: "7.2"
php_version: "7.1"
version: 1
- name: PHP Lint
run: vendor/bin/phplint --exclude=vendor
- name: PHP Unit
Expand Down
21 changes: 21 additions & 0 deletions composer-php-oldest.json
@@ -0,0 +1,21 @@
{
"name": "qualityunit/tnef-decoder",
"description": "TNEF Decoder library extracted from squirell mail plugin to decode winmail.dat file in email attachment",
"keywords": ["tnef decoder", "winmail.dat"],
"license": "GPL-2.0-or-later",
"type": "library",
"homepage": "https://github.com/QualityUnit/TNEFDecoder",
"require": {
"php": ">=7.0",
"ext-mbstring": "*"
},
"require-dev": {
"overtrue/phplint": "3.2.0",
"phpunit/phpunit": "7.5.20"
},
"autoload": {
"psr-4": {
"TNEFDecoder\\": "src/TNEFDecoder/"
}
}
}

0 comments on commit 2e1acd8

Please sign in to comment.