Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
5d14d788
Commit
5d14d788
authored
Feb 24, 2014
by
maximal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further coding standards fixes.
parent
b560398b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
8 deletions
+5
-8
_console.php
apps/basic/tests/acceptance/_console.php
+1
-2
_console.php
apps/basic/tests/functional/_console.php
+1
-2
_console.php
apps/basic/tests/unit/_console.php
+1
-2
ContactFormTest.php
apps/basic/tests/unit/models/ContactFormTest.php
+1
-1
main.php
apps/basic/views/layouts/main.php
+1
-1
No files found.
apps/basic/tests/acceptance/_console.php
View file @
5d14d788
...
...
@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
\ No newline at end of file
);
apps/basic/tests/functional/_console.php
View file @
5d14d788
...
...
@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
\ No newline at end of file
);
apps/basic/tests/unit/_console.php
View file @
5d14d788
...
...
@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
\ No newline at end of file
);
apps/basic/tests/unit/models/ContactFormTest.php
View file @
5d14d788
...
...
@@ -42,7 +42,7 @@ class ContactFormTest extends TestCase
expect
(
'email file should exist'
,
file_exists
(
$this
->
getMessageFile
()))
->
true
();
});
$this
->
specify
(
'message should contain correct data'
,
function
()
use
(
$model
)
{
$this
->
specify
(
'message should contain correct data'
,
function
()
use
(
$model
)
{
$emailMessage
=
file_get_contents
(
$this
->
getMessageFile
());
expect
(
'email should contain user name'
,
$emailMessage
)
->
contains
(
$model
->
name
);
...
...
apps/basic/views/layouts/main.php
View file @
5d14d788
...
...
@@ -40,7 +40,7 @@ AppAsset::register($this);
[
'label'
=>
'Contact'
,
'url'
=>
[
'/site/contact'
]],
Yii
::
$app
->
user
->
isGuest
?
[
'label'
=>
'Login'
,
'url'
=>
[
'/site/login'
]]
:
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
],
'linkOptions'
=>
[
'data-method'
=>
'post'
]],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment