Skip to content

Commit

Permalink
[general] Updating phpcs config (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 4, 2024
1 parent 3b89da6 commit 6bc8da9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
</rule>

<!--Exclude folders -->
<exclude-pattern>/tests/stubs/*</exclude-pattern>
<exclude-pattern>^tests/stubs/*</exclude-pattern>
</ruleset>
8 changes: 7 additions & 1 deletion tools/phpstan-bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<?php declare(strict_types = 1);

use DG\BypassFinals;

if (!defined('FB_APP_DIR')) {
define('FB_APP_DIR', 'val');
}

if (!defined('FB_RESOURCES_DIR')) {
define('FB_RESOURCES_DIR', 'val');
}

if (!defined('FB_TEMP_DIR')) {
define('FB_TEMP_DIR', 'val');
}

if (!defined('FB_LOGS_DIR')) {
define('FB_LOGS_DIR', 'val');
}

if (!defined('FB_CONFIG_DIR')) {
define('FB_CONFIG_DIR', 'val');
}

DG\BypassFinals::enable();
BypassFinals::enable();

0 comments on commit 6bc8da9

Please sign in to comment.