Skip to content

Commit

Permalink
Fix composer 2 compatibilit issue
Browse files Browse the repository at this point in the history
With Composer 1 this would already throw a warning:

```
Deprecation Notice: Class Emico\RobinHqLib\Client\InvalidApiResponseException located in ./vendor/emico/robinhq-lib/src/Client/Exception/InvalidApiResponseException.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/rutger/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
```

When installed via Composer 2 it would say

```
Class Emico\RobinHqLib\Client\InvalidApiResponseException located in ./vendor/emico/robinhq-lib/src/Client/Exception/InvalidApiResponseException.php does not comply with psr-4 autoloading standard. Skipping.
```
  • Loading branch information
rutgerrademaker committed Jan 11, 2022
1 parent 8d98ab8 commit dc88c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client/Exception/InvalidApiResponseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* @copyright (c) Emico B.V. 2017
*/

namespace Emico\RobinHqLib\Client;
namespace Emico\RobinHqLib\Client\Exception;

use Exception;

class InvalidApiResponseException extends Exception
{

}
}

0 comments on commit dc88c5e

Please sign in to comment.