Skip to content

Commit fd115fc

Browse files
committed
Merge remote-tracking branch 'origin/develop' into 2.1
2 parents 0e16931 + a56ab4e commit fd115fc

Some content is hidden

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

60 files changed

+956
-802
lines changed

.gitignore

100755100644
File mode changed.

.php_cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
return Symfony\CS\Config\Config::create()->finder(Symfony\CS\Finder\DefaultFinder::create()
4+
->notName('LICENSE')
5+
->notName('README.md')
6+
->notName('composer.*')
7+
->notName('phpunit.xml*')
8+
->notName('*.phar')
9+
->notName('ExceptionHandler.php')
10+
->exclude('src/Debug')
11+
->exclude('vendor')
12+
->in(__DIR__)
13+
);

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
language: php
22

33
php:
4-
- 5.3.3
54
- 5.3
65
- 5.4
76
- 5.5
7+
- 5.6
8+
- hhvm
89

910
before_install:
1011
- phpenv rehash
1112
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
1213
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
13-
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install
14+
- COMPOSER_ROOT_VERSION=dev-master composer self-update
15+
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --no-interaction --dev install
1416

1517
script: phpunit
18+
19+
matrix:
20+
fast_finish: true
21+
allow_failures:
22+
- php: hhvm

README.md

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,24 @@
1010
[@php]: http://php.net/ "PHP: Hypertext Preprocessor"
1111

1212
Version **2.1.0-DEV**
13-
[![Build Status](https://travis-ci.org/ppi/framework.png?branch=2.1)](https://travis-ci.org/ppi/framework)
14-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ppi/framework/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
1513

16-
* [Official website][@website]
17-
* [Download][@download]
18-
* [Documentation][@documentation]
19-
20-
## What is PPI?
21-
22-
The [PPI Framework][@website] is a micro to light full-stack web framework. It
23-
focuses on having a light footprint, convenient and minimalistic. It allows
24-
developers to rapidly develop web applications and utilize features from 3rd
25-
party libraries without the tedious integration of them into your project. It
26-
also allows developers to build better and easy to maintain websites/web
27-
applications.
14+
[![Latest Stable Version](https://poser.pugx.org/ppi/framework/v/stable.png)](https://packagist.org/packages/ppi/framework)
15+
[![Latest Unstable Version](https://poser.pugx.org/ppi/framework/v/unstable.png)](https://packagist.org/packages/ppi/framework)
16+
[![Build Status](https://secure.travis-ci.org/ppi/framework.png?branch=develop)](http://travis-ci.org/ppi/framework)
17+
[![Dependency Status](https://www.versioneye.com/php/ppi:framework/dev-develop/badge.png)](https://www.versioneye.com/php/ppi:framework/dev-develop)
18+
[![License](https://poser.pugx.org/ppi/framework/license.png)](https://packagist.org/packages/ppi/framework)
2819

29-
### Why is PPI different?
20+
[PPI][@website] is the the PHP Interoperability Framework. It provides an equal and open platform to empower PHP developers to pick the best tools from the best PHP frameworks
3021

31-
PPI is not another framework to re-invent the wheel. The idea behind it is to
32-
build a more pragmatic, simplistic and easier version of the wheel. It's built
33-
re-using the core components of other web frameworks such as Symfony2, Doctrine2
34-
and ZendFramework2.
22+
PPI bootstraps framework components for you from the top frameworks such as ZendFramework2, Symfony2, Laravel4 and FuelPHP.
3523

36-
PPI pre-integrates third libraries for you (aka autoloading) so that you can
37-
drop their components into your Vendor folder and you're up and running
38-
instantly. From PPI you're able to seamlessly have plug and play, moreso play
39-
because that's the fun part!
40-
41-
PPI doesn't just stop at the PHP side of things, the skeleton application comes
42-
pre-bundled with the latest and greatest trending libraries for frontend
43-
development such as [HTML5 Boilerplate][@h5bp] and [Twitter
44-
Bootstrap][@twbootstrap].
24+
* [Official website][@website]
25+
* [Download][@download]
26+
* [Documentation][@documentation]
4527

4628
## Requirements
4729

48-
* [PHP][@php] 5.3.3 or above
30+
* [PHP][@php] 5.3.23 or above
4931

5032
## Installation
5133

composer.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,34 @@
1919
"homepage": "http://www.ppi.io/contributors"
2020
}
2121
],
22-
"autoload": {
23-
"psr-0": { "PPI": "" }
24-
},
2522
"require": {
26-
"monolog/monolog": "1.7.*@stable",
27-
"symfony/dependency-injection": "2.3.*@dev",
28-
"symfony/config": "2.3.*@dev",
29-
"symfony/console": "2.3.*@dev",
30-
"symfony/debug": "2.3.*@dev",
31-
"symfony/finder": "2.3.*@dev",
32-
"symfony/http-foundation": "2.2.*@dev",
33-
"symfony/routing": "2.3.*@dev",
34-
"symfony/templating": "2.3.*@dev",
35-
"symfony/yaml": "2.3.*@dev",
36-
"symfony/http-kernel": "2.3.*@dev",
37-
"symfony/framework-bundle": "2.3.*@dev",
23+
"psr/log": "~1.0",
24+
"symfony/dependency-injection": "2.5.*@stable",
25+
"symfony/config": "2.5.*@stable",
26+
"symfony/console": "2.5.*@stable",
27+
"symfony/debug": "2.5.*@stable",
28+
"symfony/finder": "2.5.*@stable",
29+
"symfony/http-foundation": "2.5.*@stable",
30+
"symfony/routing": "2.5.*@stable",
31+
"symfony/templating": "2.5.*@stable",
32+
"symfony/yaml": "2.5.*@stable",
33+
"symfony/http-kernel": "2.5.*@stable",
34+
"symfony/framework-bundle": "2.5.*@stable",
3835
"zendframework/zend-eventmanager": "2.3.*@dev",
3936
"zendframework/zend-modulemanager": "2.3.*@dev",
4037
"zendframework/zend-servicemanager": "2.3.*@dev",
4138
"zendframework/zend-loader": "2.3.*@dev"
4239
},
40+
"autoload": {
41+
"psr-4": {
42+
"PPI\\": "src/",
43+
"PPI\\Tests\\": "tests"
44+
}
45+
},
46+
"minimum-stability": "dev",
4347
"extra": {
4448
"branch-alias": {
4549
"dev-master": "2.1-dev"
4650
}
47-
},
48-
"minimum-stability": "dev",
49-
"autoload": {
50-
"psr-4": { "PPI\\": "src/" }
5151
}
5252
}

phpunit.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="PPI/Test/Bootstrap.php"
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
35
colors="true"
4-
processIsolation="false"
5-
stopOnFailure="false"
6-
syntaxCheck="false"
76
convertErrorsToExceptions="true"
87
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true">
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
syntaxCheck="false">
1012
<testsuites>
11-
<testsuite name="Composer Test Suite">
12-
<directory>./PPI/Tests</directory>
13+
<testsuite name="PPI Framework Test Suite">
14+
<directory suffix=".php">./tests/</directory>
1315
</testsuite>
1416
</testsuites>
15-
</phpunit>
17+
</phpunit>

0 commit comments

Comments
 (0)