189 Commits

Author SHA1 Message Date
Shaun
7b136768d6
Add 8.3 and 8.4 to test matrix v5.0.3 2024-12-12 10:39:24 -05:00
Shaun
b023b067c7
Merge pull request #216 from slevomat/path-php84
Fix compatibility with PHP 8.4
2024-12-12 10:38:37 -05:00
Jan Langer
f9c2cf2786
Fix compatibility with PHP 8.4 2024-12-03 14:08:49 +01:00
Shaun
1aff62e6e0
Helper scripts for running tests without remembering paths/commands v5.0.2 2023-09-26 16:31:33 -04:00
Shaun
06cf50dc68
Merge pull request #208 from mandclu-acquia/master
Allow use of latest doctrine/collections
2023-09-26 16:28:25 -04:00
Martin Anderson-Clutz
c9f64b183e
Merge pull request #1 from mandclu-acquia/mandclu-acquia-patch-1
Update composer.json for updated collections
2023-03-11 02:03:49 -05:00
Martin Anderson-Clutz
c267af05f0
Update composer.json for updated collections 2023-03-11 02:02:36 -05:00
Shaun
5e736ab167
Merge pull request #204 from ankurk91/php82
test on php 8.2
2022-11-30 01:14:38 -05:00
Ankur Kumar
113da9a579
test o php 8.2 2022-11-30 11:24:36 +05:30
Shaun
6887b7bd70
Merge pull request #201 from williamdes/ci-and-gitattributes
CI updates and gitattributes fix
v5.0.1
2022-09-09 01:37:22 -04:00
William Desportes
b00d206c64
Add PHP 8.1 to tests matrix 2022-09-04 12:32:57 +02:00
William Desportes
4f421e490c
Add permissions on GitHub tests workflow 2022-09-04 12:32:47 +02:00
William Desportes
b8243654c1
Update .gitattributes
Fixes: #196
2022-09-04 12:29:54 +02:00
Shaun
b5aa5b07a5
Merge pull request #190 from ankurk91/feat/php-8-support
Test on php 8 - use github actions
v5.0.0
2021-09-08 23:42:57 -04:00
ankurk91
efd7388d86 Test on php 8 - github actions
* Remove travis-ci and replace with gh-actions
* Update phpunit, update test cases
* Bump minimum php requirement

See php version usage stats
https://packagist.org/packages/simshaun/recurr/php-stats
2021-08-10 14:42:13 +05:30
Shaun
c4ad46a361
Merge pull request #189 from ankurk91/php8
Test on php 8.0
2021-06-04 14:33:20 -04:00
Ankur Kumar
c1af4a1f19
Test on php 8.0 2021-06-04 19:55:30 +05:30
Shaun Simmons
08b0b46879 Trying to fix travis-ci v4.0.5 2021-03-25 19:00:49 -04:00
Shaun Simmons
93b62f5d59 Upgrade PHPUnit v4.0.4 2021-03-25 18:56:19 -04:00
Shaun Simmons
e2d4881a15 Trying to fix travis-ci 2021-03-25 17:50:44 -04:00
Shaun
6996f15ec7
Merge pull request #185 from theodson/bugfix/fix_tests_with_PSR-4_autoloading
Hopefully fixes deprecation warnings regarding PSR-4 and tests.
v4.0.3
2021-03-25 17:31:08 -04:00
theodickinson
3246214a54 PSR-4 autoloader autoload-dev needs to be
```
"Recurr\\Test\\": "tests/Recurr/Test"
```

Additionally, depending on your application's composer.json the warning may not appear.
To show the warning try either enabling the optimize-autoloader either in the composer.json

```
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": false
    },
```

or directly on the command line

