switching to PSR-4 autoloading standard

This commit is contained in:
Andrey Vystavkin
2016-10-30 16:20:47 +02:00
parent fa781c14e3
commit 8a726eda5d
2 changed files with 32 additions and 5 deletions
+18
View File
@@ -0,0 +1,18 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.bat]
end_of_line = crlf
[*.yml]
indent_style = space
indent_size = 2
+14 -5
View File
@@ -17,12 +17,21 @@
"issues": "https://github.com/RobThree/TwoFactorAuth/issues",
"source": "https://github.com/RobThree/TwoFactorAuth"
},
"autoload": {
"classmap": [
"lib/"
]
},
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "@stable",
"cakephp/cakephp-codesniffer": "^2.0"
},
"autoload": {
"psr-4": {
"RobThree\\Auth\\": "lib"
}
},
"autoload-dev": {
"psr-4": {
"RobThree\\Auth\\Test\\": "tests"
}
}
}