From b5c09bfef7922fe62816d07814f89829d9c6a878 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 9 Jan 2023 06:53:52 +0000 Subject: [PATCH] Release v4.2.12 --- LICENSE | 2 +- app/Config/Cache.php | 2 +- app/Config/Migrations.php | 7 +++++-- app/Controllers/BaseController.php | 6 ++++++ 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 31425034..0119e5f5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2014-2019 British Columbia Institute of Technology -Copyright (c) 2019-2022 CodeIgniter Foundation +Copyright (c) 2019-2023 CodeIgniter Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/app/Config/Cache.php b/app/Config/Cache.php index 2d1fea90..e76c02d8 100644 --- a/app/Config/Cache.php +++ b/app/Config/Cache.php @@ -134,7 +134,7 @@ class Cache extends BaseConfig * * @see https://codeigniter.com/user_guide/libraries/caching.html#memcached * - * @var array + * @var array */ public $memcached = [ 'host' => '127.0.0.1', diff --git a/app/Config/Migrations.php b/app/Config/Migrations.php index 91e80b4a..604e059a 100644 --- a/app/Config/Migrations.php +++ b/app/Config/Migrations.php @@ -42,9 +42,12 @@ class Migrations extends BaseConfig * * This is the format that will be used when creating new migrations * using the CLI command: - * > php spark migrate:create + * > php spark make:migration * - * Typical formats: + * Note: if you set an unsupported format, migration runner will not find + * your migration files. + * + * Supported formats: * - YmdHis_ * - Y-m-d-His_ * - Y_m_d_His_ diff --git a/app/Controllers/BaseController.php b/app/Controllers/BaseController.php index 122db5f9..ecea1620 100644 --- a/app/Controllers/BaseController.php +++ b/app/Controllers/BaseController.php @@ -37,6 +37,12 @@ abstract class BaseController extends Controller */ protected $helpers = []; + /** + * Be sure to declare properties for any property fetch you initialized. + * The creation of dynamic property is deprecated in PHP 8.2. + */ + // protected $session; + /** * Constructor. */