This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin recognising elements and attributes (#1)
* Begin recognising elements and attributes * Not meant * Might be needed * New lines * Reduce nesting * Ignore line numbers when we have a node * Simpler constraints * Move source to src * Add to README * Tweaks * Make warnings * Update attributes
- Loading branch information
1 parent
d1531f2
commit 7b680e2
Showing
288 changed files
with
5,596 additions
and
0 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
/*.* export-ignore | ||
/tests export-ignore |
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 @@ | ||
/.phpcs-cache | ||
/phpcs.xml | ||
/phpstan.neon | ||
/phpunit.xml | ||
/vendor/ |
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,42 @@ | ||
language: php | ||
|
||
php: 7.3 | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini || true | ||
|
||
install: | ||
- travis_retry composer install --classmap-authoritative --no-suggest --prefer-dist | ||
|
||
jobs: | ||
include: | ||
|
||
- stage: Test | ||
name: Tests | ||
script: | ||
- vendor/bin/phpunit | ||
|
||
- stage: Code Quality | ||
name: Coding standards | ||
script: | ||
- vendor/bin/phpcs -p | ||
|
||
- stage: Code Quality | ||
name: Static analysis | ||
script: | ||
- vendor/bin/phpstan analyse | ||
|
||
stages: | ||
- Test | ||
- name: Code Quality | ||
if: type = pull_request | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
if: | | ||
branch = master OR \ | ||
branch =~ /^(?:[0-9]|[1-9][0-9]*)\.(?:[0-9]|[1-9][0-9]*)$/ OR \ | ||
tag IS present OR \ | ||
type = pull_request |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"type": "project", | ||
"license": "MIT", | ||
"autoload-dev": { | ||
"psr-4": { | ||
"tests\\Libero\\JatsSupport\\": "tests/" | ||
} | ||
}, | ||
"require-dev": { | ||
"php": "^7.3", | ||
"ext-dom": "*", | ||
"ext-xsl": "*", | ||
"fluentdom/fluentdom": "^7.1", | ||
"jats/schema": "^1.1", | ||
"libero/coding-standard": "^0.4", | ||
"libero/xml-validator": "^0.2", | ||
"lstrojny/functional-php": "^1.9", | ||
"phpstan/phpstan": "^0.11", | ||
"phpstan/phpstan-phpunit": "^0.11", | ||
"phpunit/phpunit": "^8.0", | ||
"symfony/finder": "^4.2" | ||
}, | ||
"config": { | ||
"platform": { | ||
"php": "7.3.0" | ||
}, | ||
"secure-http": false, | ||
"sort-packages": true | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "package", | ||
"package": { | ||
"name": "jats/schema", | ||
"version": "1.1", | ||
"dist": { | ||
"url": "ftp://ftp.ncbi.nih.gov/pub/jats/archiving/1.1/rng/JATS-Archiving-1-1-MathML3-DTD-RNG.zip", | ||
"type": "zip" | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.