```
composer require --optimize-autoloader simshaun/recurr
```
2021-03-25 22:35:33 +11:00
Shaun
d8bc5d3101
Merge pull request #168 from libertjeremy/constraints-getters
Getters in constraints
2020-05-12 12:11:41 -04:00
Shaun
0ece0d146f
Merge pull request #171 from ankurk91/php74
Test against php 7.4
2020-05-12 12:10:33 -04:00
Ankur Kumar
056f5c118f
Remove dist property to enable old php versions 2020-03-14 14:54:17 +05:30
Ankur Kumar
3a73bb1193
Test against php 7.4 2020-03-14 14:40:18 +05:30
LIBERT Jérémy
333e48068e Getters constraints 2019-11-22 12:09:57 +01:00
Shaun
d6f85ec865
Merge pull request #167 from ankurk91/patch/gittattributes
Create .gitattributes
v4.0.2
2019-11-18 12:48:08 -05:00
Ankur Kumar
b8b947c450
Create .gitattributes 2019-11-13 13:12:39 +05:30
Shaun
b8b6951800
Drop PHP 5.5 2019-08-06 18:28:09 -04:00
tiagosimoesdev
053c35aaba Update pt-br.php (#165)
Fixed on , previously was "se" that makes no sense.
v4.0.1
2019-08-06 18:18:04 -04:00
Shaun Simmons
2be86f12a3 Update author info 2019-06-04 13:53:08 -04:00
Shaun Simmons
6d5d82e338 Merge branch 'libertjeremy-autoload' 2019-06-04 13:47:36 -04:00
LIBERT Jérémy
24af85612b Composer autoload for tests 2019-04-09 10:27:59 +02:00
LIBERT Jérémy
946e21870b Merge branch 'master' of github.com:simshaun/recurr 2019-04-09 10:26:16 +02:00
Jérémy
e7bccac570 Allow start date to be null (#160) v4.0 2019-02-23 22:15:15 -05:00
Jérémy
6d9a499127 Some Documentation & PHP fixes (#162)
* Removed unused imports

* Throw exception for invalid freq (no return)

* Fixed type for $byStepPosition

* Added phpdoc for argument

* Removed duplicated translation keys
2019-02-23 22:11:44 -05:00
Jérémy
d83a932d6a Fix loadFromString with "DTSTART" and "RRULE" on new lines. (#159)
* Fix loadFromString with "DTSTART" and "RRULE" on new lines.

* Fix exception description
2019-02-23 21:34:45 -05:00
LIBERT Jérémy
eb31f7f667 Fix exception description 2019-01-30 10:03:15 +01:00
LIBERT Jérémy
cbf9c08431 Fix loadFromString with "DTSTART" and "RRULE" on new lines. 2019-01-29 11:21:20 +01:00
Sander Spruijt
2702aedc99 Fix issue where first of january is skipped (#156)
* Fix issue where first of january is skipped

When using a BYSETPOS in a RRule the first of january is skipped because of a loose comparison.

* Prefer strict equality comparison
v3.1.1
2019-01-03 13:08:41 -05:00
Romain Norberg
9aa6f01382 Add support for Hourly freq. on TextTransformer (#145)
* TextTransformer add support for Hourly freq - need test

* add test & translations
v3.1
2018-11-08 15:53:11 -05:00
Shaun
f729bfd715
Merge pull request #125 from foaly-nr1/patch-more-immutable-tests
More test cases
v3.0.7
2018-09-19 01:26:21 -04:00
Shaun Simmons
fc428d9361 Squashed commit of the following:
commit 6b81a4d3e9ce76434663a6f14dd0d401e8b8c74e
Author: Shaun Simmons <shaun@shaun.pub>
Date:   Wed Sep 19 01:06:34 2018 -0400

    Reduce changes and add tests

commit 36d061c6af4c5c3eb3f232c1c60e7605d2ea7389
Author: Vicary Archangel <vicary.archangel@member.mensa.org>
Date:   Wed Sep 12 17:43:06 2018 +0800

    Allow $endDate to be string in constructor.

    Just to increase the consistency among parameters, especially for users who actually use `$endDate`.
2018-09-19 01:16:04 -04:00
Shaun
ca00d6f2c0
Merge pull request #148 from codeartisanorg/master
Added norwegian translation
2018-07-17 14:01:14 -04:00
alexandre fontfreyde
60a23de5af fix bad phpdoc type (#149) v3.0.6 2018-07-16 14:28:28 -04:00
Code Artisan
b6d29cd0e4 Added norwegian translation 2018-07-11 13:58:45 +02:00
Stavros Papadakis
badd0c0315 Add translations for Greek language (#146) 2018-05-14 21:54:19 -04:00
Andrey Vystavkin
bff55c3baa Replacing PSR-0 namespaces with PSR-4 (#124) v3.0.5 2018-01-17 13:53:01 -05:00
Peter Meth
e2230e0488 Add @throws to Rule constructor (#139) v3.0.4 2018-01-17 13:43:13 -05:00