Skip to content

Commit

Permalink
updating copyright, phpunit -> 7, dcarbone/gotime -> 0.2, adding 7.2 to
Browse files Browse the repository at this point in the history
travis tests.
  • Loading branch information
dcarbone committed Feb 26, 2018
1 parent 28d6bb6 commit 033983c
Show file tree
Hide file tree
Showing 156 changed files with 161 additions and 161 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
language: php

dist: trusty

sudo: false

php:
- 7.0
- 7.1
- 7.2

env:
global:
- CONSUL_HTTP_ADDR="127.0.0.1:8500"

before_install: phpenv config-add ./tests/php.ini

install:
- mkdir -p $HOME/bin
- export PATH="$HOME/bin:$PATH"
- wget "https://releases.hashicorp.com/consul/1.0.1/consul_1.0.1_linux_amd64.zip"
- unzip consul_1.0.1_linux_amd64.zip -d $HOME/bin
- wget "https://releases.hashicorp.com/consul/1.0.6/consul_1.0.6_linux_amd64.zip"
- unzip consul_1.0.6_linux_amd64.zip -d $HOME/bin
- chmod +x $HOME/bin/consul
- composer install --no-interaction --no-progress --no-suggest --optimize-autoloader

before_script: phpenv config-add ./tests/php.ini

script:
- ./vendor/bin/phpunit -c phpunit.xml
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^6.0"
"phpunit/phpunit": "@stable"
},
"autoload-dev": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/ACL/ACLClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\ACL;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/ACL/ACLEntry.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\ACL;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/ACL/ACLReplicationStatus.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\ACL;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/AbstractClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/AbstractModel.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/AbstractModels.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentCheck.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentCheckRegistration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentCheckUpdate.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentMember.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentService.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentServiceCheck.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/AgentServiceRegistration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/GaugeValue.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/MemberOpts.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/MetricsInfo.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/PointValue.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Agent/SampledValue.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Agent;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/CatalogClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/CatalogDeregistration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/CatalogNode.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/CatalogRegistration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/CatalogService.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Catalog/Node.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Catalog;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Consul.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/Coordinate.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/CoordinateClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/CoordinateConfig.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/CoordinateDatacenterMap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/CoordinateEntry.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/DimensionalityConflictException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate/funcs.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Coordinate;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/DateTime.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Error.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Event/EventClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI\Event;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Event/UserEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/HasSettableStringTags.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace DCarbone\PHPConsulAPI;

/*
Copyright 2016-2017 Daniel Carbone ([email protected])
Copyright 2016-2018 Daniel Carbone ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 033983c

Please sign in to comment.