Skip to content
This repository was archived by the owner on Mar 27, 2019. It is now read-only.

Commit ea8c1d9

Browse files
committed
Repository maintenance.
1 parent b2a1925 commit ea8c1d9

Some content is hidden

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

61 files changed

+267
-87
lines changed

Diff for: .gitattributes

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.gitattributes export-ignore
22
.gitignore export-ignore
3-
.travis.yml export-ignore
4-
test export-ignore
3+
.travis.* export-ignore
4+
.archer.* export-ignore
5+
test export-ignore

Diff for: .gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
test/report
2-
vendor
1+
/artifacts/
2+
/vendor/

Diff for: .travis.before-install

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env php
2+
<?php
3+
/**
4+
* This script is executed before composer dependencies are installed,
5+
* and as such must be included in each project as part of the skeleton.
6+
*/
7+
$path = getenv('HOME') . '/.composer/config.json';
8+
$dir = dirname($path);
9+
$config = <<<EOD
10+
{
11+
"config" : {
12+
"github-oauth" : {
13+
"github.com": "${_SERVER['ARCHER_TOKEN']}"
14+
}
15+
}
16+
}
17+
EOD;
18+
19+
if (!is_dir($dir)) {
20+
mkdir($dir, 0755, true);
21+
}
22+
23+
file_put_contents($path, $config);

Diff for: .travis.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bsW+y6xirKrqXRkj6f9EjresV6KznYAOwlvfIxrghfOviLgM5f58dMElij2EQ5ehGtWWwhhHBnHhuDkrWV2pNNDl2jXisKf9Zx1qA30tOTDNLwEpi6FCYjel00NZTj/stLZFDxX5atubnOjIFPv/Xkn03X0vdh+x5mPFwkurkFM=

Diff for: .travis.key

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-----BEGIN PUBLIC KEY-----
2+
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDoN7nszDi9sC6JSz00QTrboo87
3+
AeeWFnz4gMgCHA4wJC3NNPqr0UyXRwCRRj2P68rwjyNESffoY5svxdsBZYCZIq+W
4+
CA0VhjrlXwT3aJkp4Rjw9h101dXnCa0ET+/zg/kvXveJyG9MnlsHGPt8PfsVAQ87
5+
SgBWuW+5bS/4EobFNQIDAQAB
6+
-----END PUBLIC KEY-----

Diff for: .travis.yml

+20-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
#
2+
# This is the default Travis CI configuration.
3+
#
4+
# It uses a GitHub OAuth token when fetching composer dependencies
5+
# to avoid IP-based API throttling.
6+
#
7+
# It also allows publication of artifacts via an additional build.
8+
#
19
language: php
210

311
php:
@@ -6,16 +14,19 @@ php:
614
- 5.4
715
- 5.5
816

9-
matrix:
10-
# Use PHP 5.4 for coverage reporting.
11-
include:
12-
- php: 5.4
13-
env:
14-
- secure: "kD7mbt9ErHh97EXgBGzVmDDMZfwZ75tN8LrIlTWolcKWhsOw66SUnlXGqa1/\ncjNMk1iK6YRrc7MYW2L5Z8EyMZjERwusTxiGQWYZlWSsQNrzk8Z5JXFD8a0u\nIJYHMCbQPYnWxyAiaBSh/5QhM5dGD9r+EP1NVNvjlDEpQm78OxM="
17+
env:
18+
global:
19+
- ARCHER_PUBLISH_VERSION=5.4
20+
- secure: "bsW+y6xirKrqXRkj6f9EjresV6KznYAOwlvfIxrghfOviLgM5f58dMElij2EQ5ehGtWWwhhHBnHhuDkrWV2pNNDl2jXisKf9Zx1qA30tOTDNLwEpi6FCYjel00NZTj/stLZFDxX5atubnOjIFPv/Xkn03X0vdh+x5mPFwkurkFM="
21+
22+
before_install:
23+
- ./.travis.before-install
24+
install:
25+
- composer install --dev --prefer-dist --no-interaction
26+
script:
27+
- ./vendor/bin/archer travis:build
1528

