ReenExe
c6675b0ce3
use ternary
2016-07-02 22:42:46 +03:00
ReenExe
db6c593463
clear code
2016-07-02 22:37:12 +03:00
ReenExe
347d1625bc
merge conditions
2016-07-02 22:33:23 +03:00
ReenExe
16cddd4693
claar code from Scrutinizer
2016-07-02 22:13:06 +03:00
Marco Pivetta
ffd1465af2
Merge pull request #5910 from ReenExeContributor/clear-code
...
Code cleanups: early return/internal function usage
2016-07-01 01:05:16 +02:00
ReenExe
8eef0beacb
clear code
2016-07-01 01:20:52 +03:00
ReenExe
015ec444c5
use PHP common functions
2016-07-01 01:17:25 +03:00
Marco Pivetta
32ea9112fa
Merge pull request #5898 from radmax/patch-1
...
Typo
2016-06-30 15:08:18 +02:00
Marco Pivetta
b55ef58025
Merge pull request #5902 from holtkamp/patch-1
...
Fixed typo (serves => servers)
2016-06-26 09:15:21 +02:00
Menno Holtkamp
a3e9529c02
Fixed typo (serves => servers)
2016-06-25 17:29:04 +02:00
radmax
2ab752bfc3
typo
2016-06-22 17:06:16 +02:00
Michal Zuber
7ef3e3a60c
Check for Xcache from INI setting
...
On a shared webhosting the Xcache module is loaded, but it can be disabled with .htaccess `php_flag xcache.cacher Off` which causes issues.
2016-06-22 08:50:36 +02:00
Marco Pivetta
04b48ae12b
Merge pull request #5892 from BreiteSeite/5882-documentation
...
#5882 recommend using latest stable PHP version in the getting started guide
2016-06-20 22:10:15 +02:00
Michael Kühn
58d8b86bd5
#5882 recommend using latest stable PHP version in the getting started guide
2016-06-20 21:17:36 +02:00
Marco Pivetta
8237760c1b
Merge pull request #5891 from Chrisp1tv/master
...
Fix typo in PHPDoc block of QueryBuilder.php
2016-06-20 15:11:54 +02:00
Christopher Anciaux
76badc296a
Fix typo in PHPDoc block of QueryBuilder.php
2016-06-20 14:20:36 +02:00
Marco Pivetta
1162440d55
Merge pull request #5837 from foaly-nr1/patch-1
...
Use constant consistently
2016-06-19 19:41:37 +02:00
Marco Pivetta
8c49ba6128
Merge pull request #5886 from gadelat/remove-unused-variables
...
removed some unused variables
2016-06-19 18:35:24 +02:00
Gabriel Potkány
56a6505294
removed some unused variables
2016-06-19 14:46:02 +02:00
Marco Pivetta
3dfc180720
Merge branch 'fix/#5867-allow-embeddable-usage-in-inheritance'
...
Close #5867
Close #4097
Close #4277
2016-06-19 12:44:37 +02:00
Marco Pivetta
18e3cb4440
#5867 @group
annotations, describing scenario
2016-06-19 12:44:19 +02:00
Marco Pivetta
aa8cf7bae9
#5867 simplifying test case by inlining all required models into the test case
2016-06-19 12:42:49 +02:00
Luís Cobucci
27f3bc1e2c
Allow the usage of embedded objects on parent classes.
...
The `ClassMetadataInfo` was always using the "current class" to
fetch the reflection of a property even when a field is declared
on the parent class (which causes `ReflectionProperty` to throw
an exception).
2016-06-19 12:35:57 +02:00
Marco Pivetta
b59b966cc2
Merge pull request #5884 from doctrine/cleanup/drop-php-5.5-support
...
Drop PHP 5.5 support
2016-06-19 09:37:40 +02:00
Marco Pivetta
a9bca86d4d
Merge pull request #5885 from doctrine/fix/proxy-failure-fixes
...
Partially reverting #5860 due to type juggling horrors
2016-06-19 09:37:25 +02:00
Marco Pivetta
d00069e38b
Reverting 741da7806c5d01796e243de9a122590151cb0c90, which was causing issues due to loose type checking
...
See this example on why the revert is needed: https://3v4l.org/8T34v
Code copied for reference:
```php
<?php
$a = 1;
switch ($a) {
case "1";
echo "FUCK YOU, STUPID LANGUAGE!";
break;
case 1;
echo __LINE__;
break;
}
```
2016-06-19 09:28:12 +02:00
Marco Pivetta
e409c10209
Requiring at least PHP 5.6 as minimum installed PHP version
2016-06-19 08:51:48 +02:00
Marco Pivetta
1610d916a4
Stop testing against PHP 5.5
2016-06-19 08:51:24 +02:00
Marco Pivetta
765e102d01
Merge pull request #5856 from doctrine/fix/#5854-default-query-cache-test-using-wrong-reflection-instance
...
#5854 workaround to avoid populating Second Level Cache from DQL queries with multiple nested DQL aliases
2016-06-19 08:48:38 +02:00
Marco Pivetta
ed7f658437
Testing against PHP nightly, but allowing it to fail
2016-06-19 08:41:00 +02:00
Marco Pivetta
659f6a3864
Merge pull request #5883 from sebastianbergmann/phpunit-5.4
...
Make test suite compatible with PHPUnit 5.4.
2016-06-18 16:44:00 +02:00
Sebastian Bergmann
9da83cfae8
Make test suite compatible with PHPUnit 5.4.
...
* Use createMock() and getMockBuilder() instead of getMock()
* Use expectException() and expectExceptionMessage() instead of setExpectedException()
2016-06-18 13:01:59 +02:00
FabioBatSilva
163dac4a91
#5854 - Fix SLC queries with multiple nested DQL aliases
2016-06-17 00:11:18 -04:00
Marco Pivetta
c834ccf3fa
#5854 added PHP 7.1 to the build matrix
2016-06-16 23:00:59 -04:00
Marco Pivetta
be090e2f75
#5854 removing failure caused by a ReflectionProperty
being instantiated against the wrong class name in a test
2016-06-16 23:00:59 -04:00
Marco Pivetta
288e3191ce
#5854 - simple workaround to avoid populating SLC cache from DQL queries with multiple nested DQL aliases
2016-06-16 23:00:59 -04:00
Marco Pivetta
d3f6c5ec70
Merge pull request #5873 from vudaltsov/patch-1
...
Update query-builder.rst
2016-06-14 04:39:57 +02:00
Valentin Udaltsov
6ac7480df4
Update query-builder.rst
...
Removed one brace
2016-06-14 04:32:20 +03:00
Marco Pivetta
81fe6a82b3
Merge branch 'fix/#5858-yaml-exporter-should-only-introspect-join-column-on-owning-association-side'
...
Close #5858
2016-06-08 13:33:43 +02:00
Thomas Ploch
ea788fb734
Exporters should only inspect joinColumns
for owning side in bi-directional OneToOne
...
rebased commits:
- Added test case for bi-directional OneToOne in YamlExporter
- Only inspect joinColumns for owning side in bi-directional OneToOne in YamlExporter
- Adding bi-directional test case without joinColumn to XmlExporter test
- Same testcase also applied to PhpExporter
- Fixing bi-directional issue in PhpExporter when inspecting joinColumns index
- Implemented @Ocramius suggestions
2016-06-08 13:24:43 +02:00
Marco Pivetta
7e4106d47c
Merge pull request #5860 from peter-gribanov/master
...
Removed hacky switch/case, migrated to if/else and early return statements
2016-06-08 12:39:03 +02:00
Marco Pivetta
9b902263d5
Merge pull request #5863 from tPl0ch/feature-drop-54
...
Remove EOL PHP 5.4 from `.travis.yml` and `composer.json` - Fixes #5862
2016-06-08 12:36:21 +02:00
Thomas Ploch
650d49ee81
Tightened PHP version constraint in composer.json
2016-06-08 12:19:31 +02:00
Thomas Ploch
68b0060595
Fixing PHP version constraint in composer.json
2016-06-08 12:11:11 +02:00
Thomas Ploch
649ff94b38
Remove EOL PHP 5.4 from .travis.yml - Fixes #5862
2016-06-08 12:08:50 +02:00
Peter Gribanov
fa7799cec1
return check EventManager
2016-06-08 12:24:41 +03:00
Peter Gribanov
c0a87597fa
correct code style
2016-06-08 11:47:09 +03:00
Peter Gribanov
0b5b7190d7
not check EventManager
2016-06-08 11:29:43 +03:00
Peter Gribanov
fadd0a338f
add createConnection static method
2016-06-08 10:58:44 +03:00
Peter Gribanov
741da7806c
change switch/case to if/else
2016-06-08 10:29:39 +03:00