Skip to content

Commit 8358a80

Browse files
committed
Merge branch 'release/v2.4.2' into 2.4
Merged hotfix commits in master till 434c364
2 parents b1a31ae + c6801da commit 8358a80

17 files changed

+127
-603
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ dist/
55
tests/Doctrine/Tests/Common/Proxy/generated/
66
vendor/
77
.idea
8+
composer.lock
89
doctrine-common-*.tar
910
doctrine-common-*.tar.gz

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ php:
55
- 5.3
66
- 5.4
77
- 5.5
8+
- hhvm
89

910
before_script:
10-
- composer --prefer-source install
11+
- composer --prefer-source install
12+
13+
script:
14+
- ./vendor/bin/phpunit
15+
16+
matrix:
17+
allow_failures:
18+
- php: hhvm

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ The Doctrine Common project is a library that provides extensions to core PHP fu
77
## More resources:
88

99
* [Website](http://www.doctrine-project.org)
10-
* [Documentation](http://www.doctrine-project.org/projects/common/current/docs/en)
10+
* [Documentation](http://docs.doctrine-project.org/projects/doctrine-common/en/latest/)
1111
* [Issue Tracker](http://www.doctrine-project.org/jira/browse/DCOM)
1212
* [Downloads](http://github.com/doctrine/common/downloads)

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"doctrine/lexer": "1.*",
2121
"doctrine/annotations": "1.*"
2222
},
23+
"minimum-stability": "dev",
24+
"require-dev": {
25+
"phpunit/phpunit": "~3.7"
26+
},
2327
"autoload": {
2428
"psr-0": { "Doctrine\\Common\\": "lib/" }
2529
},

composer.lock

Lines changed: 0 additions & 322 deletions
This file was deleted.

lib/Doctrine/Common/EventManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function removeEventListener($events, $listener)
127127
}
128128

129129
/**
130-
* Adds an EventSubscriber. The subscriber is asked for all the events he is
130+
* Adds an EventSubscriber. The subscriber is asked for all the events it is
131131
* interested in and added as a listener for these events.
132132
*
133133
* @param \Doctrine\Common\EventSubscriber $subscriber The subscriber.

lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ public function getAllClassNames()
228228
foreach ($this->excludePaths as $excludePath) {
229229
$exclude = str_replace('\\', '/', realpath($excludePath));
230230
$current = str_replace('\\', '/', $sourceFile);
231+
231232
if (strpos($current, $exclude) !== false) {
232233
continue 2;
233234
}

lib/Doctrine/Common/Persistence/ObjectManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
interface ObjectManager
3131
{
3232
/**
33-
* Finds a object by its identifier.
33+
* Finds an object by its identifier.
3434
*
3535
* This is just a convenient shortcut for getRepository($className)->find($id).
3636
*

0 commit comments

Comments
 (0)