Skip to content

Commit a0c2621

Browse files
committed
chore: update PHP version to 8.1 and adjust dependencies
1 parent 62073a5 commit a0c2621

File tree

6 files changed

+345
-413
lines changed

6 files changed

+345
-413
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use PhpCsFixer\Config;
6+
use PhpCsFixer\Finder;
7+
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
8+
9+
return (new Config())
10+
->setParallelConfig(ParallelConfigFactory::detect())
11+
->setRiskyAllowed(true)
12+
->setRules([
13+
'@PhpCsFixer' => true
14+
])
15+
->setUsingCache(false)
16+
->setFinder(
17+
(new Finder())
18+
->in(__DIR__)
19+
)
20+
;

clients/algoliasearch-client-php/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
2424
},
2525
"require-dev": {
26-
"friendsofphp/php-cs-fixer": "^3.80.0",
27-
"phpunit/phpunit": "^11.0",
26+
"friendsofphp/php-cs-fixer": "^3.91.3",
27+
"phpunit/phpunit": "^10.0",
2828
"vlucas/phpdotenv": "^5.4",
2929
"phpstan/phpstan": "^1.12"
3030
},

0 commit comments

Comments
 (0)