Skip to content

Commit

Permalink
アノテーション漏れを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Oct 28, 2023
1 parent 9a22188 commit ba3fe8b
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion plugins/baser-core/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ public function services(ContainerInterface $container): void
* @param CommandCollection $commands
* @return CommandCollection
* @checked
* @checked
* @noTodo
*/
public function console(CommandCollection $commands): CommandCollection
{
Expand Down
15 changes: 7 additions & 8 deletions plugins/baser-core/src/Utility/BcAgent.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BcAgent extends BcAbstractDetector
*
* @checked
* @unitTest
* @noTodo
*/
protected function _setConfig(array $config)
{
Expand All @@ -58,11 +58,11 @@ protected function _setConfig(array $config)

/**
* デフォルトの設定値を取得
* @checked
* @unitTest
*
* @return array
* @checked
* @unitTest
* @noTodo
*/
protected function _getDefaultConfig()
{
Expand All @@ -75,10 +75,10 @@ protected function _getDefaultConfig()
/**
* ユーザーエージェントの判定用正規表現を取得
*
* @return string
* @checked
* @unitTest
*
* @return string
* @noTodo
*/
public function getDetectorRegex()
{
Expand All @@ -89,10 +89,9 @@ public function getDetectorRegex()
/**
* ユーザーエージェントがキーワードを含むかどうかを判定
*
* @return bool
* @checked
* @unitTest
*
* @return bool
*/
public function isMatchDecisionKey()
{
Expand Down
3 changes: 2 additions & 1 deletion plugins/baser-core/src/Utility/BcUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ static public function includePluginClass($pluginName)
* @return void
* @checked
* @unitTest
* @note(value="viewキャッシュ/dataキャッシュ実装時に対応")
* @noTodo
*/
public static function clearAllCache(): void
{
Expand Down Expand Up @@ -1076,6 +1076,7 @@ public static function getContentsItem(): array
* baserCMSのインストールが完了しているかチェックする
* @return boolean
* @checked
* @noTodo
*/
public static function isInstalled()
{
Expand Down
1 change: 1 addition & 0 deletions plugins/baser-core/src/View/BcFrontEmailView.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class BcFrontEmailView extends View
*
* @checked
* @unitTest
* @noTodo
*/
public function initialize(): void
{
Expand Down
3 changes: 2 additions & 1 deletion plugins/baser-core/src/View/Helper/BcBaserHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ public function contentsName($detail = false, $options = [])
* @return string
* @checked
* @unitTest
* @noTodo
* @doc
*/
public function getContentsName($detail = false, $options = [])
Expand Down Expand Up @@ -794,7 +795,7 @@ public function getContentsName($detail = false, $options = [])
* @return string URL
* @checked
* @unitTest
* @note(value="$sessionId について実装検討要")
* @noTodo
*/
public function getUrl($url = null, $full = false)
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/baser-core/src/View/Helper/BcFormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class BcFormHelper extends FormHelper
* @param string $type フォームのタイプ タイプごとにイベントの登録ができる
* @return string 行データ
* @checked
* @note(value="フォームの最後のフィールドの後に発動するイベント")
* @noTodo
*/
public function dispatchAfterForm($type = ''): string
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function initialize(): void
* @return void|ResponseInterface
* @checked
* @unitTest
* @noTodo
*/
public function edit(BlogContentsAdminServiceInterface $service, int $id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class CustomContentsTable extends AppTable
* @param array $config テーブル設定
* @checked
* @unitTest
* @noTodo
*/
public function initialize(array $config): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use BaserCore\Annotation\UnitTest;
use BaserCore\Annotation\NoTodo;
use BaserCore\Annotation\Checked;
use Psr\Http\Message\ResponseInterface;

/**
* Class InstallationsController
Expand All @@ -46,6 +47,7 @@ class InstallationsController extends BcAdminAppController
*
* @return void
* @checked
* @noTodo
*/
public function beforeFilter(EventInterface $event)
{
Expand Down Expand Up @@ -138,8 +140,9 @@ public function step3(InstallationsAdminServiceInterface $service)
* Step 4: データベース生成/管理者ユーザー作成
*
* @param InstallationsAdminService $service
* @return void
* @return void|ResponseInterface
* @checked
* @noTodo
*/
public function step4(InstallationsAdminServiceInterface $service)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public function getDefaultValuesStep4(ServerRequest $request): array
* @param array $data
* @return void
* @checked
* @noTodo
*/
public function writeDbSettingToSession(ServerRequest $request, array $data): void
{
Expand Down Expand Up @@ -330,6 +331,7 @@ public function login(ServerRequest $request, Response $response): void
*
* @param ServerRequest $request
* @checked
* @noTodo
*/
public function initDb(ServerRequest $request): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static function checkdate($value){
* @param array $context
* @return bool
* @checked
* @noTodo
*/
public static function checkSame(string $value, string $target, array $context)
{
Expand Down
1 change: 1 addition & 0 deletions plugins/bc-mail/src/Service/MailContentsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public function getList()
* @return EntityInterface $result
* @checked
* @unitTest
* @noTodo
*/
public function copy($postData)
{
Expand Down
2 changes: 2 additions & 0 deletions plugins/bc-widget-area/src/Service/WidgetAreasService.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public function delete(int $id)
* @return array
* @checked
* @unitTest
* @noTodo
*/
public function getTitlesById(array $ids): array
{
Expand All @@ -150,6 +151,7 @@ public function getTitlesById(array $ids): array
* @return bool
* @checked
* @unitTest
* @noTodo
*/
public function batch(string $method, array $ids): bool
{
Expand Down

0 comments on commit ba3fe8b

Please sign in to comment.