Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use phpstan.neon to config the behaviour instead of using the CLI arguments. Much cleaner and more readable. * Define how to format a .neon file in .editorconfig to ensure consistancy.
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,7 @@ indent_size = 4 | |
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[*.neon] | ||
indent_style = tab | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
parameters: | ||
level: 0 | ||
paths: | ||
- src | ||
ignoreErrors: | ||
- '#Unsafe usage of new static\(\)#' | ||
scanFiles: | ||
- functions.php | ||
- modules/Activities/moduleFunctions.php | ||
- modules/Attendance/moduleFunctions.php | ||
- modules/Behaviour/moduleFunctions.php | ||
- modules/Crowd Assessment/moduleFunctions.php | ||
- modules/Data Updater/moduleFunctions.php | ||
- modules/Departments/moduleFunctions.php | ||
- modules/Finance/moduleFunctions.php | ||
- modules/Form Groups/moduleFunctions.php | ||
- modules/Formal Assessment/moduleFunctions.php | ||
- modules/Individual Needs/moduleFunctions.php | ||
- modules/Library/moduleFunctions.php | ||
- modules/Markbook/moduleFunctions.php | ||
- modules/Messenger/moduleFunctions.php | ||
- modules/Planner/moduleFunctions.php | ||
- modules/Reports/moduleFunctions.php | ||
- modules/Rubrics/moduleFunctions.php | ||
- modules/School Admin/moduleFunctions.php | ||
- modules/Staff/moduleFunctions.php | ||
- modules/Students/moduleFunctions.php | ||
- modules/System Admin/moduleFunctions.php | ||
- modules/Timetable Admin/moduleFunctions.php | ||
- modules/Timetable/moduleFunctions.php | ||
- modules/Tracking/moduleFunctions.php | ||
- modules/User Admin/moduleFunctions.php |