Skip to content

fix: prevent php deprecated message. #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ public function _createDeletingFeedItemsNotice(ContainerInterface $c, $p = null,
* @since 4.11
*
* @param ContainerInterface $c
* @param array $config
* @param null $p
* @param array $config
* @return NoticeInterface
*/
public function _createBulkFeedImportNotice(ContainerInterface $c, $p = null, $config)
public function _createBulkFeedImportNotice(ContainerInterface $c, $config, $p = null)
{
$me = $this;
$import = $c->get($this->_p('bulk_source_import'));
Expand All @@ -197,11 +197,11 @@ public function _createBulkFeedImportNotice(ContainerInterface $c, $p = null, $c
* @since 4.11
*
* @param ContainerInterface $c
* @param array $config
* @param null $p
* @param array $config
* @return NoticeInterface
*/
public function _createSettingsImportSuccessNotice(ContainerInterface $c, $p = null, $config)
public function _createSettingsImportSuccessNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'settings_import_success',
Expand All @@ -220,11 +220,11 @@ public function _createSettingsImportSuccessNotice(ContainerInterface $c, $p = n
* @since 4.11
*
* @param ContainerInterface $c
* @param array $config
* @param null $p
* @param array $config
* @return NoticeInterface
*/
public function _createSettingsImportFailedNotice(ContainerInterface $c, $p = null, $config)
public function _createSettingsImportFailedNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'settings_import_failed',
Expand All @@ -243,11 +243,11 @@ public function _createSettingsImportFailedNotice(ContainerInterface $c, $p = nu
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createDebugFeedsUpdatingNotice(ContainerInterface $c, $p = null, $config)
public function _createDebugFeedsUpdatingNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'debug_feeds_updating',
Expand All @@ -265,11 +265,11 @@ public function _createDebugFeedsUpdatingNotice(ContainerInterface $c, $p = null
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createDebugFeedsReimportingNotice(ContainerInterface $c, $p = null, $config)
public function _createDebugFeedsReimportingNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'debug_feeds_reimporting',
Expand All @@ -287,11 +287,11 @@ public function _createDebugFeedsReimportingNotice(ContainerInterface $c, $p = n
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createDebugClearedLogNotice(ContainerInterface $c, $p = null, $config)
public function _createDebugClearedLogNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'debug_cleared_log',
Expand All @@ -309,11 +309,11 @@ public function _createDebugClearedLogNotice(ContainerInterface $c, $p = null, $
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createDebugSettingsResetNotice(ContainerInterface $c, $p = null, $config)
public function _createDebugSettingsResetNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'debug_settings_reset',
Expand All @@ -331,11 +331,11 @@ public function _createDebugSettingsResetNotice(ContainerInterface $c, $p = null
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createBlacklistItemSuccessNotice(ContainerInterface $c, $p = null, $config)
public function _createBlacklistItemSuccessNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice(array(
'id' => 'blacklist_item_success',
Expand All @@ -352,11 +352,11 @@ public function _createBlacklistItemSuccessNotice(ContainerInterface $c, $p = nu
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createBulkFeedActivatedNotice(ContainerInterface $c, $p = null, $config)
public function _createBulkFeedActivatedNotice(ContainerInterface $c, $config, $p = null)
{
$helper = $c->get($this->_p('admin_helper'));
$notice = $this->_createNotice(array(
Expand All @@ -375,11 +375,11 @@ public function _createBulkFeedActivatedNotice(ContainerInterface $c, $p = null,
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createBulkFeedPausedNotice(ContainerInterface $c, $p = null, $config)
public function _createBulkFeedPausedNotice(ContainerInterface $c, $config, $p = null)
{
$helper = $c->get($this->_p('admin_helper'));
$notice = $this->_createNotice(array(
Expand All @@ -398,11 +398,11 @@ public function _createBulkFeedPausedNotice(ContainerInterface $c, $p = null, $c
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createAddonEmptyLicenseNotice(ContainerInterface $c, $p = null, $config)
public function _createAddonEmptyLicenseNotice(ContainerInterface $c, $config, $p = null)
{
$addonId = isset($config['addon_id'])
? $config['addon_id']
Expand Down Expand Up @@ -445,11 +445,11 @@ public function _createAddonEmptyLicenseNotice(ContainerInterface $c, $p = null,
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createAddonInactiveLicenseNotice(ContainerInterface $c, $p = null, $config)
public function _createAddonInactiveLicenseNotice(ContainerInterface $c, $config, $p = null)
{
$addonId = isset($config['addon_id'])
? $config['addon_id']
Expand Down Expand Up @@ -492,11 +492,11 @@ public function _createAddonInactiveLicenseNotice(ContainerInterface $c, $p = nu
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p
* @param array $config
* @param null $p
* @return NoticeInterface
*/
public function _createAddonExpiringLicenseNotice(ContainerInterface $c, $p = null, $config)
public function _createAddonExpiringLicenseNotice(ContainerInterface $c, $config, $p = null)
{
$addonId = isset($config['addon_id'])
? $config['addon_id']
Expand Down Expand Up @@ -542,11 +542,11 @@ public function _createAddonExpiringLicenseNotice(ContainerInterface $c, $p = nu
* @since 4.11
*
* @param ContainerInterface $c
* @param null $p Deprecated
* @param array $config Configuration for this service.
* @param null $p Deprecated
* @return NoticeInterface The new notice.
*/
public function _createGenericFallbackNotice(ContainerInterface $c, $p = null, $config)
public function _createGenericFallbackNotice(ContainerInterface $c, $config, $p = null)
{
$notice = $this->_createNotice($this->_normalizeConfig($config, array(
'notice_type' => NoticeInterface::TYPE_UPDATED,
Expand Down Expand Up @@ -581,7 +581,7 @@ public function getServices()
{
return $this->_getServices();
}

/**
* {@inheritdoc}
*
Expand Down