Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Depend on PHPUnit for development In order to run the unit tests, PHPUnit is a hard dev dependency, so I've included it in this commit, and now I can run the unit tests as part of this PR. * Depend on PHPStan for development This is for willdurand#89 - to ensure correct type hints are provided to developers who use IDEs. * Fix object model of AcceptHeader interface Fixes willdurand#89 - IDEs and PHPStan are happy with this implementation * Correct return type * Correct nonexistent Priority class to AcceptHeader * Improve typehint - allow looser type to be returned * Improve typehint - more accurate types as parameters * Improve typehint - more accurate generics as parameters * Expose script property - was only ever written * Properly typehint associative array * Typehint nullable string * Match typehints of parent method * Add PHPStan to CI * Configure PHPUnit versions for different PHP runtimes * Use real phpunit
- Loading branch information