diff --git a/README.md b/README.md index 2022455..991dbc5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ You can either use it from your local machine OR using docker. #### Locally (no Docker) -1. Ensure you have PHP >=8.0 (Some help about how to install multiple PHP versions locally on [linux](https://github.com/phpbrew/phpbrew) and [Mac](https://github.com/shivammathur/homebrew-php)) +1. Ensure you have PHP >=8.2 (Some help about how to install multiple PHP versions locally on [linux](https://github.com/phpbrew/phpbrew) and [Mac](https://github.com/shivammathur/homebrew-php)) 1. Ensure you have [composer](https://getcomposer.org/composer-stable.phar) 1. Clone this repo 1. Install the dependencies | `composer install` diff --git a/composer.json b/composer.json index c28ba24..76d236d 100644 --- a/composer.json +++ b/composer.json @@ -9,11 +9,11 @@ "homepage": "https://phel-lang.org/", "license": "MIT", "require": { - "php": ">=8.0", - "phel-lang/phel-lang": "dev-main" + "php": ">=8.2", + "phel-lang/phel-lang": "^0.12" }, "require-dev": { - "symfony/var-dumper": "^5.4 || ^6.2" + "symfony/var-dumper": "^6.4" }, "autoload": { "psr-4": { diff --git a/phel-config.php b/phel-config.php index 777223b..4b7657a 100644 --- a/phel-config.php +++ b/phel-config.php @@ -9,18 +9,14 @@ return (new PhelConfig()) ->setSrcDirs(['src']) ->setTestDirs(['tests']) - ->setOut( - (new PhelOutConfig()) - ->setDestDir('out') - ->setMainPhelNamespace('cli-skeleton\main') - ->setMainPhpFilename('index') - ) + ->setOut((new PhelOutConfig()) + ->setDestDir('out') + ->setMainPhelNamespace('cli-skeleton\main') + ->setMainPhpFilename('index')) ->setFormatDirs(['src', 'tests']) - ->setExport( - (new PhelExportConfig()) - ->setDirectories(['src/modules']) - ->setNamespacePrefix('PhelGenerated') - ->setTargetDirectory('src/PhelGenerated') - ) + ->setExport((new PhelExportConfig()) + ->setDirectories(['src/modules']) + ->setNamespacePrefix('PhelGenerated') + ->setTargetDirectory('src/PhelGenerated')) ->setIgnoreWhenBuilding(['local.phel']) ->setKeepGeneratedTempFiles(false);