Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
composer.lock
composer.phar
phpunit.xml
.phpunit.result.cache

.idea/
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
language: php

php:
- "5.3"
- "5.4"
- "5.5"
- "7.4"
- "8.0"

before_script:
- composer self-update
- composer --version
- composer install -n --dev --prefer-source

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
script: composer run lint:check && composer run test
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
```

The [Travis CI build](https://travis-ci.org/justinbusschau/php-govtalk) runs on PHP `5.3`, `5.4` and `5.5`.
The [Travis CI build](https://travis-ci.org/thebiggive/php-govtalk) runs on PHP 7.4 and 8.0.

* Commit the modifications to your own forked repo in your topic branch.
* Ensure your code is nicely formatted in the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
Expand All @@ -29,4 +29,4 @@
- The full name of the Composer Package
- The name of the maintainer of the package
* Comit the changes to your own forked repo.
* [Submit a pull request](https://help.github.com/articles/using-pull-requests).
* [Submit a pull request](https://help.github.com/articles/using-pull-requests).
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

**A library for applications which interface with the UK Government Gateway**

[![Build Status](https://travis-ci.org/JustinBusschau/php-govtalk.png?branch=master)](https://travis-ci.org/JustinBusschau/php-govtalk)
[![Latest Stable Version](https://poser.pugx.org/justinbusschau/php-govtalk/version.png)](https://packagist.org/packages/justinbusschau/php-govtalk)
[![Total Downloads](https://poser.pugx.org/justinbusschau/php-govtalk/d/total.png)](https://packagist.org/packages/justinbusschau/php-govtalk)
[![License](https://poser.pugx.org/justinbusschau/php-govtalk/license.svg)](https://packagist.org/packages/justinbusschau/php-govtalk)
[![Build Status](https://travis-ci.org/thebiggive/php-govtalk.png?branch=main)](https://travis-ci.org/thebiggive/php-govtalk)
[![Latest Stable Version](https://poser.pugx.org/thebiggive/php-govtalk/version.png)](https://packagist.org/packages/thebiggive/php-govtalk)
[![Total Downloads](https://poser.pugx.org/thebiggive/php-govtalk/d/total.png)](https://packagist.org/packages/thebiggive/php-govtalk)
[![License](https://poser.pugx.org/thebiggive/php-govtalk/license.svg)](https://packagist.org/packages/thebiggive/php-govtalk)

The GovTalk Message Envelope is a standard developed by the United Kingdom government as a means of encapsulating
a range of government XML services in a single standard data format.
Expand All @@ -22,7 +22,7 @@ it to your `composer.json` file:
```json
{
"require": {
"justinbusschau/php-govtalk": "0.*"
"thebiggive/php-govtalk": "^1.0"
}
}
```
Expand All @@ -40,4 +40,4 @@ Document Submission Protocol. The following libraries currently use / extend Gov

Library | Composer Package | Maintainer
--- | --- | ---
[HMRC Gif Aid](https://github.com/justinbusschau/hmrc-gift-aid) | justinbusschau/hmrc-gift-aid | [Justin Busschau](https://github.com/justinbusschau)
[HMRC Gift Aid](https://github.com/thebiggive/hmrc-gift-aid) | thebiggive/hmrc-gift-aid | [Noel Light-Hilary](https://github.com/noellh)
35 changes: 27 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "justinbusschau/php-govtalk",
"name": "thebiggive/php-govtalk",
"type": "library",
"description": "A library for applications which interface with the UK Government Gateway",
"homepage": "https://github.com/justinbusschau/php-govtalk",
"homepage": "https://github.com/thebiggive/php-govtalk",
"license": "GPLv3",
"authors": [
{
Expand All @@ -12,19 +12,38 @@
{
"name": "Justin Busschau",
"email": "justin.busschau@gmail.com"
},
{
"name": "Noel Light-Hilary",
"email": "noel@thebiggive.org.uk",
"homepage": "https://noellh.com/"
}
],
"autoload": {
"psr-4": { "GovTalk\\" : "src/" }
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.4.21"
},
"sort-packages": true
},
"require": {
"php": ">=5.3.2",
"guzzle/guzzle": "~3.1"
"php": "^7.4 | ^8.0",
"ext-curl": "*",
"ext-dom": "*",
"ext-xmlwriter": "*",
"guzzlehttp/guzzle": "^7.3.0",
"psr/log": "^1.1.4"
},
"require-dev": {
"guzzle/plugin-mock": "~3.1",
"mockery/mockery": "~0.8",
"phpunit/phpunit": "~3.7.16",
"squizlabs/php_codesniffer": "~1.4"
"phpunit/phpunit": "^9.5.7",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.6.0"
},
"scripts": {
"lint:check": "phpcs --standard=PSR2 src",
"test": "phpunit --coverage-text"
}
}
35 changes: 19 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true">
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="PHP GovTalk Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
</whitelist>
</filter>
</phpunit>
</phpunit>
Loading