We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a969f commit 23a86c5Copy full SHA for 23a86c5
README.md
@@ -108,6 +108,7 @@ is not needed to install packages with these frameworks:
108
| SiteDirect | `sitedirect-module`<br>`sitedirect-plugin`
109
| SMF | `smf-module`<br>`smf-theme`
110
| SyDES | `sydes-module`<br>`sydes-theme`
111
+| Sylius | `sylius-theme`
112
| symfony1 | **`symfony1-plugin`**
113
| TAO | `tao-extension`
114
| Tusk | `tusk-task`<br>`tusk-command`<br>`tusk-asset`
composer.json
@@ -64,6 +64,7 @@
64
"SilverStripe",
65
"SMF",
66
"SyDES",
67
+ "Sylius",
68
"symfony",
69
"Thelia",
70
"TYPO3",
src/Composer/Installers/Installer.php
@@ -96,6 +96,7 @@ class Installer extends LibraryInstaller
96
'silverstripe' => 'SilverStripeInstaller',
97
'smf' => 'SMFInstaller',
98
'sydes' => 'SyDESInstaller',
99
+ 'sylius' => 'SyliusInstaller',
100
'symfony1' => 'Symfony1Installer',
101
'tao' => 'TaoInstaller',
102
'thelia' => 'TheliaInstaller',
src/Composer/Installers/SyliusInstaller.php
@@ -0,0 +1,9 @@
1
+<?php
2
+namespace Composer\Installers;
3
+
4
+class SyliusInstaller extends BaseInstaller
5
+{
6
+ protected $locations = array(
7
+ 'theme' => 'themes/{$name}/',
8
+ );
9
+}
tests/Composer/Installers/Test/InstallerTest.php
@@ -215,6 +215,7 @@ public function dataForTestSupport()
215
array('smf-theme', true),
216
array('sydes-module', true),
217
array('sydes-theme', true),
218
+ array('sylius-theme', true),
219
array('symfony1-plugin', true),
220
array('thelia-module', true),
221
array('thelia-frontoffice-template', true),
@@ -419,6 +420,7 @@ public function dataForTestInstallPath()
419
420
array('silverstripe-theme', 'themes/my_theme/', 'shama/my_theme'),
421
array('smf-module', 'Sources/my_module/', 'shama/my_module'),
422
array('smf-theme', 'Themes/my_theme/', 'shama/my_theme'),
423
+ array('sylius-theme', 'themes/my_theme/', 'shama/my_theme'),
424
array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sfShamaPlugin'),
425
array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sf-shama-plugin'),
426
array('thelia-module', 'local/modules/my_module/', 'shama/my_module'),
0 commit comments