Skip to content

Commit e3c79c2

Browse files
authored
Merge pull request #591 from microsoftgraph/dev
Release 1.37.0
2 parents 570613d + 2c0e4ff commit e3c79c2

9,916 files changed

Lines changed: 6850537 additions & 114 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/update-docs.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT License.
3+
4+
name: "Update Docs"
5+
6+
on:
7+
push:
8+
branches: dev
9+
10+
defaults:
11+
run:
12+
shell: bash
13+
14+
jobs:
15+
run-php-documentor:
16+
runs-on: ubuntu-latest
17+
env:
18+
CREATE_PR: false
19+
steps:
20+
- uses: actions/checkout@v2.3.4
21+
with:
22+
ref: ${{ github.ref }}
23+
24+
- uses: docker://phpdoc/phpdoc:3.0
25+
with:
26+
config: ./phpdoc.dist.xml
27+
28+
- name: Create unique docs branch name
29+
run: echo "BRANCH=fix/update-docs/$(date +%s)" >> $GITHUB_ENV
30+
31+
- name: Create and checkout docs branch
32+
run: git checkout -b ${{ env.BRANCH }}
33+
34+
- name: Run PHPDocumentor container
35+
run: docker run --name phpDoc --rm -v $(pwd):/data phpdoc/phpdoc:3.0 run
36+
37+
- name: Config Git user
38+
run: |
39+
git config --global user.email "GraphTooling@service.microsoft.com"
40+
git config --global user.name "Microsoft Graph DevX Tooling"
41+
42+
- name: Commit changes to docs/ folder (if any)
43+
run: |
44+
git add . && git commit -m "Update docs/ folder" && git push origin ${{ env.BRANCH }} && echo "CREATE_PR=true" >> $GITHUB_ENV
45+
46+
- name: Create PR
47+
if: ${{ env.CREATE_PR }}
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
MESSAGE_TITLE: Generated docs using PHPDocumentor
51+
MESSAGE_BODY: "This pull request was automatically created by GitHub Action `${{ github.workflow }}`. \n\n The action runs PHPDocumentor against the latest changes merged to `${{ github.ref }}`."
52+
LABELS: generated
53+
run: |
54+
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
55+
bin/hub pull-request -b dev -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -l "$LABELS"

.gitignore

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
composer.phar
2-
composer.lock
3-
/vendor/
4-
/coverage
5-
.idea/
6-
tests/Functional/TestConstants.php
7-
.phpunit.result.cache
1+
composer.phar
2+
composer.lock
3+
/vendor/
4+
/coverage
5+
.idea/
6+
tests/Functional/TestConstants.php
7+
.phpunit.result.cache
8+
.phpdoc/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
1111
```
1212
{
1313
"require": {
14-
"microsoft/microsoft-graph": "^1.36.0"
14+
"microsoft/microsoft-graph": "^1.37.0"
1515
}
1616
}
1717
```

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"require": {
1515
"php": "^8.0 || ^7.3",
1616
"guzzlehttp/guzzle": "^6.0 || ^7.0",
17-
"ext-json": "*"
17+
"ext-json": "*",
18+
"psr/http-message": "^1.0"
1819
},
1920
"require-dev": {
2021
"phpunit/phpunit": "^8.0 || ^9.0",

docs/classes/Beta-Microsoft-Graph-CallRecords-Model-CallRecord.html

Lines changed: 1569 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)