Skip to content

#65 Drop support of old PHP versions #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 17, 2019
Merged
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
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ cache:

matrix:
include:
- php: 5.4
env: check_cs=true
- php: 5.5
- php: 5.6
env: deps=low coverage=true
- php: 5.6
env: deps=high coverage=true
- php: 7.0
- php: 7.1
env: deps=low coverage=true
- php: 7.2
env: check_cs=true
- php: 7.3

env:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.4.0",
"php": ">=7.1.0",
"composer-plugin-api": "^1.0 || ^1.1"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/ChangelogsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function autoloadNeededClasses()
{
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator(__DIR__, \FilesystemIterator::SKIP_DOTS)) as $file) {
if ('.php' === substr($file, 0, -4)) {
class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__), -4)));
class_exists(__NAMESPACE__ . str_replace('/', '\\', substr($file, \strlen(__DIR__), -4)));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function isDev()

/**
* Return the version string for CLI Output
* In cas of dev version is adds the vcs hash
* In case of dev version it adds the vcs hash.
*
* @return string
*/
Expand Down