{
    "name": "joshpinkney/tv-maze-php-api",
    "type": "library",
    "license": "MIT",
    "description": "TVMaze-API-Wrapper",
    "authors": [
        {
            "name": "Josh Pinkney",
            "email": "Joshpinkney@gmail.com"
        }
    ],
    "autoload": {
        "psr-0": {
            "JPinkney": ""
        }
    }
}

{
    "name": "joshpinkney/tv-maze-php-api",
    "type": "library",
    "license": "MIT",
    "description": "TVMaze-API-Wrapper",
    "authors": [
        {
            "name": "Josh Pinkney",
            "email": "Joshpinkney@gmail.com"
        }
    ],
    "autoload": {
        "psr-4": {
            "JPinkney": ""
        }
    }
}

Change autoload type from psr-0 to psr-4
Change autoload type from psr-0 to psr-4
