Skip to content

Commit

Permalink
Remove TYPO3 Extension installer, fixes composer#470, closes composer…
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft authored and Seldaek committed Jul 23, 2021
1 parent 517b87c commit ea25a6c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 23 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ is not needed to install packages with these frameworks:
| TastyIgniter | **`tastyigniter-extension`<br>`tastyigniter-theme`**
| Tusk | `tusk-task`<br>`tusk-command`<br>`tusk-asset`
| TYPO3 Flow | `typo3-flow-package`<br>`typo3-flow-framework`<br>`typo3-flow-plugin`<br>`typo3-flow-site`<br>`typo3-flow-boilerplate`<br>`typo3-flow-build`
| TYPO3 CMS | `typo3-cms-extension` (Deprecated in this package, use the [TYPO3 CMS Installers](https://packagist.org/packages/typo3/cms-composer-installers) instead)
| UserFrosting | `userfrosting-sprinkle`
| Vanilla | `vanilla-plugin`<br>`vanilla-theme`
| Vgmcp | `vgmcp-bundle`<br>`vgmcp-theme`
Expand Down Expand Up @@ -267,7 +266,7 @@ installer names if used in an array. The example below will disable all installe
}
```

## Should we allow dynamic package types or paths? No.
## Should we allow dynamic package types or paths? No

What are they? The ability for a package author to determine where a package
will be installed either through setting the path directly in their
Expand All @@ -279,4 +278,4 @@ removed. Installers won't do this because it would allow a single package
author to wipe out entire folders without the user's consent. That user would
then come here to yell at us.

Anyone still wanting this capability should consider requiring https://github.com/oomphinc/composer-installers-extender.
Anyone still wanting this capability should consider requiring <https://github.com/oomphinc/composer-installers-extender>.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"Sylius",
"TastyIgniter",
"Thelia",
"TYPO3",
"WHMCS",
"WolfCMS",
"WordPress",
Expand Down
1 change: 0 additions & 1 deletion src/Composer/Installers/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class Installer extends LibraryInstaller
'tao' => 'TaoInstaller',
'thelia' => 'TheliaInstaller',
'tusk' => 'TuskInstaller',
'typo3-cms' => 'TYPO3CmsInstaller',
'typo3-flow' => 'TYPO3FlowInstaller',
'userfrosting' => 'UserFrostingInstaller',
'vanilla' => 'VanillaInstaller',
Expand Down
16 changes: 0 additions & 16 deletions src/Composer/Installers/TYPO3CmsInstaller.php

This file was deleted.

2 changes: 0 additions & 2 deletions tests/Composer/Installers/Test/InstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ public function dataForTestSupport()
array('tusk-task', true),
array('tusk-asset', true),
array('typo3-flow-plugin', true),
array('typo3-cms-extension', true),
array('userfrosting-sprinkle', true),
array('vanilla-plugin', true),
array('vanilla-theme', true),
Expand Down Expand Up @@ -440,7 +439,6 @@ public function dataForTestInstallPath()
array('tusk-task', '.tusk/tasks/my_task/', 'shama/my_task'),
array('typo3-flow-package', 'Packages/Application/my_package/', 'shama/my_package'),
array('typo3-flow-build', 'Build/my_package/', 'shama/my_package'),
array('typo3-cms-extension', 'typo3conf/ext/my_extension/', 'shama/my_extension'),
array('userfrosting-sprinkle', 'app/sprinkles/my_sprinkle/', 'shama/my_sprinkle'),
array('vanilla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
array('vanilla-theme', 'themes/my_theme/', 'shama/my_theme'),
Expand Down

0 comments on commit ea25a6c

Please sign in to comment.