Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Fix for PHP 7.3: "continue" targeting switch is equivalent to "break"… #45

Merged
merged 3 commits into from
Oct 15, 2018
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
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ matrix:
- php: 7.2
env:
- DEPS=latest
- php: 7.3
env:
- DEPS=lowest
- php: 7.3
env:
- DEPS=locked
- php: 7.3
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#45](https://github.com/zendframework/zend-file/pull/45) fixes compatibility
issue with php 7.3 with deprecated continue keyword usage in switch statements

## 2.8.1 - 2018-05-01

Expand Down
2 changes: 1 addition & 1 deletion src/Transfer/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public function setOptions($options = [], $files = null)
break;

default:
continue;
break;
}
}
}
Expand Down