Skip to content

Commit 466d07d

Browse files
Merge pull request #72 from laminas/1.1.x-merge-up-into-1.2.x_5f5f7ccc483ad2.73156038
Merge release 1.1.1 into 1.2.x Signed-Off-By: Matthew Weier O'Phinney <matthew@weierophinney.net>
2 parents 646581b + aeab008 commit 466d07d

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ All notable changes to this project will be documented in this file, in reverse
2424

2525
- Nothing.
2626

27+
## 1.1.1 - 2020-09-14
28+
29+
### Fixed
30+
31+
- [#71](https://github.com/laminas/laminas-zendframework-bridge/pull/71) fixes detection of the vendor directory when the `COMPOSER_VENDOR_DIR` env variable is missing or empty. Previously, this could lead to scenarios where a non-existent path was used for finding the bridge autoloader.
32+
33+
-----
34+
35+
### Release Notes for [1.1.1](https://github.com/laminas/laminas-zendframework-bridge/milestone/5)
36+
37+
- Total issues resolved: **0**
38+
- Total pull requests resolved: **1**
39+
- Total contributors: **1**
40+
41+
#### Bug
42+
43+
- [71: Verify `COMPOSER&#95;VENDOR&#95;DIR` in conditional](https://github.com/laminas/laminas-zendframework-bridge/pull/71) thanks to @aaronbushnell
44+
2745
## 1.1.0 - 2020-08-18
2846

2947
### Added

src/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function load()
6666
*/
6767
private static function getClassLoader()
6868
{
69-
if (file_exists(getenv('COMPOSER_VENDOR_DIR') . '/autoload.php')) {
69+
if (getenv('COMPOSER_VENDOR_DIR') && file_exists(getenv('COMPOSER_VENDOR_DIR') . '/autoload.php')) {
7070
return include getenv('COMPOSER_VENDOR_DIR') . '/autoload.php';
7171
}
7272

0 commit comments

Comments
 (0)