Skip to content

Commit 1b0d028

Browse files
authored
Merge pull request #2 from pagarme/develop
[Feature] Updates brand to Pagar.me
2 parents 1f78dfd + b94cfef commit 1b0d028

File tree

330 files changed

+2133
-2108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+2133
-2108
lines changed

.github/CONTRIBUTING.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributing
2+
3+
First off, thanks for taking the time to contribute!
4+
5+
### How can I contribute?
6+
7+
* Fork this project;
8+
* Make your changes / new implementatios;
9+
* Use the pattern for git commts;
10+
* Make sure that the acceptance criteria are met (tests, docs, etc);
11+
* Create a pull request;
12+
13+
### Pull Requests
14+
15+
Template [PULLREQUEST-TEMPLATE](.github/PULLREQUEST-TEMPLATE.md)
16+
17+
### Git Commit Messages
18+
19+
* Use the present tense ("Adds feature" not "Added feature")
20+
* Limit the first line to 72 characters or less
21+
* Reference issues and pull requests liberally
22+
* Consider starting the commit message with an applicable emoji:
23+
* :art: `:art:` when improving the format/structure of the code
24+
* :racehorse: `:racehorse:` when improving performance
25+
* :non-potable_water: `:non-potable_water:` when plugging memory leaks
26+
* :memo: `:memo:` when writing docs
27+
* :penguin: `:penguin:` when fixing something on Linux
28+
* :apple: `:apple:` when fixing something on Mac OS
29+
* :checkered_flag: `:checkered_flag:` when fixing something on Windows
30+
* :bug: `:bug:` when fixing a bug
31+
* :fire: `:fire:` when removing code or files
32+
* :green_heart: `:green_heart:` when fixing the CI build
33+
* :white_check_mark: `:white_check_mark:` when adding tests
34+
* :lock: `:lock:` when dealing with security
35+
* :arrow_up: `:arrow_up:` when upgrading dependencies
36+
* :arrow_down: `:arrow_down:` when downgrading dependencies
37+
* :shirt: `:shirt:` when removing linter warnings
38+
* :bulb: `:bulb:` new idea
39+
* :construction: `:construction:` work in progress
40+
* :heavy_plus_sign: `:heavy_plus_sign:` when adding features
41+
* :heavy_minus_sign: `:heavy_minus_sign:` when removing features
42+
* :speaker: `:mute:` when adding logging
43+
* :mute: `:mute:` when reducing logging
44+
* :facepunch: `:facepunch:` when resolve conflict
45+
* :wrench: `:wrench:` when modify Web.config
46+

.phpunit.result.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11

