-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'muze-origin/master'
Conflicts: README.md
- Loading branch information
Showing
7 changed files
with
116 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[**.php] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
language: php | ||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
|
||
before_script: | ||
- composer --quiet install | ||
- composer --quiet --working-dir=tests install | ||
- composer install | ||
|
||
script: php ./tests/testall.php | ||
script: phpunit --coverage-clover=coverage.clover ./tests | ||
|
||
notifications: | ||
email: false | ||
irc: "open.ircnet.org#ariadne" | ||
irc: | ||
channels: | ||
secure: "Am2Se+OxqD7wlfN6xSJbB8pV5D9uJorcRCzGAsJkYCXjNdmZKV06XKD2RElIxukCl91I0IY8Ln1OpM8pApMTy+CEfFpBRvTFySzmpVdBNeSTuSEJaUNffEYTFFFVj6hqReDLW8Bw1/f6FGClhWrrOJhl0SkCIeyUb9FfsqrlD0M=" | ||
on_success: change | ||
on_failure: always | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
|
||
|
||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# How to contribute | ||
|
||
Thanks for wanting to contribute. Here's a quick guide. | ||
|
||
## Getting Started | ||
|
||
* Make sure you have a [GitHub account](https://github.com/signup/free) | ||
* Submit a ticket for your issue, assuming one does not already exist. | ||
* Clearly describe the issue including steps to reproduce when it is a bug. | ||
* We're using http://waffle.io/ariadne-cms/arc-base to keep track of issues, you can too. | ||
* Fork the repository on GitHub | ||
|
||
## Making Changes | ||
|
||
* ARC has its very own personality and way of doing things, make sure you understand | ||
how \arc\path and \arc\tree are used in all components and see if you can make use | ||
of them in your own changes as well | ||
* Keep state out of the lowercase named classes, unless you're making a factory method, | ||
in which case use \arc\context as a dependency injection container. | ||
* Keep it small and clean. ARC focuses on small code size and a small, simple and beautiful | ||
API. Don't cram in unneeded features. | ||
* Don't extend other classes. Really. Unless you have tried composition ( proxying ) and | ||
traits first. And then still don't. | ||
* ARC conforms to [PSR-2][PSR2] for coding style, not because we love it, but because we need | ||
a standard so we don't start fighting about it. | ||
* Make sure you have added the necessary tests for your changes. | ||
* Run _all_ the tests to assure nothing else was accidentally broken. | ||
|
||
|
||
## Submitting Changes | ||
|
||
* Commit your changes to your fork with complete, readable and english commit messages | ||
* Push to your fork | ||
* Submit a pull request | ||
* Wait for us and hang out at #ariadne at ircnet, try http://webchat.xs4all.nl/ for a web interface | ||
|
||
## Contributor License Agreement | ||
|
||
By contributing your code to ARC you grant Muze BV. a non-exclusive, irrevocable, worldwide, | ||
royalty-free, sublicenseable, transferable license under all of Your relevant intellectual property rights | ||
(including copyright, patent, and any other rights), to use, copy, prepare derivative works of, distribute and | ||
publicly perform and display the Contributions on any licensing terms, including without limitation: | ||
(a) open source licenses like the MIT license; and (b) binary, proprietary, or commercial licenses. Except for the | ||
licenses granted herein, You reserve all right, title, and interest in and to the Contribution. | ||
|
||
You confirm that you are able to grant us these rights. You represent that You are legally entitled to grant the | ||
above license. If Your employer has rights to intellectual property that You create, You represent that You have | ||
received permission to make the Contributions on behalf of that employer, or that Your employer has waived such | ||
rights for the Contributions. | ||
|
||
You represent that the Contributions are Your original works of authorship, and to Your knowledge, no other person | ||
claims, or has the right to claim, any right in any invention or patent related to the Contributions. You also | ||
represent that You are not legally obligated, whether by entering into an agreement or otherwise, in any way that | ||
conflicts with the terms of this license. | ||
|
||
Muze BV. acknowledges that, except as explicitly described in this Agreement, any Contribution which | ||
you provide is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, | ||
INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS | ||
FOR A PARTICULAR PURPOSE. | ||
|
||
|
||
[PSR2]: http://www.php-fig.org/psr/psr-2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
<?php | ||
|
||
if ( ! defined ('SIMPLETESTDIR' ) ) { | ||
define('SIMPLETESTDIR', __DIR__); | ||
} | ||
if ( ! defined ('TESTDIR' ) ) { | ||
define('TESTDIR', __DIR__); | ||
} | ||
|
||
error_reporting(E_ALL|E_STRICT); | ||
include_once( SIMPLETESTDIR . '/../vendor/autoload.php'); | ||
error_reporting(E_ALL|E_STRICT); | ||
include_once( TESTDIR . '/../vendor/autoload.php'); | ||
|
||
require_once( SIMPLETESTDIR . '/vendor/lastcraft/simpletest/autorun.php'); | ||
require_once( SIMPLETESTDIR . '/vendor/lastcraft/simpletest/compatibility.php'); | ||
require_once( SIMPLETESTDIR . '/vendor/lastcraft/simpletest/browser.php'); | ||
require_once( SIMPLETESTDIR . '/vendor/lastcraft/simpletest/web_tester.php'); | ||
require_once( SIMPLETESTDIR . '/vendor/lastcraft/simpletest/unit_tester.php'); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.