Skip to content

Commit

Permalink
Merge pull request #1 from evosys21/feature/rebrand.v1
Browse files Browse the repository at this point in the history
PreRelease v0.1
  • Loading branch information
klodoma authored Sep 25, 2024
2 parents 20456e1 + 6c5fef7 commit e9bf55d
Show file tree
Hide file tree
Showing 349 changed files with 7,232 additions and 3,408 deletions.
3 changes: 0 additions & 3 deletions .env.dist

This file was deleted.

9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
* text=auto eol=lf
*.png binary
*.jpg binary
*.svg binary
*.zip binary

*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php
51 changes: 51 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: PHP Composer

on:
push:
branches:
- main
- develop
# - feature/
# - '**' # Run on all branches
pull_request:
branches:
- main

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3'] # Add the PHP versions you want to test

steps:
- uses: actions/checkout@v4

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, dom, gd, pdo_mysql # Add required PHP extensions

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run Tests
run: ./vendor/bin/phpunit
14 changes: 4 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
.idea
.report
build
coverage
vendor/
Expand All @@ -7,13 +8,6 @@ release
.vscode
.phpunit.result.cache
*.iml
fonts/
tests/build
tests/old
tests/data-old

/library/tfpdf/font/unifont/dejavusans*.php
/library/tfpdf/font/unifont/dejavuserif*.php

/tests/data/expected
/tests/data/is
/tests/_failed
/tests/_dev
119 changes: 0 additions & 119 deletions .gitlab-ci.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .php-censor.yml

This file was deleted.

Loading

0 comments on commit e9bf55d

Please sign in to comment.