diff --git a/include/icalparser/.travis.yml b/include/icalparser/.travis.yml new file mode 100644 index 0000000..6eec526 --- /dev/null +++ b/include/icalparser/.travis.yml @@ -0,0 +1,27 @@ +language: php +php: + - 5.6 + - 7.0 + - 7.1 + - 7.2 + - hhvm + +matrix: + allow_failures: + - php: 7.1 + - php: 7.2 + - php: hhvm + + include: + - php: 5.6 + env: dependencies="--prefer-lowest --prefer-stable" + +script: + - vendor/bin/tester tests -s -p php + +after_failure: + - for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done + +before_script: + - composer self-update + - composer update --no-interaction --prefer-source $dependencies \ No newline at end of file diff --git a/include/icalparser/LICENSE b/include/icalparser/LICENSE index ce7d41d..e449f31 100644 --- a/include/icalparser/LICENSE +++ b/include/icalparser/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2022, Roman Ožana +Copyright (c) 2014, Roman Ožana All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/include/icalparser/composer.json b/include/icalparser/composer.json index bf70a70..3eb9cc8 100644 --- a/include/icalparser/composer.json +++ b/include/icalparser/composer.json @@ -1,33 +1,28 @@ { "name": "om/icalparser", - "license": "BSD-3-Clause", "description": "Simple ical parser", "keywords": [ "ical", "calendar", "parser" ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Roman Ožana", - "email": "roman@ozana.cz" + "email": "ozana@omdesign.cz" } ], "require": { - "php": ">=7.4.0" - }, - "suggest": { - "ext-dom": "for timezone tool" + "php": ">=5.6.0" }, "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "test": "tester tests -s -p php" + "classmap": ["src/"] }, "require-dev": { - "nette/tester": "^2.4" + "nette/tester": "v2.0.1" + }, + "scripts": { + "tests": ["./vendor/bin/tester tests -s -p php"] } } diff --git a/include/icalparser/example/index.php b/include/icalparser/example/index.php index de706f6..5c468d5 100644 --- a/include/icalparser/example/index.php +++ b/include/icalparser/example/index.php @@ -7,36 +7,26 @@
Date | -Summary | -
---|---|
%s | %s |