Skip to content

Commit

Permalink
Merge pull request #12 from bluzphp/develop
Browse files Browse the repository at this point in the history
Added scrutinizer configuration
  • Loading branch information
Anton authored Aug 4, 2017
2 parents c38b30c + d80a90b commit 5f44249
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 11 deletions.
26 changes: 26 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
build:
environment:
php:
version: '7.1'
checks:
php:
psr2_switch_declaration: true
psr2_class_declaration: true
no_short_open_tag: true
deprecated_code_usage: true
code_rating: true
filter:
excluded_paths: [bin, data, tests, vendor]
tools:
php_analyzer: true
php_code_sniffer:
config:
standard: PSR2
php_cpd:
enabled: true
excluded_dirs: [bin, data, tests, vendor]
php_loc:
enabled: true
excluded_dirs: [bin, data, tests, vendor]
php_mess_detector: true
php_pdepend: true
2 changes: 1 addition & 1 deletion application/models/ContactUs/Crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application\ContactUs;

Expand Down
2 changes: 1 addition & 1 deletion application/models/ContactUs/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application\ContactUs;

Expand Down
2 changes: 1 addition & 1 deletion application/models/ContactUs/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application\ContactUs;

Expand Down
2 changes: 1 addition & 1 deletion application/models/ContactUs/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application\ContactUs;

Expand Down
2 changes: 1 addition & 1 deletion application/modules/contact-us/controllers/answer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

Expand Down
2 changes: 1 addition & 1 deletion application/modules/contact-us/controllers/crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

Expand Down
2 changes: 1 addition & 1 deletion application/modules/contact-us/controllers/grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

Expand Down
3 changes: 1 addition & 2 deletions application/modules/contact-us/controllers/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

use Application\ContactUs\Row;
use Bluz\Db\Exception\DbException;
use Bluz\Proxy\Logger;
use Bluz\Proxy\Request;
use Bluz\Proxy\Messages;
use Bluz\Controller\Controller;
Expand Down
2 changes: 1 addition & 1 deletion application/modules/contact-us/controllers/read.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

Expand Down
2 changes: 1 addition & 1 deletion application/modules/contact-us/controllers/reply.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @link https://github.com/bluzphp/skeleton
*/

declare(strict_types=1);
declare(strict_types = 1);

namespace Application;

Expand Down

0 comments on commit 5f44249

Please sign in to comment.