Skip to content

Commit 2575ba2

Browse files
committed
Make chronos optional
1 parent 4e74565 commit 2575ba2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎composer.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@
1313
],
1414
"homepage": "https://github.com/selective-php/array-reader",
1515
"require": {
16-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
17-
"cakephp/chronos": "^2 || ^3"
16+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
1817
},
1918
"require-dev": {
19+
"cakephp/chronos": "^2 || ^3",
2020
"friendsofphp/php-cs-fixer": "^3",
2121
"phpstan/phpstan": "^1 || ^2",
2222
"phpunit/phpunit": "^11",
2323
"squizlabs/php_codesniffer": "^3"
2424
},
25+
"suggest": {
26+
"cakephp/chronos": "Required to use ArrayReader::getChronos() and ArrayReader::findChronos()"
27+
},
2528
"autoload": {
2629
"psr-4": {
2730
"Selective\\ArrayReader\\": "src/"

0 commit comments

Comments
 (0)