Skip to content

Commit 86d01ce

Browse files
author
Anton Shevchuk
committed
Updated codestyle to PSR12
1 parent f74ed41 commit 86d01ce

168 files changed

Lines changed: 219 additions & 40 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/_bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
// This is global bootstrap for autoloading
34
// Environment
45
define('DEBUG', true);

tests/_support/AcceptanceTester.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
/**
54
* Inherited Methods
65
* @method void wantToTest($text)

tests/_support/FunctionalTester.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
/**
54
* Inherited Methods
65
* @method void wantToTest($text)

tests/_support/UnitTester.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
/**
54
* Inherited Methods
65
* @method void wantToTest($text)

tests/acceptance/_bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
<?php
2+
23
// Here you can initialize variables that will be available to your tests

tests/configs/default/auth.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2+
23
/**
34
* Auth configuration
45
*
56
* @link https://github.com/bluzphp/framework/wiki/Auth
67
* @return array
78
*/
9+
810
return [
911
'equals' => [
1012
'encryptFunction' => function ($password, $salt) {

tests/configs/default/cache.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2+
23
/**
34
* Cache configuration
45
*
56
* @link https://github.com/bluzphp/framework/wiki/Cache
67
* @return array
78
*/
9+
810
return [
911
'enabled' => false,
1012
'adapter' => 'memcached',

tests/configs/default/db.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2+
23
/**
34
* Database configuration
45
*
56
* @link https://github.com/bluzphp/framework/wiki/Db
67
* @return array
78
*/
9+
810
return [
911
'connect' => [
1012
'type' => 'mysql',

tests/configs/default/debug.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php
2+
23
/**
34
* Debug mode
45
*
56
* @link https://github.com/bluzphp/framework/wiki/Debug
67
* @return bool
78
*/
9+
810
return getenv('BLUZ_DEBUG');

tests/configs/default/layout.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2+
23
/**
34
* Layout configuration
45
*
56
* @link https://github.com/bluzphp/framework/wiki/Layout
67
* @return array
78
*/
9+
810
return [
911
'path' => PATH_APPLICATION . '/layouts',
1012
'template' => 'index.phtml',

0 commit comments

Comments
 (0)