Skip to content

Commit d38c6d9

Browse files
authored
Merge pull request #149 from opengento/develop
2 parents db16ac2 + 02c211b commit d38c6d9

File tree

255 files changed

+2053
-5628
lines changed

Some content is hidden

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

255 files changed

+2053
-5628
lines changed

.github/FUNDING.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# These are supported funding model platforms
22

33
#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4-
patreon: thomas_klein # Replace with a single Patreon username
4+
#patreon: # Replace with a single Patreon username
55
#open_collective: # Replace with a single Open Collective username
66
#ko_fi: # Replace with a single Ko-fi username
77
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
88
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
99
#liberapay: # Replace with a single Liberapay username
1010
#issuehunt: # Replace with a single IssueHunt username
1111
#otechie: # Replace with a single Otechie username
12-
custom: ['https://secure.payplug.com/p/jtN33xM']
12+
custom: ['https://www.helloasso.com/associations/opengento/formulaires/1']

.github/workflows/coding-standard.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
name: M2 Coding Standard
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: extdn/github-actions-m2/magento-coding-standard@master
9+
- uses: actions/checkout@v4
10+
- uses: extdn/github-actions-m2/magento-coding-standard/8.2@master

.github/workflows/mess-detector.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
name: M2 Mess Detector
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: extdn/github-actions-m2/magento-mess-detector@master
9+
- uses: actions/checkout@v4
10+
- uses: extdn/github-actions-m2/magento-mess-detector/@master

.github/workflows/phpstan.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: M2 PHPStan
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: extdn/github-actions-m2/magento-phpstan@master
9+
- uses: actions/checkout@v4
10+
- uses: extdn/github-actions-m2/magento-phpstan/8.2@master
1111
with:
1212
composer_name: opengento/module-gdpr

Api/ActionEntityRepositoryInterface.php

-59
This file was deleted.

Api/ActionInterface.php

-25
This file was deleted.

Api/Data/ActionContextInterface.php

-17
This file was deleted.

Api/Data/ActionEntityInterface.php

-59
This file was deleted.

Api/Data/ActionEntitySearchResultsInterface.php

-31
This file was deleted.

Api/Data/ActionResultInterface.php

-21
This file was deleted.

Api/Data/EraseEntityInterface.php

+1-8
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,7 @@ public function setEraseId(int $eraseId): EraseEntityInterface;
4747

4848
public function getEntityId(): int;
4949

50-
/**
51-
* Set the entity ID
52-
*
53-
* @param int $entityId
54-
* @return EraseEntityInterface
55-
* @todo force type in php7.4
56-
*/
57-
public function setEntityId($entityId): EraseEntityInterface;
50+
public function setEntityId(int $entityId): EraseEntityInterface;
5851

5952
public function getEntityType(): string;
6053

Api/Data/ExportEntityInterface.php

+1-8
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,7 @@ public function setExportId(int $exportId): ExportEntityInterface;
3030

3131
public function getEntityId(): int;
3232

33-
/**
34-
* Set the entity ID
35-
*
36-
* @param int $entityId
37-
* @return ExportEntityInterface
38-
* @todo force type in php7.4
39-
*/
40-
public function setEntityId($entityId): ExportEntityInterface;
33+
public function setEntityId(int $entityId): ExportEntityInterface;
4134

4235
public function getEntityType(): string;
4336

Api/EraseSalesInformationInterface.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
namespace Opengento\Gdpr\Api;
99

10-
use DateTime;
10+
use DateTimeInterface;
1111
use Opengento\Gdpr\Api\Data\EraseEntityInterface;
1212

1313
/**
1414
* @api
1515
*/
1616
interface EraseSalesInformationInterface
1717
{
18-
public function scheduleEraseEntity(int $entityId, string $entityType, DateTime $lastActive): EraseEntityInterface;
18+
public function scheduleEraseEntity(int $entityId, string $entityType, DateTimeInterface $lastActive): EraseEntityInterface;
1919

20-
public function isAlive(DateTime $lastActive): bool;
20+
public function isAlive(DateTimeInterface $lastActive): bool;
2121
}

Block/Adminhtml/Action/Edit/BackButton.php

-36
This file was deleted.

Block/Adminhtml/Action/Edit/ExecuteButton.php

-29
This file was deleted.

0 commit comments

Comments
 (0)