Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.1: [ClassLoader] Fix ClassCollectionLoader inlining with __halt_compiler [Form] Fix tests to use FQCN
- Loading branch information
Showing
7 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/WithDirMagic.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
/* | ||
* foo | ||
*/ | ||
|
||
namespace Namespaced; | ||
|
||
class WithDirMagic | ||
{ | ||
public function getDir() | ||
{ | ||
return __DIR__; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/WithFileMagic.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
/* | ||
* foo | ||
*/ | ||
|
||
namespace Namespaced; | ||
|
||
class WithFileMagic | ||
{ | ||
public function getFile() | ||
{ | ||
return __FILE__; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/WithHaltCompiler.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
/* | ||
* foo | ||
*/ | ||
|
||
namespace Namespaced; | ||
|
||
class WithHaltCompiler | ||
{ | ||
} | ||
|
||
// the end of the script execution | ||
__halt_compiler(); data | ||
data | ||
data | ||
data | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters