Skip to content

Commit

Permalink
Merge branch 'release/v103.3.0' into 'master'
Browse files Browse the repository at this point in the history
release/v103.3.0 into master

See merge request agence-dnd/marketplace/magento-2/external/magento2-connector-community!61
  • Loading branch information
Rémi V committed Dec 8, 2022
2 parents 07f5876 + 347d2a3 commit d8e6a88
Show file tree
Hide file tree
Showing 131 changed files with 1,652 additions and 1,080 deletions.
16 changes: 7 additions & 9 deletions Api/Data/ImportInterface.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Api\Data;

/**
* Interface ImportInterface
*
* @category Interface
* @package Akeneo\Connector\Api\Data
* @author Agence Dn'D <[email protected]>
* @copyright 2019 Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface ImportInterface
{
/**
* @var int IMPORT_SUCCESS
*/
const IMPORT_SUCCESS = 1;
public const IMPORT_SUCCESS = 1;
/**
* @var int IMPORT_ERROR
*/
const IMPORT_ERROR = 2;
public const IMPORT_ERROR = 2;
/**
* @var int IMPORT_PROCESSING
*/
const IMPORT_PROCESSING = 3;
public const IMPORT_PROCESSING = 3;
}
35 changes: 16 additions & 19 deletions Api/Data/JobInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
namespace Akeneo\Connector\Api\Data;

/**
* Interface JobInterface
*
* @package Akeneo\Connector\Api\Data
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface JobInterface
Expand All @@ -20,89 +17,89 @@ interface JobInterface
*
* @var int JOB_SUCCESS
*/
const JOB_SUCCESS = 1;
public const JOB_SUCCESS = 1;
/**
* Error status
*
* @var int JOB_ERROR
*/
const JOB_ERROR = 2;
public const JOB_ERROR = 2;
/**
* Processing status
*
* @var int JOB_PROCESSING
*/
const JOB_PROCESSING = 3;
public const JOB_PROCESSING = 3;
/**
* Scheduled status
*
* @var int JOB_SCHEDULED
*/
const JOB_SCHEDULED = 4;
public const JOB_SCHEDULED = 4;
/**
* Pending status
*
* @var int JOB_PENDING
*/
const JOB_PENDING = 5;
public const JOB_PENDING = 5;
/**
* Job entity id
*
* @var string ENTITY_ID
*/
const ENTITY_ID = 'entity_id';
public const ENTITY_ID = 'entity_id';
/**
* Job code
*
* @var string CODE
*/
const CODE = 'code';
public const CODE = 'code';
/**
* Job status
*
* @var string STATUS
*/
const STATUS = 'status';
public const STATUS = 'status';
/**
* Scheduled run date
*
* @var string SCHEDULED_AT
*/
const SCHEDULED_AT = 'scheduled_at';
public const SCHEDULED_AT = 'scheduled_at';
/**
* Last executed date
*
* @var string LAST_EXECUTED_DATE
*/
const LAST_EXECUTED_DATE = 'last_executed_date';
public const LAST_EXECUTED_DATE = 'last_executed_date';
/**
* Last success date
*
* @var string LAST_SUCCESS_DATE
*/
const LAST_SUCCESS_DATE = 'last_success_date';
public const LAST_SUCCESS_DATE = 'last_success_date';
/**
* The last executed date of the job which be successful
*
* @var string LAST_SUCCESS_EXECUTED_DATE
*/
const LAST_SUCCESS_EXECUTED_DATE = 'last_success_executed_date';
public const LAST_SUCCESS_EXECUTED_DATE = 'last_success_executed_date';
/**
* Execution job position
*
* @var string POSITION
*/
const POSITION = 'position';
public const POSITION = 'position';
/**
* Job PHP class
*
* @var string JOB_CLASS
*/
const JOB_CLASS = 'job_class';
public const JOB_CLASS = 'job_class';
/**
* Job name
*
* @var string NAME
*/
const NAME = 'name';
public const NAME = 'name';
}
10 changes: 4 additions & 6 deletions Api/Data/LogInterface.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Api\Data;

