-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add composer-in-php7-mode to HHVM test suite
Summary: 99.09% pass, a few more symfony-passing-things-that-aren't-strings problems similar to the SplFileInfo/dirname one though. refs #7869 Depends on D5196198 Reviewed By: mofarrell Differential Revision: D5202473 fbshipit-source-id: e4e266c68075c83588771442f3aa7904d308d00b
- Loading branch information
1 parent
621e040
commit 733351f
Showing
4 changed files
with
2,112 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
hphp/test/frameworks/framework_class_overrides/Composer_PHP7.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,10 @@ | ||
<?hh | ||
require_once __DIR__.'/../Framework.php'; | ||
|
||
class Composer_PHP7 extends Framework { | ||
public function __construct(string $name) { | ||
$tc = get_runtime_build().' -c '.__DIR__.'/../php7.ini'. | ||
' vendor/bin/phpunit'; | ||
parent::__construct($name, $tc); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[date] | ||
date.timezone = America/Los_Angeles | ||
|
||
[php] | ||
error_reporting = E_ALL & ~E_NOTICE | ||
|
||
[hhvm] | ||
hhvm.jit = false | ||
hhvm.jit_a_size = 10485760 | ||
hhvm.jit_a_cold_size = 4194304 | ||
hhvm.jit_a_frozen_size = 6291456 | ||
hhvm.jit_global_data_size = 2097152 | ||
hhvm.enable_zend_compat = true | ||
hhvm.mysql.read_timeout = 5000 | ||
hhvm.error_handling.notice_frequency = 1 | ||
hhvm.error_handling.warning_frequency = 1 | ||
hhvm.http.slow_query_threshold = 0 | ||
hhvm.resource_limit.serialization_size_limit = 134217728 | ||
hhvm.libxml.ext_entity_whitelist = "file" | ||
hhvm.php7.all=1 | ||
; We run the typechecker in our CI systems anyway; running it usually isn't | ||
; a good idea if you have a full framework_downloads/ directory. | ||
hhvm.hack.lang.auto_typecheck = 0 |
Oops, something went wrong.