Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 1.56 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.56 KB

Performance Extension License Version Build status on Linux Scrutinizer Quality Score

Suitable for PHP 5.6 only!

The simplest Behat extension you've ever used!

Accelerates Behat using features available only for newer PHP versions. Up to 10% faster in real-world applications.

Usage

  1. Install it:

    $ composer require friends-of-behat/performance-extension --dev
  2. Enable it in your Behat configuration:

    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\PerformanceExtension: ~
  3. Boom! 💥 Your Behat runs faster now!

What's inside?

Right now, it's just call_user_func_array($callable, $arguments) replaced with $callable(...$arguments).