[commits] horde-installer-plugin branch FRAMEWORK_6_0 updated. fa6886232980b94a8b583818bd5c187dfc7af0f9

lang at b1-systems.de lang at b1-systems.de
Wed Aug 3 16:08:32 UTC 2022


The branch "FRAMEWORK_6_0" has been updated.
The following is a summary of the commits.

from: 6942966225026890c383aa97e802fb8c95a59109

308bc3b Add trailing semicolon (syntax)
793c413 Add quotation marks for app fileroot
442ef6d Move static dir out of horde dir
f8d0719 Stub of a horde-specific command
be5890b Add missing getCapabilities
51ae8d5 Flesh out stub of HordeReconfigureCommand
ce9f72d Add phpstan action
aa0e86a Fix issues found by phpstan
63bf507 Raise to phpstan level 3
7bdce26 Fix issues found by phpstan
6f800aa Move to phpstan level 5
e6b3771 horde-reconfigure command can now rebuild js and config symlinks
1cff6a9 Fix phpstan detected issues
d4d287d Write horde.local.php files during horde-reconfigure command
b1ae639 Handle copying presets and linking themes
b03876c Add type hints suggested by phpstan level 6
45b95ee Ensure always returning a string, not false
4458c81 Handle doc/registry.d snippets
a55619b update pipeline
67144fd superfluous targetDir Check
506d170 phpstan level 6 passed.
acff96b Passes PHPStan level 8.
0585cad Update tested php versions
00a5920 getComposer is deprecated
3fa425c $rootPackage is unused
1781c84 Abstract away the different output interfaces of Command and Installer
0bfc1d3 Use the ReconfigureFlow both in Command and Installer
c194ca4 Prefer requireComposer if available
ec85e34 Whitespace and style
267d093 Only fire the reconfigure command once per install
15e28c6 This is now a ScriptEvent
4cb2891 Make phpstan more happy on levels 8 and max
a0b1d9e Merge pull request #6 from maintaina-com/refactor
fa68862 Merge branch 'FRAMEWORK_6_0' into FRAMEWORK_6_0

Summary: https://github.com/horde/horde-installer-plugin/compare/694296622502...fa6886232980

-----------------------------------------------------------------------

commit 308bc3b408afff1b8603a63be3861ea70baab352
Author: Ralf Lang <lang at b1-systems.de>
Date:   Fri, 17 Sep 2021 20:24:58 +0000

Add trailing semicolon (syntax)

 M src/HordeInstaller.php

https://github.com/horde/horde-installer-plugin/commit/308bc3b408afff1b8603a63be3861ea70baab352

-----------------------------------------------------------------------

commit 793c413b925fc5e62ce97a9526d3234f1b1f6300
Author: Ralf Lang <lang at b1-systems.de>
Date:   Fri, 17 Sep 2021 20:34:35 +0000

Add quotation marks for app fileroot

 M src/HordeInstaller.php

https://github.com/horde/horde-installer-plugin/commit/793c413b925fc5e62ce97a9526d3234f1b1f6300

-----------------------------------------------------------------------

commit 442ef6d63ef33153805984484e306850455d6f22
Author: Ralf Lang <lang at b1-systems.de>
Date:   Fri, 17 Sep 2021 20:58:30 +0000

Move static dir out of horde dir

 M src/HordeInstaller.php

https://github.com/horde/horde-installer-plugin/commit/442ef6d63ef33153805984484e306850455d6f22

-----------------------------------------------------------------------

commit f8d071929e7cc6fc644e594f5a5195b81a469dcb
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 15:30:45 +0000

Stub of a horde-specific command

 A src/Command.php
 A src/CommandProvider.php
 M src/HordeInstallerPlugin.php

https://github.com/horde/horde-installer-plugin/commit/f8d071929e7cc6fc644e594f5a5195b81a469dcb

-----------------------------------------------------------------------

commit be5890b762d0c4a2f496dd622399affd84fdd1ca
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 15:51:59 +0000

Add missing getCapabilities

 M src/HordeInstallerPlugin.php

