Skip to content

Commit 010c9df

Browse files
committed
chore: set php version 7.2
1 parent a3b2c0c commit 010c9df

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
},
2828
"scripts":{
2929
"test:unit":"./vendor/bin/pest --testdox --colors=always tests/ --exclude-group db",
30-
"compat": "./vendor/bin/phpcs -p ./src --standard=PHPCompatibility --runtime-set testVersion 5.6",
31-
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
32-
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
30+
"compat": "./vendor/bin/phpcs -p ./src --standard=PHPCompatibility --runtime-set testVersion 7.2",
3331
"rector": "./vendor/bin/rector process --dry-run"
3432
},
3533

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
->withPaths([
1414
__DIR__ . '/src',
1515
])
16-
->withPhpVersion(PhpVersion::PHP_74)
16+
->withPhpVersion(PhpVersion::PHP_72)
1717
->withSkip([
1818
UnwrapFutureCompatibleIfPhpVersionRector::class,
1919
TypedPropertyFromStrictConstructorRector::class,
@@ -29,4 +29,4 @@
2929
// strictBooleans: true,
3030
// naming: true,
3131
)
32-
->withSets([SetList::PHP_74]);
32+
->withSets([SetList::PHP_72]);

0 commit comments

Comments
 (0)