2020-07-31 12:56:32 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								parameters:
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-29 17:41:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  universalObjectCratesClasses:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - Illuminate\Database\Eloquent\Model
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-05 10:16:53 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  # TODO: slowly remove these parameters and fix the issues found.
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-29 17:41:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  reportUnmatchedIgnoredErrors: false
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-04 11:31:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  checkGenericClassInNonGenericObjectType: false  # remove this rule when all other issues are solved.
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-31 15:12:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  ignoreErrors:
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-05 10:16:53 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  # TODO: slowly remove these exceptions and fix the issues found.
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-05 09:40:45 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#Dynamic call to static method#' # all the Laravel ORM things depend on this.
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-28 17:18:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#Control structures using switch should not be used.#' # switch is fine in some cases.
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-04 11:31:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#with no value type specified in iterable type array#' # remove this rule when all other issues are solved.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - '#has no value type specified in iterable type array#' # remove this rule when all other issues are solved.
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 14:34:36 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#is not allowed to extend#'
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-04 17:41:28 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#switch is forbidden to use#'
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 14:34:36 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#is neither abstract nor final#'
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-28 17:18:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#has a nullable return type declaration#' # perhaps throw errors instead?
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - '#with a nullable type declaration#' # decide what action should be if param is null.
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-30 20:25:04 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - '#with null as default value#'
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-29 17:41:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    -
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        message: '#Constructor in [a-zA-Z0-9\\_]+ has parameter \$[a-zA-Z0-9\\_]+ with default value#'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        paths:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Exceptions/IntervalException.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Navigation.php
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-30 20:25:04 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    -
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        message: '#but containers should not be injected#'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        paths:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Authentication/RemoteUserGuard.php
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 14:34:36 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    -
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-05 08:28:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        message: '#Function compact\(\) should not be used#' # too useful in template rendering.
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-02 06:25:37 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        paths:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Account/MonthReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Audit/MonthReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Budget/MonthReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Category/MonthReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Standard/MonthReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Standard/MultiYearReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Standard/YearReportGenerator.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Generator/Report/Tag/MonthReportGenerator.php
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-04 05:11:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            - ../app/Http/Controllers/Account/*.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Http/Controllers/Admin/*.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Http/Controllers/*.php
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-30 20:25:04 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/ExpandedForm.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Form/AccountForm.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Form/CurrencyForm.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Form/FormSupport.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    -
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        message: '#Either catch a more specific exception#'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        paths:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            - ../app/Support/Form/FormSupport.php
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-31 12:56:32 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  paths:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - ../app
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - ../database
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - ../routes
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-30 20:25:04 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    - ../config
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-31 12:56:32 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    - ../bootstrap/app.php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-31 15:12:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  # The level 8 is the highest level. original was 5
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-02 07:05:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  # 7 is more than enough, higher just leaves NULL things.
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-28 17:18:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  level: 7
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-31 15:54:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 |