Commit graph

25 commits

Author SHA1 Message Date
Alexandre Gomes Gaigalas ab3732f91f Use SPDX IDs for licensing
SPDX IDs are shorter than licensing notes previously used, and
adhere better to FOSS standards. It is also machine-readable.
2023-02-19 00:19:10 -03:00
Alexandre Gomes Gaigalas 15f148da24 Dusting off. See CHANGELOG.md for more details on this commit 2023-02-13 03:59:11 -03:00
Henrique Moody 5858d06097
Update contribution guidelines
Some links do not work and the documentation is outdated.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-23 16:35:41 +02:00
Henrique Moody ef8a8f4b27
Turn LICENSE file into plain/text
There is no need for that file to be a Markdown, and it can be a plain
text file.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-23 16:21:34 +02:00
Henrique Moody 1b0be4c3a6
Remove documentation links in the repository
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-23 16:16:00 +02:00
Henrique Moody f3bc39066b
Make default templates non-static and protected
The only reason why those templates are static is so users can overwrite
the exception messages. That was useful when we didn't have a handy
translator, but now that we can define a translator through the Factory,
this is not needed anymore.

Besides, having those properties public adds complexity to the code.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-12 09:57:07 +02:00
Henrique Moody 6040ddee42
Fix the case of the "@inheritDoc" tag
According to the official documentation [1] the correct way of writing
the "inheritDoc" tag is with the uppercase "D".

[1]: https://docs.phpdoc.org/guides/inheritance.html

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-04-05 19:02:12 +02:00
Henrique Moody ffec95acda
Remove PHP-CS-Fixer
It is not the first time that after a PHP-CS-Fixer upgrade our build
fails. Also, I've seemed a couple of files that have a wrong coding
standard, but PHP-CS-Fixer does not indicate failure for them.

This commit will remove the library as a dependency.

I plan to introduce PHP_CodeSniffer as soon as possible.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-03 16:26:23 +01:00
Henrique Moody 4354652195
Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Henrique Moody 52614d600d
Organize documentation for "Read the Docs"
The current documentation is hosted via GitHub pages rendered by
"Couscous". Every time we need a new version of the documentation
published we need to manually execute the "couscous".

This commit reorganize the documentation to be published to
"Read the Docs" because it will also allow us to have documentations per
version of the library most importantly provider a search field for the
documentation.

The documentation will be then published on:
https://respect-validation.readthedocs.io/

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-23 01:59:39 +02:00
Henrique Moody a0cfd94d51
Update contribution guidelines 2018-01-07 14:53:12 +01:00
Gabriel Caruso 93ce9cb93a
Updated to PHPUnit 6 2017-11-12 14:22:22 +01:00
Henrique Moody 183b3a5f1c Update contributing guidelines 2015-11-18 05:47:35 -02:00
Rogerio Prado de Jesus e44b93f055 Create "composer test" command in order to run phpunit tests
As the project already is installed via composer, this command
could save a few keystrokes!

Besides that, is just one command for all OS, because will not be
needed to change slashes to backslashes in Windows.

*X      (21 keystrokes): `./vendor/bin/phpunit`
Windows (21 keystrokes): `.\vendor\bin\phpunit`
New (14 keystrokes):     `composer test`

https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands
2015-10-19 10:12:55 -02:00
Henrique Moody 477b1458bf Update "CONTRIBUTING.md" file 2015-10-18 20:26:33 -02:00
Henrique Moody 9c49dd3bcf Use short array syntax 2015-10-17 22:56:32 -03:00
Henrique Moody 9b85df4601 Rename rule "Int" to "IntVal" 2015-10-07 11:46:57 -03:00
Henrique Moody c6dcba9fac Create "CHANGELOG.md" file 2015-10-07 02:56:23 -03:00
Henrique Moody c39e7fb08c Standard for "See also:" on documentation 2015-08-20 01:38:41 -03:00
Marcel Voigt 4329252709 Suggest php-cs-fixer and add default config
See .php_cs for default configuration. Install php-cs-fixer globally and run
  php-cs-fixer fix
to fix common coding standards or style issues.
2015-08-10 20:22:04 +02:00
Henrique Moody cb7cd9bcbf Update "See also" section in *.md files
Create an horizontal rule right before the block.
2015-02-21 07:35:02 -02:00
Henrique Moody f422020d0e Update documentation 2015-02-12 14:37:33 -02:00
Henrique Moody 60965a82e5 Update contributing guidelines 2015-02-01 10:43:20 -02:00
Henrique Moody 2b97bbba22 Update PHPUnit settings
- Move "tests/phpunit.xml" to "phpunit.xml.dist"
- Update documentation and contributing documents
- Update Travis settings
- Add "phpunit.xml" in the Git ignore list
2015-01-07 16:02:58 -02:00
Henrique Moody 5778853934 Add CONTRIBUTING.md to the repository 2015-01-02 19:05:23 -02:00