-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade libraries and fix tests * [#68] Ignoring non stylesheet link tags * Composer normalize * Tweak tests * Composer normalize * Remove Coversall * Tests * Cleanup * Code style, fix typos, tweak tests
- Loading branch information
Showing
24 changed files
with
2,934 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
version: 1 | ||
update_configs: | ||
- package_manager: "php:composer" | ||
directory: "/" | ||
update_schedule: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: CI | ||
on: [push] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: ['7.3', '7.4'] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v1 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: mbstring, intl, xml | ||
coverage: xdebug | ||
tools: prestissimo | ||
- 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/cache@v1 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
- name: Install Composer dependencies | ||
run: composer install --no-ansi --no-interaction --no-progress --optimize-autoloader | ||
- name: Setup Problem Matchers for PHPUnit | ||
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | ||
- name: Test with phpunit | ||
run: vendor/bin/phpunit --coverage-text | ||
- name: Sensiolabs Security checker | ||
working-directory: ${{env.working-directory}} | ||
run: | | ||
wget https://get.sensiolabs.org/security-checker.phar | ||
php security-checker.phar security:check | ||
composer-normalize: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Composer normalize | ||
uses: localheinz/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
vendor/ | ||
build/ | ||
composer.phar | ||
composer.lock | ||
.DS_Store | ||
.idea/ | ||
.phpunit.result.cache |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
{ | ||
"name": "fedeisas/laravel-mail-css-inliner", | ||
"description": "Inline the CSS of your HTML emails using Laravel", | ||
"keywords": [ | ||
"laravel", | ||
"mailer", | ||
"css" | ||
], | ||
"license": "MIT", | ||
"keywords": ["laravel", "mailer", "css"], | ||
"authors": [ | ||
{ | ||
"name": "Fede Isas", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.0", | ||
"illuminate/support": "^7.0", | ||
"php": "^7.2.5", | ||
"ext-dom": "*", | ||
"illuminate/support": "^7.4", | ||
"tijsverkoyen/css-to-inline-styles": "~2.0" | ||
}, | ||
"require-dev" : { | ||
"phpunit/phpunit": "~5.7", | ||
"squizlabs/php_codesniffer": "^2.3", | ||
"swiftmailer/swiftmailer": "~5.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Fedeisas\\LaravelMailCssInliner\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit", | ||
"check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests", | ||
"fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests" | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.5", | ||
"swiftmailer/swiftmailer": "^6.0" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
|
@@ -43,5 +32,15 @@ | |
"Fedeisas\\LaravelMailCssInliner\\LaravelMailCssInlinerServiceProvider" | ||
] | ||
} | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Fedeisas\\LaravelMailCssInliner\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests/" | ||
} | ||
} | ||
} |
Oops, something went wrong.