Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/update-facade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ jobs:
- name: Install dependencies
run: composer install --no-progress --no-ansi

- name: Configure Facade Documenter Repository
run: composer config repositories.facade-documenter vcs git@github.com:laravel/facade-documenter.git

- name: Install Facade Documenter
run: composer require --dev laravel/facade-documenter:dev-main

- name: Update Facade Signatures
run: composer run update-facade
run: php -f vendor/bin/facade.php -- Nutgram\\Laravel\\Facades\\Telegram

- name: Rollback composer.json file
run: git restore composer.json

# create a pull request with the changes
- name: Create Pull Request
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

/vendor/
composer.lock
composer.phar

phpunit.xml
coverage.xml
.phpunit.result.cache
.phpunit.cache
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"illuminate/testing": "^9.0|^10.0|^11.0|^12.0|^13.0",
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0",
"pestphp/pest": "^1.1|^2.0|^3.0|^4.0",
"stevebauman/autodoc-facades": "^1.3.3",
"vimeo/psalm": "^6.0"
},
"autoload": {
Expand Down Expand Up @@ -71,7 +70,6 @@
"scripts": {
"test": "@php vendor/bin/pest",
"test-coverage": "@php vendor/bin/pest --coverage --coverage-clover=coverage.xml",
"psalm": "@php vendor/bin/psalm",
"update-facade": "@php vendor/bin/facade.php Nutgram\\\\Laravel\\\\Facades\\\\Telegram"
"psalm": "@php vendor/bin/psalm"
}
}
Loading
Loading