29bb11e8bc
[TOOLS] Don't fail commit when checking tools fail
2021-12-26 19:16:15 +00:00
6ada5e60d2
[TOOLS] Make PHP-CS-Fixer and PHP-Doc-check run inside the tooling container
2021-12-25 15:20:21 +00:00
b65ee4c21d
[TOOLS][CS-FIXER] Fix incorrect transformation
2021-10-27 04:19:28 +01:00
9d7f43cd28
[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of use
2021-09-14 13:13:44 +01:00
9742a07bae
[TOOLS][git] Add option to skip pre-commit steps by defining one of SKIP_ALL
, SKIP_CS_FIX
, SKIP_DOC_CHECK
, SKIP_PHPSTAN
variables before the git commit
command
...
Example:
`SKIP_PHPSTAN=1 git commit`
2021-09-14 13:13:44 +01:00
ddb9702b1c
[TOOLS][PHPStan] Add support for deducing the correct entity type from a table name. Needs refactoring and can only run inside container, as it connects to the database itself
2021-09-14 13:13:44 +01:00
0eb0236feb
[TOOLS] Run PHPStan on the whole codebase on each commit
2021-09-14 13:13:42 +01:00
4ec9b910c2
[TOOLS] Fix pre commit hook to allow for partial file commits (git add -p/git reset -p)
2021-09-14 13:13:04 +01:00
1d6d20aacb
[TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed
2021-09-14 13:11:51 +01:00
55b06705d5
[SCRIPTS] pre-commit now has variables double quoted
2021-09-14 13:10:55 +01:00
Hugo Sales
67d4702743
[HOOKS] Update pre-commit script to check for missing documentation in functions
2021-09-14 13:06:55 +01:00
Hugo Sales
cc72373e3d
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
...
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-09-14 13:01:34 +01:00