-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code cleanup (PHP7.1, PHPStan, ECS) (#190)
* fix for php7.1 * Code style related packages update, analyse script + code style fixes * .features file style fixes + analyse script added to .travis.yml file * update composer version * fix code style
- Loading branch information
Showing
46 changed files
with
184 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
features/export/cli/exporting_countries_to_csv_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@managing_countries | ||
Feature: exporting countries to csv-file | ||
In order to have my countries exported to an external target | ||
As a developer | ||
I want to be able to export country data to csv file from the commandline | ||
Feature: Exporting countries to csv-file | ||
In order to have my countries exported to an external target | ||
As a developer | ||
I want to be able to export country data to csv file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
Background: | ||
Given I have a working command-line interface | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting countries to csv-file | ||
When I export "country" data as "csv" to the file "countries_export.csv" with the cli-command | ||
Then I should see "Exported" in the output | ||
@cli_importer_exporter | ||
Scenario: Exporting countries to csv-file | ||
When I export "country" data as "csv" to the file "countries_export.csv" with the cli-command | ||
Then I should see "Exported" in the output |
20 changes: 10 additions & 10 deletions
20
features/export/cli/exporting_countries_to_json_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@managing_countries | ||
Feature: exporting countries to json-file | ||
In order to have my countries exported to an external target | ||
As a developer | ||
I want to be able to export country data to json file from the commandline | ||
Feature: Exporting countries to json-file | ||
In order to have my countries exported to an external target | ||
As a developer | ||
I want to be able to export country data to json file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
Background: | ||
Given I have a working command-line interface | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting countries to json-file | ||
When I export "country" data as "json" to the file "countries_export.json" with the cli-command | ||
Then I should see "Exported" in the output | ||
@cli_importer_exporter | ||
Scenario: Exporting countries to json-file | ||
When I export "country" data as "json" to the file "countries_export.json" with the cli-command | ||
Then I should see "Exported" in the output |
20 changes: 10 additions & 10 deletions
20
features/export/cli/exporting_countries_to_xlsx_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@managing_countries | ||
Feature: exporting countries to xlsx-file | ||
In order to have my countries exported to an external target | ||
As a Developer | ||
I want to be able to export country data to xlsx file from the commandline | ||
Feature: Exporting countries to xlsx-file | ||
In order to have my countries exported to an external target | ||
As a Developer | ||
I want to be able to export country data to xlsx file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
Background: | ||
Given I have a working command-line interface | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting countries to xlsx-file | ||
When I export "country" data as "xlsx" to the file "countries_export.xlsx" with the cli-command | ||
Then I should see "Exported" in the output | ||
@cli_importer_exporter | ||
Scenario: Exporting countries to xlsx-file | ||
When I export "country" data as "xlsx" to the file "countries_export.xlsx" with the cli-command | ||
Then I should see "Exported" in the output |
20 changes: 10 additions & 10 deletions
20
features/export/cli/exporting_customers_to_csv_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@managing_customers | ||
Feature: exporting customers to csv-file | ||
In order to have my customers exported to an external target | ||
As a Developer | ||
I want to be able to export customer data to csv file from the commandline | ||
Feature: Exporting customers to csv-file | ||
In order to have my customers exported to an external target | ||
As a Developer | ||
I want to be able to export customer data to csv file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
Background: | ||
Given I have a working command-line interface | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting customers to csv-file | ||
When I export "customer" data as "csv" to the file "customers_export.csv" with the cli-command | ||
Then I should see "Exported" in the output | ||
@cli_importer_exporter | ||
Scenario: Exporting customers to csv-file | ||
When I export "customer" data as "csv" to the file "customers_export.csv" with the cli-command | ||
Then I should see "Exported" in the output |
20 changes: 10 additions & 10 deletions
20
features/export/cli/exporting_orders_to_csv_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@managing_orders | ||
Feature: exporting orders to csv-file | ||
In order to have my orders exported to an external target | ||
As a Developer | ||
I want to be able to export order data to csv file from the commandline | ||
Feature: Exporting orders to csv-file | ||
In order to have my orders exported to an external target | ||
As a Developer | ||
I want to be able to export order data to csv file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
Background: | ||
Given I have a working command-line interface | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting orders to csv-file | ||
When I export "order" data as "csv" to the file "orders_export.csv" with the cli-command | ||
Then I should see "Exported" in the output | ||
@cli_importer_exporter | ||
Scenario: Exporting orders to csv-file | ||
When I export "order" data as "csv" to the file "orders_export.csv" with the cli-command | ||
Then I should see "Exported" in the output |
30 changes: 15 additions & 15 deletions
30
features/export/cli/exporting_tax_categories_via_cli.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
@managing_tax_categories | ||
Feature: exporting tax categories to csv-file | ||
In order to have my tax categories exported to an external target | ||
As a Developer | ||
I want to be able to export tax categories data to csv file from the commandline | ||
In order to have my tax categories exported to an external target | ||
As a Developer | ||
I want to be able to export tax categories data to csv file from the commandline | ||
|
||
Background: | ||
Given I have a working command-line interface | ||
And the store has a tax category "cloth" | ||
And this tax category name is "Cloth" | ||
And this tax category description is "Shirts and Jeans" | ||
Background: | ||
Given I have a working command-line interface | ||
And the store has a tax category "cloth" | ||
And this tax category name is "Cloth" | ||
And this tax category description is "Shirts and Jeans" | ||
|
||
@cli_importer_exporter | ||
Scenario: Exporting tax categories to csv-file | ||
When I export "tax_category" data as "csv" to the file "tax_categories_export.csv" with the cli-command | ||
Then I should see "Exported" in the output | ||
And I should see in the file: | ||
| Code | Name | Description | | ||
| cloth | Cloth | Shirts and Jeans | | ||
@cli_importer_exporter | ||
Scenario: Exporting tax categories to csv-file | ||
When I export "tax_category" data as "csv" to the file "tax_categories_export.csv" with the cli-command | ||
Then I should see "Exported" in the output | ||
And I should see in the file: | ||
| Code | Name | Description | | ||
| cloth | Cloth | Shirts and Jeans | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.