Skip to content

Commit 80893fc

Browse files
committed
release version 2.2.4
1 parent 7f129c1 commit 80893fc

File tree

7 files changed

+19
-23
lines changed

7 files changed

+19
-23
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Yii Framework 2 gii extension Change Log
22
========================================
33

4-
2.2.4 under development
4+
2.2.4 December 30, 2021
55
-----------------------
66

77
- Bug #467: Fix view `generators/crud/default/controller` (WinterSilence, cjrf)
88
- Bug #476: Fix stucking datalist options in form generator (WinterSilence)
9-
- Enh #485: Add validation rules for `enableI18N` and `messageCategory` to Generator (WinterSilence)
109
- Bug #484: Add parent's labels and hints, fix rule for attribute `moduleClass` in module generator (WinterSilence)
1110
- Bug #486: Update `assets/js/bs4-native.min.js` to latest version (WinterSilence)
1211
- Bug #488: Fix `ActionColumn::$urlCreator` in index template of CRUD generator (WinterSilence)
12+
- Enh #485: Add validation rules for `enableI18N` and `messageCategory` to Generator (WinterSilence)
1313

1414

1515
2.2.3 August 09, 2021

src/CodeFile.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
/**
1616
* CodeFile represents a code file to be generated.
1717
*
18-
* @property-read string $relativePath The code file path relative to the application base path. This property
19-
* is read-only.
20-
* @property-read string $type The code file extension (e.g. php, txt). This property is read-only.
18+
* @property-read string $relativePath The code file path relative to the application base path.
19+
* @property-read string $type The code file extension (e.g. php, txt).
2120
*
2221
* @author Qiang Xue <qiang.xue@gmail.com>
2322
* @since 2.0

src/generators/controller/Generator.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
/**
1717
* This generator will generate a controller and one or a few action view files.
1818
*
19-
* @property-read array $actionIDs An array of action IDs entered by the user. This property is read-only.
20-
* @property-read string $controllerFile The controller class file path. This property is read-only.
21-
* @property-read string $controllerID The controller ID. This property is read-only.
22-
* @property-read string $controllerNamespace The namespace of the controller class. This property is
23-
* read-only.
24-
* @property-read string $controllerSubPath The controller sub path. This property is read-only.
19+
* @property-read array $actionIDs An array of action IDs entered by the user.
20+
* @property-read string $controllerFile The controller class file path.
21+
* @property-read string $controllerID The controller ID.
22+
* @property-read string $controllerNamespace The namespace of the controller class.
23+
* @property-read string $controllerSubPath The controller sub path.
2524
*
2625
* @author Qiang Xue <qiang.xue@gmail.com>
2726
* @since 2.0

src/generators/crud/Generator.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
/**
2020
* Generates CRUD controller and views.
2121
*
22-
* @property-read array $columnNames Model column/attribute names. This property is read-only.
23-
* @property-read string $controllerID The controller ID (without the module ID prefix). This property is
24-
* read-only.
25-
* @property-read string $nameAttribute This property is read-only.
26-
* @property-read array $searchAttributes Searchable attributes. This property is read-only.
27-
* @property-read \yii\db\TableSchema|bool $tableSchema This property is read-only.
28-
* @property-read string $viewPath The controller view path. This property is read-only.
22+
* @property-read array $columnNames Model column/attribute names.
23+
* @property-read string $controllerID The controller ID (without the module ID prefix).
24+
* @property-read string $nameAttribute
25+
* @property-read array $searchAttributes Searchable attributes.
26+
* @property-read \yii\db\TableSchema|bool $tableSchema
27+
* @property-read string $viewPath The controller view path.
2928
*
3029
* @author Qiang Xue <qiang.xue@gmail.com>
3130
* @since 2.0

src/generators/extension/Generator.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
/**
1414
* This generator will generate the skeleton files needed by an extension.
1515
*
16-
* @property-read string $keywordsArrayJson A json encoded array with the given keywords. This property is
17-
* read-only.
18-
* @property-read bool $outputPath The directory that contains the module class. This property is read-only.
16+
* @property-read string $keywordsArrayJson A json encoded array with the given keywords.
17+
* @property-read bool $outputPath The directory that contains the module class.
1918
*
2019
* @author Tobias Munk <schmunk@usrbin.de>
2120
* @since 2.0

src/generators/form/Generator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
/**
1515
* This generator will generate an action view file based on the specified model class.
1616
*
17-
* @property-read array $modelAttributes List of safe attributes of [[modelClass]]. This property is
18-
* read-only.
17+
* @property-read array $modelAttributes List of safe attributes of [[modelClass]].
1918
*
2019
* @author Qiang Xue <qiang.xue@gmail.com>
2120
* @since 2.0

src/generators/model/Generator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class Generator extends \yii\gii\Generator
7676
*/
7777
protected $classNames = [];
7878

79+
7980
/**
8081
* @inheritdoc
8182
*/

0 commit comments

Comments
 (0)