Skip to content

Commit

Permalink
Merge pull request #366 from jolicode/refacto
Browse files Browse the repository at this point in the history
chore: Refactoring
  • Loading branch information
pyrech authored Apr 2, 2024
2 parents b419c1d + de3dc31 commit 685a805
Show file tree
Hide file tree
Showing 36 changed files with 596 additions and 501 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@

## Not released yet

* Add support for importing remote functions and tasks
* Add a bash installer to ease installation
* Distribute static binaries `castor.darwin-arm64` automatically with the
release
* Add support for running Castor on Linux arm64 and distribute the binary
`castor.linux-arm64.phar` automatically with the release
* Add a bash installer to ease installation
* Add support for importing remote functions and tasks
* Add an option `ignoreValidationErrors` on `AsTask` attribute to ignore
parameters & options validation errors
* Add support for dynamic autocomplete task arguments/options
* Add support for merging an application `box.json` config file used by
`castor:repack` command
* Find root directory by looking for a `.castor/castor.php` file
* Allow stub file to be in `.castor/.castor.stub.php`

* Deprecate loading all PHP files from `[ROOT_DIR]/castor`
* Deprecate `Context::withPath()` in favor of `Context::withWorkingDirectory()`
* Deprecate `path` argument in `capture()`, `exit_code()`, `run()`, `with()` in
favor of `workingDirectory`
* Deprecate `Castor\TaskDescriptorCollection` in favor of
`Castor\Descriptor\TaskDescriptorCollection`
* Deprecate `Castor\HasherHelper` in favor of `Castor\Castor\HasherHelper`
* Deprecate `Castor\PathHelper` in favor of `Castor\Castor\PathHelper`

## 0.14.0 (2024-03-08)

Expand Down
2 changes: 1 addition & 1 deletion bin/generate-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require __DIR__ . '/../vendor/autoload.php';

use Castor\Console\ApplicationFactory;
use Castor\PlatformHelper;
use Castor\Helper\PlatformHelper;
use Castor\Tests\Helper\OutputCleaner;
use Castor\Tests\Helper\WebServerHelper;
use Symfony\Component\Console\Input\ArrayInput;
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@
"jolicode/jolinotif": "^2.6.0",
"jolicode/php-os-helper": "^0.1.0",
"monolog/monolog": "^3.5",
"nikic/php-parser": "^4.18",
"spatie/ssh": "^1.9.2",
"symfony/cache": "^6.4.3",
"symfony/console": "^6.4.2",
"nikic/php-parser": "^4.19.1",
"spatie/ssh": "^1.10.0",
"symfony/cache": "^6.4.4",
"symfony/console": "^6.4.4",
"symfony/deprecation-contracts": "^3.4",
"symfony/dotenv": "^6.4.3",
"symfony/error-handler": "^6.4.3",
"symfony/dotenv": "^6.4.4",
"symfony/error-handler": "^6.4.4",
"symfony/expression-language": "^6.4.3",
"symfony/filesystem": "^6.4.3",
"symfony/finder": "^6.4",
"symfony/http-client": "^6.4.3",
"symfony/monolog-bridge": "^6.4.3",
"symfony/process": "^6.4.3",
"symfony/string": "^6.4.3",
"symfony/http-client": "^6.4.5",
"symfony/monolog-bridge": "^6.4.4",
"symfony/process": "^6.4.4",
"symfony/string": "^6.4.4",
"symfony/translation-contracts": "^3.4.1",
"symfony/var-dumper": "^6.4.3",
"symfony/var-dumper": "^6.4.4",
"symfony/yaml": "^6.4.3"
},
"conflict": {
Expand All @@ -64,7 +64,7 @@
}
},
"require-dev": {
"phpunit/php-code-coverage": "^9.2.30",
"symfony/phpunit-bridge": "^6.4.3"
"phpunit/php-code-coverage": "^9.2.31",
"symfony/phpunit-bridge": "^6.4.4"
}
}
Loading

0 comments on commit 685a805

Please sign in to comment.