Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleorselli committed Feb 8, 2025
1 parent 5f303eb commit d4d04f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Enforce architectural constraints in your PHP applications",
"type": "library",
"license": "MIT",
"version": "0.3.33",
"version": "0.4.0",
"authors": [
{
"name": "Pietro Campagnano",
Expand Down Expand Up @@ -38,10 +38,10 @@
"roave/security-advisories": "dev-master",
"symfony/var-dumper": "^3.0|^4.0|^5.0|^6.0|^7.0",
"vimeo/psalm": "^4.6",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^7.5|^9.0|^10.0",
"mikey179/vfsstream": "^1.6",
"phpspec/prophecy": "^1.10"
"phpspec/prophecy": "^1.10",
"friendsofphp/php-cs-fixer": "3.4.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/CLI/TargetPhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private function __construct(string $version)
{
$versionNumbers = explode('.', $version);
if (3 <= \count($versionNumbers)) {
$version = $versionNumbers[0] . '.' . $versionNumbers[1];
$version = $versionNumbers[0].'.'.$versionNumbers[1];
}

if (!\in_array($version, self::VALID_PHP_VERSIONS)) {
Expand Down

0 comments on commit d4d04f7

Please sign in to comment.