29+
matrix:
1630
# PHP 5.5 is still in alpha, so ignore build failures.
1731
allow_failures:
1832
- php: 5.5
19-
20-
install: composer install --dev --prefer-source
21-
script: ./vendor/bin/travis-build

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Typhax changelog
2+
3+
### 0.9.1
4+
5+
* Implemented icecave/archer integration
6+
* General maintenance tasks (minor documentation updates, copyright year bump etc.)
7+
8+
### 0.9.0
9+
10+
* Removed icecave/visita integration

Diff for: CONTRIBUTING.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
**Typhax** is open source software; contributions from the community are
4+
encouraged. Please take a moment to read these guidelines before submitting
5+
changes.
6+
7+
### Code style
8+
9+
All PHP code must adhere to the
10+
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
11+
standards.
12+
13+
### Branching and pull requests
14+
15+
As a guideline, please follow this process:
16+
17+
1. [Fork the repository](https://help.github.com/articles/fork-a-repo).
18+
2. Create a topic branch for the change:
19+
* New features should branch from **develop**.
20+
* Bug fixes to existing versions should branch from **master**.
21+
* Please ensure the branch is clearly labelled as a feature or fix.
22+
3. Make the relevant changes.
23+
4. [Squash](http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages)
24+
commits if necessary.
25+
4. Submit a pull request to the **develop** branch.
26+
27+
Please note this is a general guideline only. For more information on the
28+
branching structure please see the
29+
[git-flow cheatsheet](http://danielkummer.github.com/git-flow-cheatsheet/).

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2012 Erin Millard
1+
Copyright © 2013 Erin Millard
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22

33
*A flexible PHP type hinting syntax.*
44

5-
[![Build status](https://secure.travis-ci.org/eloquent/typhax.png)](http://travis-ci.org/eloquent/typhax)
6-
[![Test coverage](http://eloquent.github.com/typhax/coverage-report/coverage.png)](http://eloquent.github.com/typhax/coverage-report/index.html)
5+
[![Build status](https://raw.github.com/eloquent/typhax/gh-pages/artifacts/images/icecave/regular/build-status.png)](http://travis-ci.org/eloquent/typhax)
6+
[![Test coverage](https://raw.github.com/eloquent/typhax/gh-pages/artifacts/images/icecave/regular/coverage.png)](http://eloquent.github.com/typhax/artifacts/tests/coverage)
7+
8+
## Installation
9+
10+
Available as [Composer](http://getcomposer.org/) package
11+
[eloquent/typhax](https://packagist.org/packages/eloquent/typhax).
712

813
## What is Typhax?
914

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"eloquent/cosmos": "~2"
1818
},
1919
"require-dev": {
20-
"icecave/testing": "~1"
20+
"icecave/archer": "dev-release/0.1.0"
2121
},
2222
"autoload": {
2323
"psr-0": {

Diff for: composer.lock

+115-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/Eloquent/Typhax/Comparator/TypeEquivalenceComparator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the Typhax package.
55
*
6-
* Copyright © 2012 Erin Millard
6+
* Copyright © 2013 Erin Millard
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

Diff for: src/Eloquent/Typhax/Comparator/TypeEquivalenceComparatorVisitor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the Typhax package.
55
*
6-
* Copyright © 2012 Erin Millard
6+
* Copyright © 2013 Erin Millard
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

Diff for: src/Eloquent/Typhax/Lexer/Lexer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the Typhax package.
55
*
6-
* Copyright © 2012 Erin Millard
6+
* Copyright © 2013 Erin Millard
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

Diff for: src/Eloquent/Typhax/Lexer/Token.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the Typhax package.
55
*
6-
* Copyright © 2012 Erin Millard
6+
* Copyright © 2013 Erin Millard
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

Diff for: src/Eloquent/Typhax/Parser/Exception/ParseException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the Typhax package.
55
*
6-
* Copyright © 2012 Erin Millard
6+
* Copyright © 2013 Erin Millard
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)