mscherer 6 years ago
parent
commit
39e5d6f731
2 changed files with 14 additions and 18 deletions
  1. 1 5
      .editorconfig
  2. 13 13
      tests/phpstan.neon

+ 1 - 5
.editorconfig

@@ -1,6 +1,5 @@
 ; This file is for unifying the coding style for different editors and IDEs.
-; More information at http://editorconfig.org
-
+; More information at https://editorconfig.org
 root = true
 
 [*]
@@ -17,8 +16,5 @@ end_of_line = crlf
 indent_style = space
 indent_size = 2
 
-[*.neon]
-indent_style = space
-
 [*.md]
 indent_style = space

+ 13 - 13
tests/phpstan.neon

@@ -1,16 +1,16 @@
 parameters:
-    autoload_files:
-    - %rootDir%/../../../tests/bootstrap.php
-    excludes_analyse:
-        - %rootDir%/../../../src/TestSuite/*
-        - %rootDir%/../../../src/View/Helper/TreeHelper
-        - %rootDir%/../../../src/Utility/Mime
-    ignoreErrors:
-        - '#Access to an undefined property .+Table::\$belongsTo#'
-        - '#Call to an undefined method .+TimeHelper::.+\(\)#'
-        - '#Access to protected property .+ServerRequest::\$.+#'
-        - '#Return type \(bool\) of method .+Email::send\(\) should be compatible with return type \(array\) of method .+Email::send\(\)#'
+	autoload_files:
+	- %rootDir%/../../../tests/bootstrap.php
+	excludes_analyse:
+		- %rootDir%/../../../src/TestSuite/*
+		- %rootDir%/../../../src/View/Helper/TreeHelper
+		- %rootDir%/../../../src/Utility/Mime
+	ignoreErrors:
+		- '#Access to an undefined property .+Table::\$belongsTo#'
+		- '#Call to an undefined method .+TimeHelper::.+\(\)#'
+		- '#Access to protected property .+ServerRequest::\$.+#'
+		- '#Return type \(bool\) of method .+Email::send\(\) should be compatible with return type \(array\) of method .+Email::send\(\)#'
 
 services:
-    -
-        class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
+	-
+		class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension