Skip to content

Commit

Permalink
fix: Fatal error including API version string in a namespaced project (
Browse files Browse the repository at this point in the history
…#18) (#19)

Co-authored-by: Imanol Romera <[email protected]>
  • Loading branch information
sebastianMindee and superwave1999 authored Jan 23, 2024
1 parent e12a233 commit 072facd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/MindeeApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
const TIMEOUT_DEFAULT = 120;
// phpcs:disable
include_once('src/version.php');
include_once(dirname(__DIR__) . '/version.php');
// phpcs:enable
const USER_AGENT = 'mindee-api-php@v' . VERSION . ' php-v' . PHP_VERSION . ' ' . PHP_OS;

Expand Down

0 comments on commit 072facd

Please sign in to comment.