Skip to content

Commit

Permalink
Merge pull request #1 from hellowearemito/3.x
Browse files Browse the repository at this point in the history
3.x
  • Loading branch information
albertborsos authored Sep 5, 2022
2 parents 41f1fcc + e7798a7 commit 53624f7
Show file tree
Hide file tree
Showing 94 changed files with 3,371 additions and 4,252 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
53 changes: 53 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
on:
- pull_request
- push

name: build

jobs:
tests:
name: PHP ${{ matrix.php }}-coding-standards

runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- ubuntu-latest

php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
- "7.4"

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

- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, intl, redis
ini-values: date.timezone='UTC'
tools: composer:v2, pecl

- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache Composer dependencies
uses: actions/[email protected]
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies with Composer
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Run tests with PhpUnit
run: vendor/bin/phpunit $PHPUNIT_FLAGS
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.idea
vendor
composer.phar
/_coverage
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ test:
- docker
script:
- ./vendor/bin/phpunit

31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

139 changes: 0 additions & 139 deletions Application/Sniffs/ControlStructures/ControlStructureSpacingSniff.php

This file was deleted.

Loading

0 comments on commit 53624f7

Please sign in to comment.