Skip to content

Commit 1164d07

Browse files
committed
Increase minimum versions for underlying dependencies.
1 parent c8a67d3 commit 1164d07

6 files changed

Lines changed: 15 additions & 21 deletions

File tree

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ language: php
33
sudo: false
44

55
php:
6-
- 5.6
6+
- 7.2
77

88
# Environment Variables to set
99
env:
1010
global:
1111
# Contains a $GITHUB_TOKEN env var for use with composer to avoid API limits.
1212
- secure: "JPIIdecDmF2AsgH3b5QWYzr2TunB4tpIBl0/64EGsWZ+5A85Co3NN+eSshgWI5vOjaaJji/S2rKwMRvV9h/YceTL/UH5D2xd/HobRpHAaJSyjp5cplQawokzR/+PrikjmbwTZdeiIaHpUMCqbQvV2+Jq+Vx5vD28+hya1yTdQsk="
1313

14-
1514
# Cache the composer directories, only allowed if using the container based setup
1615
# which depends on setting sudo to false
1716
cache:
@@ -29,8 +28,7 @@ before_install:
2928
- mkdir -p build/logs
3029

3130
install:
32-
- composer config -g github-oauth.github.com $GITHUB_TOKEN
33-
- composer install --no-interaction
31+
- composer install --dev --no-interaction
3432

3533
before_script:
3634
- phpenv rehash
@@ -40,8 +38,8 @@ script:
4038
- vendor/bin/phpcs -np --extensions=php --standard=Loadsys ./src ./tests
4139
- vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
4240

43-
after_script:
44-
- php vendor/bin/coveralls -v
41+
after_success:
42+
- travis_retry php vendor/bin/php-coveralls -v
4543

4644
notifications:
4745
email: false

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22

3-
Copyright (c) 2015 Loadsys Web Strategies
3+
Copyright (c) 2018 Loadsys Web Strategies
44

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ A CakePHP plugin that provides a Shell to read an app's Configure vars from the
1515

1616
## Requirements
1717

18-
* CakePHP 3.1.0+
19-
* PHP 5.6+
18+
* PHP 7.0+
19+
* CakePHP 3.6.0+
2020

2121

2222
## Installation
@@ -143,4 +143,4 @@ When developing this plugin, please fork and issue a PR for any new development.
143143

144144
## Copyright
145145

146-
[Loadsys Web Strategies](http://www.loadsys.com) 2016
146+
[Loadsys Web Strategies](http://www.loadsys.com) 2018

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
"source": "https://github.com/loadsys/CakePHP-ConfigReadShell"
2121
},
2222
"require": {
23-
"php": ">=5.4",
24-
"cakephp/cakephp": "~3.1",
23+
"php": ">=7.0",
24+
"cakephp/cakephp": "^3.6",
2525
"composer/installers": "~1.0"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "~4.1",
28+
"phpunit/phpunit": "~6.0",
2929
"loadsys/loadsys_codesniffer": "dev-master",
30-
"satooshi/php-coveralls": "dev-master"
30+
"php-coveralls/php-coveralls": "^2.0"
3131
},
3232
"autoload": {
3333
"psr-4": {

phpunit.xml.dist

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@
1717

1818
<!-- Prevent coverage reports from looking in tests and vendors -->
1919
<filter>
20-
<blacklist>
21-
<directory suffix=".php">./vendor/</directory>
22-
<directory suffix=".ctp">./vendor/</directory>
23-
24-
<directory suffix=".php">./tests/</directory>
25-
<directory suffix=".ctp">./tests/</directory>
26-
</blacklist>
20+
<whitelist>
21+
<directory suffix=".php">./src/</directory>
22+
</whitelist>
2723
</filter>
2824

2925
</phpunit>

tests/Fixture/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)