|
3 | 3 | /** |
4 | 4 | * This file is part of MetaModels/core. |
5 | 5 | * |
6 | | - * (c) 2012-2025 The MetaModels team. |
| 6 | + * (c) 2012-2026 The MetaModels team. |
7 | 7 | * |
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
|
25 | 25 | * @author David Molineus <david.molineus@netzmacht.de> |
26 | 26 | * @author Ingolf Steinhardt <info@e-spin.de> |
27 | 27 | * @author Fritz Michael Gschwantner <fmg@inspiredminds.at> |
28 | | - * @copyright 2012-2025 The MetaModels team. |
| 28 | + * @copyright 2012-2026 The MetaModels team. |
29 | 29 | * @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later |
30 | 30 | * @filesource |
31 | 31 | */ |
@@ -524,19 +524,19 @@ public function setMetaModel(string|int $intMetaModel, string|int $intView): sel |
524 | 524 | { |
525 | 525 | if (is_int($intMetaModel)) { |
526 | 526 | $intMetaModel = (string) $intMetaModel; |
527 | | - // @codingStandardsIgnoreStart Silencing errors is discouraged |
| 527 | + // phpcs:disable |
528 | 528 | @trigger_error( |
529 | | - 'Parameter $intMetaModel in "' . __CLASS__ . '::' .__METHOD__. '" has been changed from int to string.', |
| 529 | + 'Parameter $intMetaModel in "' . __CLASS__ . '::' . __METHOD__ . '" has been changed from int to string.', |
530 | 530 | E_USER_DEPRECATED |
531 | 531 | ); |
532 | | - // @codingStandardsIgnoreEnd |
| 532 | + // phpcs:enable |
533 | 533 | } |
534 | 534 |
|
535 | 535 | if (is_int($intView)) { |
536 | 536 | $intView = (string) $intView; |
537 | 537 | // @codingStandardsIgnoreStart Silencing errors is discouraged |
538 | 538 | @trigger_error( |
539 | | - 'Parameter $intView in "' . __CLASS__ . '::' .__METHOD__. '" has been changed from int to string.', |
| 539 | + 'Parameter $intView in "' . __CLASS__ . '::' . __METHOD__ . '" has been changed from int to string.', |
540 | 540 | E_USER_DEPRECATED |
541 | 541 | ); |
542 | 542 | // @codingStandardsIgnoreEnd |
@@ -702,7 +702,7 @@ public function setFilterSettings(string|int $intFilter): self |
702 | 702 | $intFilter = (string) $intFilter; |
703 | 703 | // @codingStandardsIgnoreStart Silencing errors is discouraged |
704 | 704 | @trigger_error( |
705 | | - 'Parameter $intFilter in "' . __CLASS__ . '::' .__METHOD__. '" has been changed from int to string.', |
| 705 | + 'Parameter $intFilter in "' . __CLASS__ . '::' . __METHOD__ . '" has been changed from int to string.', |
706 | 706 | E_USER_DEPRECATED |
707 | 707 | ); |
708 | 708 | // @codingStandardsIgnoreEnd |
@@ -1017,7 +1017,7 @@ public function getObjItems(): IItems |
1017 | 1017 | { |
1018 | 1018 | // @codingStandardsIgnoreStart |
1019 | 1019 | @trigger_error( |
1020 | | - '"' .__METHOD__ . '" is deprecated - use \'getItems()\'.', |
| 1020 | + '"' . __METHOD__ . '" is deprecated - use \'getItems()\'.', |
1021 | 1021 | E_USER_DEPRECATED |
1022 | 1022 | ); |
1023 | 1023 | // @codingStandardsIgnoreEnd |
|
0 commit comments