Skip to content

Comments

Add php version to user agent#114

Merged
const-cloudinary merged 2 commits intomasterfrom
feature/add-php-version-to-user-agent
May 8, 2018
Merged

Add php version to user agent#114
const-cloudinary merged 2 commits intomasterfrom
feature/add-php-version-to-user-agent

Conversation

@const-cloudinary
Copy link
Contributor

No description provided.

@const-cloudinary const-cloudinary force-pushed the feature/add-php-version-to-user-agent branch from fece452 to ee8b5dc Compare May 8, 2018 11:43
$platform_information,
$userAgent,
$full_user_agent = \Cloudinary::userAgent();
\Cloudinary::$USER_PLATFORM = $orig_user_platform; // reset value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this to teardown


$this->assertRegExp("/^CloudinaryPHP\/\d+\.\d+\.\d+ \(PHP \d+\.\d+\.\d+\)$/", $user_agent);

$orig_user_platform = \Cloudinary::$USER_PLATFORM;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this to setup.

@const-cloudinary const-cloudinary merged commit 8ba385b into master May 8, 2018
@const-cloudinary const-cloudinary deleted the feature/add-php-version-to-user-agent branch May 8, 2018 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants