Skip to content

Commit

Permalink
refactor: 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Oct 25, 2023
1 parent ab170a6 commit 61275e4
Show file tree
Hide file tree
Showing 150 changed files with 4,028 additions and 5,551 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI Workflow
on:
push:
branches: [ master, '4.0' ]
pull_request:
branches: [ master, '4.0' ]

jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
php:
- 8.2
- 8.3
steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Check types
run: vendor/bin/phpstan analyse

- name: Run test suite
run: vendor/bin/pest --coverage --coverage-clover=coverage.xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/.idea
vendor
composer.lock
vendor/
composer.lock
.php-cs-fixer.cache
16 changes: 16 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
;

return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'global_namespace_import' => [
'import_functions' => true,
'import_constants' => true,
],
])
->setFinder($finder)
;
38 changes: 0 additions & 38 deletions .scrutinizer.yml

This file was deleted.

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

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Benoit POLASZEK
Copyright (c) 2016-2023 Beno!t POLASZEK

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
Loading

0 comments on commit 61275e4

Please sign in to comment.