Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions 31 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
- pull_request
- push

name: CI

jobs:
run:
name: Tests

strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']

runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Install dependencies with composer
run: composer install

- name: Run tests
run: ./vendor/bin/phpunit
23 changes: 0 additions & 23 deletions 23 .travis.yml

This file was deleted.

5 changes: 4 additions & 1 deletion 5 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
"homepage": "http://github.com/henderjon"
}
],
"require": {
"php" : ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.1"
"phpunit/phpunit": "~4.8|~9"
},
"autoload" : {
"files": ["src/array.php"]
Expand Down
3 changes: 1 addition & 2 deletions 3 test/ArrayFunctionsTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

class ArrayFunctionsTest extends PHPUnit_Framework_TestCase {
class ArrayFunctionsTest extends \PHPUnit\Framework\TestCase {

public function testArrayFlatten() {
$this->assertEquals(
Expand Down Expand Up @@ -53,4 +53,3 @@ public function testArrayKeyRefill() {


}

Morty Proxy This is a proxified and sanitized view of the page, visit original site.