Update to Kirby 4.7.0

This commit is contained in:
Paul Nicoué 2025-04-21 18:57:21 +02:00
parent 02a9ab387c
commit ba25a9a198
509 changed files with 26604 additions and 14872 deletions

View file

@ -16,7 +16,7 @@ use TypeError;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class Collection extends BaseCollection
@ -37,6 +37,8 @@ class Collection extends BaseCollection
* The Kirby Collection class only shows the key to
* avoid huge tress with dump, but for the blueprint
* collections this is really not useful
*
* @codeCoverageIgnore
*/
public function __debugInfo(): array
{

View file

@ -17,7 +17,7 @@ use Kirby\Filesystem\F;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class Config

View file

@ -11,7 +11,7 @@ namespace Kirby\Blueprint;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class Extension

View file

@ -16,7 +16,7 @@ use ReflectionUnionType;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class Factory

View file

@ -13,7 +13,7 @@ use Kirby\Cms\ModelWithContent;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class Node

View file

@ -14,7 +14,7 @@ use Kirby\Toolkit\I18n;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class NodeI18n extends NodeProperty

View file

@ -11,7 +11,7 @@ namespace Kirby\Blueprint;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class NodeIcon extends NodeString

View file

@ -13,7 +13,7 @@ use Kirby\Cms\ModelWithContent;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
abstract class NodeProperty

View file

@ -13,7 +13,7 @@ use Kirby\Cms\ModelWithContent;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class NodeString extends NodeProperty

View file

@ -14,12 +14,12 @@ use Kirby\Cms\ModelWithContent;
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* // TODO: include in test coverage in 3.10
* // TODO: include in test coverage once blueprint refactoring is done
* @codeCoverageIgnore
*/
class NodeText extends NodeI18n
{
public function render(ModelWithContent $model): ?string
public function render(ModelWithContent $model): string|null
{
if ($text = parent::render($model)) {
return $model->toSafeString($text);