- Use cases: QueryFormatterTest
- Main component: QueryFormatter
- All implemented formatting strategies: Formatters
run project:
docker compose up
install dependencies:
docker compose exec app composer install
phpunit:
docker compose exec app php vendor/bin/phpunit
phpstan:
docker compose exec app php vendor/bin/phpstan analyze src --level 9
run ecs:
docker compose exec app php vendor/bin/ecs
src
├── Query
│ ├── Formatter
│ │ ├── ArrayFormatter.php
│ │ ├── DecimalFormatter.php
│ │ ├── DefaultFormatter.php
│ │ ├── FloatFormatter.php
│ │ ├── Formatter.php
│ │ └── IdentifierFormatter.php
│ └── FormatterRegistry.php
└── QueryFormatter.php
tests
└── Query
├── Formatter
│ ├── ArrayFormatterTest.php
│ ├── DecimalFormatterTest.php
│ ├── DefaultFormatterTest.php
│ ├── FloatFormatterTest.php
│ └── IdentifierFormatterTest.php
└── QueryFormatterTest.php