Skip to content

Commit

Permalink
Merge pull request #12 from citrus-framework/rm_formmap
Browse files Browse the repository at this point in the history
Rm formmap
  • Loading branch information
take64 authored Jul 12, 2020
2 parents 9646d64 + a6f9964 commit 8af03f6
Show file tree
Hide file tree
Showing 143 changed files with 1,952 additions and 10,363 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ test_all:
.PHONY: composer_reload
composer_reload:
@composer clear-cache
@composer upadte -vvv
@composer update -vv
@composer dump-autoload

.PHONY: composer_develop
composer_develop:
@composer install -vvv --dev --prefer-dist --optimize-autoloader
@composer install -vv --dev --prefer-dist --optimize-autoloader

.PHONY: composer_public
composer_public:
@composer install -vvv --no-dev --prefer-dist --optimize-autoloader
@composer install -vv --no-dev --prefer-dist --optimize-autoloader

.PHONY: check
check:
Expand Down
40 changes: 17 additions & 23 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,30 @@
"email": "[email protected]"
}
],
"bin": [
"src/bin/cf-migration",
"src/bin/cf-integration"
],
"autoload": {
"psr-4": {
"Citrus\\": "src/",
"Test\\": "tests/"
}
},
"require": {
"smarty/smarty": "^3.1",
"aws/aws-sdk-php": "^3.129",
"citrus-framework/collection": "^1.0",
"citrus-framework/configure": "^1.0",
"citrus-framework/console": "^1.0",
"citrus-framework/database": "^1.0",
"citrus-framework/formmap": "^1.0",
"citrus-framework/http": "^1.0",
"citrus-framework/intersection": "^1.0",
"citrus-framework/logger": "^1.0",
"citrus-framework/variables": "^1.0",
"ext-dom": "*",
"ext-pdo": "*"
"citrus-framework/sqlmap": "^1.0",
"citrus-framework/variables": "^1.1",
"smarty/smarty": "^3.1",
"ext-mbstring": "*",
"ext-posix": "*",
"ext-json": "*",
"ext-pdo": "*",
"ext-redis": "*",
"ext-memcached": "*"
},
"require-dev": {
"php": "^7.3",
"phpunit/phpunit": "8.4.1",
"nunomaduro/phpinsights": "^1.10",
"ext-json": "*",
"ext-openssl": "*",
"ext-posix": "*"
"nunomaduro/phpinsights": "^1.10"
},
"autoload": {
"psr-4": {
"Citrus\\": "src/",
"Test\\": "tests/"
}
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Configure.class.php → old/src/Configure.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Citrus\Configure\Application;
use Citrus\Configure\ConfigureException;
use Citrus\Configure\Paths;
use Citrus\Variable\Directory;
use Citrus\Variable\Directories;

/**
* 設定
Expand Down Expand Up @@ -102,7 +102,7 @@ public static function directory(string $path_application_dir)
}

// 親参照指定を取り除く
$path_application_dir = Directory::suitablePath($path_application_dir);
$path_application_dir = Directories::suitablePath($path_application_dir);

// directory
self::$DIR_APP = $path_application_dir;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Citrus;

use Citrus\Database\Column;
use Citrus\Database\Columns;
use Citrus\Database\ResultSet\ResultClass;
use Citrus\Database\ResultSet\ResultSet;
use Citrus\Sqlmap\Faces;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Test\Database;

use Citrus\Configure\ConfigureException;
use Citrus\Router\Device;
use Citrus\Router\Protocol;
use PHPUnit\Framework\TestCase;

/**
Expand All @@ -29,8 +29,8 @@ public function 設定を読み込んで適用できる()
$configures = require(dirname(__DIR__) . '/citrus-configure.php');

// 生成
/** @var Device $device */
$device = Device::sharedInstance()->loadConfigures($configures);
/** @var Protocol $device */
$device = Protocol::sharedInstance()->loadConfigures($configures);

// 検証
$device_list = [
Expand All @@ -45,7 +45,7 @@ public function 設定を読み込んで適用できる()
];
foreach ($device_list as $one)
{
$this->assertSame($configures['default']['device'][$one], $device->device_routes[$one]);
$this->assertSame($configures['default']['device'][$one], $device->protocol_routes[$one]);
}
}
}
6 changes: 3 additions & 3 deletions tests/Router/ItemTest.php → old/tests/Router/ItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Test\Router;

use Citrus\Configure\ConfigureException;
use Citrus\Router\Device;
use Citrus\Router\Protocol;
use Citrus\Router\Item;
use PHPUnit\Framework\TestCase;

Expand All @@ -30,8 +30,8 @@ public function パスを読み込んでパースできる()
$configures = require(dirname(__DIR__) . '/citrus-configure.php');

// 生成
/** @var Device $router_device */
$router_device = Device::sharedInstance()->loadConfigures($configures);
/** @var Protocol $router_device */
$router_device = Protocol::sharedInstance()->loadConfigures($configures);

// URLパス設計
$device = 'pc';
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions phpinsights.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
],
PhpCsFixer\Fixer\Basic\BracesFixer::class => [
'allow_single_line_closure' => false,
'position_after_anonymous_constructs' => 'next',
'position_after_control_structures' => 'next',
'position_after_functions_and_oop_constructs' => 'next',
'position_after_anonymous_constructs' => 'same', // possible values ['same', 'next']
'position_after_control_structures' => 'next', // possible values ['same', 'next']
'position_after_functions_and_oop_constructs' => 'next', // possible values ['same', 'next']
],
SlevomatCodingStandard\Sniffs\Commenting\DocCommentSpacingSniff::class => [
'linesCountBeforeFirstContent' => 0,
Expand Down
166 changes: 0 additions & 166 deletions src/Accessor.class.php

This file was deleted.

Loading

0 comments on commit 8af03f6

Please sign in to comment.