Skip to content
This repository was archived by the owner on Apr 3, 2021. It is now read-only.

Commit a0ea817

Browse files
committed
Initial package implementation
0 parents  commit a0ea817

79 files changed

Lines changed: 4578 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/tests export-ignore
2+
/.gitignore export-ignore
3+
/.travis.yml export-ignore
4+
/phpunit.xml export-ignore
5+
/phpcs.xml export-ignore
6+
/PULL_REQUEST_TEMPLATE.md export-ignore
7+
/CODE_OF_CONDUCT.md export-ignore
8+
/CONTRIBUTING.md export-ignore

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor
2+
/composer.lock

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: php
2+
php:
3+
- '7.2'
4+
- '7.3'
5+
6+
before_script:
7+
- composer install
8+
9+
script:
10+
- composer validate --strict
11+
- vendor/bin/phpunit --coverage-text
12+
- vendor/bin/phpcs src/ tests/
13+
14+
cache:
15+
directories:
16+
- $HOME/.composer/cache

CHANGELOG.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## 1.0.0 - 2019-05-02
8+
### Added
9+
- `Ulrack\Dbal\Sql\Common\ColumnAttributeEnum`
10+
- `Ulrack\Dbal\Sql\Common\ColumnDefaultEnum`
11+
- `Ulrack\Dbal\Sql\Common\ColumnTypeEnum`
12+
- `Ulrack\Dbal\Sql\Common\ComparatorEnum`
13+
- `Ulrack\Dbal\Sql\Common\IndexTypeEnum`
14+
- `Ulrack\Dbal\Sql\Common\OperatorEnum`
15+
- `Ulrack\Dbal\Sql\Common\ShowTypeEnum`
16+
- `Ulrack\Dbal\Sql\Common\UnionEnum`
17+
- `Ulrack\Dbal\Sql\Component\FilterableQueryTrait`
18+
- `Ulrack\Dbal\Sql\Component\JoinableQueryTrait`
19+
- `Ulrack\Dbal\Sql\Component\PageableQueryTrait`
20+
- `Ulrack\Dbal\Sql\Component\SortableQueryTrait`
21+
- `Ulrack\Dbal\Sql\Filter\ComparatorFilter`
22+
- `Ulrack\Dbal\Sql\Filter\ExistsFilter`
23+
- `Ulrack\Dbal\Sql\Filter\QueryFilterGroup`
24+
- `Ulrack\Dbal\Sql\Filter\QueryInFilter`
25+
- `Ulrack\Dbal\Sql\Filter\QueryOperatorFilter`
26+
- `Ulrack\Dbal\Sql\Filter\RelationalComparatorFilter`
27+
- `Ulrack\Dbal\Sql\Query\BatchQuery`
28+
- `Ulrack\Dbal\Sql\Query\RawQuery`
29+
- `Ulrack\Dbal\Sql\Query\Context\ShowQuery`
30+
- `Ulrack\Dbal\Sql\Query\Context\UseQuery`
31+
- `Ulrack\Dbal\Sql\Query\Data\DeleteQuery`
32+
- `Ulrack\Dbal\Sql\Query\Data\InsertIntoSelectQuery`
33+
- `Ulrack\Dbal\Sql\Query\Data\InsertQuery`
34+
- `Ulrack\Dbal\Sql\Query\Data\SelectIntoQuery`
35+
- `Ulrack\Dbal\Sql\Query\Data\SelectQuery`
36+
- `Ulrack\Dbal\Sql\Query\Data\UnionQuery`
37+
- `Ulrack\Dbal\Sql\Query\Data\UpdateQuery`
38+
- `Ulrack\Dbal\Sql\Query\Database\AlterDatabaseQuery`
39+
- `Ulrack\Dbal\Sql\Query\Database\BackupDatabaseQuery`
40+
- `Ulrack\Dbal\Sql\Query\Database\CreateDatabaseQuery`
41+
- `Ulrack\Dbal\Sql\Query\Database\DropDatabaseQuery`
42+
- `Ulrack\Dbal\Sql\Query\Table\AbstractTableQuery`
43+
- `Ulrack\Dbal\Sql\Query\Table\AlterTableQuery`
44+
- `Ulrack\Dbal\Sql\Query\Table\CreateTableQuery`
45+
- `Ulrack\Dbal\Sql\Query\Table\DropTableQuery`
46+
- `Ulrack\Dbal\Sql\Query\View\CreateOrReplaceViewQuery`
47+
- `Ulrack\Dbal\Sql\Query\View\CreateViewQuery`
48+
- `Ulrack\Dbal\Sql\Query\View\DropViewQuery`
49+
50+
### Changed
51+
- Nothing
52+
53+
### Deprecated
54+
- Nothing
55+
56+
### Removed
57+
- Nothing
58+
59+
### Fixed
60+
- Nothing
61+
62+
### Security
63+
- Nothing
64+
65+
[Unreleased]: https://github.com/ulrack/dbal-sql/compare/1.0.0...HEAD

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at info@jyxon.com. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Contributing
2+
3+
To contribute to this package, please keep to these guidelines.
4+
5+
- Fork the package.
6+
- Create a branch per feature.
7+
- Commit your changes to these branches.
8+
- Create a pull request per feature to the master branch of the original repository.
9+
10+
## Pull requests
11+
12+
Pull request should follow these rules, before they can get accepted.
13+
14+
- Follow the [pull request template](PULL_REQUEST_TEMPLATE.md).
15+
- Contains a short but complete description.
16+
- Has passed all test command listed bellow.
17+
18+
## Running Tests
19+
20+
``` bash
21+
$ vendor/bin/phpunit --coverage-text
22+
$ vendor/bin/phpcs src/ tests/
23+
```
24+
25+
## Notes
26+
27+
Multiple commits per feature are allowed, but please provide a good description in your pull request.
28+
This description will be used to squash your feature into the master branch.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Jyxon
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# (bugfix / feature / refactor / etc.): Short descriptive title
2+
3+
## Description
4+
5+
Fixes #
6+
7+
Changes proposed in this pull request:
8+
-
9+
-
10+
-
11+
12+
Make sure you can check the following boxes before submitting the pull request:
13+
- [] The proposed changes work with the dependencies from composer.
14+
- [] The proposed changes have been thoroughly tested.
15+
- [] The proposed changes don't alter the code in such a manner that it conflicts with the initial purpose of the package.
16+
17+
Optional checkbox
18+
- [] Backwards incompatible

0 commit comments

Comments
 (0)