Skip to content

Commit 5ae1217

Browse files
committed
upgrade dependencies and minor style fix
1 parent c08d004 commit 5ae1217

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "olinox14/path-php",
33
"description": "Object-oriented file and path operations, inspired by the path.py python library",
4+
"version": "0.1.8",
45
"require": { "php": ">=8.0" },
56
"type": "library",
67
"license": "MIT",
@@ -24,8 +25,8 @@
2425
"phpunit/phpunit": "^9.6",
2526
"ext-posix": "*",
2627
"php-coveralls/php-coveralls": "^2.7",
27-
"phpstan/phpstan": "^1.10",
28-
"friendsofphp/php-cs-fixer": "^3.52"
28+
"phpstan/phpstan": "^2.1",
29+
"friendsofphp/php-cs-fixer": "^3.70"
2930
},
3031
"minimum-stability": "dev",
3132
"prefer-stable": true

src/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function getHomeDir(): self
217217
}
218218
}
219219

220-
if($this->builtin->function_exists('exec')) {
220+
if ($this->builtin->function_exists('exec')) {
221221
$homeDir = $isWindows ?
222222
$this->builtin->exec('echo %userprofile%') :
223223
$this->builtin->exec('echo ~');

0 commit comments

Comments
 (0)