This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : fixed phpstan errors
- Loading branch information
Showing
10 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
name: 'Markdown Lint' | ||
name: "Markdown Lint" | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
text-lint: | ||
name: 'Markdown lint' | ||
name: "Markdown lint" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.16.0' | ||
node-version: "10.16.0" | ||
|
||
- run: npm install | ||
|
||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
name: 'Static analyzing' | ||
name: 'PHP Static Analyze' | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.php' | ||
- "**.php" | ||
pull_request: | ||
paths: | ||
- '**.php' | ||
- "**.php" | ||
|
||
jobs: | ||
php-cs-fixer: | ||
name: 'PHPStan' | ||
name: "PHPStan" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Setup PHP | ||
|
||
- name: "Setup PHP" | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: 7.3 | ||
- run: composer install | ||
- name: 'analyze php code' | ||
run: composer phpstan | ||
|
||
- name: "Install Automatic Composer Prefetcher" | ||
run: composer global require --no-progress --no-scripts --no-plugins narrowspark/automatic-composer-prefetcher:dev-master | ||
|
||
- name: "analyze php code" | ||
run: | | ||
echo ::group::Composer install | ||
composer update --no-progress --no-suggest --no-interaction --ansi | ||
echo ::endgroup:: | ||
composer phpstan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters