Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^8.2",
"a9f/fractor": "^0.3",
"a9f/fractor": "^0.3 || ^0.4",
"rector/rector": "^1.0",
"symfony/config": "^6.4 || ^7.0",
"symfony/console": "^6.4 || ^7.0",
Expand Down
4 changes: 1 addition & 3 deletions res/run_fractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
if (!is_string($fractorConfigFile)) {
throw new \RuntimeException('No file passed in env variable FRACTOR_CONFIG_FILE', 1712507292);
}
$fractorConfigClosure = (require $fractorConfigFile);
Assert::isCallable($fractorConfigClosure, 'FRACTOR_CONFIG_FILE did not yield a callable');
$fractorConfigClosure($fractorConfig);
$fractorConfig->import($fractorConfigFile);

$lifterConfigFile = getenv('LIFTER_CONFIG_FILE');
if (!is_string($lifterConfigFile)) {
Expand Down