https://github.com/horde/horde-installer-plugin/commit/be5890b762d0c4a2f496dd622399affd84fdd1ca

-----------------------------------------------------------------------

commit 51ae8d5279439d11e696c0b826bbca5bd77409d2
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 20:41:09 +0000

Flesh out stub of HordeReconfigureCommand

 R src/Command.php
 M src/CommandProvider.php
 A src/ConfigLinker.php
 A src/HordeLocalFileWriter.php
 A src/HordeReconfigureCommand.php
 A src/JsTreeLinker.php
 A src/RegistryLocationFileWriter.php

https://github.com/horde/horde-installer-plugin/commit/51ae8d5279439d11e696c0b826bbca5bd77409d2

-----------------------------------------------------------------------

commit ce9f72dbaf573b2d72e3468a990e553fedc0edb6
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 20:59:17 +0000

Add phpstan action

 A .github/workflows/phpstan.yml

https://github.com/horde/horde-installer-plugin/commit/ce9f72dbaf573b2d72e3468a990e553fedc0edb6

-----------------------------------------------------------------------

commit aa0e86a67ce71e00c664e2f9ef12003c97c98dcb
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 21:06:03 +0000

Fix issues found by phpstan

 M src/HordeReconfigureCommand.php
 M src/ThemesCatalog.php
 M src/ThemesHandler.php

https://github.com/horde/horde-installer-plugin/commit/aa0e86a67ce71e00c664e2f9ef12003c97c98dcb

-----------------------------------------------------------------------

commit 63bf507cfd9054871a255c0e4a024179d43ca877
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 21:10:26 +0000

Raise to phpstan level 3

 M .github/workflows/phpstan.yml

https://github.com/horde/horde-installer-plugin/commit/63bf507cfd9054871a255c0e4a024179d43ca877

-----------------------------------------------------------------------

commit 7bdce26f3c5e2d28431e466be45623f6dd381b70
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 21:14:11 +0000

Fix issues found by phpstan

 M src/HordeInstaller.php
 M src/ThemesCatalog.php

https://github.com/horde/horde-installer-plugin/commit/7bdce26f3c5e2d28431e466be45623f6dd381b70

-----------------------------------------------------------------------

commit 6f800aad8a866361c1ebcd31644f9d65caefb08b
Author: Ralf Lang <lang at b1-systems.de>
Date:   Mon, 18 Oct 2021 21:14:24 +0000

Move to phpstan level 5

 M .github/workflows/phpstan.yml

https://github.com/horde/horde-installer-plugin/commit/6f800aad8a866361c1ebcd31644f9d65caefb08b

-----------------------------------------------------------------------

commit e6b377195c3258d12e13d284e7693d9157c1bcb8
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue, 19 Oct 2021 18:08:37 +0000

horde-reconfigure command can now rebuild js and config symlinks

 M src/ConfigLinker.php
 M src/HordeReconfigureCommand.php
 M src/JsTreeLinker.php

https://github.com/horde/horde-installer-plugin/commit/e6b377195c3258d12e13d284e7693d9157c1bcb8

-----------------------------------------------------------------------

commit 1cff6a93e4163f73e2e1d04029265d45e0820904
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue, 19 Oct 2021 18:11:33 +0000

Fix phpstan detected issues

 M src/ConfigLinker.php
 M src/JsTreeLinker.php

https://github.com/horde/horde-installer-plugin/commit/1cff6a93e4163f73e2e1d04029265d45e0820904

-----------------------------------------------------------------------

commit d4d287d1b4f5219858fc8947bf677a05e6301eb4
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue, 19 Oct 2021 18:52:34 +0000

Write horde.local.php files during horde-reconfigure command

 M src/HordeLocalFileWriter.php
 M src/HordeReconfigureCommand.php

https://github.com/horde/horde-installer-plugin/commit/d4d287d1b4f5219858fc8947bf677a05e6301eb4

-----------------------------------------------------------------------

commit b1ae639ef388b813ab79ce29c16fa51f8d336e77
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue, 02 Nov 2021 16:33:04 +0000

Handle copying presets and linking themes

 M src/HordeReconfigureCommand.php
 A src/PresetHandler.php

