-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
16 changed files
with
5,719 additions
and
28 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,18 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
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,4 @@ | ||
# https://docs.docker.com/compose/reference/envvars/#compose_project_name | ||
# With custom namespace provided, it will be used to prefix all services | ||
# in Docker network for current project | ||
COMPOSE_PROJECT_NAME=agents |
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 @@ | ||
/.build export-ignore | ||
/.github export-ignore | ||
/.phive export-ignore | ||
/tests export-ignore | ||
.editorconfig export-ignore | ||
.env export-ignore | ||
.env.example export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.php-cs-fixer.dist.php export-ignore | ||
.pre-commit-config.yaml export-ignore | ||
composer.lock export-ignore | ||
composer-require-checker.json export-ignore | ||
docker-compose.yaml export-ignore | ||
infection.json.dist export-ignore | ||
Makefile export-ignore | ||
pest.xml.dist export-ignore | ||
phpstan.neon.dist export-ignore | ||
phpstan-baseline.neon export-ignore | ||
phpunit.xml.dist export-ignore | ||
psalm.xml export-ignore | ||
psalm-baseline.xml export-ignore | ||
rector.php 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
composer.lock | ||
/vendor | ||
/.idea | ||
/.idea/ | ||
/vendor/ | ||
/.build/ | ||
.env | ||
coverage.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,3 @@ | ||
* | ||
!.gitignore | ||
!phars.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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="composer-normalize" version="^2.42.0" installed="2.42.0" location="./.phive/composer-normalize" copy="false"/> | ||
<phar name="composer-require-checker" version="^4.11.0" installed="4.11.0" location="./.phive/composer-require-checker" copy="false"/> | ||
</phive> |
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 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use WayOfDev\PhpCsFixer\Config\ConfigBuilder; | ||
use WayOfDev\PhpCsFixer\Config\RuleSets\DefaultSet; | ||
|
||
require_once 'vendor/autoload.php'; | ||
|
||
$config = ConfigBuilder::createFromRuleSet(new DefaultSet()) | ||
->inDir(__DIR__ . '/src') | ||
->inDir(__DIR__ . '/tests') | ||
->addFiles([ | ||
__FILE__, | ||
__DIR__ . '/rector.php', | ||
]) | ||
->useParallelConfig() | ||
->getConfig() | ||
; | ||
|
||
$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php-cs-fixer.cache'); | ||
|
||
return $config; |
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,42 @@ | ||
--- | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
args: ['--maxkb=600'] | ||
|
||
- repo: https://github.com/commitizen-tools/commitizen | ||
rev: v3.27.0 | ||
hooks: | ||
- id: commitizen | ||
stages: | ||
- commit-msg | ||
|
||
- repo: local | ||
hooks: | ||
- id: php-cs-fixer | ||
name: PHP CS Fixer | ||
description: Lint files using PHP CS Fixer | ||
entry: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --verbose --diff | ||
language: system | ||
types: [php] | ||
exclude: ^vendor/ | ||
files: \.php$ | ||
pass_filenames: false | ||
require_serial: true | ||
|
||
- repo: local | ||
hooks: | ||
- id: markdownlint | ||
name: markdownlint-cli2 | ||
description: Run markdownlint-cli2 on your Markdown files using the docker image | ||
language: docker_image | ||
types: [markdown] | ||
entry: 'davidanson/markdownlint-cli2-rules:latest' | ||
args: ['--config', '.github/.markdownlint.json'] | ||
|
||
... |
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
Oops, something went wrong.