/**
* Interface LogInterface
*
* @category Interface
* @package Akeneo\Connector\Api\Data
* @author Agence Dn'D <[email protected]>
* @copyright 2019 Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface LogInterface
Expand Down
6 changes: 2 additions & 4 deletions Api/JobExecutorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
use Symfony\Component\Console\Output\OutputInterface;

/**
* Interface JobExecutor
*
* @package Akeneo\Connector\Api
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface JobExecutorInterface
Expand All @@ -21,6 +18,7 @@ interface JobExecutorInterface
* Description execute function
*
* @param string $code
* @param OutputInterface|null $output
*
* @return bool
*/
Expand Down
5 changes: 1 addition & 4 deletions Api/JobRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
namespace Akeneo\Connector\Api;

/**
* Interface JobRepositoryInterface
*
* @package Akeneo\Connector\Api
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface JobRepositoryInterface
Expand Down
9 changes: 4 additions & 5 deletions Api/LogRepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Api;

use Akeneo\Connector\Api\Data\LogInterface;

/**
* Interface LogRepositoryInterface
*
* @package Akeneo\Connector\Api
* @author Agence Dn'D <[email protected]>
* @copyright 2019 Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface LogRepositoryInterface
Expand Down
7 changes: 3 additions & 4 deletions Api/ProcessClassFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
namespace Akeneo\Connector\Api;

/**
* Interface ProcessClassFactoryInterface
*
* @package Akeneo\Connector\Api
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
interface ProcessClassFactoryInterface
{
/**
* Description create function
*
* @param string $type
* @param array $arguments
*
Expand Down
7 changes: 3 additions & 4 deletions Block/Adminhtml/Grid/Column/Renderer/Status.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Block\Adminhtml\Grid\Column\Renderer;

use Akeneo\Connector\Api\Data\JobInterface;
use Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer;
use Magento\Framework\DataObject;

/**
* Class Status
*
* @package Akeneo\Connector\Block\Adminhtml\Grid\Column\Renderer
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class Status extends AbstractRenderer
Expand Down
5 changes: 1 addition & 4 deletions Block/Adminhtml/Job/JobActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
use Magento\Framework\UrlInterface;

/**
* Class JobActions
*
* @package Akeneo\Connector\Block\Adminhtml\Job
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class JobActions extends AbstractRenderer
Expand Down
10 changes: 4 additions & 6 deletions Block/Adminhtml/Log/View.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Block\Adminhtml\Log;

use Magento\Backend\Block\Template;
Expand All @@ -11,13 +13,9 @@
use Akeneo\Connector\Model\Log as LogModel;

/**
* Class View
*
* @category Class
* @package Akeneo\Connector\Block\Adminhtml\Log
* @author Agence Dn'D <[email protected]>
* @copyright 2019 Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class View extends Template
Expand Down
10 changes: 4 additions & 6 deletions Block/Adminhtml/System/Config/Api/Test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Akeneo\Connector\Block\Adminhtml\System\Config\Api;

use Akeneo\Connector\Helper\Config as ConfigHelper;
Expand All @@ -9,13 +11,9 @@
use Magento\Framework\Data\Form\Element\AbstractElement;

/**
* Class Test
*
* @category Class
* @package Akeneo\Connector\Block\Adminhtml\System\Config\Api
* @author Agence Dn'D <[email protected]>
* @copyright 2019 Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class Test extends Field
Expand Down
20 changes: 2 additions & 18 deletions Block/Adminhtml/System/Config/DocumentationLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
use Magento\Framework\Data\Form\Element\AbstractElement;

/**
* Class DocumentationLink
*
* @package Akeneo\Connector\Block\Adminhtml\System\Config
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class DocumentationLink extends Field
Expand All @@ -24,20 +21,7 @@ class DocumentationLink extends Field
*
* @var string DOCUMENTATION_LINK
*/
const DOCUMENTATION_LINK = "https://help.akeneo.com/magento2-connector/v100/index.html";

/**
* DocumentationLink constructor
*
* @param Context $context
* @param array $data
*/
public function __construct(
Context $context,
array $data = []
) {
parent::__construct($context, $data);
}
public const DOCUMENTATION_LINK = "https://help.akeneo.com/magento2-connector/v100/index.html";

/**
* Description _getElementHtml function
Expand Down
5 changes: 1 addition & 4 deletions Block/Adminhtml/System/Config/ExportPdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
use Magento\Framework\View\Element\BlockInterface;

/**
* Class ExportPdf
*
* @package Akeneo\Connector\Block\Adminhtml\System\Config
* @author Agence Dn'D <[email protected]>
* @copyright 2004-present Agence Dn'D
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://www.dnd.fr/
*/
class ExportPdf extends Field
Expand Down
Loading

0 comments on commit d8e6a88

Please sign in to comment.