Skip to content

Commit

Permalink
Fixes installation of tool, update to phpstan2, migration castor script
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Nov 22, 2024
1 parent b9ea40e commit 8b4d6f2
Show file tree
Hide file tree
Showing 11 changed files with 2,200 additions and 771 deletions.
1 change: 1 addition & 0 deletions jolinotif
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ final class Cli

public function __construct()
{
// @phpstan-ignore offsetAccess.nonOffsetAccessible,assign.propertyType
$this->command = $_SERVER['argv'][0];
}

Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
- jolinotif
tmpDir: 'var/phpstan/tmp'
inferPrivatePropertyTypeFromConstructor: true
checkGenericClassInNonGenericObjectType: false
# checkGenericClassInNonGenericObjectType: false
excludePaths:
analyse: []
ignoreErrors:
Expand Down
1 change: 0 additions & 1 deletion tools/phar/castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ function install(): void
function update(): void
{
run(['composer', 'update']);
run(['composer', 'bump']);
}
10 changes: 5 additions & 5 deletions tools/phar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
}
],
"require": {
"humbug/box": ">=4.5.1"
"humbug/box": ">=4.6.2"
},
"config": {
"bump-after-update": true,
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "8.1"
}
"php": "8.2"
},
"sort-packages": true
}
}
Loading

0 comments on commit 8b4d6f2

Please sign in to comment.