Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Use Zend-Mime instead of PEAR package. PHP 7. (#900)
Browse files Browse the repository at this point in the history

* Using Auzre Store SDK for parsing mime types.

* Test.

* Fix PHPCS errors.

* Fix PHPCS errors.

* Fix PHPCS

* Using Zend/Mime to parse mime.

* HHVM

* update php-cs-fixer

* Update composer.lock.

* Remove php-cs-fixer

* Revert "Remove php-cs-fixer"

This reverts commit 0446375.

* Remove HHVM

* A link to package.

* Chanegelog.

* Minor fix.

* Remove pear/mail_mime-decode

* Remove unused 'use'.

* Examples.
  • Loading branch information
sergey-shandar authored Oct 31, 2016
1 parent 04bd203 commit 8af9ef5
Show file tree
Hide file tree
Showing 31 changed files with 848 additions and 556 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ phpcs-checkstyle.tmp
composer.phar
.vscode/
.idea/
examples/MediaServices/IndexerOutput/
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: php

php:
- '5.6'
- '5.6'
- '7.0'

sudo: false

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/Azure/azure-sdk-for-php.svg?branch=master)](https://travis-ci.org/Azure/azure-sdk-for-php)
[![Latest Stable Version](https://poser.pugx.org/microsoft/windowsazure/v/stable)](https://packagist.org/packages/microsoft/windowsazure)

# Microsoft Azure SDK for PHP

Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
- the `sendContext()` function from `\WindowsAzure\Common\Internal\RestProxy` is replaced by `sendHttpContext()`.
- the `send()` function from `\WindowsAzure\MediaServices\MediaServicesRestProxy` is replaced by `sendHttp()`.
- `\WindowsAzure\Common\Internal\Http\BatchResponse` constructor the first parameter is `Response`.
- Using `zendframework/zend-mime` instead of `pear/mail_mime-decode`.
- Switch to PHP 5.6.
- Support for PHP 7.

Windows Azure SDK For PHP 0.4.5, 2016-09-26
-------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"php": ">=5.6",
"pear/net_url2": "^2.2",
"pear/mail_mime": "^1.10",
"pear/mail_mime-decode": "^1.5",
"firebase/php-jwt": "^4.0",
"microsoft/azure-storage": "^0.10",
"guzzlehttp/guzzle": "^6.2"
"guzzlehttp/guzzle": "^6.2",
"zendframework/zend-mime": "^2.6",
"zendframework/zend-mail": "^2.7"
},
"require-dev": {
"mikey179/vfsStream": "^1.6",
Expand All @@ -28,7 +29,7 @@
"phpmd/phpmd": "^2.4",
"squizlabs/php_codesniffer": "^2.6",
"mayflower/php-codebrowser": "^1.1",
"friendsofphp/php-cs-fixer": "^1.11"
"friendsofphp/php-cs-fixer": "^1.12.2"
},
"autoload": {
"psr-4": { "WindowsAzure\\": "src/" }
Expand Down
Loading

0 comments on commit 8af9ef5

Please sign in to comment.