Skip to content

Commit ea642e5

Browse files
committed
Configure plugin
1 parent 9016fd8 commit ea642e5

29 files changed

Lines changed: 30 additions & 352 deletions

behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ default:
5151
FriendsOfBehat\SymfonyExtension:
5252
bootstrap: tests/Application/config/bootstrap.php
5353
kernel:
54-
class: Tests\Acme\SyliusExamplePlugin\Application\Kernel
54+
class: Tests\BitBag\SyliusUserComPlugin\Application\Kernel
5555

5656
FriendsOfBehat\VariadicExtension: ~
5757

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2+
"name": "bitbag/user-com-plugin",
23
"type": "sylius-plugin",
3-
"keywords": [
4-
"sylius",
5-
"sylius-plugin"
6-
],
7-
"license": "proprietary",
4+
"keywords": ["sylius", "sylius-plugin"],
5+
"description": "Integration with User.com for Sylius.",
6+
"license": "MIT",
87
"require": {
98
"php": "^8.1",
109
"sylius/sylius": "~1.13.0",
@@ -60,8 +59,8 @@
6059
},
6160
"autoload": {
6261
"psr-4": {
63-
"Acme\\SyliusExamplePlugin\\": "src/",
64-
"Tests\\Acme\\SyliusExamplePlugin\\": "tests/"
62+
"BitBag\\SyliusUserComPlugin\\": "src/",
63+
"Tests\\BitBag\\SyliusUserComPlugin\\": "tests/"
6564
}
6665
},
6766
"autoload-dev": {

config/services.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22

33
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
44
<services>
5-
<service id="Acme\SyliusExamplePlugin\Controller\GreetingController" autowire="true" autoconfigure="true" public="true" />
6-
<!-- Put your services here -->
75
</services>
86
</container>

config/shop_routing.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
11
# Delete these routes and define your own shop routes here
2-
3-
acme_sylius_example_static_welcome:
4-
path: /static-welcome/{name}
5-
defaults:
6-
_controller: Acme\SyliusExamplePlugin\Controller\GreetingController::staticallyGreetAction
7-
name: ~
8-
9-
acme_sylius_example_dynamic_welcome:
10-
path: /dynamic-welcome/{name}
11-
defaults:
12-
_controller: Acme\SyliusExamplePlugin\Controller\GreetingController::dynamicallyGreetAction
13-
name: ~

features/dynamically_greeting_a_customer.feature

Lines changed: 0 additions & 17 deletions
This file was deleted.

features/running_a_sylius_feature.feature

Lines changed: 0 additions & 42 deletions
This file was deleted.

features/statically_greeting_a_customer.feature

Lines changed: 0 additions & 17 deletions
This file was deleted.

phpspec.yml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
suites:
22
main:
3-
namespace: Acme\SyliusExamplePlugin
4-
psr4_prefix: Acme\SyliusExamplePlugin
3+
namespace: BitBag\SyliusUserComPlugin
4+
psr4_prefix: BitBag\SyliusUserComPlugin

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
colors="true"
66
bootstrap="tests/Application/config/bootstrap.php">
77
<testsuites>
8-
<testsuite name="AcmeSyliusExamplePlugin Test Suite">
8+
<testsuite name="BitBagSyliusUserComPlugin Test Suite">
99
<directory>tests</directory>
1010
</testsuite>
1111
</testsuites>

public/greeting.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)