2-
[![Latest Stable Version](https://poser.pugx.org/mundipagg/ecommerce-module-core/v/stable)](https://packagist.org/packages/mundipagg/ecommerce-module-core)
3-
[![mundipagg maturity](http://maturityapp.herokuapp.com/maturity.php?project=https://github.com/mundipagg/ecommerce-module-core&token=&command=badge_image)](http://maturityapp.herokuapp.com/index.html?project=https://github.com/mundipagg/ecommerce-module-core&token=)
4-
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=mundipagg_ecommerce-module-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=mundipagg_ecommerce-module-core)
5-
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=mundipagg_ecommerce-module-core&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=mundipagg_ecommerce-module-core)
6-
[![SonarCloud Bugs](https://sonarcloud.io/api/project_badges/measure?project=mundipagg_ecommerce-module-core&metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=mundipagg_ecommerce-module-core)
7-
[![SonarCloud Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=mundipagg_ecommerce-module-core&metric=vulnerabilities)](https://sonarcloud.io/component_measures/metric/security_rating/list?id=mundipagg_ecommerce-module-core)
2+
[![Latest Stable Version](https://poser.pugx.org/pagarme/ecommerce-module-core/v/stable)](https://packagist.org/packages/pagarme/ecommerce-module-core)
3+
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=pagarme_ecommerce-module-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=pagarme_ecommerce-module-core)
4+
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=pagarme_ecommerce-module-core&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=pagarme_ecommerce-module-core)
5+
[![SonarCloud Bugs](https://sonarcloud.io/api/project_badges/measure?project=pagarme_ecommerce-module-core&metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=pagarme_ecommerce-module-core)
6+
[![SonarCloud Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=pagarme_ecommerce-module-core&metric=vulnerabilities)](https://sonarcloud.io/component_measures/metric/security_rating/list?id=pagarme_ecommerce-module-core)
87

9-
# Mundipagg/E-commerce module core
8+
# Pagar.me/E-commerce module core
109

11-
This is the repository of Mundipagg's payment module core for all supported e-commerce platfforms.
10+
This is the repository of Pagar.me's payment module core for all supported e-commerce platfforms.
1211

1312
## Compatibility
14-
- [Mundipagg Magento payment module for Magento 2.1+](https://github.com/mundipagg/magento2).
15-
- [Mundipagg Magento payment module for Magento 1.9.3+](https://github.com/mundipagg/magento).
16-
- [Mundipagg OpenCart payment module for OpenCart 3.0+](https://github.com/mundipagg/opencart).
13+
- [Pagar.me Magento payment module for Magento 2.3+](https://github.com/pagarme/magento2).
1714

1815
## Dependencies
1916
* ``PHP`` Version 5.6+
@@ -22,24 +19,24 @@ This is the repository of Mundipagg's payment module core for all supported e-co
2219
Require by composer
2320

2421
```bash
25-
composer require mundipagg/ecommerce-module-core
22+
composer require pagarme/ecommerce-module-core
2623
```
2724

2825
## Update
2926

3027
```bash
31-
composer update mundipagg/ecommerce-module-core
28+
composer update pagarme/ecommerce-module-core
3229
```
3330

3431
## API Reference
3532

3633
[http://docs.mundipagg.com](http://docs.mundipagg.com)
3734

3835
## Contributting
39-
Please, refer to [CONTRIBUTING](CONTRIBUTING.md)
36+
Please, refer to [CONTRIBUTING](.github/CONTRIBUTING.md)
4037

4138
## Issues and new features
42-
Open a new Issue following our issue template [ISSUE-TEMPLATE](ISSUE-TEMPLATE.md)
39+
Open a new Issue following our issue template [ISSUE-TEMPLATE](.github/ISSUE-TEMPLATE.md)
4340

4441
## Changelog
45-
See in [releases](https://github.com/mundipagg/ecommerce-module-core/releases)
42+
See in [releases](https://github.com/pagarme/ecommerce-module-core/releases)

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"name": "mundipagg/ecommerce-module-core",
3-
"description": "Core component for Mundipagg e-commerce platform modules.",
2+
"name": "pagarme/ecommerce-module-core",
3+
"description": "Core component for Pagar.me e-commerce platform modules.",
44
"license": "MIT",
5-
"version": "2.8.0",
5+
"version": "1.0.0",
66
"authors": [
77
{
8-
"name": "MundiPagg Embeddables Team",
9-
"email": "embeddables@mundipagg.com"
8+
"name":"Open Source Team"
109
}
1110
],
1211
"type": "library",
@@ -24,9 +23,9 @@
2423
},
2524
"autoload": {
2625
"psr-4": {
27-
"Mundipagg\\Core\\": "src",
28-
"Mundipagg\\Core\\Test\\": "tests",
29-
"Mundipagg\\Core\\Test\\Mock\\": "tests\\mock"
26+
"Pagarme\\Core\\": "src",
27+
"Pagarme\\Core\\Test\\": "tests",
28+
"Pagarme\\Core\\Test\\Mock\\": "tests\\mock"
3029
}
3130
},
3231
"scripts": {

integrityDeploy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use Mundipagg\Core\Kernel\Abstractions\AbstractModuleCoreSetup;
4-
use Mundipagg\Core\Maintenance\Services\IntegrityInfoRetrieverService;
3+
use Pagarme\Core\Kernel\Abstractions\AbstractModuleCoreSetup;
4+
use Pagarme\Core\Maintenance\Services\IntegrityInfoRetrieverService;
55

66
require_once '../../autoload.php';
77

maturity.json

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

src/Hub/Aggregates/InstallToken.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace Mundipagg\Core\Hub\Aggregates;
3+
namespace Pagarme\Core\Hub\Aggregates;
44

5-
use Mundipagg\Core\Hub\ValueObjects\HubInstallToken;
6-
use Mundipagg\Core\Kernel\Abstractions\AbstractEntity;
5+
use Pagarme\Core\Hub\ValueObjects\HubInstallToken;
6+
use Pagarme\Core\Kernel\Abstractions\AbstractEntity;
77

88
final class InstallToken extends AbstractEntity
99
{

src/Hub/Commands/AbstractCommand.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace Mundipagg\Core\Hub\Commands;
3+
namespace Pagarme\Core\Hub\Commands;
44

55

6-
use Mundipagg\Core\Kernel\Interfaces\CommandInterface;
7-
use Mundipagg\Core\Kernel\ValueObjects\Id\AccountId;
8-
use Mundipagg\Core\Kernel\ValueObjects\Id\MerchantId;
9-
use Mundipagg\Core\Kernel\ValueObjects\Id\GUID;
10-
use Mundipagg\Core\Kernel\ValueObjects\Key\HubAccessTokenKey;
11-
use Mundipagg\Core\Kernel\ValueObjects\Key\PublicKey;
12-
use Mundipagg\Core\Kernel\ValueObjects\Key\TestPublicKey;
6+
use Pagarme\Core\Kernel\Interfaces\CommandInterface;
7+
use Pagarme\Core\Kernel\ValueObjects\Id\AccountId;
8+
use Pagarme\Core\Kernel\ValueObjects\Id\MerchantId;
9+
use Pagarme\Core\Kernel\ValueObjects\Id\GUID;
10+
use Pagarme\Core\Kernel\ValueObjects\Key\HubAccessTokenKey;
11+
use Pagarme\Core\Kernel\ValueObjects\Key\PublicKey;
12+
use Pagarme\Core\Kernel\ValueObjects\Key\TestPublicKey;
1313

1414
abstract class AbstractCommand implements CommandInterface
1515
{

src/Hub/Commands/CommandType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Mundipagg\Core\Hub\Commands;
3+
namespace Pagarme\Core\Hub\Commands;
44

5-
use Mundipagg\Core\Kernel\Abstractions\AbstractValueObject;
5+
use Pagarme\Core\Kernel\Abstractions\AbstractValueObject;
66

77
final class CommandType extends AbstractValueObject
88
{

src/Hub/Commands/InstallCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Mundipagg\Core\Hub\Commands;
3+
namespace Pagarme\Core\Hub\Commands;
44

55
use Exception;
6-
use Mundipagg\Core\Kernel\Abstractions\AbstractModuleCoreSetup as MPSetup;
7-
use Mundipagg\Core\Kernel\Repositories\ConfigurationRepository;
6+
use Pagarme\Core\Kernel\Abstractions\AbstractModuleCoreSetup as MPSetup;
7+
use Pagarme\Core\Kernel\Repositories\ConfigurationRepository;
88

99
class InstallCommand extends AbstractCommand
1010
{

0 commit comments

Comments
 (0)