https://github.com/horde/horde-installer-plugin/commit/b1ae639ef388b813ab79ce29c16fa51f8d336e77

-----------------------------------------------------------------------

commit b03876c24f3bd6dc867614de40c8f373aa4ed49c
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue, 02 Nov 2021 16:33:18 +0000

Add type hints suggested by phpstan level 6

 M src/HordeInstaller.php
 M src/HordeInstallerPlugin.php
 M src/HordeLocalFileWriter.php
 M src/JsTreeLinker.php
 M src/ThemesCatalog.php
 M src/ThemesHandler.php

https://github.com/horde/horde-installer-plugin/commit/b03876c24f3bd6dc867614de40c8f373aa4ed49c

-----------------------------------------------------------------------

commit 45b95ee8830f05ecc24b61f1a61b3b87265ed95f
Author: Ralf Lang <lang at b1-systems.de>
Date:   Wed, 03 Nov 2021 06:29:47 +0000

Ensure always returning a string, not false

 M src/HordeInstaller.php

https://github.com/horde/horde-installer-plugin/commit/45b95ee8830f05ecc24b61f1a61b3b87265ed95f

-----------------------------------------------------------------------

commit 4458c81f19cfe24528394f34f0c637a0886d0a2b
Author: Ralf Lang <lang at b1-systems.de>
Date:   Wed, 03 Nov 2021 06:30:28 +0000

Handle doc/registry.d snippets

 M src/HordeReconfigureCommand.php
 A src/PackageDocRegistrySnippetHandler.php

https://github.com/horde/horde-installer-plugin/commit/4458c81f19cfe24528394f34f0c637a0886d0a2b

-----------------------------------------------------------------------

commit a55619bdf2245ed4b3f00e7a692ff891629bc531
Author: Ralf Lang <lang at b1-systems.de>
Date:   Wed, 03 Nov 2021 17:00:53 +0000

update pipeline

 A .github/workflows/ci.yml
 A .github/workflows/phpdoc.yml
 R .github/workflows/phpstan.yml
 M composer.json
 A phpunit.xml.dist
 M src/ConfigLinker.php
 M src/HordeLocalFileWriter.php
 M src/HordeReconfigureCommand.php
 A test/ConfigLinkerTest.php
 A test/bootstrap.php
 A test/fixture/ConfigLinker/var/config/horde/hooks.php
 A test/fixture/ConfigLinker/var/config/horde/registry.d/app-lunch.php
 A test/fixture/ConfigLinker/var/config/horde/registry.local.php
 A test/fixture/ConfigLinker/var/config/lunch/backend.local.php
 A test/fixture/ConfigLinker/var/config/lunch/conf.php
 A test/fixture/ConfigLinker/web/horde/config/.keep

https://github.com/horde/horde-installer-plugin/commit/a55619bdf2245ed4b3f00e7a692ff891629bc531

-----------------------------------------------------------------------

commit 67144fd01f6818cd684779933118f23c6fbb3956
Author: Ralf Lang <lang at b1-systems.de>
Date:   Thu, 18 Nov 2021 14:57:22 +0100

superfluous targetDir Check

Previous check makes check unreachable if it is false

 M src/ConfigLinker.php

https://github.com/horde/horde-installer-plugin/commit/67144fd01f6818cd684779933118f23c6fbb3956

-----------------------------------------------------------------------

commit 506d17024d61c56dee1b7aa641b0c999a0fa7b70
Author: Ralf Lang <lang at b1-systems.de>
Date:   Fri, 19 Nov 2021 10:44:56 +0000

phpstan level 6 passed.

 M src/JsTreeLinker.php
 M src/PresetHandler.php

https://github.com/horde/horde-installer-plugin/commit/506d17024d61c56dee1b7aa641b0c999a0fa7b70

-----------------------------------------------------------------------

commit acff96b38a6770503600d1308476cc0c6bf56a7f
Author: Ralf Lang <lang at b1-systems.de>
Date:   Fri, 19 Nov 2021 11:05:00 +0000

