Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added scrutinizer configuration #12

Merged
merged 7 commits into from
Aug 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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