From 53ead6faa28bb546e305de5143693127ce81855a Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Mon, 9 Oct 2023 23:24:19 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9fe22bc..61dddf0 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Extendible workspace configurator for Laravel to effortlessly keep linters, fixe Workspace Core is the enige used by [gedachtegoed/workspace](https://github.com/media-code/workspace). You can use this package to ship your own organization wide project defaults and keep them up to date with a upstream repository. -Workspace's Fluent Integrations enable automation of **_linting_**, **_fixing_**, **_ci workflows_**, **_editor integrations_** & **_composer scripts_**. You can even use it to automate setting up [IDE helper](https://github.com/barryvdh/laravel-ide-helper) integrations in your project. Using custom hooks you can pretty much automate any Integration setup or repetetive task. +Workspace's Fluent Integrations enable automation of **_linting_**, **_fixing_**, **_ci workflows_**, **_editor integrations_** & **_composer scripts_**. You can even use it to automate setting up [IDE helper](https://github.com/barryvdh/laravel-ide-helper) integrations in your project. Using custom hooks you can pretty much automate any Integration setup or repetetive task and keep it in sync with your entire team across different projects. The [Workspace](https://github.com/media-code/workspace) package itself is a predefined Portable Workspace you can use as a well thought out but opinionated baseline for your Laravel projects. If you don't plan on creating your own presets we recommend to start there. From 34072b51d2206168f37607c4dcd8ccc0d420cef2 Mon Sep 17 00:00:00 2001 From: gwleuverink Date: Fri, 12 Apr 2024 13:01:08 +0000 Subject: [PATCH 2/3] Dusting --- src/Aggregator.php | 28 ++++++++++++++-------------- src/Concerns/UpdatesGitignore.php | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/Aggregator.php b/src/Aggregator.php index b3f910f..ef19712 100644 --- a/src/Aggregator.php +++ b/src/Aggregator.php @@ -21,9 +21,9 @@ * @method array publishesWorkflows() * @method array dusterLintConfig() * @method array dusterFixConfig() - * |-------------------------------------------------------------------------- - * | Package managers - * |-------------------------------------------------------------------------- + * |-------------------------------------------------------------------------- + * | Package managers + * |-------------------------------------------------------------------------- * @method array composerScripts() * @method array composerRequire() * @method array composerRequireDev() @@ -31,23 +31,23 @@ * @method array npmInstall() * @method array npmInstallDev() * @method array npmUpdate() - * |-------------------------------------------------------------------------- - * | Gitignore - * |-------------------------------------------------------------------------- + * |-------------------------------------------------------------------------- + * | Gitignore + * |-------------------------------------------------------------------------- * @method array addToGitignore() * @method array removeFromGitignore() - * |-------------------------------------------------------------------------- - * | Integrations - * |-------------------------------------------------------------------------- + * |-------------------------------------------------------------------------- + * | Integrations + * |-------------------------------------------------------------------------- * @method array provideVscodeWorkspaceConfig() * @method array provideVscodeRecommendedPlugins() * @method array provideVscodeAvoidPlugins() * @method array providePhpStormWorkspaceConfig() * @method array providePhpStormRequiredPlugins() * @method array providePhpStormSuggestedPlugins() - * |-------------------------------------------------------------------------- - * | Hooks - * |-------------------------------------------------------------------------- + * |-------------------------------------------------------------------------- + * | Hooks + * |-------------------------------------------------------------------------- * @method array beforeInstall() * @method array afterInstall() * @method array beforeUpdate() @@ -98,7 +98,7 @@ public function integrations(): Collection /** * Resolves Integrations by a array of their respective Builder classes * - * @param array $integrations Array of fully qualified classnames + * @param array $integrations Array of fully qualified classnames * @return Collection */ private function resolve(array $integrations): Collection @@ -144,7 +144,7 @@ private function registerIntegrationPublishGroups() * Forwards method calls to collect integration properties. * Please see class PHPDoc method hints for a list of methods this provides. * - * @param string $name property of Integration to aggregate + * @param string $name property of Integration to aggregate */ public function __call(string $name, ?array $arguments): array { diff --git a/src/Concerns/UpdatesGitignore.php b/src/Concerns/UpdatesGitignore.php index 8b72db5..28aae85 100644 --- a/src/Concerns/UpdatesGitignore.php +++ b/src/Concerns/UpdatesGitignore.php @@ -4,7 +4,7 @@ trait UpdatesGitignore { - public function addToGitignore(array|string $lines, string $path = null) + public function addToGitignore(array|string $lines, ?string $path = null) { $lines = (array) $lines; @@ -26,7 +26,7 @@ public function addToGitignore(array|string $lines, string $path = null) } } - public function removeFromGitignore(array|string $lines, string $path = null) + public function removeFromGitignore(array|string $lines, ?string $path = null) { $lines = (array) $lines; From 57663b1f284a5823ca226f67b2181f42f6db9139 Mon Sep 17 00:00:00 2001 From: gwleuverink Date: Fri, 12 Apr 2024 13:01:09 +0000 Subject: [PATCH 3/3] Ignore Dusting commit in git blame --- .git-blame-ignore-revs | 1 + 1 file changed, 1 insertion(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..e82014e --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1 @@ +34072b51d2206168f37607c4dcd8ccc0d420cef2