Skip to content

Commit

Permalink
chore: Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
hellopablo committed Jul 3, 2023
1 parent 6d449a8 commit f3843b3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .phpstan/config.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
parameters:
level: 0
level: 1
paths:
- ../helpers
- ../src
- ../tests
- ../tests
scanFiles:
- constants.php
scanDirectories:
- ../vendor/codeigniter/framework/system/core
- ../vendor/nails/common/helpers
2 changes: 2 additions & 0 deletions .phpstan/constants.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
define('NAILS_DB_PREFIX', '');
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"require":
{
"nails/common": "dev-develop",
"nails/module-admin": "dev-develop",
"nails/module-cdn": "dev-develop",
"nails/skin-blog-classic": "dev-develop"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/BaseAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Nails\Admin\Controller\Base;
use Nails\Factory;

class BaseAdmin extends Base
abstract class BaseAdmin extends Base
{
public function __construct()
{
Expand Down

0 comments on commit f3843b3

Please sign in to comment.