Skip to content

Commit

Permalink
Merge pull request #4 from Icinga/code-quality-and-conventions
Browse files Browse the repository at this point in the history
Code quality and conventions
  • Loading branch information
lippserd authored Mar 12, 2020
2 parents 3be6fd1 + dc8fee3 commit ff382f7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Exclude all hidden files
.*

# Except those related to Git
# Except those related to Git (and GitHub)
!.git*

# Exclude files from composer install
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Icinga PHP Library - ORM

[![PHP Support](https://img.shields.io/badge/php-%3E%3D%205.6-777BB4?logo=PHP)](https://php.net/)
![Build Status](https://github.com/Icinga/ipl-orm/workflows/PHP%20Tests/badge.svg?branch=master)

`ipl/orm` is a object-relational mapper that makes working with your databases a breeze.

## Installation

The recommended way to install this library is via [Composer](https://getcomposer.org):

```
composer require ipl/orm
```
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"homepage": "https://github.com/Icinga/ipl-orm",
"require": {
"ext-pdo": "*",
"ipl/sql": "dev-master",
"ipl/stdlib": ">=0.3.0",
"ipl/sql": ">=0.1.0",
"ipl/stdlib": ">=0.5.0",
"php": ">=5.6.0"
},
"autoload": {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
use ipl\Sql\OrderBy;
use ipl\Sql\OrderByInterface;
use ipl\Sql\Select;
use ipl\Stdlib\Contract\PaginationInterface;
use ipl\Stdlib\Contract\Paginatable;
use IteratorAggregate;
use SplObjectStorage;

/**
* Represents a database query which is associated to a model and a database connection.
*/
class Query implements LimitOffsetInterface, OrderByInterface, PaginationInterface, IteratorAggregate
class Query implements LimitOffsetInterface, OrderByInterface, Paginatable, IteratorAggregate
{
use LimitOffset;
use OrderBy;
Expand Down

0 comments on commit ff382f7

Please sign in to comment.