-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 112eab9
Showing
145 changed files
with
3,582 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
engines: | ||
duplication: | ||
enabled: true | ||
exclude_paths: | ||
- "Tests/" | ||
- "config/" | ||
- "src/config/" | ||
- "Database/Migrations" | ||
|
||
config: | ||
languages: | ||
- php | ||
|
||
fixme: | ||
enabled: true | ||
exclude_paths: | ||
- "Tests/" | ||
|
||
phpmd: | ||
enabled: true | ||
exclude_paths: | ||
- "Tests/" | ||
- "Database/Migrations" | ||
checks: | ||
CleanCode/StaticAccess: | ||
enabled: false | ||
Design/CouplingBetweenObjects: | ||
enabled: false | ||
Naming/ShortVariable: | ||
enabled: false | ||
|
||
ratings: | ||
paths: | ||
- "**.php" | ||
|
||
exclude_paths: | ||
- "Tests/" | ||
- "**.md" | ||
- "**.json" | ||
- "**.xml" |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 4 | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
2b218556fab0934c5cd63e9c6e7ecdf5fd88750c | ||
2cad91f6a7dae626c23fe606ca31c4af6766758e | ||
79b8d27ba1bde2220aeb6fe02d3e39ceca9eede0 | ||
65b7aa55d03581af4dcb39bb38016069593bb1eb | ||
51205155df073f39ae9a8725c67e448a2bd17135 | ||
b5f509460cc2a6570ef3bfeeda96141deea48fa7 | ||
cb799d21a0eac34d27277df59ffe99abd1565a22 | ||
5d8bd7cf96a0597a4aa619e0ff6b834340d44de8 | ||
55f59f05919972a1025a77453dcc68e6a6b1ec76 | ||
76a91031a701ea79d753b1197b583561c16333f2 | ||
69c764c9260af8a722c71b660e2e803f83cce660 | ||
0e6354946ad0d94398e469c9788da44e6123a832 | ||
ea0ce6fd4eb49aebf993bf447883f410da92654e | ||
35f8b8fde4ead4e9b29e92538232aaee2358d666 | ||
0336cb76dfcde4b5a4ff63c14efdc4757ca09938 | ||
b10bf92eeaa947287566bce5f1b5305ed7ef9489 | ||
b0916bbffb6e266c221841d2cd59d61f22240004 | ||
8fd8d86031ef81c54a0ac0e2a32eec162ab1e14a | ||
8981973a60c4342748a3bff82c72a8373c077fef | ||
4f9c9e3740c65abeb0b7ceadcefc9ded1517e961 | ||
c0c57578c9f930178358492ca71c3ac4b2dc210d | ||
6c9f03e0ae6106f059823eee0de86db3a7c0d308 | ||
776b4c7590f2a5b31c96ce0481e83add74527367 | ||
777e1e41e0c6a96676924fca988562d3c70c2100 | ||
6ca9d00eb4909e7c5d014829d133e180bb7550ec | ||
57a554cfaf58f25ed1025740f854e9257c1103b4 |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* text=auto | ||
*.css linguist-vendored | ||
*.scss linguist-vendored | ||
*.js linguist-vendored | ||
CHANGELOG.md export-ignore |
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Contributing | ||
|
||
Contributions are **welcome** and will be fully **credited**. | ||
|
||
Please read and understand the contribution guide before creating an issue or pull request. | ||
|
||
## Etiquette | ||
|
||
This project is open source, and as such, the maintainers give their free time to build and maintain the source code | ||
held within. They make the code freely available in the hope that it will be of use to other developers. It would be | ||
extremely unfair for them to suffer abuse or anger for their hard work. | ||
|
||
Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the | ||
world that developers are civilized and selfless people. | ||
|
||
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient | ||
quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used. | ||
|
||
## Viability | ||
|
||
When requesting or submitting new features, first consider whether it might be useful to others. Open | ||
source projects are used by many developers, who may have entirely different needs to your own. Think about | ||
whether or not your feature is likely to be used by other users of the project. | ||
|
||
## Procedure | ||
|
||
Before filing an issue: | ||
|
||
- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident. | ||
- Check to make sure your feature suggestion isn't already present within the project. | ||
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress. | ||
- Check the pull requests tab to ensure that the feature isn't already in progress. | ||
|
||
Before submitting a pull request: | ||
|
||
- Check the codebase to ensure that your feature doesn't already exist. | ||
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix. | ||
|
||
## Requirements | ||
|
||
If the project maintainer has any additional requirements, you will find them listed here. | ||
|
||
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The standard can be enforced by running the `composer lint` console command. | ||
|
||
- **Add tests!** - Your patch won't be accepted if it doesn't have tests. | ||
|
||
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. | ||
|
||
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option. | ||
|
||
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. | ||
|
||
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. | ||
|
||
**Happy coding**! |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [marco76tv, laraxot] |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Security Policy | ||
|
||
If you have found any issue regarding security, please send an email [marco.sottana@gmail.com](mailto:marco.sottana@gmail.com) instead of using the issue tracker and we will quickly work on it. |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Duster Fix | ||
|
||
# Commits made in here will not trigger any workflows | ||
# Checkout Duster's documentation for a workaround | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
duster: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: "Duster Fix" | ||
uses: tighten/duster-action@v2 | ||
with: | ||
args: fix | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
id: auto_commit_action | ||
with: | ||
commit_message: Dusting | ||
commit_user_name: GitHub Action | ||
commit_user_email: actions@github.com | ||
|
||
- name: Ignore Duster commit in git blame | ||
if: steps.auto_commit_action.outputs.changes_detected == 'true' | ||
run: echo ${{ steps.auto_commit_action.outputs.commit_hash }} >> .git-blame-ignore-revs | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Ignore Dusting commit in git blame | ||
commit_user_name: GitHub Action | ||
commit_user_email: actions@github.com |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Check & fix styling | ||
|
||
on: [push] | ||
|
||
jobs: | ||
php-cs-fixer: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Run PHP CS Fixer | ||
uses: docker://oskarstark/php-cs-fixer-ga | ||
with: | ||
args: --config=.php-cs-fixer.dist.php --allow-risky=yes | ||
|
||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Check & fix styling |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: phpinsights | ||
on: [push] | ||
|
||
jobs: | ||
phpinsights: | ||
runs-on: ubuntu-latest | ||
name: PHP Insights checks | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
- run: composer install --prefer-dist --no-progress | ||
- run: composer require nunomaduro/phpinsights --dev | ||
- run: cp vendor/nunomaduro/phpinsights/stubs/laravel.php phpinsights.php | ||
- run: vendor/bin/phpinsights -n --ansi --format=github-action --fix | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: phpinsights |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Static Analysis | ||
|
||
on: [push] | ||
|
||
jobs: | ||
phpstan: | ||
name: phpstan | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.2' | ||
coverage: none | ||
|
||
- name: Install composer dependencies | ||
run: composer install -n --prefer-dist | ||
|
||
- name: Run Static Analysis | ||
run: ./vendor/bin/phpstan --error-format=github | ||
|
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: psalm | ||
on: [push] | ||
|
||
jobs: | ||
phpinsights: | ||
runs-on: ubuntu-latest | ||
name: PHP Insights checks | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
- run: composer install --prefer-dist --no-progress | ||
- run: composer require --dev psalm/plugin-laravel -W | ||
- run: ./vendor/bin/psalm --init | ||
- run: ./vendor/bin/psalm-plugin enable psalm/plugin-laravel | ||
- run: ./vendor/bin/psalm --alter --issues=all --dry-run | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: psalm |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: cd docs && composer validate | ||
|
||
- name: Composer | ||
run: cd docs && composer install --no-progress --no-suggest | ||
|
||
- name: Node | ||
run: cd docs && npm install | ||
|
||
- name: Production | ||
run: cd docs && npm run prod | ||
|
||
- name: CNAME | ||
run: cd docs && echo "laraxot.github.io/module_chart" > ./build_production/CNAME | ||
|
||
- name: gh-pages | ||
uses: JamesIves/github-pages-deploy-action@v4.4.2 | ||
with: | ||
branch: gh-pages | ||
folder: ./docs/build_production |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/vendor | ||
*.lock | ||
/build | ||
*.lock | ||
*.lock | ||
*.lock | ||
package-lock.json | ||
/vendor/ | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# Laravel 4 specific | ||
bootstrap/compiled.php | ||
app/storage/ | ||
|
||
# Laravel 5 & Lumen specific | ||
public/storage | ||
public/hot | ||
|
||
# Laravel 5 & Lumen specific with changed public path | ||
public_html/storage | ||
public_html/hot | ||
|
||
storage/*.key | ||
.env | ||
Homestead.yaml | ||
Homestead.json | ||
/.vagrant | ||
.phpunit.result.cache | ||
*.cache | ||
.git-blame-ignore-revs | ||
.git-rewrite | ||
|
||
.git-blame-ignore-revs | ||
*.phar | ||
.php-cs-fixer.cache | ||
*.phar | ||
*.cache | ||
.git-blame-ignore-revs | ||
package-lock.json | ||
.php-cs-fixer.cache | ||
package-lock.json | ||
.git-rewrite/ | ||
.php-cs-fixer.cache |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#[submodule "docs"] | ||
# path = docs | ||
# url = git@github.com:laraxot/doc_setting.git |
Oops, something went wrong.