Passes PHPStan level 8.

 M src/HordeInstaller.php
 M src/HordeLocalFileWriter.php
 M src/HordeReconfigureCommand.php
 M src/JsTreeLinker.php
 M src/ThemesCatalog.php

https://github.com/horde/horde-installer-plugin/commit/acff96b38a6770503600d1308476cc0c6bf56a7f

-----------------------------------------------------------------------

commit 0585cadada3707fea8e92cc8fa622c24613f8702
Author: Ralf Lang <lang at b1-systems.de>
Date:   Sat, 18 Dec 2021 21:54:33 +0100

Update tested php versions

 M .github/workflows/ci.yml

https://github.com/horde/horde-installer-plugin/commit/0585cadada3707fea8e92cc8fa622c24613f8702

-----------------------------------------------------------------------

commit 00a59202751fc6952fd4ca6dd621896eca6c6fe3
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Tue, 02 Aug 2022 20:10:16 +0200

getComposer is deprecated

 M src/HordeReconfigureCommand.php

https://github.com/horde/horde-installer-plugin/commit/00a59202751fc6952fd4ca6dd621896eca6c6fe3

-----------------------------------------------------------------------

commit 3fa425c0c54a3de1f1faad079c8c077e0379ddbf
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Tue, 02 Aug 2022 20:10:33 +0200

$rootPackage is unused

 M src/HordeReconfigureCommand.php

https://github.com/horde/horde-installer-plugin/commit/3fa425c0c54a3de1f1faad079c8c077e0379ddbf

-----------------------------------------------------------------------

commit 1781c84dff773d35dfccec06df2a718bc23967d4
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Tue, 02 Aug 2022 20:10:41 +0200

Abstract away the different output interfaces of Command and Installer

 A src/IOAdapter/ComposerIoAdapter.php
 A src/IOAdapter/FlowIoInterface.php
 A src/IOAdapter/SymphonyOutputAdapter.php

https://github.com/horde/horde-installer-plugin/commit/1781c84dff773d35dfccec06df2a718bc23967d4

-----------------------------------------------------------------------

commit 0bfc1d3d38ac9ca8c69e73872f2bd3cd07e3ac9f
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Tue, 02 Aug 2022 20:10:46 +0200

Use the ReconfigureFlow both in Command and Installer

 M src/HordeInstaller.php
 M src/HordeReconfigureCommand.php
 A src/HordeReconfigureFlow.php
 M src/IOAdapter/ComposerIoAdapter.php

https://github.com/horde/horde-installer-plugin/commit/0bfc1d3d38ac9ca8c69e73872f2bd3cd07e3ac9f

-----------------------------------------------------------------------

commit c194ca4d29f3c3d564583bd08a73486288396b54
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Tue, 02 Aug 2022 20:24:40 +0200

Prefer requireComposer if available

 M src/HordeInstaller.php
 M src/HordeReconfigureCommand.php
 M src/HordeReconfigureFlow.php
 M src/IOAdapter/ComposerIoAdapter.php

https://github.com/horde/horde-installer-plugin/commit/c194ca4d29f3c3d564583bd08a73486288396b54

-----------------------------------------------------------------------

commit ec85e34ab94ec6a724e771a969e62a4afaca7268
Author: Ralf Lang <lang at MININT-3LVCM56.localdomain>
Date:   Wed, 03 Aug 2022 15:53:53 +0200

Whitespace and style

 M src/CommandProvider.php
 M src/ConfigLinker.php
 M src/HordeInstallerPlugin.php
 M src/HordeReconfigureFlow.php
 M src/IOAdapter/ComposerIoAdapter.php
 M src/IOAdapter/FlowIoInterface.php
 M src/IOAdapter/SymphonyOutputAdapter.php
 M src/PackageDocRegistrySnippetHandler.php
 M src/RegistryLocationFileWriter.php
 M src/ThemesHandler.php
 M test/ConfigLinkerTest.php
 M test/bootstrap.php

https://github.com/horde/horde-installer-plugin/commit/ec85e34ab94ec6a724e771a969e62a4afaca7268

-----------------------------------------------------------------------

