Skip to content

Feature/guzzle 6#4

Open
klobermajer wants to merge 26 commits intomasterfrom
feature/guzzle-6
Open

Feature/guzzle 6#4
klobermajer wants to merge 26 commits intomasterfrom
feature/guzzle-6

Conversation

@klobermajer
Copy link
Copy Markdown
Collaborator

No description provided.

cdaguerre and others added 25 commits May 11, 2016 23:11
Updates the usage of the mock API. PHPUnit 5 is the current stable
release so upgrading this will ensure a bigger life time to the
test suite. The constraint on `composer.json` still uses 4.8 as version
as it is still compatible with PHP 5.3, the intention is to tag a 1.0
version of this package with PHP 5.3 compatibility to later drop it.

Creates scripts to ease tests during development and continuous
integration. Bootstrapping can be done completely via Composer and
PHPUnit configuration.

Configures a [build matrix][1] for Travis:

* Favor an environment variable to disable TLS.
* Mark non maintained PHP versions as allowed failures.
* Favor composer scripts instead of commands.
* Only send coverage after a success.

There are still problems needing fixes regarding the test suite, they
need to be addressed separately as they will cause bigger conflicts while
merging this code with other (pending) contributions:

* Some test cases without the suffix `Test.php` are not being executed.
* Avoid exclusion of functional tests.
* Separate test cases directory from concrete classes being used.

[1]: https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
No tests in this suite were executed, anyway. We can always recover them
from the version control system, but maybe we will never do that since
unit tests are way better.

In order to have functional tests, one would still need to solve the
issue of authentication. Providing a token for continuous integration
would expose that token to anyone, which is not cool even if the user is
just intended for that.
Without the suffix "Test.php" in the file names, they were being
ignored. Some fixes and cleanup were made but the majority of the tests
do not rely on real responses from the Trello API, which needs to be
fixed on a next occasion - therefore the @todos added.
…data

Fix cdaguerre#50 - Json decode data from webhook callback.
* Guzzle 7

* Guzzle 7

* Revert "Guzzle 7"

This reverts commit 7ea092e

* Revert "Guzzle 7"

This reverts commit f1b2cd9

* Revert "Revert "Guzzle 7""

This reverts commit 2c79b42

* Revert "Revert "Guzzle 7""

This reverts commit ac07e58

* Guzzle 5.3

* Solving some problems

* Solving some problems

* changes in http request

* v1

* v1.0.1

* v1.0.1

* v1.0.1
…iddleware-fix

authentication middleware fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants