-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Machy8/attributes-fix
Remove type attribute from script and style elements
- Loading branch information
Showing
15 changed files
with
50 additions
and
50 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,29 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install packages | ||
run: composer install --no-interaction | ||
|
||
- name: CS Check | ||
run: composer cs:check | ||
|
||
- name: PHPstan check | ||
run: composer phpstan:check | ||
|
||
- name: Unit Tests | ||
run: composer tester:check | ||
|
||
# - name: Coveralls | ||
# uses: coverallsapp/[email protected] | ||
# with: | ||
# github-token: ${{ secrets.COVERALLS_TOKEN }} | ||
# path-to-lcov: 'lcov.info' |
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ vendor/ | |
/tests/nette-tester/output/ | ||
composer.lock | ||
docker-compose.yml | ||
coverage.xml | ||
lcov.info |
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
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
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/actual/test-css-files-collection-style-element.html
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,4 +1,4 @@ | ||
<style amp-custom type="text/css"> | ||
<style amp-custom> | ||
a { | ||
color: steelblue; | ||
font-weight: bold; | ||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/actual/test-files-collections-from-config-a.html
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,4 +1,4 @@ | ||
<script type="text/javascript"> | ||
<script> | ||
;(function ($) { | ||
var codeFragment = 'jQuery! muhehe'; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/actual/test-files-collections-from-config-b.html
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,4 +1,4 @@ | ||
<style amp-custom type="text/css"> | ||
<style amp-custom> | ||
div { | ||
display: inline-block; | ||
width: 50px; | ||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/actual/test-js-files-collection-script-element-with-content.html
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,4 +1,4 @@ | ||
<script type="text/javascript"> | ||
<script> | ||
;(function ($) { | ||
var codeFragment = 'jQuery! muhehe'; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/expected/test-css-files-collection-style-element.html
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,4 +1,4 @@ | ||
<style amp-custom type="text/css"> | ||
<style amp-custom> | ||
a { | ||
color: steelblue; | ||
font-weight: bold; | ||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/expected/test-files-collections-from-config-a.html
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,4 +1,4 @@ | ||
<script type="text/javascript"> | ||
<script> | ||
;(function ($) { | ||
var codeFragment = 'jQuery! muhehe'; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
tests/nette-tester/webtemp/expected/test-files-collections-from-config-b.html
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,4 +1,4 @@ | ||
<style amp-custom type="text/css"> | ||
<style amp-custom> | ||
div { | ||
display: inline-block; | ||
width: 50px; | ||
|
2 changes: 1 addition & 1 deletion
2
...s/nette-tester/webtemp/expected/test-js-files-collection-script-element-with-content.html
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,4 +1,4 @@ | ||
<script type="text/javascript"> | ||
<script> | ||
;(function ($) { | ||
var codeFragment = 'jQuery! muhehe'; | ||
|
||
|
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,3 @@ | ||
parameters: | ||
autoload_files: | ||
- ../nette-tester/AbstractTestCase.php | ||
ignoreErrors: | ||
- '#Property [a-zA-Z0-9\\_]+::\$[a-zA-Z0-9_]+ \([\S]+\) does not accept [\S\|]+\.#' |