Skip to content

Commit

Permalink
Moved sources to the source directory. Other small changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilte Leichnam committed Aug 31, 2014
1 parent 3101f7c commit 9e7d86f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .php_cs
Expand Up @@ -3,7 +3,7 @@
$finder = \Symfony\CS\Finder\DefaultFinder::create()
->files()
->name('*.php')
->in(__DIR__ . '/src/')
;
->in(__DIR__ . '/source/');

return \Symfony\CS\Config\Config::create()->finder($finder);
return \Symfony\CS\Config\Config::create()
->finder($finder);
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,4 +9,4 @@ before_script:
- composer self-update
- composer install --dev --prefer-source

script: vendor/bin/phpunit --coverage-text
script: vendor/bin/phpunit --coverage-text
12 changes: 11 additions & 1 deletion README.md
Expand Up @@ -4,10 +4,12 @@ The simple pagination

[![Build Status](https://travis-ci.org/Kilte/pagination.svg?branch=master)](https://travis-ci.org/Kilte/pagination)


## Requirements

- PHP >= 5.3.3


## Usage

```php
Expand Down Expand Up @@ -40,13 +42,15 @@ $pages = $pagination->build(); // Contains associative array with a numbers of a
Note: Tags (like *first*, *current*, ...) are defined as constants in the Pagination class
(```TAG_FIRST```, ```TAG_CURRENT```, ...).


## Tests

```bash
$ composer install --dev
$ composer install
$ vendor/bin/phpunit
```


## Contributing

- Fork it
Expand All @@ -71,8 +75,13 @@ Now you can to remove your branch:
git branch -d awesome-feature
git push origin :awesome-feature


## CHANGELOG

### 1.1.1 \[31.01.2014\]

- Small improvements

### 1.1.0 \[16.06.2014\]

- Improved pages array to include relative positions
Expand All @@ -82,6 +91,7 @@ Now you can to remove your branch:

- Initial release


# LICENSE

The MIT License (MIT)
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -14,11 +14,11 @@
"php": ">=5.3"
},
"require-dev": {
"phpunit/phpunit": "~4.1"
"phpunit/phpunit": "@stable"
},
"autoload": {
"psr-4": {
"Kilte\\Pagination\\": "src/Kilte/Pagination"
"Kilte\\Pagination\\": "source"
}
},
"extra": {
Expand Down
12 changes: 10 additions & 2 deletions phpunit.xml.dist
Expand Up @@ -8,7 +8,15 @@
>
<testsuites>
<testsuite name="Pagination Test Suite">
<directory>./src/Kilte/Pagination/Tests</directory>
<directory>source</directory>
</testsuite>
</testsuites>
</phpunit>
<filter>
<whitelist>
<directory>source</directory>
<exclude>
<directory>source/Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
File renamed without changes.
File renamed without changes.

0 comments on commit 9e7d86f

Please sign in to comment.