commit 267d09327945cea9966e55f04ab5491f7943414a
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Wed, 03 Aug 2022 17:08:32 +0200

Only fire the reconfigure command once per install

 M src/HordeInstallerPlugin.php

https://github.com/horde/horde-installer-plugin/commit/267d09327945cea9966e55f04ab5491f7943414a

-----------------------------------------------------------------------

commit 15e28c60e27d947538658dc87f109a8ba0775a0c
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Wed, 03 Aug 2022 17:25:01 +0200

This is now a ScriptEvent

 M src/HordeInstaller.php
 M src/HordeInstallerPlugin.php

https://github.com/horde/horde-installer-plugin/commit/15e28c60e27d947538658dc87f109a8ba0775a0c

-----------------------------------------------------------------------

commit 4cb2891ba6c450265349d95ee4ff79aae7a87c14
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Wed, 03 Aug 2022 17:42:41 +0200

Make phpstan more happy on levels 8 and max

 M src/ConfigLinker.php
 M src/HordeInstaller.php
 M src/HordeInstallerPlugin.php

https://github.com/horde/horde-installer-plugin/commit/4cb2891ba6c450265349d95ee4ff79aae7a87c14

-----------------------------------------------------------------------

commit a0b1d9e7c9a323af516f7f56c1b7ef92e8445227
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Wed, 03 Aug 2022 18:04:39 +0200

Merge pull request #6 from maintaina-com/refactor

Refactor installer and reconfigure command to use the same codebase

 M src/CommandProvider.php
 M src/ConfigLinker.php
 M src/HordeInstaller.php
 M src/HordeInstallerPlugin.php
 M src/HordeReconfigureCommand.php
 A src/HordeReconfigureFlow.php
 A src/IOAdapter/ComposerIoAdapter.php
 A src/IOAdapter/FlowIoInterface.php
 A src/IOAdapter/SymphonyOutputAdapter.php
 M src/PackageDocRegistrySnippetHandler.php
 M src/RegistryLocationFileWriter.php
 M src/ThemesHandler.php
 M test/ConfigLinkerTest.php
 M test/bootstrap.php

https://github.com/horde/horde-installer-plugin/commit/a0b1d9e7c9a323af516f7f56c1b7ef92e8445227

-----------------------------------------------------------------------

commit fa6886232980b94a8b583818bd5c187dfc7af0f9
Author: Ralf Lang <ralf.lang at ralf-lang.de>
Date:   Wed, 03 Aug 2022 18:08:30 +0200

Merge branch 'FRAMEWORK_6_0' into FRAMEWORK_6_0

 A .github/workflows/ci.yml
 A .github/workflows/phpdoc.yml
 M composer.json
 A phpunit.xml.dist
 A src/CommandProvider.php
 A src/ConfigLinker.php
 M src/HordeInstaller.php
 M src/HordeInstallerPlugin.php
 A src/HordeLocalFileWriter.php
 A src/HordeReconfigureCommand.php
 A src/HordeReconfigureFlow.php
 A src/IOAdapter/ComposerIoAdapter.php
 A src/IOAdapter/FlowIoInterface.php
 A src/IOAdapter/SymphonyOutputAdapter.php
 A src/JsTreeLinker.php
 A src/PackageDocRegistrySnippetHandler.php
 A src/PresetHandler.php
 A src/RegistryLocationFileWriter.php
 M src/ThemesCatalog.php
 M src/ThemesHandler.php
 A test/ConfigLinkerTest.php
 A test/bootstrap.php
 A test/fixture/ConfigLinker/var/config/horde/hooks.php
 A test/fixture/ConfigLinker/var/config/horde/registry.d/app-lunch.php
 A test/fixture/ConfigLinker/var/config/horde/registry.local.php
 A test/fixture/ConfigLinker/var/config/lunch/backend.local.php
 A test/fixture/ConfigLinker/var/config/lunch/conf.php
 A test/fixture/ConfigLinker/web/horde/config/.keep

https://github.com/horde/horde-installer-plugin/commit/fa6886232980b94a8b583818bd5c187dfc7af0f9


More information about the commits mailing list