Skip to content

Commit 12e9306

Browse files
committed
Fixing CS fixer
1 parent 5a958fd commit 12e9306

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

.php-cs-fixer.dist.php

+8-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
declare(strict_types=1);
44

5-
$finder = PhpCsFixer\Finder::create()
6-
->in([
7-
__DIR__ . '/src',
8-
__DIR__ . '/tests',
9-
]);
5+
$finder = PhpCsFixer\Finder::create();
6+
$finder = $finder
7+
->in([
8+
__DIR__ . '/src',
9+
__DIR__ . '/tests',
10+
])->notPath([
11+
'tests/Resources/var',
12+
]);
1013

1114
$config = new PhpCsFixer\Config();
1215

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Query Resources Loader Bundle
1+
Query resources loader bundle
22
=============================
33

44
[![Packagist](https://img.shields.io/packagist/v/RunOpenCode/query-resources-loader-bundle.svg)](https://packagist.org/packages/runopencode/query-resources-loader-bundle)

docs/index.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
Query resources loader
22
======================
33

4-
In any reporting application, a long query statements (per example, an
5-
SQL statements) are used to fetch/load data from database. There
6-
are several places where those statements can residue, database view,
7-
stored procedure, or, as usual, within an application code.
4+
In any reporting application, a long query statements (per example, an SQL statements) are used to fetch/load data from
5+
database. There are several places where those statements can residue, database view, stored procedure, or, as usual,
6+
within an application code.
87

9-
This bundle allows you to store your queries in separate files within
10-
`Resources\query` bundle and load and/or execute them via one simple
11-
service method call, keeping your code clean and well organised.
8+
This bundle allows you to store your queries in separate files within`query` directory (or any other configured
9+
directory, including `Bundle/Resources/query`) and load and/or execute them via one simple service method call, keeping
10+
your code clean and well organised.
11+
12+
Beside reporting, this bundle can be combined with ORM (or ODM as well) to execute complex queries to fetch identifiers
13+
of entities first, and then use those identifiers to fetch entities themselves.
1214

1315
# Table of content
1416

0 commit comments

Comments
 (0)