Skip to content

Commit

Permalink
Feat/sst theophile (#118)
Browse files Browse the repository at this point in the history
* refact: setup the architecture for single source of truth

* feat: refresh_versions_doc.php starting to feel with basic json parsing

* refact : folders structure & json content

* feat: small home made template manager (to avoid using external like jinja)

* refact : use camelCase, edit functions names, use consts instead of calling global

* feat : started linking json data with php & markdown file, handling arrays in markdown

* feat: php check script using the json injected from template manager

* feat: linked requirements symfony & faros lists in markdown to json

* feat: link & add more data json/md/php

* feat: log in console generator process, alphabetically ordered json, more json linked to templates...

* refact : stop using curl & comment non working functions

* refact: small improvements on links, safe

* refact: phpstan & cs-fixer

* fix: remove tmp-phpqa

* feat: checkboxes on docs

* feat : handle <= >= < > comparators in .json to manage requirements int variations

* feat: small readme for tools/

* refact : make php-cs-fixer ok

* fix: tmp-phqa remove

* fix: version 2023.06 json, array merging now recursive to reduce loss, exclude tools/ from jekyll

* feat: add all versions

* feat: gitignore phpstan csfixer

* chore: deleted junk files after adding to gitignore

* feat: phpstan error free and keeping use of array term type in code

* refact: better code for markdown list parsing

* feat: old urls are back (permalinks), and argv paramter to choose one specific version is now here !

* refact: phpstan & csfixer

* feat: improve readme md for latest version update

* chore: remove .swp

* fix: remove pcntl from tested extension

* fix: handle false & '' for extensions check in check scripts php

* fix: php cs fixer

* fix: Thibaut Selingue review

* Feat/new template md WITH OBCLEAN (#123)

* feat: new template system

we exec template.md.php with the json path file, we redirect output to new .md file

* fix: put back version 9.0

* feat: better readme for tools

* fix(readme

* feat: use now ob for template .md.php

* feat: updated readme for new template manager

* fix: phpstan

* fix: jekyll pages versions

* refactor: remove useless  now that template system changed

* fix: this lg review --> put back .editorconfig

* fix: pierreboissinot merge request

* fix: this lg review

* fix: 2nd review

* fix: 3rd review thislg

---------

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: theophilejeromerocher <[email protected]>
  • Loading branch information
3 people authored Jan 3, 2024
1 parent c3f3a09 commit 5df4578
Show file tree
Hide file tree
Showing 50 changed files with 4,729 additions and 1,602 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ _site
.sass-cache
.jekyll-metadata
/vendor/*
.php-cs-fixer.cache
/tmp-phpqa/*
14 changes: 14 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/')
;

return (new PhpCsFixer\Config())
->setRules([
'@PhpCsFixer' => true,
'@Symfony' => true,
])
->setFinder($finder)
->setCacheFile('.php-cs-fixer.cache')
;
11 changes: 11 additions & 0 deletions .spells
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

function php-cs-fixer() {
docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa php-cs-fixer fix -v --no-interaction tools/
}

function phpstan() {
docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa phpstan analyse --level=7 tools/
}

echo php-cs-fixer phpstan php
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ exclude:
- Gemfile.lock
- docker-compose.yml
- vendor/bundle/
- tools/
Loading

0 comments on commit 5df4578

Please sign in to comment.