first commit
This commit is contained in:
7
vendor/hamcrest/hamcrest-php/generator/parts/file_header.txt
vendored
Normal file
7
vendor/hamcrest/hamcrest-php/generator/parts/file_header.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
Copyright (c) 2009-2010 hamcrest.org
|
||||
*/
|
||||
|
||||
// This file is generated from the static method @factory doctags.
|
0
vendor/hamcrest/hamcrest-php/generator/parts/functions_footer.txt
vendored
Normal file
0
vendor/hamcrest/hamcrest-php/generator/parts/functions_footer.txt
vendored
Normal file
24
vendor/hamcrest/hamcrest-php/generator/parts/functions_header.txt
vendored
Normal file
24
vendor/hamcrest/hamcrest-php/generator/parts/functions_header.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
if (!function_exists('assertThat')) {
|
||||
/**
|
||||
* Make an assertion and throw {@link Hamcrest_AssertionError} if it fails.
|
||||
*
|
||||
* Example:
|
||||
* <pre>
|
||||
* //With an identifier
|
||||
* assertThat("assertion identifier", $apple->flavour(), equalTo("tasty"));
|
||||
* //Without an identifier
|
||||
* assertThat($apple->flavour(), equalTo("tasty"));
|
||||
* //Evaluating a boolean expression
|
||||
* assertThat("some error", $a > $b);
|
||||
* </pre>
|
||||
*/
|
||||
function assertThat()
|
||||
{
|
||||
$args = func_get_args();
|
||||
call_user_func_array(
|
||||
array('Hamcrest\MatcherAssert', 'assertThat'),
|
||||
$args
|
||||
);
|
||||
}
|
||||
}
|
0
vendor/hamcrest/hamcrest-php/generator/parts/functions_imports.txt
vendored
Normal file
0
vendor/hamcrest/hamcrest-php/generator/parts/functions_imports.txt
vendored
Normal file
1
vendor/hamcrest/hamcrest-php/generator/parts/matchers_footer.txt
vendored
Normal file
1
vendor/hamcrest/hamcrest-php/generator/parts/matchers_footer.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
}
|
7
vendor/hamcrest/hamcrest-php/generator/parts/matchers_header.txt
vendored
Normal file
7
vendor/hamcrest/hamcrest-php/generator/parts/matchers_header.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* A series of static factories for all hamcrest matchers.
|
||||
*/
|
||||
class Matchers
|
||||
{
|
2
vendor/hamcrest/hamcrest-php/generator/parts/matchers_imports.txt
vendored
Normal file
2
vendor/hamcrest/hamcrest-php/generator/parts/matchers_imports.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
namespace Hamcrest;
|
Reference in New Issue
Block a user