-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring: typescript #83
Conversation
ignore_php_platform_requirements
does not disable PHP 8.0 default behavior
#80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am appeased. This is some good work @boesing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FML, this has been open for over 6 months? Really sorry for that, @boesing :-(
I took a slow read through it, my TS-fu is low, but I didn't see any particular scary usages of casts and any
or unknown
, so IMO 🚢 at your will.
I will gladly try out the new version on my repos!
14ac0b9
to
3d87a8b
Compare
This is starting to look more green-ish 💪 |
475b1f1
to
eb48252
Compare
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
… the latest version available Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
… set Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
…bility Signed-off-by: Maximilian Bösing <[email protected]>
… for PHP versions Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
…ocked` dependencies here Signed-off-by: Maximilian Bösing <[email protected]>
I am not 100% sure what is happening here, but somehow, if the ternary operator is not wrapped in brackets, the null-safe operator does work as expected and the value of the ternary operation is being used instead Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
…rather than `locked` Signed-off-by: Maximilian Bösing <[email protected]>
eb48252
to
7f9306f
Compare
Signed-off-by: Maximilian Bösing <[email protected]>
7c56394
to
c9676b4
Compare
…laminas-ci.schema.json` Signed-off-by: Maximilian Bösing <[email protected]>
…e `.laminas-ci.json` Signed-off-by: Maximilian Bösing <[email protected]>
This also adds an action failure to whenever a schema could not be detected. Signed-off-by: Maximilian Bösing <[email protected]>
Signed-off-by: Maximilian Bösing <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO 🚢
Description
Converted the application to typescript.
In combination with #62, this supposed to be a major improvement when it comes to new features.
This also reduces the container size from 426MB to 188MB which is a total amount of ~56%!
Features which are implemented in this PR
Bugs which are fixed in this PR
@lowest
and@latest
is not respected when project provides explicitchecks
#84ignore_php_platform_requirements
does not disable PHP 8.0 default behavior #80Open TODOs
exclude
which was implemented here.laminas-ci.schema.json
is not properly verified, it does not contain@latest
or@lowest
for thephp
entry but integration tests are passingIdeas which could be implemented later on
.laminas-ci.schema.json
from typescript interfaces using typescript-json-schema - would target Simplify.laminas-ci.json
#54 (addressed in Generate.laminas-ci.schema.json
from typescript interfaces rather than maintaining it manually #95)phpunit.xml.dist
is the only file within the diff) (addressed in Enable code checks or linters when files from tools are changed (i.e. run all PHPUnit checks whenphpunit.xml.dist
is the only file within the diff) #94)exclude
to use the toolsname
along with aphp
anddependencies
property:{"name": "PHPUnit", "php": "*"}
(addressed in Allowphp
anddependency
inexclude
along withname
reflecting the tools/checks name #93)diff
output for better readability in case of differences (addressed in Optimizediff
within CI pipeline output for better readability in case of failing tests #92)