Add psr-4 stuff.

This commit is contained in:
Malte Hübner 2017-05-26 13:17:40 +02:00
parent f24b967b6a
commit 193028c23d
4 changed files with 8 additions and 7 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.idea/
vendor

View File

@ -12,6 +12,11 @@
"email": "maltehuebner@gmx.org"
}
],
"autoload": {
"psr-4": {
"StaticMapLite\\": "src"
}
},
"minimum-stability": "stable",
"require": {}
}

View File

@ -4,7 +4,6 @@ namespace StaticMapLite;
class staticMapLite
{
protected $maxWidth = 1024;
protected $maxHeight = 1024;

View File

@ -25,13 +25,9 @@
*
*/
error_reporting(0);
ini_set('display_errors', 'off');
require_once '../vendor/autoload.php';
Class staticMapLite
{
}
use StaticMapLite\staticMapLite;
$map = new staticMapLite();
print $map->showMap();