Skip to content

issues Search Results · repo:hamcrest/hamcrest-php language:PHP

Filter by

34 results
 (59 ms)

34 results

inhamcrest/hamcrest-php (press backspace or delete to remove)

Right now it s easy to change original matcher classes but forget to run php generator/run.php script to regenerate Hamcrest.php file with global functions. Proposing to add a build step, that for each ...
  • aik099
  • Opened 
    17 days ago
  • #100

if ($node instanceof \DOMDocument) { $xpathDocument = new \DOMXPath($node); return $xpathDocument- evaluate($this- _xpath); } else { $xpathDocument ...
  • pscheit
  • Opened 
    22 days ago
  • #99

private function _stripSpace(string $string): string { $parts = preg_split( /[\r\n\t ]+/ , $string); foreach ($parts as $i = $part) { $parts[$i] = trim($part, \r\n\t ...
  • pscheit
  • Opened 
    22 days ago
  • #98

protected function featureValueOf($actual) { if (method_exists($actual, toString )) { return $actual- toString(); } return (string) $actual; } This error ...
  • pscheit
  • Opened 
    22 days ago
  • #97

private function _isMatched($item): bool { $this- _nextMatchKey = array_shift($this- _keys); $nextMatcher = array_shift($this- _elementMatchers); if (!$nextMatcher- matches($item)) ...
  • pscheit
  • Opened 
    22 days ago
  • #96

In the https://github.com/hamcrest/hamcrest-php/pull/93 we ve discovered, that some class/method comments could be not in sync with Java libarary version. Need to double check and make necessary corrections. ...
  • aik099
  • Opened 
    on Jun 27
  • #95

The recommended way to use the assertion functions is by calling the static methods of Hamcrest_MatcherAssert and Hamcrest_Matchers. For people that would like to use standalone functions, there is the ...
  • kostislav
  • 1
  • Opened 
    on Feb 12, 2023
  • #80

Steps to reproduce: $ php -dxdebug.mode=coverage ./vendor/phpunit/phpunit/phpunit Testing started at 21:32 ... PHP Fatal error: Declaration of Hamcrest\Core\CombinableMatcherTest::setUp() must be compatible ...
  • LocalHeroPro
  • 6
  • Opened 
    on Oct 10, 2022
  • #79

Hello, We are attempting to upgrade our project to PHP8, and this error was surfaced by PHPCodesniffer and PHPCompatibility checker against PHP 8. Do you have any more information about this error? FILE: ...
  • alexrivadeneira
  • 8
  • Opened 
    on Oct 7, 2022
  • #78

Would it be possible to add FileMatchers?
  • vasekbrychta
  • 4
  • Opened 
    on Aug 1, 2021
  • #71
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub