mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 07:14:59 -04:00
Add Composer autoloading functions and PHPStan for testing
This commit is contained in:
parent
e198c4db65
commit
f5d7d4e02a
1518 changed files with 169063 additions and 30 deletions
12
README.md
12
README.md
|
@ -43,6 +43,18 @@ You’ll also need to ensure the following:
|
|||
|
||||
The website pulls all ebook information from what is contained in `/standardebooks.org/www/ebooks/`. It does not inspect `/standardebooks.org/ebooks/`. Therefore it is possible for one or the other to hold different catalogs if they become out of sync.
|
||||
|
||||
# Testing
|
||||
|
||||
This repository includes [PHPStan](https://github.com/phpstan/phpstan) to statically analyze the codebase.
|
||||
|
||||
To run PHPStan, execute:
|
||||
|
||||
```shell
|
||||
$> <REPO-ROOT>/vendor/bin/phpstan analyse -c <REPO-ROOT>/config/phpstan/phpstan.neon
|
||||
```
|
||||
|
||||
If run successfully, it should output `[OK] No errors`.
|
||||
|
||||
# Contributing
|
||||
|
||||
Before submitting design contributions, please discuss them with the Standard Ebooks lead. While we encourage discussion and contributions, we can’t guarantee that unsoliticed design contributions will be accepted. You can open an issue to discuss potential design contributions with us before you begin.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue