Skip to content

Commit

Permalink
deploy version
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jun 11, 2018
1 parent c60b5e6 commit 1b8e5cc
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Core/Asset/AbstractScript.php
Expand Up @@ -157,7 +157,7 @@ protected static function internalJS($content)
*
* @return bool|string
*
* @since __DEPLOY_VERSION__
* @since 3.3
*/
protected static function exists($uri, $strict = false)
{
Expand Down Expand Up @@ -202,7 +202,7 @@ public static function getJSObject(...$data)
*
* @return string
*
* @since __DEPLOY_VERSION__
* @since 3.4
*/
public static function wrapFunction($body, $interface = '')
{
Expand Down
6 changes: 4 additions & 2 deletions src/Core/Asset/AssetManager.php
Expand Up @@ -206,7 +206,9 @@ public function addScript($url, $options = [], $attribs = [])
*
* @return AssetManager
*
* @since __DEPLOY_VERSION__
* @since 3.3
*
* @deprecated HTML imports has been deprecated.
*/
public function import($url, array $options = [], array $attribs = [])
{
Expand Down Expand Up @@ -257,7 +259,7 @@ public function internalScript($content)
*
* @return bool|string
*
* @since __DEPLOY_VERSION__
* @since 3.3
*/
public function exists($uri, $strict = false)
{
Expand Down
2 changes: 0 additions & 2 deletions src/Core/Mvc/MvcResolver.php
Expand Up @@ -94,8 +94,6 @@ public function resolveRepository($package, $name)
*
* @return false|string
*
* @since __DEPLOY_VERSION__
*
* @deprecated Use resolveRepository() instead.
*/
public function resolveModel($package, $name)
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Mvc/RepositoryResolver.php
Expand Up @@ -16,7 +16,7 @@
/**
* The RepositoryResolver class.
*
* @since __DEPLOY_VERSION__
* @since 3.4
*/
class RepositoryResolver extends AbstractClassResolver
{
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Renderer/Edge/EdgeHelper.php
Expand Up @@ -13,7 +13,7 @@
/**
* The EdgeHelper class.
*
* @since __DEPLOY_VERSION__
* @since 3.3
*/
class EdgeHelper
{
Expand All @@ -25,7 +25,7 @@ class EdgeHelper
*
* @return string
*
* @since __DEPLOY_VERSION__
* @since 3.3
*/
public static function attr($name, $value = null)
{
Expand Down
10 changes: 9 additions & 1 deletion src/Core/Renderer/Edge/WindwalkerExtension.php
Expand Up @@ -270,7 +270,7 @@ public function formToken($expression)
*
* @return string
*
* @since __DEPLOY_VERSION__
* @since 3.3
*/
public function attr($expression)
{
Expand All @@ -283,6 +283,8 @@ public function attr($expression)
* @param string $expression
*
* @return string
*
* @since 3.3
*/
public function shown($expression)
{
Expand All @@ -295,6 +297,8 @@ public function shown($expression)
* @param string $expression
*
* @return string
*
* @since 3.3
*/
public function dd($expression)
{
Expand All @@ -307,6 +311,8 @@ public function dd($expression)
* @param string $expression
*
* @return string
*
* @since 3.3
*/
public function dead($expression)
{
Expand All @@ -319,6 +325,8 @@ public function dead($expression)
* @param string $expression
*
* @return string
*
* @since 3.3
*/
public function debug($expression)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Utilities/helpers.php
Expand Up @@ -93,7 +93,7 @@ function date_compare($date1, $date2, $operator = null) {
*
* @return string
*
* @since __DEPLOY_VERSION__
* @since 3.4
*/
function html_escape($string, $nl2br = false, $doubleEncode = true) {
$string = htmlspecialchars($string, ENT_QUOTES, 'UTF-8', $doubleEncode);
Expand Down
2 changes: 1 addition & 1 deletion src/SystemPackage/Command/System/LangMergeCommand.php
Expand Up @@ -145,7 +145,7 @@ protected function doExecute()

$dest = $replace ? $toFile : WINDWALKER_TEMP . '/language/' . $to . '/' . $file;

File::write($dest, $data);
File::write($dest, rtrim($data) . "\n");

$this->out()->out(sprintf('File created: <info>%s</info>', $dest));

Expand Down
2 changes: 1 addition & 1 deletion src/SystemPackage/Command/System/MailTestCommand.php
Expand Up @@ -39,7 +39,7 @@ class MailTestCommand extends CoreCommand
*
* @return void
*
* @since __DEPLOY_VERSION__
* @since 3.4
*/
protected function init()
{
Expand Down

0 comments on commit 1b8e5cc

Please sign in to comment.